You are here

public function Message::getProtocolVersion in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/psr-http-message-bridge/Tests/Fixtures/Message.php \Symfony\Bridge\PsrHttpMessage\Tests\Fixtures\Message::getProtocolVersion()

Retrieves the HTTP protocol version as a string.

The string MUST contain only the HTTP version number (e.g., "1.1", "1.0").

Return value

string HTTP protocol version.

Overrides MessageInterface::getProtocolVersion

File

vendor/symfony/psr-http-message-bridge/Tests/Fixtures/Message.php, line 35

Class

Message
Message.

Namespace

Symfony\Bridge\PsrHttpMessage\Tests\Fixtures

Code

public function getProtocolVersion() {
  return $this->version;
}