public function getStatus()
    {
        $status = self::HTTP_INTERNAL_SERVER_ERROR;

        if ($this->getCode() >= 400 && $this->getCode() < 600) {
            $status = $this->getCode();
        }

        return $status;
    }
public function getStatus()
    {
        $status = self::HTTP_INTERNAL_SERVER_ERROR;

        if ($this->getCode() >= 400 && $this->getCode() < 600) {
            $status = $this->getCode();
        }

        return $status;
    }
public function getStatus ( ) { $ status = self :: HTTP_INTERNAL_SERVER_ERROR ; if ( $ this -> getCode ( ) >= 400 && $ this -> getCode ( ) < 600 ) { $ status = $ this -> getCode ( ) ; } return $ status ; }
Get HTTP status code

@return int
Get HTTP status code