public function equals(Task $that) { return $this->getTitle() === $that->getTitle() && $this->getDescription() === $that->getDescription(); }