You are here

public function WinCacheClassLoader::register in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/class-loader/WinCacheClassLoader.php \Symfony\Component\ClassLoader\WinCacheClassLoader::register()

Registers this instance as an autoloader.

Parameters

bool $prepend Whether to prepend the autoloader or not:

File

vendor/symfony/class-loader/WinCacheClassLoader.php, line 88

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);
}