public function handle(DeleteScheduleCommand $command)
    {
        $schedule = $command->schedule;

        event(new ScheduleWasRemovedEvent($this->auth->user(), $schedule));

        $schedule->delete();
    }
public function handle(DeleteScheduleCommand $command)
    {
        $schedule = $command->schedule;

        event(new ScheduleWasRemovedEvent($this->auth->user(), $schedule));

        $schedule->delete();
    }
public function handle ( DeleteScheduleCommand $ command ) { $ schedule = $ command -> schedule ; event ( new ScheduleWasRemovedEvent ( $ this -> auth -> user ( ) , $ schedule ) ) ; $ schedule -> delete ( ) ; }
Handle the delete schedule command.

@param \CachetHQ\Cachet\Bus\Commands\Schedule\DeleteScheduleCommand $command

@return void
Handle the delete schedule command .