public function MapClassLoader::loadClass in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/class-loader/MapClassLoader.php \Symfony\Component\ClassLoader\MapClassLoader::loadClass()
Loads the given class or interface.
Parameters
string $class The name of the class:
File
- vendor/
symfony/ class-loader/ MapClassLoader.php, line 48
Class
- MapClassLoader
- A class loader that uses a mapping file to look up paths.
Namespace
Symfony\Component\ClassLoaderCode
public function loadClass($class) {
if (isset($this->map[$class])) {
require $this->map[$class];
}
}