public function localizedFormatMoney(Money $money, $locale = null, \NumberFormatter $numberFormatter = null)
    {
        if (!($numberFormatter instanceof \NumberFormatter)) {
            $numberFormatter = $this->getDefaultNumberFormatter($money->getCurrency()->getCode(), $locale);
        }

        return $numberFormatter->formatCurrency($this->asFloat($money), $money->getCurrency()->getCode());
    }