protected function setManagedCurrencies() { foreach ($this->getCurrencies() as $currency) { $this->managedCurrencies[] = $currency->getCode(); } }