Doctrine\Common\ClassLoader::getClassLoader
Gets the <tt>ClassLoader</tt> from the SPL autoload stack that is responsible for (and is able to load) the class with the given name.
Signature
public function getClassLoader(string
$className )
Parameters
$className
— string- The name of the class.
Returns
- ClassLoader
- The <tt>ClassLoader</tt> for the class or NULL if no such <tt>ClassLoader</tt> exists.