public function Psr4ClassLoader::register in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/class-loader/Psr4ClassLoader.php \Symfony\Component\ClassLoader\Psr4ClassLoader::register()
Registers this instance as an autoloader.
Parameters
bool $prepend:
File
- vendor/
symfony/ class-loader/ Psr4ClassLoader.php, line 82
Class
- Psr4ClassLoader
- A PSR-4 compatible class loader.
Namespace
Symfony\Component\ClassLoaderCode
public function register($prepend = false) {
spl_autoload_register(array(
$this,
'loadClass',
), true, $prepend);
}