Total Complexity | 4 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
5 | final class ChainNormalizer extends AbstractNormalizer |
||
6 | { |
||
7 | /** |
||
8 | * @var NormalizerInterface[] |
||
9 | */ |
||
10 | private array $normalizers; |
||
11 | |||
12 | /** |
||
13 | * @param NormalizerInterface[] $normalizers |
||
14 | */ |
||
15 | public function __construct(array $normalizers) |
||
16 | { |
||
17 | $this->normalizers = $normalizers; |
||
18 | } |
||
19 | |||
20 | /** |
||
21 | * {@inheritdoc} |
||
22 | */ |
||
23 | protected function process($value, string $operator) |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * {@inheritdoc} |
||
34 | */ |
||
35 | protected function supportsNormalization($value, string $operator): bool |
||
40 |