23 private $imageBuilder;
28 private $storeManager;
33 private $appEmulation;
45 $this->imageBuilder = $imageBuilder;
47 $this->appEmulation = $appEmulation;
59 $storeId = $this->storeManager->getStore()->getId();
65 $this->appEmulation->stopEnvironmentEmulation();
69 $this->appEmulation->stopEnvironmentEmulation();
__construct(ImageBuilder $imageBuilder, StoreManagerInterface $storeManager, Emulation $appEmulation)
getImage(Product $product, $imageId, $attributes=[])