''])] private string $comment = ''; #[ORM\ManyToOne(targetEntity: EntityWorkflow::class, inversedBy: 'comments')] private ?EntityWorkflow $entityWorkflow = null; #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column(type: \Doctrine\DBAL\Types\Types::INTEGER)] private ?int $id = null; public function getComment(): string { return $this->comment; } public function getEntityWorkflow(): ?EntityWorkflow { return $this->entityWorkflow; } public function getId(): ?int { return $this->id; } public function setComment(string $comment): self { $this->comment = $comment; return $this; } /** * @internal use @see{EntityWorkflow::addComment} */ public function setEntityWorkflow(?EntityWorkflow $entityWorkflow): self { $this->entityWorkflow = $entityWorkflow; return $this; } }