1 | <?php |
||
17 | class ResultCollection extends AbstractCollection implements ResultCollectionInterface |
||
18 | { |
||
19 | /** |
||
20 | * @inheritDoc |
||
21 | */ |
||
22 | 6 | public function addNamedItem(string $name, $item): AbstractCollection |
|
26 | |||
27 | /** |
||
28 | * {@inheritdoc} |
||
29 | */ |
||
30 | 10 | public function getResults() |
|
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | 5 | public function jsonSerialize() |
|
42 | |||
43 | /** |
||
44 | * @inheritDoc |
||
45 | */ |
||
46 | 10 | protected function isItemValid($item): bool |
|
50 | } |
||
51 |