Method |
Description |
|
__construct ( ClassLoader $parent = null ) |
|
|
addPath ( string $path, boolean $prepend = false ) |
Adds a path to the lookup list |
|
findClass ( string $name ) : string | null |
Returns the path for the class, if any |
|
getClasses ( ) : string[] |
Returns an array of the classes loaded |
|
getParent ( ) : ClassLoader |
Returns the parent ClassLoader, if any |
|
loadClass ( string $name ) : boolean |
Called when there is a class to load |
|
register ( boolean $prepend = false ) : boolean |
Attaches the ClassLoader to the PHP runtime |
|
removePath ( $path ) |
Removes a path from the lookup list |
|