public function createTeam(Team $team)
    {
        $response = $this->rest->post(
            static::TEAM_CREATE_PATH,
            $team->toCreateParams()
        );

        $this->checkResponse($response);

        return $team->fromResponse($response);
    }
public function createTeam(Team $team)
    {
        $response = $this->rest->post(
            static::TEAM_CREATE_PATH,
            $team->toCreateParams()
        );

        $this->checkResponse($response);

        return $team->fromResponse($response);
    }
public function createTeam ( Team $ team ) { $ response = $ this -> rest -> post ( static :: TEAM_CREATE_PATH , $ team -> toCreateParams ( ) ) ; $ this -> checkResponse ( $ response ) ; return $ team -> fromResponse ( $ response ) ; }
Creates a new Team for the current Account

@param  Team $team
@return Team
@throws BaseException
Creates a new Team for the current Account