Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | final class ImageTransformer implements TransformerInterface |
||
18 | { |
||
19 | private const SYLIUS_THUMBNAIL_TYPE = 'thumbnail'; |
||
20 | |||
21 | private const SYLIUS_THUMBNAIL_FILTER = 'sylius_shop_product_thumbnail'; |
||
22 | |||
23 | /** @var FilterService */ |
||
24 | private $imagineFilter; |
||
25 | |||
26 | public function __construct(FilterService $imagineFilter) |
||
29 | } |
||
30 | |||
31 | public function transform(ProductInterface $product): ?string |
||
45 |