class ClassLoader in Zircon Profile 8
Same name in this branch
- 8 vendor/composer/ClassLoader.php \Composer\Autoload\ClassLoader
- 8 vendor/symfony/class-loader/ClassLoader.php \Symfony\Component\ClassLoader\ClassLoader
- 8 vendor/symfony/debug/Tests/DebugClassLoaderTest.php \Symfony\Component\Debug\Tests\ClassLoader
- 8 vendor/doctrine/common/lib/Doctrine/Common/ClassLoader.php \Doctrine\Common\ClassLoader
Same name and namespace in other branches
- 8.0 vendor/symfony/debug/Tests/DebugClassLoaderTest.php \Symfony\Component\Debug\Tests\ClassLoader
Hierarchy
- class \Symfony\Component\Debug\Tests\ClassLoader
Expanded class hierarchy of ClassLoader
File
- vendor/
symfony/ debug/ Tests/ DebugClassLoaderTest.php, line 255
Namespace
Symfony\Component\Debug\TestsView source
class ClassLoader {
public function loadClass($class) {
}
public function getClassMap() {
return array(
__NAMESPACE__ . '\\Fixtures\\NotPSR0bis' => __DIR__ . '/Fixtures/notPsr0Bis.php',
);
}
public function findFile($class) {
$fixtureDir = __DIR__ . DIRECTORY_SEPARATOR . 'Fixtures' . DIRECTORY_SEPARATOR;
if (__NAMESPACE__ . '\\TestingUnsilencing' === $class) {
eval('-- parse error --');
}
elseif (__NAMESPACE__ . '\\TestingStacking' === $class) {
eval('namespace ' . __NAMESPACE__ . '; class TestingStacking { function foo() {} }');
}
elseif (__NAMESPACE__ . '\\TestingCaseMismatch' === $class) {
eval('namespace ' . __NAMESPACE__ . '; class TestingCaseMisMatch {}');
}
elseif (__NAMESPACE__ . '\\Fixtures\\CaseMismatch' === $class) {
return $fixtureDir . 'CaseMismatch.php';
}
elseif (__NAMESPACE__ . '\\Fixtures\\Psr4CaseMismatch' === $class) {
return $fixtureDir . 'psr4' . DIRECTORY_SEPARATOR . 'Psr4CaseMismatch.php';
}
elseif (__NAMESPACE__ . '\\Fixtures\\NotPSR0' === $class) {
return $fixtureDir . 'reallyNotPsr0.php';
}
elseif (__NAMESPACE__ . '\\Fixtures\\NotPSR0bis' === $class) {
return $fixtureDir . 'notPsr0Bis.php';
}
elseif (__NAMESPACE__ . '\\Fixtures\\DeprecatedInterface' === $class) {
return $fixtureDir . 'DeprecatedInterface.php';
}
elseif ('Symfony\\Bridge\\Debug\\Tests\\Fixtures\\ExtendsDeprecatedParent' === $class) {
eval('namespace Symfony\\Bridge\\Debug\\Tests\\Fixtures; class ExtendsDeprecatedParent extends \\' . __NAMESPACE__ . '\\Fixtures\\DeprecatedClass {}');
}
elseif ('Test\\' . __NAMESPACE__ . '\\DeprecatedParentClass' === $class) {
eval('namespace Test\\' . __NAMESPACE__ . '; class DeprecatedParentClass extends \\' . __NAMESPACE__ . '\\Fixtures\\DeprecatedClass {}');
}
elseif ('Test\\' . __NAMESPACE__ . '\\DeprecatedInterfaceClass' === $class) {
eval('namespace Test\\' . __NAMESPACE__ . '; class DeprecatedInterfaceClass implements \\' . __NAMESPACE__ . '\\Fixtures\\DeprecatedInterface {}');
}
elseif ('Test\\' . __NAMESPACE__ . '\\Float' === $class) {
eval('namespace Test\\' . __NAMESPACE__ . '; class Float {}');
}
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ClassLoader:: |
public | function | ||
ClassLoader:: |
public | function | ||
ClassLoader:: |
public | function |