You are here

public function BinaryFileResponseTest::getSampleXAccelMappings in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/Tests/BinaryFileResponseTest.php \Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::getSampleXAccelMappings()

File

vendor/symfony/http-foundation/Tests/BinaryFileResponseTest.php, line 230

Class

BinaryFileResponseTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function getSampleXAccelMappings() {
  return array(
    array(
      '/var/www/var/www/files/foo.txt',
      '/var/www/=/files/',
      '/files/var/www/files/foo.txt',
    ),
    array(
      '/home/foo/bar.txt',
      '/var/www/=/files/,/home/foo/=/baz/',
      '/baz/bar.txt',
    ),
  );
}