final class QualifiedName
    uses Snapshot
Public API: explicitly declared with @visibility public.

A decoded object name with its optional schema and catalog qualifiers.

Reading the parts of a qualified namedoctest
$name = new \SqlSemantics\Platform\PostgreSql\Model\Statement\Identifier\QualifiedName(new \SqlSemantics\Platform\PostgreSql\Model\Statement\Identifier\Name('users'), new \SqlSemantics\Platform\PostgreSql\Model\Statement\Identifier\Name('app'));
    [$name->schema?->value, $name->name->value] // => ['app', 'users']

Properties§

public Name $name
public Name|null $schema = null
public Name|null $catalog = null

Methods§

public function __construct(
    public Name $name,
    public Name|null $schema = null,
    public Name|null $catalog = null,
)

Parameters

$nameNameThe object name
$schemaName|nullThe schema (MySQL: database) qualifier
$catalogName|nullThe catalog qualifier, which requires a schema
Calls 1

Test cases 305§

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

Other tests reaching this symbol 305

Relations§

Instantiated in 21
Constant reads 2
Type checks 7
Type declarations 71