protected function findIndexNode(Request $request, Path $currentContext) { if ($currentContext->isEmpty()) { return null; } return parent::findIndexNode($request, $currentContext); }
public function whenIRouteTheRequest() { $router = new StaticRouter($this->factory, $this->store, $this->namespace, $this->suffix); $this->target = $router->route($this->request->request); }