creatorId = $creator->getId(); $this->templateId = $template->getId(); $this->entityId = $entityId; $this->destinationStoredObjectId = $destinationStoredObject->getId(); $this->contextGenerationData = $contextGenerationData; $this->createdAt = new \DateTimeImmutable('now'); } public function getCreatorId(): int { return $this->creatorId; } public function getDestinationStoredObjectId(): int { return $this->destinationStoredObjectId; } public function getTemplateId(): int { return $this->templateId; } public function getEntityId(): int { return $this->entityId; } public function getContextGenerationData(): array { return $this->contextGenerationData; } public function getCreatedAt(): \DateTimeImmutable { return $this->createdAt; } }