You are here

public static function AutoloaderTest::dataResolveFile in Plug 7

File

lib/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',
    ),
  );
}