classAlterTablespaceOptionListWithAlterTablespaceOptionListOptCommaAlterTablespaceOption_d88a4091
final class AlterTablespaceOptionListWithAlterTablespaceOptionListOptCommaAlterTablespaceOption_d88a4091
implements AlterTablespaceOptionListForm, OptAlterTablespaceOptionsForm
uses Assertion
Public API: explicitly declared with
@visibility public.The alter_tablespace_option_list SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\AlterTablespaceOptionListWithAlterTablespaceOptionListOptCommaAlterTablespaceOption_d88a4091 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public AlterTablespaceOptionListForm $alterTablespaceOptionListpublic OptCommaForm $optCommapublic AlterTablespaceOptionForm $alterTablespaceOptionpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public AlterTablespaceOptionListForm $alterTablespaceOptionList,
public OptCommaForm $optComma,
public AlterTablespaceOptionForm $alterTablespaceOption,
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
$alterTablespaceOptionList | AlterTablespaceOptionListForm | |
$optComma | OptCommaForm | |
$alterTablespaceOption | AlterTablespaceOptionForm | |
$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 38
- method-call AlterTablespaceOptionListForm::write() line 39
- method-call OptCommaForm::write() line 41
- method-call AlterTablespaceOptionForm::write() line 43
public function withAlterTablespaceOptionList(AlterTablespaceOptionListForm $alterTablespaceOptionList): selfReturns a copy with a new alterTablespaceOptionList, preserving every other field.
Parameters
$alterTablespaceOptionList | AlterTablespaceOptionListForm |
Returns
selfCalls 1
- new
selfline 51
public function withOptComma(OptCommaForm $optComma): selfReturns a copy with a new optComma, preserving every other field.
Parameters
$optComma | OptCommaForm |
Returns
selfCalls 1
- new
selfline 59
public function withAlterTablespaceOption(AlterTablespaceOptionForm $alterTablespaceOption): selfReturns a copy with a new alterTablespaceOption, preserving every other field.
Parameters
$alterTablespaceOption | AlterTablespaceOptionForm |
Returns
selfCalls 1
- new
selfline 67