container = $container; parent::__construct($this->name); } public function configure() { parent::configure(); $this->setDescription('清理服务器组缓存.'); $this->addUsage(" 无参数"); } public function handle() { $nowDate = Carbon::now()->toDateTimeString(); M3u8CacheRepository::clearServersCache(); $this->comment(sprintf('[%s]清理服务器组缓存成功', $nowDate)); } }