private function __construct($id, $event, $totalCount, array $tags, \DateTime $createdAt) { $this->id = $id; $this->event = $event; $this->totalCount = $totalCount; $this->tags = $tags; $this->createdAt = $createdAt; }