concrete/src/Http/DefaultServer.php
public function handleRequest(SymfonyRequest $request)
    {
        $stack = $this->stack;
        if ($stack instanceof MiddlewareStack) {
            $stack = $stack->withDispatcher($this->app->make(DispatcherDelegate::class, [$this->dispatcher]));
        }

        return $stack->process($request);
    }
public function handleRequest(SymfonyRequest $request)
    {
        $stack = $this->stack;
        if ($stack instanceof MiddlewareStack) {
            $stack = $stack->withDispatcher($this->app->make(DispatcherDelegate::class, [$this->dispatcher]));
        }

        return $stack->process($request);
    }
public function handleRequest ( SymfonyRequest $ request ) { $ stack = $ this -> stack ; if ( $ stack instanceof MiddlewareStack ) { $ stack = $ stack -> withDispatcher ( $ this -> app -> make ( DispatcherDelegate :: class , [ $ this -> dispatcher ] ) ) ; } return $ stack -> process ( $ request ) ; }
Take a request and pass it through middleware, then return the response
@param SymfonyRequest $request
@return SymfonyResponse
Take a request and pass it through middleware then return the response