/** * 设置框架的 debug 模式 * * @param bool $isDebug 是否开启debug模式 * @static * @access public * @return void */ public static function setDebug($isDebug) { self::$debug = !!$isDebug; }