final class Definitions

The items and sources of every definition file of a project.

Properties§

public array<string, Item> $items
public array<string, Source> $sources
public list<string> $files

Methods§

public function __construct(
    public array<string, Item> $items,
    public array<string, Source> $sources,
    public list<string> $files,
)

Parameters

$itemsarray<string, Item>Every item by ID
$sourcesarray<string, Source>Every declared source by ID
$fileslist<string>The definition files in path order

Test cases 14§

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

Dedicated tests 2
Other tests reaching this symbol 12

Relations§

Instantiated in 1
Type declarations 1