public function formatMoney(Money $value)
    {
        $currencies = new ISOCurrencies();
        $moneyFormatter = new DecimalMoneyFormatter($currencies);

        return $moneyFormatter->format($value);
    }
public function formatMoney(Money $value)
    {
        $currencies = new ISOCurrencies();
        $moneyFormatter = new DecimalMoneyFormatter($currencies);

        return $moneyFormatter->format($value);
    }
public function formatMoney ( Money $ value ) { $ currencies = new ISOCurrencies ( ) ; $ moneyFormatter = new DecimalMoneyFormatter ( $ currencies ) ; return $ moneyFormatter -> format ( $ value ) ; }
Format a money string

@param Money $value

@return string
Format a money string