classSubPartDefinitionWithSubpartitionSymSubNameOptPartOptions_ff97ee22
final class SubPartDefinitionWithSubpartitionSymSubNameOptPartOptions_ff97ee22
implements SubPartDefinitionForm, SubPartListForm
uses Assertion
Public API: explicitly declared with
@visibility public.The sub_part_definition SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\SubPartDefinitionWithSubpartitionSymSubNameOptPartOptions_ff97ee22 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public SubNameForm $subNamepublic OptPartOptionsForm $optPartOptionspublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public SubNameForm $subName,
public OptPartOptionsForm $optPartOptions,
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
$subName | SubNameForm | |
$optPartOptions | OptPartOptionsForm | |
$comments | Comments |
Calls 3
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 Writer::append() line 37
- method-call SubNameForm::write() line 39
- method-call OptPartOptionsForm::write() line 41
public function withSubName(SubNameForm $subName): selfReturns a copy with a new subName, preserving every other field.
Parameters
$subName | SubNameForm |
Returns
selfCalls 1
- new
selfline 49
public function withOptPartOptions(OptPartOptionsForm $optPartOptions): selfReturns a copy with a new optPartOptions, preserving every other field.
Parameters
$optPartOptions | OptPartOptionsForm |
Returns
selfCalls 1
- new
selfline 57