classOpclassItemWithOperatorIconstAnyOperatorOpclassPurposeOptRecheck_b463246f
final class OpclassItemWithOperatorIconstAnyOperatorOpclassPurposeOptRecheck_b463246f
implements OpclassItemForm, OpclassItemListForm
uses Assertion
Public API: explicitly declared with
@visibility public.The opclass_item SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\OpclassItemWithOperatorIconstAnyOperatorOpclassPurposeOptRecheck_b463246f $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public IconstForm $iconstpublic AnyOperatorForm $anyOperatorpublic OpclassPurposeForm $opclassPurposepublic OptRecheckForm $optRecheckpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public IconstForm $iconst,
public AnyOperatorForm $anyOperator,
public OpclassPurposeForm $opclassPurpose,
public OptRecheckForm $optRecheck,
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
$iconst | IconstForm | |
$anyOperator | AnyOperatorForm | |
$opclassPurpose | OpclassPurposeForm | |
$optRecheck | OptRecheckForm | |
$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 IconstForm::write() line 43
- method-call AnyOperatorForm::write() line 45
- method-call OpclassPurposeForm::write() line 47
- method-call OptRecheckForm::write() line 49
public function withIconst(IconstForm $iconst): selfReturns a copy with a new iconst, preserving every other field.
Parameters
$iconst | IconstForm |
Returns
selfCalls 1
- new
selfline 57
public function withAnyOperator(AnyOperatorForm $anyOperator): selfReturns a copy with a new anyOperator, preserving every other field.
Parameters
$anyOperator | AnyOperatorForm |
Returns
selfCalls 1
- new
selfline 65
public function withOpclassPurpose(OpclassPurposeForm $opclassPurpose): selfReturns a copy with a new opclassPurpose, preserving every other field.
Parameters
$opclassPurpose | OpclassPurposeForm |
Returns
selfCalls 1
- new
selfline 73
public function withOptRecheck(OptRecheckForm $optRecheck): selfReturns a copy with a new optRecheck, preserving every other field.
Parameters
$optRecheck | OptRecheckForm |
Returns
selfCalls 1
- new
selfline 81