public function WinCacheClassLoader::loadClass

Loads the given class or interface.

Parameters

string $class The name of the class:

Return value

Boolean|null True, if loaded

File

drupal/core/vendor/symfony/class-loader/Symfony/Component/ClassLoader/WinCacheClassLoader.php, line 101

Class

WinCacheClassLoader
WinCacheClassLoader implements a wrapping autoloader cached in WinCache.

Namespace

Symfony\Component\ClassLoader

Code

public function loadClass($class) {
  if ($file = $this
    ->findFile($class)) {
    require $file;
    return true;
  }
}