id=$id; $this->name=$name; $this->content=$content; $this->completed=$completed; } public function __toString() { return $this->id . " " . $this->name . " " . $this->content . " " . $this->completed; } public function getId(){ return $this->id; } public function getName(){ return $this->name; } public function getContent(){ return $this->content; } public function getCompleted(){ return $this->completed; } public function setName(string $name){ $this->name=$name; } public function setContent(string $content){ $this->content=$content; } public function setCompleted(bool $completed){ $this->completed=$completed; } } ?>