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