classSetlistWithSetlistCommaNmEqExpr_08ee1b3e
final class SetlistWithSetlistCommaNmEqExpr_08ee1b3e
implements SetlistForm
uses Assertion
Public API: explicitly declared with
@visibility public.The setlist SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\Sqlite\Value\SetlistWithSetlistCommaNmEqExpr_08ee1b3e $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public SetlistForm $setlistpublic NmForm $nmpublic string $eqpublic ExprForm $exprpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public SetlistForm $setlist,
public NmForm $nm,
public string $eq,
public ExprForm $expr,
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
$setlist | SetlistForm | |
$nm | NmForm | |
$eq | string | |
$expr | ExprForm | |
$comments | Comments |
Calls 5
- new Comments line 27
- method-call SetlistWithSetlistCommaNmEqExpr_08ee1b3e::assert() line 29
- static-call Contracts::contains() line 29
- method-call SetlistWithSetlistCommaNmEqExpr_08ee1b3e::assertMatchesPattern() line 31
- class-const Contracts::SPELLINGS() line 31
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 5
- method-call Writer::comments() line 40
- method-call SetlistForm::write() line 41
- method-call Writer::append() line 43
- method-call NmForm::write() line 45
- method-call ExprForm::write() line 49
public function withSetlist(SetlistForm $setlist): selfReturns a copy with a new setlist, preserving every other field.
Parameters
$setlist | SetlistForm |
Returns
selfCalls 1
- new
selfline 57
public function withNm(NmForm $nm): selfpublic function withEq(string $eq): selfReturns a copy with a new eq, preserving every other field.
Parameters
$eq | string |
Returns
selfCalls 1
- new
selfline 73
public function withExpr(ExprForm $expr): self