_allowedLocales = array_merge($this->_allowedLocales, $data['allowedLocales']); } if (isset($data['allowedCurrencies']) && is_array($data['allowedCurrencies'])) { $this->_allowedCurrencies = array_merge($this->_allowedCurrencies, $data['allowedCurrencies']); } } /** * @inheritdoc */ public function getAllowedLocales() { return $this->_allowedLocales; } /** * @inheritdoc */ public function getAllowedCurrencies() { return $this->_allowedCurrencies; } }