public function equals(Converter $that) { if (!$that instanceof self) { return false; } return $this->factor == $that->getFactor(); }