public function LegacyUniversalClassLoaderTest::testRegisterNamespaceFallback in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/class-loader/Tests/LegacyUniversalClassLoaderTest.php \Symfony\Component\ClassLoader\Tests\LegacyUniversalClassLoaderTest::testRegisterNamespaceFallback()
File
- vendor/
symfony/ class-loader/ Tests/ LegacyUniversalClassLoaderTest.php, line 117
Class
- LegacyUniversalClassLoaderTest
- @group legacy
Namespace
Symfony\Component\ClassLoader\TestsCode
public function testRegisterNamespaceFallback() {
$loader = new UniversalClassLoader();
$loader
->registerNamespaceFallback(__DIR__ . DIRECTORY_SEPARATOR . 'Fixtures/Namespaced/fallback');
$this
->assertEquals(array(
__DIR__ . DIRECTORY_SEPARATOR . 'Fixtures/Namespaced/fallback',
), $loader
->getNamespaceFallbacks());
}