X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=framework%2Floader%2Fclass_ClassLoader.php;fp=framework%2Floader%2Fclass_ClassLoader.php;h=330cdaa0198d9d4683e959b77c133201295a459b;hp=fab4e559a640c56363f79845b2d64fffaa42ce80;hb=bed81d8edc3673951a1ee57f38f5a1a07c417b69;hpb=8d8cf621bd811811cecd83c65a4ab91f27258e79 diff --git a/framework/loader/class_ClassLoader.php b/framework/loader/class_ClassLoader.php index fab4e559..330cdaa0 100644 --- a/framework/loader/class_ClassLoader.php +++ b/framework/loader/class_ClassLoader.php @@ -484,6 +484,31 @@ class ClassLoader { } // END - while } + /** + * Getter for total include counter + * + * @return $total Total loaded include files + */ + public final function getTotal () { + return $this->total; + } + + /** + * Getter for a printable list of included main/interfaces/exceptions + * + * @param $includeList A printable include list + */ + public function getPrintableIncludeList () { + // Prepare the list + $includeList = ''; + foreach ($this->loadedClasses as $classFile) { + $includeList .= basename($classFile) . '
' . PHP_EOL; + } // END - foreach + + // And return it + return $includeList; + } + /** * Initializes our loader class * @@ -589,29 +614,4 @@ class ClassLoader { } } - /** - * Getter for total include counter - * - * @return $total Total loaded include files - */ - public final function getTotal () { - return $this->total; - } - - /** - * Getter for a printable list of included main/interfaces/exceptions - * - * @param $includeList A printable include list - */ - public function getPrintableIncludeList () { - // Prepare the list - $includeList = ''; - foreach ($this->loadedClasses as $classFile) { - $includeList .= basename($classFile) . '
' . PHP_EOL; - } // END - foreach - - // And return it - return $includeList; - } - }