classKeyListWithKeyListKeyPart_24a96f9f
final class KeyListWithKeyListKeyPart_24a96f9f
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\KeyListWithKeyListKeyPart_24a96f9f $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public KeyListForm $keyListpublic KeyPartForm $keyPartpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public KeyListForm $keyList,
public KeyPartForm $keyPart,
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 | |
$comments | Comments |
Calls 3
- new Comments line 25
- method-call KeyListWithKeyListKeyPart_24a96f9f::assert() line 27
- static-call Contracts::contains() line 27
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 4
- method-call Writer::comments() line 36
- method-call KeyListForm::write() line 37
- method-call Writer::append() line 39
- method-call KeyPartForm::write() line 41
public function withKeyList(KeyListForm $keyList): selfReturns a copy with a new keyList, preserving every other field.
Parameters
$keyList | KeyListForm |
Returns
selfCalls 1
- new
selfline 49
public function withKeyPart(KeyPartForm $keyPart): selfReturns a copy with a new keyPart, preserving every other field.
Parameters
$keyPart | KeyPartForm |
Returns
selfCalls 1
- new
selfline 57