protected function callLumenControllerWithMiddleware($instance, $method, $routeInfo, $middleware)
    {
        $middleware = $this->gatherMiddlewareClassNames($middleware);

        return $this->sendThroughPipeline($middleware, function () use ($instance, $method, $routeInfo) {
            return $this->callControllerCallable([$instance, $method], $routeInfo[2]);
        });
    }
protected function callLumenControllerWithMiddleware($instance, $method, $routeInfo, $middleware)
    {
        $middleware = $this->gatherMiddlewareClassNames($middleware);

        return $this->sendThroughPipeline($middleware, function () use ($instance, $method, $routeInfo) {
            return $this->callControllerCallable([$instance, $method], $routeInfo[2]);
        });
    }
protected function callLumenControllerWithMiddleware ( $ instance , $ method , $ routeInfo , $ middleware ) { $ middleware = $ this -> gatherMiddlewareClassNames ( $ middleware ) ; return $ this -> sendThroughPipeline ( $ middleware , function ( ) use ( $ instance , $ method , $ routeInfo ) { return $ this -> callControllerCallable ( [ $ instance , $ method ] , $ routeInfo [ 2 ] ) ; } ) ; }
Send the request through a set of controller middleware.

@param  mixed  $instance
@param  string  $method
@param  array  $routeInfo
@param  array  $middleware
@return mixed
Send the request through a set of controller middleware .