HasWorkingHours
trait HasWorkingHours
Methods
static
bootHasWorkingHours()
No description
Carbon
getCurrentTime()
No description
availableWorkingTypes()
No description
listWorkingHours()
No description
mixed
workingHourType(null $hourType = null)
No description
getWorkingHoursByType($type)
No description
getWorkingHoursByDay($weekday)
No description
getWorkingHourByDayAndType($weekday, $type)
No description
getWorkingHourByDateAndType($date, $type)
No description
getWorkingHours()
No description
loadWorkingHours()
No description
newWorkingSchedule($type, $days = null)
No description
createScheduleItem($type)
No description
updateSchedule($type, $scheduleData)
No description
bool
addOpeningHours($type, array $data = [])
Create a new or update existing location working hours
parseHoursFromOptions($value)
No description
createDefaultWorkingHours()
No description
Details
at line 15
static
bootHasWorkingHours()
No description
at line 37
Carbon
getCurrentTime()
No description
at line 42
availableWorkingTypes()
No description
at line 47
listWorkingHours()
No description
at line 57
mixed
workingHourType(null $hourType = null)
No description
at line 62
getWorkingHoursByType($type)
No description
at line 67
getWorkingHoursByDay($weekday)
No description
at line 72
getWorkingHourByDayAndType($weekday, $type)
No description
at line 80
getWorkingHourByDateAndType($date, $type)
No description
at line 90
getWorkingHours()
No description
at line 105
loadWorkingHours()
No description
at line 110
newWorkingSchedule($type, $days = null)
No description
at line 137
createScheduleItem($type)
No description
at line 147
updateSchedule($type, $scheduleData)
No description
at line 165
bool
addOpeningHours($type, array $data = [])
Create a new or update existing location working hours
at line 200
protected
parseHoursFromOptions($value)
No description
at line 235
protected
createDefaultWorkingHours()
No description