classKeyListWithKeyListKeyPartOrderDir_c89aca51
final class KeyListWithKeyListKeyPartOrderDir_c89aca51
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\KeyListWithKeyListKeyPartOrderDir_c89aca51 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public KeyListForm $keyListpublic KeyPartForm $keyPartpublic OrderDirForm $orderDirpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public KeyListForm $keyList,
public KeyPartForm $keyPart,
public OrderDirForm $orderDir,
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 | |
$orderDir | OrderDirForm | |
$comments | Comments |
Calls 3
- new Comments line 26
- method-call KeyListWithKeyListKeyPartOrderDir_c89aca51::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 OrderDirForm::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 withOrderDir(OrderDirForm $orderDir): selfReturns a copy with a new orderDir, preserving every other field.
Parameters
$orderDir | OrderDirForm |
Returns
selfCalls 1
- new
selfline 69