src/Money/Money.php
public function add(Money $money)
    {
        $sum = $this->getAmount() + $money->getAmount();
        $this->setWhole($sum);
        $this->setFraction($sum);
        return $this;
    }
public function add(Money $money)
    {
        $sum = $this->getAmount() + $money->getAmount();
        $this->setWhole($sum);
        $this->setFraction($sum);
        return $this;
    }
public function add ( Money $ money ) { $ sum = $ this -> getAmount ( ) + $ money -> getAmount ( ) ; $ this -> setWhole ( $ sum ) ; $ this -> setFraction ( $ sum ) ; return $ this ; }
Adds given money to this money

@param Money $money
@return Money
Adds given money to this money