src/ieu/Http/Response.php
public function setProtocolVersion($version)
	{
		if (!array_key_exists($version, self::$protocolVersionMap)) {
			throw new InvalidArgumentException(sprintf('The HTTP protkoll version %s is unknown', $version));			
		}

		$this->protocolVersion = $version;

		return $this;
	}
public function setProtocolVersion($version)
	{
		if (!array_key_exists($version, self::$protocolVersionMap)) {
			throw new InvalidArgumentException(sprintf('The HTTP protkoll version %s is unknown', $version));			
		}

		$this->protocolVersion = $version;

		return $this;
	}
public function setProtocolVersion ( $ version ) { if ( ! array_key_exists ( $ version , self :: $ protocolVersionMap ) ) { throw new InvalidArgumentException ( sprintf ( 'The HTTP protkoll version %s is unknown' , $ version ) ) ; } $ this -> protocolVersion = $ version ; return $ this ; }
Sets the HTTP protocol version

@param string $version The protocol version

@return self
Sets the HTTP protocol version