createdAt = new \DateTime(); } public function getId() : int { return $this->id; } public function setRef($ref) { $this->ref = $ref; } public function getRef() { return $this->ref; } public function setList($list) { $this->list = $list; } public function getList() { return $this->list; } public function getTitle() : string { return $this->title; } public function setTitle(string $title) { $this->title = $title; } public function getContent() : string { return $this->content; } public function setContent(string $content) { $this->content = $content; } public function getCreatedBy() { return $this->createdBy; } public function setCreatedBy($createdBy) { $this->createdBy = $createdBy; } public function getCreatedAt() : \DateTime { return $this->createdAt; } }