private function deleteAllRoutes()
    {
        $routes = $this->getDbRoutes();
        foreach ($routes as $route) {
            Craft::$app->routes->deleteRouteById($route['id']);
        }
    }
private function deleteAllRoutes()
    {
        $routes = $this->getDbRoutes();
        foreach ($routes as $route) {
            Craft::$app->routes->deleteRouteById($route['id']);
        }
    }
private function deleteAllRoutes ( ) { $ routes = $ this -> getDbRoutes ( ) ; foreach ( $ routes as $ route ) { Craft :: $ app -> routes -> deleteRouteById ( $ route [ 'id' ] ) ; } }
Deletes all routes
Deletes all routes