public function Message::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/psr-http-message-bridge/Tests/Fixtures/Message.php \Symfony\Bridge\PsrHttpMessage\Tests\Fixtures\Message::__construct()
2 calls to Message::__construct()
- Response::__construct in vendor/
symfony/ psr-http-message-bridge/ Tests/ Fixtures/ Response.php - ServerRequest::__construct in vendor/
symfony/ psr-http-message-bridge/ Tests/ Fixtures/ ServerRequest.php
2 methods override Message::__construct()
- Response::__construct in vendor/
symfony/ psr-http-message-bridge/ Tests/ Fixtures/ Response.php - ServerRequest::__construct in vendor/
symfony/ psr-http-message-bridge/ Tests/ Fixtures/ ServerRequest.php
File
- vendor/
symfony/ psr-http-message-bridge/ Tests/ Fixtures/ Message.php, line 28
Class
- Message
- Message.
Namespace
Symfony\Bridge\PsrHttpMessage\Tests\FixturesCode
public function __construct($version = '1.1', array $headers = array(), StreamInterface $body = null) {
$this->version = $version;
$this->headers = $headers;
$this->body = null === $body ? new Stream() : $body;
}