1 | <?php |
||
11 | class ErrorCollection implements ErrorCollectionInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var array The array of errors. |
||
15 | */ |
||
16 | protected $errors = []; |
||
17 | |||
18 | /** |
||
19 | * {@inheritdoc} |
||
20 | */ |
||
21 | public function add(RuleInterface $rule, $index, $depth) |
||
25 | |||
26 | /** |
||
27 | * {@inheritdoc} |
||
28 | */ |
||
29 | public function findMaxErrors() |
||
34 | |||
35 | public function clear() |
||
39 | } |
||
40 |