You are here

public static function AutoloaderTest::dataResolveFile in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Proxy/AutoloaderTest.php \Doctrine\Tests\Common\Proxy\AutoloaderTest::dataResolveFile()

File

vendor/doctrine/common/tests/Doctrine/Tests/Common/Proxy/AutoloaderTest.php, line 30

Class

AutoloaderTest
@group DDC-1698

Namespace

Doctrine\Tests\Common\Proxy

Code

public static function dataResolveFile() {
  return array(
    array(
      '/tmp',
      'MyProxy',
      'MyProxy\\__CG__\\RealClass',
      '/tmp' . DIRECTORY_SEPARATOR . '__CG__RealClass.php',
    ),
    array(
      '/tmp',
      'MyProxy\\Subdir',
      'MyProxy\\Subdir\\__CG__\\RealClass',
      '/tmp' . DIRECTORY_SEPARATOR . '__CG__RealClass.php',
    ),
    array(
      '/tmp',
      'MyProxy',
      'MyProxy\\__CG__\\Other\\RealClass',
      '/tmp' . DIRECTORY_SEPARATOR . '__CG__OtherRealClass.php',
    ),
  );
}