classKeyListWithKeyListKeyPartOptOrderingDirection_f5a0d67d
final class KeyListWithKeyListKeyPartOptOrderingDirection_f5a0d67d
implements KeyListForm
uses Assertion
Public API: explicitly declared with
@visibility public.The key_list SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\KeyListWithKeyListKeyPartOptOrderingDirection_f5a0d67d $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public KeyListForm $keyListpublic KeyPartForm $keyPartpublic OptOrderingDirectionForm $optOrderingDirectionpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public KeyListForm $keyList,
public KeyPartForm $keyPart,
public OptOrderingDirectionForm $optOrderingDirection,
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
$keyList | KeyListForm | |
$keyPart | KeyPartForm | |
$optOrderingDirection | OptOrderingDirectionForm | |
$comments | Comments |
Calls 3
- new Comments line 26
- method-call KeyListWithKeyListKeyPartOptOrderingDirection_f5a0d67d::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 KeyListForm::write() line 39
- method-call Writer::append() line 41
- method-call KeyPartForm::write() line 43
- method-call OptOrderingDirectionForm::write() line 45
public function withKeyList(KeyListForm $keyList): selfReturns a copy with a new keyList, preserving every other field.
Parameters
$keyList | KeyListForm |
Returns
selfCalls 1
- new
selfline 53
public function withKeyPart(KeyPartForm $keyPart): selfReturns a copy with a new keyPart, preserving every other field.
Parameters
$keyPart | KeyPartForm |
Returns
selfCalls 1
- new
selfline 61
public function withOptOrderingDirection(OptOrderingDirectionForm $optOrderingDirection): selfReturns a copy with a new optOrderingDirection, preserving every other field.
Parameters
$optOrderingDirection | OptOrderingDirectionForm |
Returns
selfCalls 1
- new
selfline 69