Table of Contents
Methods
-
addScheduleNotFoundError()
: mixed
-
addShiftNotFoundError()
: mixed
-
createByResult()
: static
-
createWithErrorText()
: static
-
getFirstError()
: Error|null
-
getSchedule()
: mixed
-
getShift()
: Shift
-
isSuccessResult()
: mixed
-
setSchedule()
: mixed
-
setShift()
: $this
addScheduleNotFoundError()
public
addScheduleNotFoundError() : mixed
addShiftNotFoundError()
public
addShiftNotFoundError() : 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() : mixed
getShift()
public
getShift() : Shift
isSuccessResult()
public
static isSuccessResult(Result $result) : mixed
Parameters
-
$result
: Result
-
setSchedule()
public
setSchedule(Schedule $schedule) : mixed
Parameters
-
$schedule
: Schedule
-
setShift()
public
setShift(Shift $shift) : $this
Parameters
-
$shift
: Shift
-