MapClassLoader
class MapClassLoader
A class loader that uses a mapping file to look up paths.
Methods
__construct(array $map)
Constructor.
register(bool $prepend = false)
Registers this instance as an autoloader.
loadClass(string $class)
Loads the given class or interface.
string|null
findFile(string $class)
Finds the path to the file where the class is defined.
Details
at line line 28
__construct(array $map)
Constructor.
at line line 38
register(bool $prepend = false)
Registers this instance as an autoloader.
at line line 48
loadClass(string $class)
Loads the given class or interface.
at line line 62
string|null
findFile(string $class)
Finds the path to the file where the class is defined.