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