1 | <?php declare(strict_types=1); |
||
7 | class ErrorCollection |
||
8 | { |
||
9 | private $elements; |
||
10 | |||
11 | 10 | public function __construct() |
|
15 | |||
16 | 9 | public function toArray(): array |
|
20 | |||
21 | 1 | public function removeElement(ValidationErrorInterface $element): self |
|
31 | |||
32 | 7 | public function add(ValidationErrorInterface $element): self |
|
38 | |||
39 | 1 | public function clear(): self |
|
45 | } |
||
46 |