| Current Path : /home/rtorresani/www/generated/code/Magento/Catalog/Block/Product/ImageFactory/ |
| Current File : //home/rtorresani/www/generated/code/Magento/Catalog/Block/Product/ImageFactory/Interceptor.php |
<?php
namespace Magento\Catalog\Block\Product\ImageFactory;
/**
* Interceptor class for @see \Magento\Catalog\Block\Product\ImageFactory
*/
class Interceptor extends \Magento\Catalog\Block\Product\ImageFactory implements \Magento\Framework\Interception\InterceptorInterface
{
use \Magento\Framework\Interception\Interceptor;
public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager, \Magento\Framework\View\ConfigInterface $presentationConfig, \Magento\Catalog\Model\View\Asset\ImageFactory $viewAssetImageFactory, \Magento\Catalog\Model\View\Asset\PlaceholderFactory $viewAssetPlaceholderFactory, \Magento\Catalog\Model\Product\Image\ParamsBuilder $imageParamsBuilder)
{
$this->___init();
parent::__construct($objectManager, $presentationConfig, $viewAssetImageFactory, $viewAssetPlaceholderFactory, $imageParamsBuilder);
}
/**
* {@inheritdoc}
*/
public function create(\Magento\Catalog\Model\Product $product, string $imageId, ?array $attributes = null) : \Magento\Catalog\Block\Product\Image
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'create');
return $pluginInfo ? $this->___callPlugins('create', func_get_args(), $pluginInfo) : parent::create($product, $imageId, $attributes);
}
}