createdAt = new \DateTime(); parent::__construct(); } /** * Get created at. * * @return \DateTime * * @since 1.0.0 */ public function getCreatedAt() : \DateTime { return $this->createdAt ?? new \DateTime('NOW'); } /** * Get created by. * * @return int * * @since 1.0.0 */ public function getCreatedBy() : int { return $this->createdBy; } public function setCreatedBy($createdBy) /* : void */ { $this->createdBy = $createdBy; } public function setDescriptionRaw(string $description) /* : void */ { $this->descriptionRaw = $description; } public function getDescriptionRaw() : string { return $this->descriptionRaw; } }