public function ClassLoader::loadClass in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/composer/ClassLoader.php \Composer\Autoload\ClassLoader::loadClass()
- 8.0 vendor/symfony/class-loader/ClassLoader.php \Symfony\Component\ClassLoader\ClassLoader::loadClass()
- 8.0 vendor/symfony/debug/Tests/DebugClassLoaderTest.php \Symfony\Component\Debug\Tests\ClassLoader::loadClass()
- 8.0 vendor/doctrine/common/lib/Doctrine/Common/ClassLoader.php \Doctrine\Common\ClassLoader::loadClass()
Same name and namespace in other branches
- 8 vendor/symfony/class-loader/ClassLoader.php \Symfony\Component\ClassLoader\ClassLoader::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/ ClassLoader.php, line 153
Class
- ClassLoader
- ClassLoader implements an PSR-0 class loader.
Namespace
Symfony\Component\ClassLoaderCode
public function loadClass($class) {
if ($file = $this
->findFile($class)) {
require $file;
return true;
}
}