src/Entity/SearchPro.php line 7

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\Common\Collections\ArrayCollection;
  4. class SearchPro
  5. {
  6.     private $name;
  7.     private $type;
  8.     private $sports;
  9.     private $country;
  10.     private $languages;
  11.     private $hasLabels;
  12.     public function __construct()
  13.     {
  14.         $this->sports = new ArrayCollection();
  15.     }
  16.     public function getName(): ?string
  17.     {
  18.         return $this->name;
  19.     }
  20.     public function setName(?string $name): self
  21.     {
  22.         $this->name $name;
  23.         return $this;
  24.     }
  25.     public function getType()
  26.     {
  27.         return $this->type;
  28.     }
  29.     public function setType($type)
  30.     {
  31.         $this->type $type;
  32.         return $this;
  33.     }
  34.     public function getSports()
  35.     {
  36.         return $this->sports;
  37.     }
  38.     public function setSports($sports)
  39.     {
  40.         return $this->sports;
  41.     }
  42.     public function getCountry(): ?string
  43.     {
  44.         return $this->country;
  45.     }
  46.     public function setCountry(string $country): self
  47.     {
  48.         $this->country $country;
  49.         return $this;
  50.     }
  51.     public function getLanguages()
  52.     {
  53.         return $this->languages;
  54.     }
  55.     public function setLanguages($languages)
  56.     {
  57.         $this->languages $languages;
  58.         return $this;
  59.     }
  60.     public function getHasLabels()
  61.     {
  62.         return $this->hasLabels;
  63.     }
  64.     public function setHasLabels($hasLabels)
  65.     {
  66.         $this->hasLabels $hasLabels;
  67.         return $this;
  68.     }
  69. }