Exemple #1
0
 private function addSet(\Club\MatchBundle\Entity\MatchTeam $team, $game_set, $value)
 {
     $set = new \Club\MatchBundle\Entity\MatchTeamSet();
     $set->setMatchTeam($team);
     $set->setGameSet($game_set);
     $set->setValue($value);
     $team->addMatchTeamSet($set);
     return $set;
 }
 /**
  * Remove match_team_set
  *
  * @param Club\MatchBundle\Entity\MatchTeamSet $matchTeamSet
  */
 public function removeMatchTeamSet(\Club\MatchBundle\Entity\MatchTeamSet $matchTeamSet)
 {
     $this->match_team_set->removeElement($matchTeamSet);
 }