public function ApcClassLoader::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/ApcClassLoader.php, line 84

Class

ApcClassLoader
ApcClassLoader implements a wrapping autoloader cached in APC for PHP 5.3.

Namespace

Symfony\Component\ClassLoader

Code

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