Ejemplo n.º 1
0
 /**
  * Gather the middlewares for the route.
  *
  * @param \Dingo\Api\Http\Request $request
  *
  * @return array
  */
 protected function gatherRouteMiddlewares($request)
 {
     if ($route = $request->route()) {
         return $this->router->gatherRouteMiddlewares($route);
     }
     return [];
 }