auth = $auth; } /** * Handle the remove incident command. * * @param \CachetHQ\Cachet\Bus\Commands\Incident\RemoveIncidentCommand $command * * @return void */ public function handle(RemoveIncidentCommand $command) { $incident = $command->incident; event(new IncidentWasRemovedEvent($this->auth->user(), $incident)); $incident->delete(); } }