You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($route instanceof Nette\Application\IRouter && !$route instanceof IRouteMock) {
$router[] = $route;
} elseif ($route instanceof IRouteMock) {
$router[] = $route->getRouter();
} else {
throw new InvalidStateException('Route definition must be array or instance of Flame\Modules\Application\Routers\IRouteMock, ' . gettype($route) . ' given');