public function ApcClassLoader::findFile in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/class-loader/ApcClassLoader.php \Symfony\Component\ClassLoader\ApcClassLoader::findFile()
Finds a file by class name while caching lookups to APC.
Parameters
string $class A class name to resolve to file:
Return value
string|null
1 call to ApcClassLoader::findFile()
- ApcClassLoader::loadClass in vendor/
symfony/ class-loader/ ApcClassLoader.php - Loads the given class or interface.
File
- vendor/
symfony/ class-loader/ ApcClassLoader.php, line 123
Class
- ApcClassLoader
- ApcClassLoader implements a wrapping autoloader cached in APC for PHP 5.3.
Namespace
Symfony\Component\ClassLoaderCode
public function findFile($class) {
if (false === ($file = apc_fetch($this->prefix . $class))) {
apc_store($this->prefix . $class, $file = $this->decorated
->findFile($class));
}
return $file;
}