Property | Type | Description | |
---|---|---|---|
$dateTimeSettingsMap | array | Schedule properties mapping | |
$listOfWeakDays | array | List of weak days value | |
$rules |
Method | Description | |
---|---|---|
_schedule ( $from, $to, $action ) | ||
validateEntity ( $entity ) | ||
validateTimeInterval ( DateTime $time ) | Validate schedule start and end time interval |
Method | Description | |
---|---|---|
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 | ||
return | array |
protected static array $listOfWeakDays | ||
return | array |