classAlterListItemWithChangeOptColumnFieldIdentFieldSpecOptPlace_957cd093
final class AlterListItemWithChangeOptColumnFieldIdentFieldSpecOptPlace_957cd093
implements AlterCommandListForm, AlterCommandsForm, AlterListForm, AlterListItemForm, OptAlterCommandListForm, OptAlterTableActionsForm
uses Assertion
Public API: explicitly declared with
@visibility public.The alter_list_item SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\AlterListItemWithChangeOptColumnFieldIdentFieldSpecOptPlace_957cd093 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptColumnForm $optColumnpublic FieldIdentForm $fieldIdentpublic FieldSpecForm $fieldSpecpublic OptPlaceForm $optPlacepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptColumnForm $optColumn,
public FieldIdentForm $fieldIdent,
public FieldSpecForm $fieldSpec,
public OptPlaceForm $optPlace,
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
$optColumn | OptColumnForm | |
$fieldIdent | FieldIdentForm | |
$fieldSpec | FieldSpecForm | |
$optPlace | OptPlaceForm | |
$comments | Comments |
Calls 3
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 6
- method-call Writer::comments() line 40
- method-call Writer::append() line 41
- method-call OptColumnForm::write() line 43
- method-call FieldIdentForm::write() line 45
- method-call FieldSpecForm::write() line 47
- method-call OptPlaceForm::write() line 49
public function withOptColumn(OptColumnForm $optColumn): selfReturns a copy with a new optColumn, preserving every other field.
Parameters
$optColumn | OptColumnForm |
Returns
selfCalls 1
- new
selfline 57
public function withFieldIdent(FieldIdentForm $fieldIdent): selfReturns a copy with a new fieldIdent, preserving every other field.
Parameters
$fieldIdent | FieldIdentForm |
Returns
selfCalls 1
- new
selfline 65
public function withFieldSpec(FieldSpecForm $fieldSpec): selfReturns a copy with a new fieldSpec, preserving every other field.
Parameters
$fieldSpec | FieldSpecForm |
Returns
selfCalls 1
- new
selfline 73
public function withOptPlace(OptPlaceForm $optPlace): selfReturns a copy with a new optPlace, preserving every other field.
Parameters
$optPlace | OptPlaceForm |
Returns
selfCalls 1
- new
selfline 81