public function fire() { parent::fire(); if (app()->environment() === 'testing') { return; } $this->call('optimize'); }