final class UndeclaredDomain
    implements MissingInput
    uses Snapshot
Public API: explicitly declared with @visibility public.

A named data type that is neither fixed by the language profile nor declared in the context.

Naming an undeclared data typedoctest
$name = new \SqlSemantics\Platform\MySql\Model\Statement\Identifier\QualifiedName(new \SqlSemantics\Platform\MySql\Model\Statement\Identifier\Name('mood'));
    (new \SqlSemantics\Platform\MySql\Model\Statement\Reference\Missing\UndeclaredDomain($name))->describe() // => 'the definition of data type mood'

Properties§

Methods§

public function __construct(public QualifiedName $name)

Parameters

$nameQualifiedNameThe type name as the statement wrote it
public function describe(): string

Describes the missing definition.

Returns

string