Exemple #1
0
 public static function createRouter($pages)
 {
     if (!self::$router) {
         self::$router = new MainRouter($pages);
     }
     return self::$router;
 }