protected function getCurrencies($locale)
    {
        /** @var Currency[] $currencies */
        $currencies = $this->get('sulu_product.currency_manager')->findAll($locale);

        $currencyTitles = [];
        foreach ($currencies as $currency) {
            $currencyTitles[] = [
                'id' => $currency->getId(),
                'name' => $currency->getName(),
                'code' => $currency->getCode(),
                'number' => $currency->getNumber(),
            ];
        }

        return $currencyTitles;
    }