You are here

protected function BinaryFileResponseTest::provideResponse 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::provideResponse()

Overrides ResponseTestCase::provideResponse

File

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

Class

BinaryFileResponseTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

protected function provideResponse() {
  return new BinaryFileResponse(__DIR__ . '/../README.md', 200, array(
    'Content-Type' => 'application/octet-stream',
  ));
}