public function ApcClassLoader::loadClass in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/class-loader/ApcClassLoader.php \Symfony\Component\ClassLoader\ApcClassLoader::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/ ApcClassLoader.php, line 107
Class
- ApcClassLoader
- ApcClassLoader implements a wrapping autoloader cached in APC for PHP 5.3.
Namespace
Symfony\Component\ClassLoaderCode
public function loadClass($class) {
if ($file = $this
->findFile($class)) {
require $file;
return true;
}
}