src/Entity/MentionsLegales.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use App\Repository\MentionsLegalesRepository;
  5. #[ORM\Entity(repositoryClassMentionsLegalesRepository::class)]
  6. class MentionsLegales
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\Column(type'string'length1024)]
  13.     private $texte;
  14.     public function getId(): ?int
  15.     {
  16.         return $this->id;
  17.     }
  18.     public function getTexte(): ?string
  19.     {
  20.         return $this->texte;
  21.     }
  22.     public function setTexte(string $texte): self
  23.     {
  24.         $this->texte $texte;
  25.         return $this;
  26.     }
  27. }