Psr4ClassLoader deprecated
class Psr4ClassLoader
deprecated
A PSR-4 compatible class loader.
See http://www.php-fig.org/psr/psr-4/
Methods
| addPrefix(string $prefix, string $baseDir) | ||
| string|null | findFile(string $class) | |
| bool | loadClass(string $class) | |
| register(bool $prepend = false) Registers this instance as an autoloader. | ||
| unregister() Removes this instance from the registered autoloaders. | 
Details
addPrefix(string $prefix, string $baseDir)
Parameters
| string | $prefix | |
| string | $baseDir | 
string|null findFile(string $class)
Parameters
| string | $class | 
Return Value
| string|null | 
bool loadClass(string $class)
Parameters
| string | $class | 
Return Value
| bool | 
register(bool $prepend = false)
Registers this instance as an autoloader.
Parameters
| bool | $prepend | 
unregister()
Removes this instance from the registered autoloaders.
    © 2004–2017 Fabien Potencier
Licensed under the MIT License.
    http://api.symfony.com/3.3/Symfony/Component/ClassLoader/Psr4ClassLoader.html