public static function getText($code)
    {
        $code = (int) $code;

        if (!self::exists($code)) {
            throw new \DomainException('Http Code does not exist!');
        }

        return self::$httpCodes[$code];
	}
public static function getText($code)
    {
        $code = (int) $code;

        if (!self::exists($code)) {
            throw new \DomainException('Http Code does not exist!');
        }

        return self::$httpCodes[$code];
	}
public static function getText ( $ code ) { $ code = ( int ) $ code ; if ( ! self :: exists ( $ code ) ) { throw new \ DomainException ( 'Http Code does not exist!' ) ; } return self :: $ httpCodes [ $ code ] ; }
Return text for the specified http code.

@param  int $code
@return string
@throws \DomainException
Return text for the specified http code .