*/ class RemoveIncidentUpdateCommandHandler { /** * Handle the remove incident update command. * * @param \CachetHQ\Cachet\Bus\Commands\IncidentUpdate\RemoveIncidentUpdateCommand $command * * @return void */ public function handle(RemoveIncidentUpdateCommand $command) { $update = $command->incidentUpdate; event(new IncidentUpdateWasRemovedEvent($update)); $update->delete(); } }