classVcpuRangeSpecListWithVcpuRangeSpecListOptCommaVcpuNumOrRange_56b3cc9b
final class VcpuRangeSpecListWithVcpuRangeSpecListOptCommaVcpuNumOrRange_56b3cc9b
implements VcpuRangeSpecListForm
uses Assertion
Public API: explicitly declared with
@visibility public.The vcpu_range_spec_list SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\VcpuRangeSpecListWithVcpuRangeSpecListOptCommaVcpuNumOrRange_56b3cc9b $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public VcpuRangeSpecListForm $vcpuRangeSpecListpublic OptCommaForm $optCommapublic VcpuNumOrRangeForm $vcpuNumOrRangepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public VcpuRangeSpecListForm $vcpuRangeSpecList,
public OptCommaForm $optComma,
public VcpuNumOrRangeForm $vcpuNumOrRange,
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
$vcpuRangeSpecList | VcpuRangeSpecListForm | |
$optComma | OptCommaForm | |
$vcpuNumOrRange | VcpuNumOrRangeForm | |
$comments | Comments |
Calls 3
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 4
- method-call Writer::comments() line 38
- method-call VcpuRangeSpecListForm::write() line 39
- method-call OptCommaForm::write() line 41
- method-call VcpuNumOrRangeForm::write() line 43
public function withVcpuRangeSpecList(VcpuRangeSpecListForm $vcpuRangeSpecList): selfReturns a copy with a new vcpuRangeSpecList, preserving every other field.
Parameters
$vcpuRangeSpecList | VcpuRangeSpecListForm |
Returns
selfCalls 1
- new
selfline 51
public function withOptComma(OptCommaForm $optComma): selfReturns a copy with a new optComma, preserving every other field.
Parameters
$optComma | OptCommaForm |
Returns
selfCalls 1
- new
selfline 59
public function withVcpuNumOrRange(VcpuNumOrRangeForm $vcpuNumOrRange): selfReturns a copy with a new vcpuNumOrRange, preserving every other field.
Parameters
$vcpuNumOrRange | VcpuNumOrRangeForm |
Returns
selfCalls 1
- new
selfline 67