You are here

public function WinCacheClassLoader::loadClass in Zircon Profile 8

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

Loads the given class or interface.

Parameters

string $class The name of the class:

Return value

bool|null True, if loaded

File

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

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