public function Message::withProtocolVersion 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::withProtocolVersion()
Return an instance with the specified HTTP protocol version.
The version string MUST contain only the HTTP version number (e.g., "1.1", "1.0").
This method MUST be implemented in such a way as to retain the immutability of the message, and MUST return an instance that has the new protocol version.
Parameters
string $version HTTP protocol version:
Return value
self
Overrides MessageInterface::withProtocolVersion
File
- vendor/
symfony/ psr-http-message-bridge/ Tests/ Fixtures/ Message.php, line 40
Class
- Message
- Message.
Namespace
Symfony\Bridge\PsrHttpMessage\Tests\FixturesCode
public function withProtocolVersion($version) {
throw new \BadMethodCallException('Not implemented.');
}