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

Class

WinCacheClassLoader
WinCacheClassLoader implements a wrapping autoloader cached in WinCache.

Namespace

Symfony\Component\ClassLoader

Code

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