Свойство | Тип | Описание | |
---|---|---|---|
$dateTimeSettingsMap | array | Schedule properties mapping | |
$listOfWeakDays | array | List of weak days value | |
$rules |
Метод | Описание | |
---|---|---|
_schedule ( $from, $to, $action ) | ||
validateEntity ( $entity ) | ||
validateTimeInterval ( DateTime $time ) | Validate schedule start and end time interval |
Метод | Описание | |
---|---|---|
scheduleToData ( |
Converts schedule settings entity to data object | |
scheduleToEntity ( stdClass $object, |
Converts schedule data to entity |
protected scheduleToData ( |
||
$entity | Object entity | |
$object | stdClass | The data to convert into entity |
protected scheduleToEntity ( stdClass $object, |
||
$object | stdClass | |
$entity | Object entity |
public validateTimeInterval ( DateTime $time ) | ||
$time | DateTime |
protected static array $dateTimeSettingsMap | ||
Результат | array |
protected static array $listOfWeakDays | ||
Результат | array |