src/Entity/MentionLegal.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\MentionLegalRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=MentionLegalRepository::class)
  7.  */
  8. class MentionLegal
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     public function getId(): ?int
  17.     {
  18.         return $this->id;
  19.     }
  20.     /**
  21.      * @ORM\Column(type="text", nullable=true)
  22.      */
  23.     private $termsOfService;
  24.     public function getTermsOfService(): ?string
  25.     {
  26.         return $this->termsOfService;
  27.     }
  28.     public function setTermsOfService(?string $termsOfService): self
  29.     {
  30.         $this->termsOfService $termsOfService;
  31.         return $this;
  32.     }
  33. }