create_date = new \DateTime(); } public function getId(): ?int { return $this->id; } public function getContent(): ?string { return $this->content; } public function setContent(?string $content): self { $this->content = $content; return $this; } public function getCreateDate(): ?\DateTimeInterface { return $this->create_date; } public function setCreateDate(\DateTimeInterface $create_date): self { $this->create_date = $create_date; return $this; } public function getIsClear(): ?bool { return $this->is_clear; } public function setIsClear(bool $is_clear): self { $this->is_clear = $is_clear; return $this; } public function getIsPublished(): ?bool { return $this->is_published; } public function setIsPublished(bool $is_published): self { $this->is_published = $is_published; return $this; } public function getExpires(): ?bool { return $this->expires; } public function setExpires(bool $expires): self { $this->expires = $expires; return $this; } public function getName(): ?string { return $this->name; } public function setName(string $name): self { $this->name = $name; return $this; } }