/** * Retrieve array of EAV type indexers * * @return \Magento\Catalog\Model\Resource\Product\Indexer\Eav\AbstractEav[] */ public function getIndexers() { if (is_null($this->_types)) { $this->_types = array('source' => $this->_eavSourceFactory->create(), 'decimal' => $this->_eavDecimalFactory->create()); } return $this->_types; }
/** * Retrieve array of EAV type indexers * * @return \Magento\Catalog\Model\Resource\Product\Indexer\Eav\AbstractEav[] */ public function getIndexers() { if ($this->_types === null) { $this->_types = ['source' => $this->_eavSourceFactory->create(), 'decimal' => $this->_eavDecimalFactory->create()]; } return $this->_types; }