public function removeUsers(ArrayCollection $users)
    {
        foreach ($users as $user) {
            $user->removeTeam($this);
            $this->users->removeElement($user);
        }
    }
public function removeUsers(ArrayCollection $users)
    {
        foreach ($users as $user) {
            $user->removeTeam($this);
            $this->users->removeElement($user);
        }
    }
public function removeUsers ( ArrayCollection $ users ) { foreach ( $ users as $ user ) { $ user -> removeTeam ( $ this ) ; $ this -> users -> removeElement ( $ user ) ; } }
Remove users from the team.

@param ArrayCollection $users

@return void
Remove users from the team .