On May 12, 2011 1:03 PM, "Inspiran" <dan...@xerias.be> wrote:
>
> I've had a look at it Richard. Great work!
>
> Just some small remarks/questions:
>
> * In method getCode of class CurrencyExchanger I notice an instanceof
> statement. Isn't it possible to specify the interface already in the
> method signature? Something like getCode(Vespolina\MonetaryBundle
> \Model\CurrencyInterface $currency{ ...
I wanted to allow look up using the ISO not just a currency instance
> * In method getExchangeRate of class GoogleCurrencyExchanger $this-
> >getCurrency() is called. Where is getCurrency defined? I am not
> able to find it (neither in GoogleCurencyExchanger and
> CurrencyExchanger).
Yeah, I must have changed method names at some point. It should be good now. Obviously, I don't tests for it. I'll need to do that.