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