classWsLevelListItemWithWsLevelNumberWsLevelFlags_816157c2
final class WsLevelListItemWithWsLevelNumberWsLevelFlags_816157c2
implements WsLevelListForm, WsLevelListItemForm, WsLevelListOrRangeForm
uses Assertion
Public API: explicitly declared with
@visibility public.The ws_level_list_item SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\WsLevelListItemWithWsLevelNumberWsLevelFlags_816157c2 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public WsLevelNumberForm $wsLevelNumberpublic WsLevelFlagsForm $wsLevelFlagspublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public WsLevelNumberForm $wsLevelNumber,
public WsLevelFlagsForm $wsLevelFlags,
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
$wsLevelNumber | WsLevelNumberForm | |
$wsLevelFlags | WsLevelFlagsForm | |
$comments | Comments |
Calls 3
- new Comments line 25
- method-call WsLevelListItemWithWsLevelNumberWsLevelFlags_816157c2::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 3
- method-call Writer::comments() line 36
- method-call WsLevelNumberForm::write() line 37
- method-call WsLevelFlagsForm::write() line 39
public function withWsLevelNumber(WsLevelNumberForm $wsLevelNumber): selfReturns a copy with a new wsLevelNumber, preserving every other field.
Parameters
$wsLevelNumber | WsLevelNumberForm |
Returns
selfCalls 1
- new
selfline 47
public function withWsLevelFlags(WsLevelFlagsForm $wsLevelFlags): selfReturns a copy with a new wsLevelFlags, preserving every other field.
Parameters
$wsLevelFlags | WsLevelFlagsForm |
Returns
selfCalls 1
- new
selfline 55