public function setLocation(\Buggl\MainBundle\Entity\Location $location = NULL) { $this->__load(); return parent::setLocation($location); }