classTlsCondition
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.
(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 $attributepublic Text $valueMethods§
public function __construct(public TlsAttribute $attribute, public Text $value)Parameters
$attribute | TlsAttribute | The property |
$value | Text | The value the property must have |
public function render(Output $out): voidTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
TlsConditionTestcalls