/**
  * {@inheritdoc}
  */
 public function call(Identity $identity, Request $request, callable $next)
 {
     if (!$this->router->supports($request)) {
         return $next($identity, $request);
     }
     $callable = $this->router->get($request);
     return $this->normalizeResponse($callable($identity, $request));
 }
Ejemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function supports(Request $request)
 {
     return $this->router->supports($request);
 }