/** * Goal Adder * * @param Goal $goal * * @return $this */ public function addGoal(Goal $goal) { $goal->setGame($this); $this->goals->add($goal); return $this; }