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/XcacheClassLoader.php, line 98
Class
- XcacheClassLoader
- XcacheClassLoader implements a wrapping autoloader cached in Xcache for PHP 5.3.
Namespace
Symfony\Component\ClassLoader
Code
public function loadClass($class) {
if ($file = $this
->findFile($class)) {
require $file;
return true;
}
}