Пример #1
0
 public static function dispatch($dispatch)
 {
     self::$dispatch = $dispatch;
 }
Пример #2
0
 /**
  * 设置应用的路由检测机制
  * @access public
  * @param  bool $route 是否需要检测路由
  * @param  bool $must  是否强制检测路由
  * @return void
  */
 public static function route($route, $must = false)
 {
     self::$routeCheck = $route;
     self::$routeMust = $must;
 }