Total Complexity | 7 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 92.31% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | final class Aggregate implements ValueTransformer |
||
10 | { |
||
11 | /** |
||
12 | * @var ValueTransformer[] |
||
13 | */ |
||
14 | private $transformers = []; |
||
15 | |||
16 | 2 | public function addTransformer(ValueTransformer $transformer): void |
|
17 | { |
||
18 | 2 | $this->transformers[] = $transformer; |
|
19 | 2 | } |
|
20 | |||
21 | 1 | public function supports($value): bool |
|
30 | } |
||
31 | |||
32 | 1 | public function transform($value) |
|
43 |