public function fire() { if (!$this->option('event')) { return $this->error('The --event option is necessary'); } parent::fire(); }
/** * Run the command. */ public function fire() { parent::fire(); if (app()->environment() === 'testing') { return; } $this->call('optimize'); }