final class TableName
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

A table name as the report reads it: the schema it is qualified with, and how much of it is known.

A statement whose table was assembled from a value the analyzer could not follow names its table with a gap in it. The report still groups by that name — every statement on {$}posts belongs together — but it says which part of the name is known and which is not, and it gives a table that is nothing but a gap a label a reader can understand.

Constants§

public const GAP = '{$}'

The marker a gap in a name is written as.

Properties§

public string $name

Methods§

public function __construct(public string $name)

Reads a table name as the catalog wrote it.

Parameters

$namestring
public function schema(): ?string

The schema the name is qualified with, or null when it is not.

A qualifier that is itself a gap is no schema a reader can browse to, so it is read as no qualifier at all.

Returns

?string
Test cases 1
Called from 1
Calls 4
public function local(): string

The name without its schema.

Returns

string
Test cases 1
Calls 2
public function hasGap(): bool

Whether any part of the name is a value the analyzer could not pin down.

Returns

bool
Test cases 1
Calls 2
public function label(): string

The name written for a reader.

Returns

string
Test cases 1
Called from 12
Calls 1

Test cases 20§

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

Dedicated tests 5
Other tests reaching this symbol 15

Relations§

Instantiated in 13
Method calls 17
Type declarations 1