芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/myvyralapp.com/bck/vendor/torann/geoip/src/Console/Clear.php
fire(); } /** * Execute the console command. * * @return void */ public function fire() { if ($this->isSupported() === false) { return $this->output->error('Default cache system does not support tags'); } $this->performFlush(); } /** * Is cache flushing supported. * * @return bool */ protected function isSupported() { return empty(app('geoip')->config('cache_tags')) === false && in_array(config('cache.default'), ['file', 'database']) === false; } /** * Flush the cache. * * @return void */ protected function performFlush() { $this->output->write("Clearing cache..."); app('geoip')->getCache()->flush(); $this->output->writeln("
complete
"); } }