classCredentialOption
final class CredentialOption
implements Node
uses Snapshot
Public API: explicitly declared with
@visibility public.One option = 'value' of START GROUP_REPLICATION.
Source: https://dev.mysql.com/doc/refman/8.4/en/start-group-replication.html.
(new \SqlSemantics\Platform\MySql\Statement\Replication\Group\CredentialOption(\SqlSemantics\Platform\MySql\Statement\Replication\Group\Credential::User, new \SqlSemantics\Platform\MySql\Statement\Literal\Text('rpl')))->value->value // => 'rpl'Properties§
public Credential $credentialpublic Text $valueMethods§
public function __construct(public Credential $credential, public Text $value)Parameters
$credential | Credential | The option |
$value | Text | The value |
public function render(Output $out): voidWrites the option, = and the value.
Parameters
$out | Output |
Calls 1
- method-call Output::keyword() line 38
Test cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
CredentialOptionTestcalls