public function redirectToFirstValidRoute(array $routeList): RedirectResponse
    {
        foreach ($routeList as $route) {
            if ($route) {
                return $this->redirect($route);
            }
        }

        throw new \InvalidArgumentException('No valid route given');
    }