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

Every namespace, with the classes and functions under it that issue statements.

Code is organised by namespace and class, so that is how a reader looking for the SQL behind a piece of code looks for it. A class leads to its own page; a function to the file it is written in, since a function has no page of its own; and a namespace to the whole of what it issues.

Methods§

public function __construct(?HtmlText $text = null)

Wires the page to the escaping it writes through.

Parameters

$text?HtmlText
Calls 1
public function section(
    ReportSite $site,
    string $namespace,
    list<CatalogEntry> $entries,
): string

One namespace, with everything declared in it that issues statements.

Parameters

$siteReportSite
$namespacestring
$entrieslist<CatalogEntry>

Returns

string
Test cases 1
Called from 1
Calls 14
public function members(list<CatalogEntry> $entries): array<string, list<CatalogEntry>>

The statements under each class or free function among a set, classes first.

Parameters

$entrieslist<CatalogEntry>

Returns

array<string, list<CatalogEntry>>
Test cases 2
Called from 1
Calls 2
public function anchors(ReportSite $site): list<array{string, string}>

The sections of the page, for the navigation.

Parameters

Returns

list<array{string, string}>
Test cases 1
Called from 1
Calls 4

Private surface 1§

Implementation details, listed for orientation only.

private HtmlText $text

Test cases 8§

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

Dedicated tests 6
Other tests reaching this symbol 2

Relations§

Instantiated in 1
Method calls 2