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\Sqlite\Model\Statement\Identifier\QualifiedName(new \SqlSemantics\Platform\Sqlite\Model\Statement\Identifier\Name('users'), new \SqlSemantics\Platform\Sqlite\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 179§

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 176

Relations§

Instantiated in 15
Type declarations 54