classSpHcondListWithSpHcondListSpHcondElement_e7ce5eea
final class SpHcondListWithSpHcondListSpHcondElement_e7ce5eea
implements SpHcondListForm
uses Assertion
Public API: explicitly declared with
@visibility public.The sp_hcond_list SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\SpHcondListWithSpHcondListSpHcondElement_e7ce5eea $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public SpHcondListForm $spHcondListpublic SpHcondElementForm $spHcondElementpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public SpHcondListForm $spHcondList,
public SpHcondElementForm $spHcondElement,
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
$spHcondList | SpHcondListForm | |
$spHcondElement | SpHcondElementForm | |
$comments | Comments |
Calls 3
- new Comments line 25
- method-call SpHcondListWithSpHcondListSpHcondElement_e7ce5eea::assert() line 27
- static-call Contracts::contains() line 27
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 4
- method-call Writer::comments() line 36
- method-call SpHcondListForm::write() line 37
- method-call Writer::append() line 39
- method-call SpHcondElementForm::write() line 41
public function withSpHcondList(SpHcondListForm $spHcondList): selfReturns a copy with a new spHcondList, preserving every other field.
Parameters
$spHcondList | SpHcondListForm |
Returns
selfCalls 1
- new
selfline 49
public function withSpHcondElement(SpHcondElementForm $spHcondElement): selfReturns a copy with a new spHcondElement, preserving every other field.
Parameters
$spHcondElement | SpHcondElementForm |
Returns
selfCalls 1
- new
selfline 57