You are here

public function Response::__construct in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/http-foundation/Response.php \Symfony\Component\HttpFoundation\Response::__construct()
  2. 8 vendor/symfony/browser-kit/Response.php \Symfony\Component\BrowserKit\Response::__construct()
  3. 8 vendor/zendframework/zend-diactoros/src/Response.php \Zend\Diactoros\Response::__construct()
  4. 8 vendor/guzzlehttp/psr7/src/Response.php \GuzzleHttp\Psr7\Response::__construct()
  5. 8 vendor/jcalderonzumba/gastonjs/src/NetworkTraffic/Response.php \Zumba\GastonJS\NetworkTraffic\Response::__construct()
  6. 8 vendor/symfony/psr-http-message-bridge/Tests/Fixtures/Response.php \Symfony\Bridge\PsrHttpMessage\Tests\Fixtures\Response::__construct()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/psr-http-message-bridge/Tests/Fixtures/Response.php \Symfony\Bridge\PsrHttpMessage\Tests\Fixtures\Response::__construct()

Overrides Message::__construct

File

vendor/symfony/psr-http-message-bridge/Tests/Fixtures/Response.php, line 24

Class

Response
@author Kévin Dunglas <dunglas@gmail.com>

Namespace

Symfony\Bridge\PsrHttpMessage\Tests\Fixtures

Code

public function __construct($version = '1.1', array $headers = array(), StreamInterface $body = null, $statusCode = 200) {
  parent::__construct($version, $headers, $body);
  $this->statusCode = $statusCode;
}