classFlushOptionsWithTableOrTablesOptTableListOptFlushLock_ade860b1
final class FlushOptionsWithTableOrTablesOptTableListOptFlushLock_ade860b1
implements FlushOptionsForm
uses Assertion
Public API: explicitly declared with
@visibility public.The flush_options SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\FlushOptionsWithTableOrTablesOptTableListOptFlushLock_ade860b1 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public TableOrTablesForm $tableOrTablespublic OptTableListForm $optTableListpublic OptFlushLockForm $optFlushLockpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public TableOrTablesForm $tableOrTables,
public OptTableListForm $optTableList,
public OptFlushLockForm $optFlushLock,
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
$tableOrTables | TableOrTablesForm | |
$optTableList | OptTableListForm | |
$optFlushLock | OptFlushLockForm | |
$comments | Comments |
Calls 3
- new Comments line 26
- method-call FlushOptionsWithTableOrTablesOptTableListOptFlushLock_ade860b1::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 4
- method-call Writer::comments() line 38
- method-call TableOrTablesForm::write() line 39
- method-call OptTableListForm::write() line 41
- method-call OptFlushLockForm::write() line 43
public function withTableOrTables(TableOrTablesForm $tableOrTables): selfReturns a copy with a new tableOrTables, preserving every other field.
Parameters
$tableOrTables | TableOrTablesForm |
Returns
selfCalls 1
- new
selfline 51
public function withOptTableList(OptTableListForm $optTableList): selfReturns a copy with a new optTableList, preserving every other field.
Parameters
$optTableList | OptTableListForm |
Returns
selfCalls 1
- new
selfline 59
public function withOptFlushLock(OptFlushLockForm $optFlushLock): selfReturns a copy with a new optFlushLock, preserving every other field.
Parameters
$optFlushLock | OptFlushLockForm |
Returns
selfCalls 1
- new
selfline 67