ActionScheduler_Abstract_RecurringSchedule::__construct │ public │ WC 1.0

Construct.

Метод класса: ActionScheduler_Abstract_RecurringSchedule{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$ActionScheduler_Abstract_RecurringSchedule = new ActionScheduler_Abstract_RecurringSchedule();
$ActionScheduler_Abstract_RecurringSchedule->__construct( $date, $recurrence, ?DateTime $first );
$date(DateTime) (обязательный)
The date & time to run the action.
$recurrence(разное) (обязательный)
The data used to determine the schedule's recurrence.
?DateTime $first
.
По умолчанию: null

Код ActionScheduler_Abstract_RecurringSchedule::__construct() WC 11.2.1

public function __construct( DateTime $date, $recurrence, ?DateTime $first = null ) {
	parent::__construct( $date );
	$this->first_date = empty( $first ) ? $date : $first;
	$this->recurrence = $recurrence;
}