private function compareTo(Money $other) { $this->assertSameCurrencyAs($other); return bccomp($this->amount, $other->amount, self::SCALE); }