protected function getStatusMessage($code)
    {
        return (
            isset($this->statusMessages[$code])
                ? $this->statusMessages[$code] : $this->statusMessages[500]
        );
    }
protected function getStatusMessage($code)
    {
        return (
            isset($this->statusMessages[$code])
                ? $this->statusMessages[$code] : $this->statusMessages[500]
        );
    }
protected function getStatusMessage ( $ code ) { return ( isset ( $ this -> statusMessages [ $ code ] ) ? $ this -> statusMessages [ $ code ] : $ this -> statusMessages [ 500 ] ) ; }
Gets the HTTP status message for a status code.

@param int $code The status code.

@return string The http status.
Gets the HTTP status message for a status code .