classSubPartFuncWithRememberNamePartFuncExprRememberEnd_f9f43feb
final class SubPartFuncWithRememberNamePartFuncExprRememberEnd_f9f43feb
implements SubPartFuncForm
uses Assertion
Public API: explicitly declared with
@visibility public.The sub_part_func SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\SubPartFuncWithRememberNamePartFuncExprRememberEnd_f9f43feb $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public RememberNameForm $rememberNamepublic PartFuncExprForm $partFuncExprpublic RememberEndForm $rememberEndpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public RememberNameForm $rememberName,
public PartFuncExprForm $partFuncExpr,
public RememberEndForm $rememberEnd,
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
$rememberName | RememberNameForm | |
$partFuncExpr | PartFuncExprForm | |
$rememberEnd | RememberEndForm | |
$comments | Comments |
Calls 3
- new Comments line 26
- method-call SubPartFuncWithRememberNamePartFuncExprRememberEnd_f9f43feb::assert() line 28
- static-call Contracts::contains() line 28
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 5
- method-call Writer::comments() line 38
- method-call Writer::append() line 39
- method-call RememberNameForm::write() line 41
- method-call PartFuncExprForm::write() line 43
- method-call RememberEndForm::write() line 45
public function withRememberName(RememberNameForm $rememberName): selfReturns a copy with a new rememberName, preserving every other field.
Parameters
$rememberName | RememberNameForm |
Returns
selfCalls 1
- new
selfline 55
public function withPartFuncExpr(PartFuncExprForm $partFuncExpr): selfReturns a copy with a new partFuncExpr, preserving every other field.
Parameters
$partFuncExpr | PartFuncExprForm |
Returns
selfCalls 1
- new
selfline 63
public function withRememberEnd(RememberEndForm $rememberEnd): selfReturns a copy with a new rememberEnd, preserving every other field.
Parameters
$rememberEnd | RememberEndForm |
Returns
selfCalls 1
- new
selfline 71