final class ConditionName
    implements Condition
    uses Snapshot
Public API: explicitly declared with @visibility public.

A condition named by DECLARE ... CONDITION, used in a handler or raised by SIGNAL.

Source: https://dev.mysql.com/doc/refman/8.4/en/declare-condition.html.

Holding a condition namedoctest
(new \SqlSemantics\Platform\MySql\Statement\Routine\Condition\ConditionName(new \SqlSemantics\Platform\MySql\Model\Statement\Identifier\Name('gone')))->name->value // => 'gone'

Properties§

public Name $name

Methods§

public function __construct(public Name $name)

Parameters

$nameNameThe condition name
public function render(Output $out): void

Test cases 10§

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

Dedicated tests 3
Other tests reaching this symbol 7

Relations§

Instantiated in 2
Type checks 3
Type declarations 4