public __construct ( Magento\Framework\App\Helper\Context $context, Magento\Store\Model\StoreManagerInterface $storeManager, Magento\CatalogInventory\Api\StockConfigurationInterface $stockConfiguration, |
||
$context | Magento\Framework\App\Helper\Context | Helper context. |
$storeManager | Magento\Store\Model\StoreManagerInterface | Store manager. |
$stockConfiguration | Magento\CatalogInventory\Api\StockConfigurationInterface | Stock Configuration Interface. |
$mappingHelper | Mapping helper. |
public function __construct(Context $context, StoreManagerInterface $storeManager, StockConfigurationInterface $stockConfiguration, MappingHelper $mappingHelper)
{
parent::__construct($context, $storeManager);
$this->storeManager = $storeManager;
$this->stockConfiguration = $stockConfiguration;
$this->mappingHelper = $mappingHelper;
}