@@ -6,9 +6,7 @@ |
||
6 | 6 | use FOS\RestBundle\View\ViewHandlerInterface; |
7 | 7 | use Sylius\Component\Channel\Repository\ChannelRepositoryInterface; |
8 | 8 | use Sylius\Component\Core\Model\ChannelInterface; |
9 | -use Sylius\Component\Core\Model\ProductInterface; |
|
10 | 9 | use Sylius\Component\Core\Repository\ProductRepositoryInterface; |
11 | -use Sylius\Component\Product\Model\ProductAssociationInterface; |
|
12 | 10 | use Sylius\ShopApiPlugin\Factory\ProductViewFactoryInterface; |
13 | 11 | use Symfony\Component\HttpFoundation\Request; |
14 | 12 | use Symfony\Component\HttpFoundation\Response; |
@@ -5,9 +5,7 @@ |
||
5 | 5 | use Sylius\Component\Core\Model\ChannelInterface; |
6 | 6 | use Sylius\Component\Core\Model\ProductImageInterface; |
7 | 7 | use Sylius\Component\Core\Model\ProductInterface; |
8 | -use Sylius\Component\Core\Model\ProductVariantInterface; |
|
9 | 8 | use Sylius\Component\Core\Model\TaxonInterface; |
10 | -use Sylius\ShopApiPlugin\View\ProductVariantView; |
|
11 | 9 | use Sylius\ShopApiPlugin\View\ProductView; |
12 | 10 | |
13 | 11 | final class ProductViewFactory implements ProductViewFactoryInterface |