src/Entity/Documentation.php line 9
<?phpnamespace App\Entity;use App\Repository\DocumentationRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: DocumentationRepository::class)]class Documentation{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(length: 255)]private ?string $theme = null;#[ORM\Column(type: 'text')]private ?string $text = null;#[ORM\ManyToOne(inversedBy: 'documentations')]private ?User $user = null;public function getId(): ?int{return $this->id;}public function getTheme(): ?string{return $this->theme;}public function setTheme(string $theme): self{$this->theme = $theme;return $this;}public function getText(): ?string{return $this->text;}public function setText(string $text): self{$this->text = $text;return $this;}public function getUser(): ?User{return $this->user;}public function setUser(?User $user): self{$this->user = $user;return $this;}}