classReferencesWithReferencesTableIdentOptRefListOptMatchClauseOptOnUpdateDelete_1f679bc6
final class ReferencesWithReferencesTableIdentOptRefListOptMatchClauseOptOnUpdateDelete_1f679bc6
implements OptReferencesForm, ReferencesForm
uses Assertion
Public API: explicitly declared with
@visibility public.The references SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\ReferencesWithReferencesTableIdentOptRefListOptMatchClauseOptOnUpdateDelete_1f679bc6 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public TableIdentForm $tableIdentpublic OptRefListForm $optRefListpublic OptMatchClauseForm $optMatchClausepublic OptOnUpdateDeleteForm $optOnUpdateDeletepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public TableIdentForm $tableIdent,
public OptRefListForm $optRefList,
public OptMatchClauseForm $optMatchClause,
public OptOnUpdateDeleteForm $optOnUpdateDelete,
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 | |
$optRefList | OptRefListForm | |
$optMatchClause | OptMatchClauseForm | |
$optOnUpdateDelete | OptOnUpdateDeleteForm | |
$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 TableIdentForm::write() line 43
- method-call OptRefListForm::write() line 45
- method-call OptMatchClauseForm::write() line 47
- method-call OptOnUpdateDeleteForm::write() line 49
public function withTableIdent(TableIdentForm $tableIdent): selfReturns a copy with a new tableIdent, preserving every other field.
Parameters
$tableIdent | TableIdentForm |
Returns
selfCalls 1
- new
selfline 57
public function withOptRefList(OptRefListForm $optRefList): selfReturns a copy with a new optRefList, preserving every other field.
Parameters
$optRefList | OptRefListForm |
Returns
selfCalls 1
- new
selfline 65
public function withOptMatchClause(OptMatchClauseForm $optMatchClause): selfReturns a copy with a new optMatchClause, preserving every other field.
Parameters
$optMatchClause | OptMatchClauseForm |
Returns
selfCalls 1
- new
selfline 73
public function withOptOnUpdateDelete(OptOnUpdateDeleteForm $optOnUpdateDelete): selfReturns a copy with a new optOnUpdateDelete, preserving every other field.
Parameters
$optOnUpdateDelete | OptOnUpdateDeleteForm |
Returns
selfCalls 1
- new
selfline 81