classLockingClauseWithForSymLockStrengthTableLockingListOptLockedRowAction_1b573512
final class LockingClauseWithForSymLockStrengthTableLockingListOptLockedRowAction_1b573512
implements LockingClauseForm, LockingClauseListForm
uses Assertion
Public API: explicitly declared with
@visibility public.The locking_clause SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\LockingClauseWithForSymLockStrengthTableLockingListOptLockedRowAction_1b573512 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public LockStrengthForm $lockStrengthpublic TableLockingListForm $tableLockingListpublic OptLockedRowActionForm $optLockedRowActionpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public LockStrengthForm $lockStrength,
public TableLockingListForm $tableLockingList,
public OptLockedRowActionForm $optLockedRowAction,
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
$lockStrength | LockStrengthForm | |
$tableLockingList | TableLockingListForm | |
$optLockedRowAction | OptLockedRowActionForm | |
$comments | Comments |
Calls 3
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 5
- method-call Writer::comments() line 38
- method-call Writer::append() line 39
- method-call LockStrengthForm::write() line 41
- method-call TableLockingListForm::write() line 43
- method-call OptLockedRowActionForm::write() line 45
public function withLockStrength(LockStrengthForm $lockStrength): selfReturns a copy with a new lockStrength, preserving every other field.
Parameters
$lockStrength | LockStrengthForm |
Returns
selfCalls 1
- new
selfline 53
public function withTableLockingList(TableLockingListForm $tableLockingList): selfReturns a copy with a new tableLockingList, preserving every other field.
Parameters
$tableLockingList | TableLockingListForm |
Returns
selfCalls 1
- new
selfline 61
public function withOptLockedRowAction(OptLockedRowActionForm $optLockedRowAction): selfReturns a copy with a new optLockedRowAction, preserving every other field.
Parameters
$optLockedRowAction | OptLockedRowActionForm |
Returns
selfCalls 1
- new
selfline 69