public function UniversalClassLoader::register in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/class-loader/UniversalClassLoader.php \Symfony\Component\ClassLoader\UniversalClassLoader::register()
Registers this instance as an autoloader.
Parameters
bool $prepend Whether to prepend the autoloader or not:
File
- vendor/
symfony/ class-loader/ UniversalClassLoader.php, line 225
Class
- UniversalClassLoader
- UniversalClassLoader implements a "universal" autoloader for PHP 5.3.
Namespace
Symfony\Component\ClassLoaderCode
public function register($prepend = false) {
spl_autoload_register(array(
$this,
'loadClass',
), true, $prepend);
}