classEvScheduleTimeWithEverySymExprIntervalEvStartsEvEnds_b360a351
final class EvScheduleTimeWithEverySymExprIntervalEvStartsEvEnds_b360a351
implements EvScheduleTimeForm
uses Assertion
Public API: explicitly declared with
@visibility public.The ev_schedule_time SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\EvScheduleTimeWithEverySymExprIntervalEvStartsEvEnds_b360a351 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public ExprForm $exprpublic IntervalForm $intervalpublic EvStartsForm $evStartspublic EvEndsForm $evEndspublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public ExprForm $expr,
public IntervalForm $interval,
public EvStartsForm $evStarts,
public EvEndsForm $evEnds,
public Comments $comments = new \SqlSemantics\Statement\Comments(),
)Supplies the SQL values of this form; comments are kept by the position of the symbol each precedes.
Parameters
$expr | ExprForm | |
$interval | IntervalForm | |
$evStarts | EvStartsForm | |
$evEnds | EvEndsForm | |
$comments | Comments |
Calls 3
- new Comments line 27
- method-call EvScheduleTimeWithEverySymExprIntervalEvStartsEvEnds_b360a351::assert() line 29
- static-call Contracts::contains() line 29
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 6
- method-call Writer::comments() line 40
- method-call Writer::append() line 41
- method-call ExprForm::write() line 43
- method-call IntervalForm::write() line 45
- method-call EvStartsForm::write() line 47
- method-call EvEndsForm::write() line 49
public function withExpr(ExprForm $expr): selfpublic function withInterval(IntervalForm $interval): selfReturns a copy with a new interval, preserving every other field.
Parameters
$interval | IntervalForm |
Returns
selfCalls 1
- new
selfline 65
public function withEvStarts(EvStartsForm $evStarts): selfReturns a copy with a new evStarts, preserving every other field.
Parameters
$evStarts | EvStartsForm |
Returns
selfCalls 1
- new
selfline 73
public function withEvEnds(EvEndsForm $evEnds): selfReturns a copy with a new evEnds, preserving every other field.
Parameters
$evEnds | EvEndsForm |
Returns
selfCalls 1
- new
selfline 81