Total Complexity | 4 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
23 | class PageTemplateOutputDataTransformer implements DataTransformerInterface |
||
24 | { |
||
25 | private LayoutRepository $layoutRepository; |
||
26 | |||
27 | 2 | public function __construct(LayoutRepository $layoutRepository) |
|
30 | 2 | } |
|
31 | |||
32 | /** |
||
33 | * @param PageTemplate $object |
||
34 | */ |
||
35 | 1 | public function transform($object, string $to, array $context = []) |
|
40 | } |
||
41 | |||
42 | 1 | public function supportsTransformation($data, string $to, array $context = []): bool |
|
47 |