src/Entity/SearchCourse.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SearchCourseRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\ORM\Mapping as ORM;
  6. class SearchCourse
  7. {
  8.     private $place;
  9.     private $sports;
  10.     private $begin;
  11.     private $ages;
  12.     private $levels;
  13.     private $languages;
  14.     private $search;
  15.     private $hasLabels;
  16.     public function __construct()
  17.     {
  18.         $this->sports = new ArrayCollection();
  19.         $this->ages = new ArrayCollection();
  20.         $this->levels = new ArrayCollection();
  21.         $this->languages = new ArrayCollection();
  22.     }
  23.     public function getPlace(): ?string
  24.     {
  25.         return $this->place;
  26.     }
  27.     public function setPlace(string $place): self
  28.     {
  29.         $this->place $place;
  30.         return $this;
  31.     }
  32.     public function getSports()
  33.     {
  34.         return $this->sports;
  35.     }
  36.     public function setSports($sports)
  37.     {
  38.         return $this->sports;
  39.     }
  40.     public function getBegin(): ?string
  41.     {
  42.         return $this->begin;
  43.     }
  44.     public function setBegin(string $begin): self
  45.     {
  46.         $this->begin $begin;
  47.         return $this;
  48.     }
  49.     public function getAges()
  50.     {
  51.         return $this->ages;
  52.     }
  53.     public function setAges($ages)
  54.     {
  55.         return $this;
  56.     }
  57.     public function getLevels()
  58.     {
  59.         return $this->levels;
  60.     }
  61.     public function setLevels($levels)
  62.     {
  63.         return $this;
  64.     }
  65.     public function getLanguages()
  66.     {
  67.         return $this->languages;
  68.     }
  69.     public function setLanguages($languages)
  70.     {
  71.         return $this->languages;
  72.     }
  73.     /**
  74.      * Get the value of search
  75.      */ 
  76.     public function getSearch()
  77.     {
  78.         return $this->search;
  79.     }
  80.     /**
  81.      * Set the value of search
  82.      *
  83.      * @return  self
  84.      */ 
  85.     public function setSearch($search)
  86.     {
  87.         $this->search $search;
  88.         return $this;
  89.     }
  90.     public function getHasLabels()
  91.     {
  92.         return $this->hasLabels;
  93.     }
  94.     public function setHasLabels($hasLabels)
  95.     {
  96.         $this->hasLabels $hasLabels;
  97.         return $this;
  98.     }
  99. }