Total Complexity | 4 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class VatNumberValidatorProvider implements VatNumberValidatorProviderInterface |
||
8 | { |
||
9 | /** @var VatNumberValidatorInterface[]|iterable */ |
||
10 | private iterable $validators; |
||
11 | |||
12 | public function __construct(iterable $validators) |
||
13 | { |
||
14 | $this->validators = $validators; |
||
15 | } |
||
16 | |||
17 | public function getValidator(string $countryCode): ?VatNumberValidatorInterface |
||
27 | } |
||
28 | } |
||
29 |