You are here

public function LegacyUniversalClassLoaderTest::getLoadClassFromFallbackTests in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/class-loader/Tests/LegacyUniversalClassLoaderTest.php \Symfony\Component\ClassLoader\Tests\LegacyUniversalClassLoaderTest::getLoadClassFromFallbackTests()

File

vendor/symfony/class-loader/Tests/LegacyUniversalClassLoaderTest.php, line 100

Class

LegacyUniversalClassLoaderTest
@group legacy

Namespace

Symfony\Component\ClassLoader\Tests

Code

public function getLoadClassFromFallbackTests() {
  return array(
    array(
      '\\Namespaced\\Baz',
      'Namespaced\\Baz',
      '->loadClass() loads Namespaced\\Baz class',
    ),
    array(
      '\\Pearlike_Baz',
      'Pearlike_Baz',
      '->loadClass() loads Pearlike_Baz class',
    ),
    array(
      '\\Namespaced\\FooBar',
      'Namespaced\\FooBar',
      '->loadClass() loads Namespaced\\Baz class from fallback dir',
    ),
    array(
      '\\Pearlike_FooBar',
      'Pearlike_FooBar',
      '->loadClass() loads Pearlike_Baz class from fallback dir',
    ),
  );
}