private function getCurrencies()
    {
        /** @var Currency[] $currencies */
        $currencies = $this->get('sulu_product.currency_repository')->findBy([],['name'=>'asc']);

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

        return $currencyValues;
    }