Beispiel #1
0
 public function equals(Money $money)
 {
     return $this->getWhole() == $money->getWhole() && $this->getFraction() == $money->getFraction();
 }