public function LegacyUniversalClassLoaderTest::getLoadClassNamespaceCollisionTests in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/class-loader/Tests/LegacyUniversalClassLoaderTest.php \Symfony\Component\ClassLoader\Tests\LegacyUniversalClassLoaderTest::getLoadClassNamespaceCollisionTests()
File
- vendor/
symfony/ class-loader/ Tests/ LegacyUniversalClassLoaderTest.php, line 136
Class
- LegacyUniversalClassLoaderTest
- @group legacy
Namespace
Symfony\Component\ClassLoader\TestsCode
public function getLoadClassNamespaceCollisionTests() {
return array(
array(
array(
'NamespaceCollision\\A' => __DIR__ . DIRECTORY_SEPARATOR . 'Fixtures/alpha',
'NamespaceCollision\\A\\B' => __DIR__ . DIRECTORY_SEPARATOR . 'Fixtures/beta',
),
'NamespaceCollision\\A\\Foo',
'->loadClass() loads NamespaceCollision\\A\\Foo from alpha.',
),
array(
array(
'NamespaceCollision\\A\\B' => __DIR__ . DIRECTORY_SEPARATOR . 'Fixtures/beta',
'NamespaceCollision\\A' => __DIR__ . DIRECTORY_SEPARATOR . 'Fixtures/alpha',
),
'NamespaceCollision\\A\\Bar',
'->loadClass() loads NamespaceCollision\\A\\Bar from alpha.',
),
array(
array(
'NamespaceCollision\\A' => __DIR__ . DIRECTORY_SEPARATOR . 'Fixtures/alpha',
'NamespaceCollision\\A\\B' => __DIR__ . DIRECTORY_SEPARATOR . 'Fixtures/beta',
),
'NamespaceCollision\\A\\B\\Foo',
'->loadClass() loads NamespaceCollision\\A\\B\\Foo from beta.',
),
array(
array(
'NamespaceCollision\\A\\B' => __DIR__ . DIRECTORY_SEPARATOR . 'Fixtures/beta',
'NamespaceCollision\\A' => __DIR__ . DIRECTORY_SEPARATOR . 'Fixtures/alpha',
),
'NamespaceCollision\\A\\B\\Bar',
'->loadClass() loads NamespaceCollision\\A\\B\\Bar from beta.',
),
);
}