Ejemplo n.º 1
0
 /**
  * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig
  * @param \Magento\Indexer\Model\IndexerInterface $flatIndexer
  * @param \Magento\Catalog\Helper\Product\Flat\Indexer $flatIndexerHelper
  * @param bool $isAvailable
  */
 public function __construct(\Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, \Magento\Indexer\Model\IndexerInterface $flatIndexer, \Magento\Catalog\Helper\Product\Flat\Indexer $flatIndexerHelper, $isAvailable = false)
 {
     $this->scopeConfig = $scopeConfig;
     $this->flatIndexer = $flatIndexer;
     $this->_productFlatIndexerHelper = $flatIndexerHelper;
     $this->isAvailable = $isAvailable;
     parent::__construct($scopeConfig, $flatIndexer, $isAvailable);
 }
Ejemplo n.º 2
0
 /**
  * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig
  * @param \Magento\Framework\Indexer\IndexerRegistry $indexerRegistry
  * @param \Magento\Catalog\Helper\Product\Flat\Indexer $flatIndexerHelper
  * @param bool $isAvailable
  */
 public function __construct(\Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, \Magento\Framework\Indexer\IndexerRegistry $indexerRegistry, \Magento\Catalog\Helper\Product\Flat\Indexer $flatIndexerHelper, $isAvailable = false)
 {
     parent::__construct($scopeConfig, $indexerRegistry, $isAvailable);
     $this->_productFlatIndexerHelper = $flatIndexerHelper;
 }