ActionScheduler_NullSchedule::__construct
Make the $date param optional and default to null.
Метод класса: ActionScheduler_NullSchedule{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$ActionScheduler_NullSchedule = new ActionScheduler_NullSchedule(); $ActionScheduler_NullSchedule->__construct( ?DateTime $date );
- ?DateTime $date
- .
По умолчанию:null
Код ActionScheduler_NullSchedule::__construct() ActionScheduler NullSchedule:: construct WC 10.9.4
public function __construct( ?DateTime $date = null ) {
$this->scheduled_date = null;
}