src/response.php
public static function get_status_message($code) {
	if (!isset(static::$status_messages[$code])) {
		$code = self::STATUS_INTERNAL_SERVER_ERROR;
	}
	
	$message = static::$status_messages[$code];
	return $message;
}
public static function get_status_message($code) {
	if (!isset(static::$status_messages[$code])) {
		$code = self::STATUS_INTERNAL_SERVER_ERROR;
	}
	
	$message = static::$status_messages[$code];
	return $message;
}
public static function get_status_message ( $ code ) { if ( ! isset ( static :: $ status_messages [ $ code ] ) ) { $ code = self :: STATUS_INTERNAL_SERVER_ERROR ; } $ message = static :: $ status_messages [ $ code ] ; return $ message ; }
get the describing message of the status code

@param  int    $code i.e. 404
@return string       i.e. 'Not found'
get the describing message of the status code