src/Request.php
public function getHttpVersion() {
		if (!isset($this->httpVersion)) {
			$serverProtocol = $_SERVER['SERVER_PROTOCOL'];
			$this->httpVersion = substr($serverProtocol, strpos($serverProtocol, '/') + 1);
		}
		return $this->httpVersion;
	}
public function getHttpVersion() {
		if (!isset($this->httpVersion)) {
			$serverProtocol = $_SERVER['SERVER_PROTOCOL'];
			$this->httpVersion = substr($serverProtocol, strpos($serverProtocol, '/') + 1);
		}
		return $this->httpVersion;
	}
public function getHttpVersion ( ) { if ( ! isset ( $ this -> httpVersion ) ) { $ serverProtocol = $ _SERVER [ 'SERVER_PROTOCOL' ] ; $ this -> httpVersion = substr ( $ serverProtocol , strpos ( $ serverProtocol , '/' ) + 1 ) ; } return $ this -> httpVersion ; }
Get request HTTP version.

@return string
Get request HTTP version .