1 | <?php |
||
24 | final class ReferenceMap implements ReferenceMapInterface |
||
25 | { |
||
26 | /** |
||
27 | * @var TextNormalizer |
||
28 | * |
||
29 | * @psalm-readonly |
||
30 | */ |
||
31 | 288 | private $normalizer; |
|
32 | |||
33 | /** |
||
34 | 288 | * @var array<string, ReferenceInterface> |
|
35 | * |
||
36 | 288 | * @psalm-readonly-allow-private-mutation |
|
37 | 288 | */ |
|
38 | private $references = []; |
||
39 | 246 | ||
40 | public function __construct() |
||
44 | |||
45 | public function add(ReferenceInterface $reference): void |
||
52 | |||
53 | public function contains(string $label): bool |
||
59 | |||
60 | 3 | public function get(string $label): ?ReferenceInterface |
|
70 | |||
71 | /** |
||
72 | * @return \Traversable<string, ReferenceInterface> |
||
|
|||
73 | */ |
||
74 | public function getIterator(): \Traversable |
||
80 | |||
81 | public function count(): int |
||
85 | } |
||
86 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.