code: public function setLocation(\Miky\Bundle\LocationBundle\Entity\Location $location = null)
      {
          $this->location = $location;
  
          return $this;
      }
docs: Set location
  
  @param \Miky\Bundle\LocationBundle\Entity\Location $location
  
  @return UserPreference