private function newWrappedMoneyFromMoney(MoneyInterface $money)
    {
        return new WrappedMoney(
            $money->getAmount(),
            new WrappedCurrency(
                $money
                    ->getCurrency()
                    ->getIso()
            )
        );
    }
private function newWrappedMoneyFromMoney(MoneyInterface $money)
    {
        return new WrappedMoney(
            $money->getAmount(),
            new WrappedCurrency(
                $money
                    ->getCurrency()
                    ->getIso()
            )
        );
    }
private function newWrappedMoneyFromMoney ( MoneyInterface $ money ) { return new WrappedMoney ( $ money -> getAmount ( ) , new WrappedCurrency ( $ money -> getCurrency ( ) -> getIso ( ) ) ) ; }
Returns a new WrappedMoney given a MoneyInterface.

@param MoneyInterface $money Money

@return WrappedMoney WrappedMoney new instance
Returns a new WrappedMoney given a MoneyInterface .