Skip to content

Commit

Permalink
MAGETWO-69253: Allow injection of Magento\Catalog\Model\View\Asset\Im…
Browse files Browse the repository at this point in the history
…ageFactory #9670

 - Merge Pull Request #9670 from rolftimmermans/magento2:inject-view-asset-image-factory
  • Loading branch information
Oleksii Korshenko committed Jun 5, 2017
2 parents 6086595 + 5ed941f commit ea228dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/code/Magento/Catalog/Model/Product/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use Magento\Framework\App\Filesystem\DirectoryList;
use Magento\Framework\App\ObjectManager;
use Magento\Framework\Image as MagentoImage;
use Magento\Catalog\Model\View\Asset\ImageFactory;

/**
* @method string getFile()
Expand Down Expand Up @@ -186,6 +187,7 @@ class Image extends \Magento\Framework\Model\AbstractModel
* @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig
* @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource
* @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection
* @param \Magento\Catalog\Model\View\Asset\ImageFactory $viewAssetImageFactory
* @param array $data
* @param \Magento\Catalog\Model\View\Asset\ImageFactory|null $viewAssetImageFactory
* @param \Magento\Catalog\Model\View\Asset\PlaceholderFactory|null $viewAssetPlaceholderFactory
Expand Down

0 comments on commit ea228dd

Please sign in to comment.