/** * @param Entity $other * @return bool */ public function equals(Entity $other) { return $this->entityId->equals($other->entityId) && $this->entityType->equals($other->entityType); }
/** * @param Entity $other * @return bool */ public function equals(Entity $other) { return $this->entityId->equals($other->entityId) && $this->entityType->equals($other->entityType); }