You are here

public function ClassLoaderTest::getLoadClassFromFallbackTests in Zircon Profile 8

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

File

vendor/symfony/class-loader/Tests/ClassLoaderTest.php, line 121

Class

ClassLoaderTest

Namespace

Symfony\Component\ClassLoader\Tests

Code

public function getLoadClassFromFallbackTests() {
  return array(
    array(
      '\\Namespaced2\\Baz',
      'Namespaced2\\Baz',
      '->loadClass() loads Namespaced2\\Baz class',
    ),
    array(
      '\\Pearlike2_Baz',
      'Pearlike2_Baz',
      '->loadClass() loads Pearlike2_Baz class',
    ),
    array(
      '\\Namespaced2\\FooBar',
      'Namespaced2\\FooBar',
      '->loadClass() loads Namespaced2\\Baz class from fallback dir',
    ),
    array(
      '\\Pearlike2_FooBar',
      'Pearlike2_FooBar',
      '->loadClass() loads Pearlike2_Baz class from fallback dir',
    ),
  );
}