public function equals(Converter $that) { if (!$that instanceof self) { return false; } return $this->first->equals($that->first) && $this->second->equals($that->second); }