Total Complexity | 7 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
21 | final class ChainDataTransformer implements DataTransformerInterface |
||
22 | { |
||
23 | private $transformers; |
||
24 | |||
25 | public function __construct(iterable $transformers) |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | */ |
||
33 | public function transform($object, string $to, array $context = []) |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | */ |
||
47 | public function supportsTransformation($object, string $to, array $context = []): bool |
||
58 |