classSlaveConnectionOptsWithSlaveUserNameOptSlaveUserPassOptSlavePluginAuthOptSlavePluginDirOpt_2560c9e9
final class SlaveConnectionOptsWithSlaveUserNameOptSlaveUserPassOptSlavePluginAuthOptSlavePluginDirOpt_2560c9e9
implements SlaveConnectionOptsForm
uses Assertion
Public API: explicitly declared with
@visibility public.The slave_connection_opts SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\SlaveConnectionOptsWithSlaveUserNameOptSlaveUserPassOptSlavePluginAuthOptSlavePluginDirOpt_2560c9e9 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public SlaveUserNameOptForm $slaveUserNameOptpublic SlaveUserPassOptForm $slaveUserPassOptpublic SlavePluginAuthOptForm $slavePluginAuthOptpublic SlavePluginDirOptForm $slavePluginDirOptpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public SlaveUserNameOptForm $slaveUserNameOpt,
public SlaveUserPassOptForm $slaveUserPassOpt,
public SlavePluginAuthOptForm $slavePluginAuthOpt,
public SlavePluginDirOptForm $slavePluginDirOpt,
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
$slaveUserNameOpt | SlaveUserNameOptForm | |
$slaveUserPassOpt | SlaveUserPassOptForm | |
$slavePluginAuthOpt | SlavePluginAuthOptForm | |
$slavePluginDirOpt | SlavePluginDirOptForm | |
$comments | Comments |
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 SlaveUserNameOptForm::write() line 41
- method-call SlaveUserPassOptForm::write() line 43
- method-call SlavePluginAuthOptForm::write() line 45
- method-call SlavePluginDirOptForm::write() line 47
public function withSlaveUserNameOpt(SlaveUserNameOptForm $slaveUserNameOpt): selfReturns a copy with a new slaveUserNameOpt, preserving every other field.
Parameters
$slaveUserNameOpt | SlaveUserNameOptForm |
Returns
selfCalls 1
- new
selfline 55
public function withSlaveUserPassOpt(SlaveUserPassOptForm $slaveUserPassOpt): selfReturns a copy with a new slaveUserPassOpt, preserving every other field.
Parameters
$slaveUserPassOpt | SlaveUserPassOptForm |
Returns
selfCalls 1
- new
selfline 63
public function withSlavePluginAuthOpt(SlavePluginAuthOptForm $slavePluginAuthOpt): selfReturns a copy with a new slavePluginAuthOpt, preserving every other field.
Parameters
$slavePluginAuthOpt | SlavePluginAuthOptForm |
Returns
selfCalls 1
- new
selfline 71
public function withSlavePluginDirOpt(SlavePluginDirOptForm $slavePluginDirOpt): selfReturns a copy with a new slavePluginDirOpt, preserving every other field.
Parameters
$slavePluginDirOpt | SlavePluginDirOptForm |
Returns
selfCalls 1
- new
selfline 79