/** * @param Game $game */ public function addGame(\AppBundle\Entity\Game $game) { $game->setOrganizer($this); $this->game[] = $game; }