ActionScheduler_CronSchedule
in package
implements
ActionScheduler_Schedule
Class ActionScheduler_CronSchedule
Interfaces, Classes and Traits
- ActionScheduler_Schedule
- Class ActionScheduler_Schedule
Table of Contents
- $cron : CronExpression
- $start : DateTime
- $start_timestamp : mixed
- __construct() : mixed
- __sleep() : array<string|int, mixed>
- For PHP 5.2 compat, since DateTime objects can't be serialized
- __wakeup() : mixed
- get_recurrence() : string
- is_recurring() : bool
- next() : DateTime|null
Properties
$cron
private
CronExpression
$cron
= NULL
$start
private
DateTime
$start
= NULL
$start_timestamp
private
mixed
$start_timestamp
= 0
Methods
__construct()
public
__construct(DateTime $start, CronExpression $cron) : mixed
Parameters
- $start : DateTime
- $cron : CronExpression
Return values
mixed —__sleep()
For PHP 5.2 compat, since DateTime objects can't be serialized
public
__sleep() : array<string|int, mixed>
Return values
array<string|int, mixed> —__wakeup()
public
__wakeup() : mixed
Return values
mixed —get_recurrence()
public
get_recurrence() : string
Return values
string —is_recurring()
public
is_recurring() : bool
Return values
bool —next()
public
next([DateTime $after = NULL ]) : DateTime|null
Parameters
- $after : DateTime = NULL