jetformbuilder
/
vendor
/
woocommerce
/
action-scheduler
/
classes
/
schedules
/
ActionScheduler_Schedule.php
ActionScheduler_CanceledSchedule.php
1 year ago
ActionScheduler_CronSchedule.php
1 year ago
ActionScheduler_IntervalSchedule.php
1 year ago
ActionScheduler_NullSchedule.php
1 year ago
ActionScheduler_Schedule.php
1 year ago
ActionScheduler_SimpleSchedule.php
1 year ago
ActionScheduler_Schedule.php
23 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Class ActionScheduler_Schedule |
| 5 | */ |
| 6 | interface ActionScheduler_Schedule { |
| 7 | /** |
| 8 | * Get the date & time this schedule was created to run, or calculate when it should be run |
| 9 | * after a given date & time. |
| 10 | * |
| 11 | * @param null|DateTime $after Timestamp. |
| 12 | * @return DateTime|null |
| 13 | */ |
| 14 | public function next( ?DateTime $after = null ); |
| 15 | |
| 16 | /** |
| 17 | * Identify the schedule as (not) recurring. |
| 18 | * |
| 19 | * @return bool |
| 20 | */ |
| 21 | public function is_recurring(); |
| 22 | } |
| 23 |