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