class MapClassLoader
deprecated
A class loader that uses a mapping file to look up paths.
__construct(array $map) | ||
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. |
array | $map | A map where keys are classes and values the absolute file path |
Registers this instance as an autoloader.
bool | $prepend | Whether to prepend the autoloader or not |
Loads the given class or interface.
string | $class | The name of the class |
Finds the path to the file where the class is defined.
string | $class | The name of the class |
string|null | The path, if found |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/ClassLoader/MapClassLoader.html