Total Complexity | 2 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class CallableNormalizer implements NormalizerInterface |
||
8 | { |
||
9 | private \Closure $callback; |
||
10 | private NormalizerInterface $normalizer; |
||
11 | |||
12 | public function __construct(callable $callback, ?NormalizerInterface $normalizer = null) |
||
16 | } |
||
17 | |||
18 | /** @return mixed */ |
||
19 | public function normalize(string $value) |
||
26 |