// get class loaders wrapped by DebugClassLoader
if ($function[0
] instanceof DebugClassLoader
) { $function =
$function[0
]->
getClassLoader();
if (!\
is_array($function)) { continue;
} } if ($function[0
] instanceof ClassLoader
) { foreach ($function[0
]->
getPrefixes() as $prefix =>
$paths) { foreach ($paths as $path) { $classes[] =
$this->
findClassInPath($path,
$class,
$prefix);
} } foreach ($function[0
]->
getPrefixesPsr4() as $prefix =>
$paths) { foreach ($paths as $path) { $classes[] =
$this->
findClassInPath($path,
$class,
$prefix);
} } } }