original_string: public function deleteScheduleAction(Schedule $schedule)
      {
          execute(new DeleteScheduleCommand($schedule));
  
          return cachet_redirect('dashboard.schedule')
              ->withSuccess(sprintf('%s %s', trans('dashboard.notifications.awesome'), trans('dashboard.schedule.delete.success')));
      }
code: public function deleteScheduleAction(Schedule $schedule)
      {
          execute(new DeleteScheduleCommand($schedule));
  
          return cachet_redirect('dashboard.schedule')
              ->withSuccess(sprintf('%s %s', trans('dashboard.notifications.awesome'), trans('dashboard.schedule.delete.success')));
      }
code_tokens: public function deleteScheduleAction ( Schedule $ schedule ) { execute ( new DeleteScheduleCommand ( $ schedule ) ) ; return cachet_redirect ( 'dashboard.schedule' ) -> withSuccess ( sprintf ( '%s %s' , trans ( 'dashboard.notifications.awesome' ) , trans ( 'dashboard.schedule.delete.success' ) ) ) ; }
docstring: Deletes a given schedule.
  
  @param \CachetHQ\Cachet\Models\Schedule $schedule
  
  @return \Illuminate\Http\RedirectResponse
docstring_tokens: Deletes a given schedule .