/** * {@inheritdoc} */ public function add(RouterInterface $router, Route $route) { $router->setDefaults(array_merge($route->getPaths(), ['params' => $route->getParams()])); }
/** * {@inheritdoc} */ public function add(RouterInterface $router, Route $route) { $router->setDefaults(array_merge($route->getPaths(), ['params' => $route->getParams()])); }