Ordering in ClassLoader
This commit is contained in:
parent
776cea7055
commit
3a1ee94acf
@ -13,12 +13,11 @@ class ClassLoader
|
||||
*/
|
||||
public static function getClassesInPath($path)
|
||||
{
|
||||
$classes = [];
|
||||
|
||||
if (!file_exists($path)) {
|
||||
return [];
|
||||
}
|
||||
|
||||
$classes = [];
|
||||
$all_classes = array_keys(ClassMapGenerator::createMap($path));
|
||||
foreach ($all_classes as $cl) {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user