| 1 | <?php |
||
| 9 | final class CartItemViewFactory implements CartItemViewFactoryInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var ProductViewFactoryInterface |
||
| 13 | */ |
||
| 14 | private $productViewFactory; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var ProductVariantViewFactoryInterface |
||
| 18 | */ |
||
| 19 | private $productVariantViewFactory; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param ProductViewFactoryInterface $productViewFactory |
||
| 23 | * @param ProductVariantViewFactoryInterface $productVariantViewFactory |
||
| 24 | */ |
||
| 25 | public function __construct( |
||
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritdoc} |
||
| 35 | */ |
||
| 36 | public function create(OrderItemInterface $item, ChannelInterface $channel, $locale) |
||
| 48 | } |
||
| 49 |