src/NanoHttpStatus.php
public function getMessage(int $code): string
    {
        return $this->statusExists($code) ? $this->statuses[$code] : self::UNDEFINED_STATUS_MESSAGE;
    }
public function getMessage(int $code): string
    {
        return $this->statusExists($code) ? $this->statuses[$code] : self::UNDEFINED_STATUS_MESSAGE;
    }
public function getMessage ( int $ code ) : string { return $ this -> statusExists ( $ code ) ? $ this -> statuses [ $ code ] : self :: UNDEFINED_STATUS_MESSAGE ; }
Returns relevant status message if status exists, 'Undefined Status' is returned otherwise

@param int $code

@return string
Returns relevant status message if status exists Undefined Status is returned otherwise