/** * @return array */ public function getAllModes() { return array_merge(parent::getAllModes(), array(self::MODE_EMPTY)); }
/** * @param \Ess\M2ePro\Model\Listing\Product\Action\Configurator $configurator * @return $this */ public function mergeParams(\Ess\M2ePro\Model\Listing\Product\Action\Configurator $configurator) { $this->params = array_unique(array_merge($this->getParams(), $configurator->getParams())); return $this; }