createdAt = new \DateTime('now'); } public function getType() : int { return $this->type; } public function getSubType() : int { return $this->subtype; } public function getModule() : int { return $this->module; } public function getRef() : string { return $this->ref; } public function getContent() : string { return $this->content; } public function getOld() : string { return $this->old; } public function getNew() : string { return $this->new; } public function getCreatedBy() { return $this->createdBy; } public function getCreatedAt() : \DateTime { return $this->createdAt; } }