You are here

public function ResponseTest::getStatusCodeFixtures in Zircon Profile 8

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

File

vendor/symfony/http-foundation/Tests/ResponseTest.php, line 687

Class

ResponseTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function getStatusCodeFixtures() {
  return array(
    array(
      '200',
      null,
      'OK',
    ),
    array(
      '200',
      false,
      '',
    ),
    array(
      '200',
      'foo',
      'foo',
    ),
    array(
      '199',
      null,
      '',
    ),
    array(
      '199',
      false,
      '',
    ),
    array(
      '199',
      'foo',
      'foo',
    ),
  );
}