Table of Contents
Methods
-
addScheduleNotFoundError()
: mixed
-
createByResult()
: static
-
createWithErrorText()
: static
-
getFirstError()
: Error|null
-
getSchedule()
: Schedule
-
getShifts()
: array<string|int, Shift>
-
isSuccessResult()
: mixed
-
setSchedule()
: $this
-
setShifts()
: $this
addScheduleNotFoundError()
public
addScheduleNotFoundError() : mixed
createByResult()
public
static createByResult(Result $result) : static
Parameters
-
$result
: Result
-
createWithErrorText()
public
static createWithErrorText(mixed $text[, mixed $code = 0 ]) : static
Parameters
-
$text
: mixed
-
-
$code
: mixed
= 0
-
getFirstError()
public
getFirstError() : Error|null
getSchedule()
public
getSchedule() : Schedule
getShifts()
public
getShifts() : array<string|int, Shift>
Return values
array<string|int, Shift>
isSuccessResult()
public
static isSuccessResult(Result $result) : mixed
Parameters
-
$result
: Result
-
setSchedule()
public
setSchedule(Schedule $schedule) : $this
Parameters
-
$schedule
: Schedule
-
setShifts()
public
setShifts(array<string|int, Shift> $shifts) : $this
Parameters
-
$shifts
: array<string|int, Shift>
-