static public function flushRoutesCache()
    {
        $cachePath = Config::getCommon('router.cache_file');
        if (FileHelper::delete($cachePath)) {
            return ErrorInfo::success('flush routes cache success');
        } else {
            return ErrorInfo::error('flush routes cache fail, please check config[router.cache_file]');
        }
    }
static public function flushRoutesCache()
    {
        $cachePath = Config::getCommon('router.cache_file');
        if (FileHelper::delete($cachePath)) {
            return ErrorInfo::success('flush routes cache success');
        } else {
            return ErrorInfo::error('flush routes cache fail, please check config[router.cache_file]');
        }
    }
static public function flushRoutesCache ( ) { $ cachePath = Config :: getCommon ( 'router.cache_file' ) ; if ( FileHelper :: delete ( $ cachePath ) ) { return ErrorInfo :: success ( 'flush routes cache success' ) ; } else { return ErrorInfo :: error ( 'flush routes cache fail, please check config[router.cache_file]' ) ; } }
flush routes cache
@return \Wslim\Common\ErrorInfo
flush routes cache