classStartSlaveOptsWithSlaveUntilSlaveConnectionOptsOptChannel_c3a8db8c
final class StartSlaveOptsWithSlaveUntilSlaveConnectionOptsOptChannel_c3a8db8c
implements StartSlaveOptsForm
uses Assertion
Public API: explicitly declared with
@visibility public.The start_slave_opts SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\StartSlaveOptsWithSlaveUntilSlaveConnectionOptsOptChannel_c3a8db8c $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public SlaveUntilForm $slaveUntilpublic SlaveConnectionOptsForm $slaveConnectionOptspublic OptChannelForm $optChannelpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public SlaveUntilForm $slaveUntil,
public SlaveConnectionOptsForm $slaveConnectionOpts,
public OptChannelForm $optChannel,
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
$slaveUntil | SlaveUntilForm | |
$slaveConnectionOpts | SlaveConnectionOptsForm | |
$optChannel | OptChannelForm | |
$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 SlaveUntilForm::write() line 39
- method-call SlaveConnectionOptsForm::write() line 41
- method-call OptChannelForm::write() line 43
public function withSlaveUntil(SlaveUntilForm $slaveUntil): selfReturns a copy with a new slaveUntil, preserving every other field.
Parameters
$slaveUntil | SlaveUntilForm |
Returns
selfCalls 1
- new
selfline 51
public function withSlaveConnectionOpts(SlaveConnectionOptsForm $slaveConnectionOpts): selfReturns a copy with a new slaveConnectionOpts, preserving every other field.
Parameters
$slaveConnectionOpts | SlaveConnectionOptsForm |
Returns
selfCalls 1
- new
selfline 59
public function withOptChannel(OptChannelForm $optChannel): selfReturns a copy with a new optChannel, preserving every other field.
Parameters
$optChannel | OptChannelForm |
Returns
selfCalls 1
- new
selfline 67