src/Entity/PresentationTexte.php line 11

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PresentationTexteRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassPresentationTexteRepository::class)]
  6. class PresentationTexte
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\Column(type'text')]
  13.     private $content;
  14.     public function getId(): ?int
  15.     {
  16.         return $this->id;
  17.     }
  18.     public function getContent(): ?string
  19.     {
  20.         return $this->content;
  21.     }
  22.     public function setContent(string $content): self
  23.     {
  24.         $this->content $content;
  25.         return $this;
  26.     }
  27. }