concrete/src/Http/Middleware/ApplicationMiddleware.php
public function process(Request $request, DelegateInterface $frame)
    {
        \Concrete\Core\Http\Request::setInstance($request);
        $this->app->instance('Concrete\Core\Http\Request', $request);

        return $frame->next($request);
    }
public function process(Request $request, DelegateInterface $frame)
    {
        \Concrete\Core\Http\Request::setInstance($request);
        $this->app->instance('Concrete\Core\Http\Request', $request);

        return $frame->next($request);
    }
public function process ( Request $ request , DelegateInterface $ frame ) { \ Concrete \ Core \ Http \ Request :: setInstance ( $ request ) ; $ this -> app -> instance ( 'Concrete\Core\Http\Request' , $ request ) ; return $ frame -> next ( $ request ) ; }
Apply the request instance to the request singleton
@param \Symfony\Component\HttpFoundation\Request $request
@param \Concrete\Core\Http\Middleware\DelegateInterface $frame
@return \Symfony\Component\HttpFoundation\Response
Apply the request instance to the request singleton