protected function callLumenController($instance, $method, $routeInfo)
    {
        $middleware = $instance->getMiddlewareForMethod($method);

        if (count($middleware) > 0) {
            return $this->callLumenControllerWithMiddleware(
                $instance, $method, $routeInfo, $middleware
            );
        } else {
            return $this->callControllerCallable(
                [$instance, $method], $routeInfo[2]
            );
        }
    }
protected function callLumenController($instance, $method, $routeInfo)
    {
        $middleware = $instance->getMiddlewareForMethod($method);

        if (count($middleware) > 0) {
            return $this->callLumenControllerWithMiddleware(
                $instance, $method, $routeInfo, $middleware
            );
        } else {
            return $this->callControllerCallable(
                [$instance, $method], $routeInfo[2]
            );
        }
    }
protected function callLumenController ( $ instance , $ method , $ routeInfo ) { $ middleware = $ instance -> getMiddlewareForMethod ( $ method ) ; if ( count ( $ middleware ) > 0 ) { return $ this -> callLumenControllerWithMiddleware ( $ instance , $ method , $ routeInfo , $ middleware ) ; } else { return $ this -> callControllerCallable ( [ $ instance , $ method ] , $ routeInfo [ 2 ] ) ; } }
Send the request through a Lumen controller.

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