Total Complexity | 3 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | final class ValidatorCollection implements ValidatorInterface |
||
27 | { |
||
28 | /** |
||
29 | * @var ValidatorInterface[] |
||
30 | */ |
||
31 | private $validators; |
||
32 | |||
33 | public function __construct(ValidatorInterface ...$validators) |
||
34 | { |
||
35 | $this->validators = $validators; |
||
36 | } |
||
37 | |||
38 | public function validate(string $key, string $content): string |
||
45 | } |
||
46 | } |
||
47 |