/** * Remove goals * * @param E100\CoreBundle\Entity\Goal $goals */ public function removeGoal(\E100\CoreBundle\Entity\Goal $goals) { $this->goals->removeElement($goals); }
/** * Goal Remover * * @param Goal $goal * * @return $this */ public function removeGoal(Goal $goal) { $this->goals->removeElement($goal); return $this; }