public function removeTeams(ArrayCollection $teams)
    {
        foreach ($teams as $team) {
            $team->removeUser($this);
            $this->teams->removeElement($team);
        }
    }
public function removeTeams(ArrayCollection $teams)
    {
        foreach ($teams as $team) {
            $team->removeUser($this);
            $this->teams->removeElement($team);
        }
    }
public function removeTeams ( ArrayCollection $ teams ) { foreach ( $ teams as $ team ) { $ team -> removeUser ( $ this ) ; $ this -> teams -> removeElement ( $ team ) ; } }
Remove teams from the app.

@param ArrayCollection $teams

@return void
Remove teams from the app .