/** * @deprecated */ public function convert(Money $money, ICurrency $to) { $amount = $money->toFloat() * $this->calculateExchangeRate($money->getCurrency(), $to); return new $money($to->scaleAmount($amount), $to); }