public function enableCurrencyAction(CurrencyInterface $currency) { $translator = $this->get('translator'); $this->enableEntity($currency); return ['message' => $translator->trans('admin.currency.saved.enabled')]; }