public function matchRequest(SymfonyRequest $request)
    {
        $laravelRequest = LaravelRequest::createFromBase($request);
        $route = $this->findRoute($laravelRequest);
        $route->setParameter('_module', $this->moduleName);

        return $route;
    }
public function matchRequest(SymfonyRequest $request)
    {
        $laravelRequest = LaravelRequest::createFromBase($request);
        $route = $this->findRoute($laravelRequest);
        $route->setParameter('_module', $this->moduleName);

        return $route;
    }
public function matchRequest ( SymfonyRequest $ request ) { $ laravelRequest = LaravelRequest :: createFromBase ( $ request ) ; $ route = $ this -> findRoute ( $ laravelRequest ) ; $ route -> setParameter ( '_module' , $ this -> moduleName ) ; return $ route ; }
Given a request object, find the matching route.

@param Request $request

@return \Illuminate\Routing\Route
Given a request object find the matching route .