final class TlsCondition
    implements Node
    uses Snapshot
Public API: explicitly declared with @visibility public.

One SUBJECT|ISSUER|CIPHER 'value' condition of a REQUIRE clause.

Source: https://dev.mysql.com/doc/refman/8.4/en/create-user.html#create-user-tls.

Holding a cipher conditiondoctest
(new \SqlSemantics\Platform\MySql\Statement\Account\Option\TlsCondition(\SqlSemantics\Platform\MySql\Statement\Account\Option\TlsAttribute::Cipher, new \SqlSemantics\Platform\MySql\Statement\Literal\Text('EDH-RSA-DES-CBC3-SHA')))->value->value // => 'EDH-RSA-DES-CBC3-SHA'

Properties§

public TlsAttribute $attribute
public Text $value

Methods§

public function __construct(public TlsAttribute $attribute, public Text $value)

Parameters

$attributeTlsAttributeThe property
$valueTextThe value the property must have
public function render(Output $out): void

Writes the condition.

Parameters

$outOutput
Calls 1

Test cases 1§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1

Relations§

Instantiated in 1
Constant reads 1