protected function dispatchToRouter()
    {
        return function ($request) {
            $this->app->instance('request', $request);

            return $this->router->dispatch($request);
        };
    }
protected function dispatchToRouter()
    {
        return function ($request) {
            $this->app->instance('request', $request);

            return $this->router->dispatch($request);
        };
    }
protected function dispatchToRouter ( ) { return function ( $ request ) { $ this -> app -> instance ( 'request' , $ request ) ; return $ this -> router -> dispatch ( $ request ) ; } ; }
Get the route dispatcher callback.

@return \Closure
Get the route dispatcher callback .