final class RepeatedTlsAttribute
    implements Diagnostic
    uses Snapshot
Public API: explicitly declared with @visibility public.

A REQUIRE clause that names SUBJECT, ISSUER or CIPHER more than once.

The server rejects the statement while parsing it with ER_DUP_ARGUMENT. Source: https://dev.mysql.com/doc/refman/8.4/en/create-user.html#create-user-tls.

Describing the problemdoctest
(new \SqlSemantics\Platform\MySql\Statement\Account\Problem\RepeatedTlsAttribute(\SqlSemantics\Platform\MySql\Statement\Account\Option\TlsAttribute::Issuer))->message() // => 'ISSUER is required more than once (ER_DUP_ARGUMENT).'

Properties§

public TlsAttribute $attribute

Methods§

public function __construct(public TlsAttribute $attribute)

Parameters

$attributeTlsAttributeThe property named again
public function message(): string

Describes the problem.

Returns

string
Test cases 1

Test cases 3§

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

Dedicated tests 1
Other tests reaching this symbol 2

Relations§

Instantiated in 1