Ejemplo n.º 1
0
 /**
  * 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;
 }
Ejemplo n.º 2
0
 /**
  * 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;
 }