public function equals(Converter $that) { if (!$that instanceof self) { return false; } return $this->dividend == $that->getDividend() && $this->divisor == $that->getDivisor(); }