public function getTournaments() {
        $response = Guzzle::get('tournaments');

        $tournaments = [];
        foreach ($response as $tourney) {
            $tournaments[] = new Tournament($tourney->tournament);
        }

        return $tournaments;
    }
public function getTournaments() {
        $response = Guzzle::get('tournaments');

        $tournaments = [];
        foreach ($response as $tourney) {
            $tournaments[] = new Tournament($tourney->tournament);
        }

        return $tournaments;
    }
public function getTournaments ( ) { $ response = Guzzle :: get ( 'tournaments' ) ; $ tournaments = [ ] ; foreach ( $ response as $ tourney ) { $ tournaments [ ] = new Tournament ( $ tourney -> tournament ) ; } return $ tournaments ; }
Retrieve a set of tournaments created with your account.

@return array
Retrieve a set of tournaments created with your account .