public function setStatus($status)
    {
        $result = \Eix\Services\Net\Http::isStatusCodeValid($status);
        if ($result) {
            $this->status = $status;
        }

        return $result;
    }
public function setStatus($status)
    {
        $result = \Eix\Services\Net\Http::isStatusCodeValid($status);
        if ($result) {
            $this->status = $status;
        }

        return $result;
    }
public function setStatus ( $ status ) { $ result = \ Eix \ Services \ Net \ Http :: isStatusCodeValid ( $ status ) ; if ( $ result ) { $ this -> status = $ status ; } return $ result ; }
Sets the status, if it is a valid HTTP status code.

@param  int     $status an integer representing a valid HTTP status code.
@return boolean whether the status was set or not.
Sets the status if it is a valid HTTP status code .