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

Every file the statements are written in, under the directory that holds it.

A codebase without classes is still organised, by directory and file, and that is the route through it. The listing is the tree of the source as far as the statements reach, with what was found in each file beside it.

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 $directory, list<string> $files): string

One directory, with the files in it.

Parameters

$siteReportSite
$directorystring
$fileslist<string>

Returns

string
Test cases 1
Called from 1
Calls 6
public function row(ReportSite $site, string $file, list<CatalogEntry> $entries): string

One file as a row.

Parameters

$siteReportSite
$filestring
$entrieslist<CatalogEntry>

Returns

string
Test cases 1
Called from 1
Calls 7
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 3

Private surface 1§

Implementation details, listed for orientation only.

private HtmlText $text

Test cases 7§

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 2

Relations§

Instantiated in 1
Method calls 2