classAlterLogfileGroupInfoWithLogfileGroupNameAddLogFileAlterLogfileGroupOptionList_bf6dee3e
final class AlterLogfileGroupInfoWithLogfileGroupNameAddLogFileAlterLogfileGroupOptionList_bf6dee3e
implements AlterLogfileGroupInfoForm
uses Assertion
Public API: explicitly declared with
@visibility public.The alter_logfile_group_info SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\AlterLogfileGroupInfoWithLogfileGroupNameAddLogFileAlterLogfileGroupOptionList_bf6dee3e $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public LogfileGroupNameForm $logfileGroupNamepublic AddLogFileForm $addLogFilepublic AlterLogfileGroupOptionListForm $alterLogfileGroupOptionListpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public LogfileGroupNameForm $logfileGroupName,
public AddLogFileForm $addLogFile,
public AlterLogfileGroupOptionListForm $alterLogfileGroupOptionList,
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
$logfileGroupName | LogfileGroupNameForm | |
$addLogFile | AddLogFileForm | |
$alterLogfileGroupOptionList | AlterLogfileGroupOptionListForm | |
$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 LogfileGroupNameForm::write() line 39
- method-call AddLogFileForm::write() line 41
- method-call AlterLogfileGroupOptionListForm::write() line 43
public function withLogfileGroupName(LogfileGroupNameForm $logfileGroupName): selfReturns a copy with a new logfileGroupName, preserving every other field.
Parameters
$logfileGroupName | LogfileGroupNameForm |
Returns
selfCalls 1
- new
selfline 51
public function withAddLogFile(AddLogFileForm $addLogFile): selfReturns a copy with a new addLogFile, preserving every other field.
Parameters
$addLogFile | AddLogFileForm |
Returns
selfCalls 1
- new
selfline 59
public function withAlterLogfileGroupOptionList(AlterLogfileGroupOptionListForm $alterLogfileGroupOptionList): selfReturns a copy with a new alterLogfileGroupOptionList, preserving every other field.
Parameters
$alterLogfileGroupOptionList | AlterLogfileGroupOptionListForm |
Returns
selfCalls 1
- new
selfline 67