public function handle(RemoveIncidentCommand $command)
    {
        $incident = $command->incident;

        event(new IncidentWasRemovedEvent($this->auth->user(), $incident));

        $incident->delete();
    }
public function handle(RemoveIncidentCommand $command)
    {
        $incident = $command->incident;

        event(new IncidentWasRemovedEvent($this->auth->user(), $incident));

        $incident->delete();
    }
public function handle ( RemoveIncidentCommand $ command ) { $ incident = $ command -> incident ; event ( new IncidentWasRemovedEvent ( $ this -> auth -> user ( ) , $ incident ) ) ; $ incident -> delete ( ) ; }
Handle the remove incident command.

@param \CachetHQ\Cachet\Bus\Commands\Incident\RemoveIncidentCommand $command

@return void
Handle the remove incident command .