classTableLockWithTableIdentOptTableAliasLockOption_e396abc1
final class TableLockWithTableIdentOptTableAliasLockOption_e396abc1
implements TableLockForm, TableLockListForm
uses Assertion
Public API: explicitly declared with
@visibility public.The table_lock SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\TableLockWithTableIdentOptTableAliasLockOption_e396abc1 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public TableIdentForm $tableIdentpublic OptTableAliasForm $optTableAliaspublic LockOptionForm $lockOptionpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public TableIdentForm $tableIdent,
public OptTableAliasForm $optTableAlias,
public LockOptionForm $lockOption,
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
$tableIdent | TableIdentForm | |
$optTableAlias | OptTableAliasForm | |
$lockOption | LockOptionForm | |
$comments | Comments |
Calls 3
- new Comments line 26
- method-call TableLockWithTableIdentOptTableAliasLockOption_e396abc1::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 TableIdentForm::write() line 39
- method-call OptTableAliasForm::write() line 41
- method-call LockOptionForm::write() line 43
public function withTableIdent(TableIdentForm $tableIdent): selfReturns a copy with a new tableIdent, preserving every other field.
Parameters
$tableIdent | TableIdentForm |
Returns
selfCalls 1
- new
selfline 51
public function withOptTableAlias(OptTableAliasForm $optTableAlias): selfReturns a copy with a new optTableAlias, preserving every other field.
Parameters
$optTableAlias | OptTableAliasForm |
Returns
selfCalls 1
- new
selfline 59
public function withLockOption(LockOptionForm $lockOption): selfReturns a copy with a new lockOption, preserving every other field.
Parameters
$lockOption | LockOptionForm |
Returns
selfCalls 1
- new
selfline 67