Total Complexity | 2 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | abstract class AbstractNormalizer implements NormalizerInterface |
||
8 | { |
||
9 | protected NormalizerInterface $normalizer; |
||
10 | |||
11 | 11 | public function __construct(?NormalizerInterface $normalizer = null) |
|
14 | 11 | } |
|
15 | |||
16 | /** @return mixed */ |
||
17 | abstract protected function getNormalizedValue(string $value); |
||
18 | |||
19 | 11 | public function normalize(string $value) |
|
26 |