public function setStatus($status)
	{
		$status = (int)$status;

		if($status < 100)
		{
			throw new \InvalidArgumentException(sprintf('Invalid HTTP status code: %u', $status));
		}
		
		if($status >= 600)
		{
			throw new \InvalidArgumentException(sprintf('Invalid HTTP status code: %u', $status));
		}
		
		$this->status = $status;
		
		return $this;
	}
public function setStatus($status)
	{
		$status = (int)$status;

		if($status < 100)
		{
			throw new \InvalidArgumentException(sprintf('Invalid HTTP status code: %u', $status));
		}
		
		if($status >= 600)
		{
			throw new \InvalidArgumentException(sprintf('Invalid HTTP status code: %u', $status));
		}
		
		$this->status = $status;
		
		return $this;
	}
public function setStatus ( $ status ) { $ status = ( int ) $ status ; if ( $ status < 100 ) { throw new \ InvalidArgumentException ( sprintf ( 'Invalid HTTP status code: %u' , $ status ) ) ; } if ( $ status >= 600 ) { throw new \ InvalidArgumentException ( sprintf ( 'Invalid HTTP status code: %u' , $ status ) ) ; } $ this -> status = $ status ; return $ this ; }
Set the HTTP status of this response.

@param integer $status
@return HttpResponse

@throws \InvalidArgumentException
Set the HTTP status of this response .