public function Psr4ClassLoader::loadClass in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/class-loader/Psr4ClassLoader.php \Symfony\Component\ClassLoader\Psr4ClassLoader::loadClass()
Parameters
string $class:
Return value
bool
File
- vendor/
symfony/ class-loader/ Psr4ClassLoader.php, line 65
Class
- Psr4ClassLoader
- A PSR-4 compatible class loader.
Namespace
Symfony\Component\ClassLoaderCode
public function loadClass($class) {
$file = $this
->findFile($class);
if (null !== $file) {
require $file;
return true;
}
return false;
}