public function MapClassLoader::register

Registers this instance as an autoloader.

Parameters

Boolean $prepend Whether to prepend the autoloader or not:

File

drupal/core/vendor/symfony/class-loader/Symfony/Component/ClassLoader/MapClassLoader.php, line 38

Class

MapClassLoader
A class loader that uses a mapping file to look up paths.

Namespace

Symfony\Component\ClassLoader

Code

public function register($prepend = false) {
  spl_autoload_register(array(
    $this,
    'loadClass',
  ), true, $prepend);
}