public function randomizeParticipants($tournament)
    {
        $response = Guzzle::post("tournaments/{$tournament}/participants/randomize");

        $participants = [];
        foreach ($response as $team) {
            $participant = new Participant($team->participant);
            $participant->tournament_slug = $tournament;
            $participants[] = $participant;
        }

        return $participants;
    }
public function randomizeParticipants($tournament)
    {
        $response = Guzzle::post("tournaments/{$tournament}/participants/randomize");

        $participants = [];
        foreach ($response as $team) {
            $participant = new Participant($team->participant);
            $participant->tournament_slug = $tournament;
            $participants[] = $participant;
        }

        return $participants;
    }
public function randomizeParticipants ( $ tournament ) { $ response = Guzzle :: post ( "tournaments/{$tournament}/participants/randomize" ) ; $ participants = [ ] ; foreach ( $ response as $ team ) { $ participant = new Participant ( $ team -> participant ) ; $ participant -> tournament_slug = $ tournament ; $ participants [ ] = $ participant ; } return $ participants ; }
Randomize seeds among participants.

@param  string $tournament
@return array
Randomize seeds among participants .