public static function getRequest()
    {
        if (self::$request) {
            return self::$request;
        }
        // Fall back to trying from the global state
        if (Controller::has_curr()) {
            return Controller::curr()->getRequest();
        }
    }
public static function getRequest()
    {
        if (self::$request) {
            return self::$request;
        }
        // Fall back to trying from the global state
        if (Controller::has_curr()) {
            return Controller::curr()->getRequest();
        }
    }
public static function getRequest ( ) { if ( self :: $ request ) { return self :: $ request ; } // Fall back to trying from the global state if ( Controller :: has_curr ( ) ) { return Controller :: curr ( ) -> getRequest ( ) ; } }
Get the current request

@return HTTPRequest
Get the current request