public function addMember($id, $user)
	{
		// Build the request path.
		$path = '/teams/' . $id . '/members/' . $user;

		return $this->processResponse(
			$this->client->put($this->fetchUrl($path), ''),
			204
		);
	}
public function addMember($id, $user)
	{
		// Build the request path.
		$path = '/teams/' . $id . '/members/' . $user;

		return $this->processResponse(
			$this->client->put($this->fetchUrl($path), ''),
			204
		);
	}
public function addMember ( $ id , $ user ) { // Build the request path. $ path = '/teams/' . $ id . '/members/' . $ user ; return $ this -> processResponse ( $ this -> client -> put ( $ this -> fetchUrl ( $ path ) , '' ) , 204 ) ; }
Add team member.

In order to add a user to a team, the authenticated user must have ‘admin’ permissions
to the team or be an owner of the org that the team is associated with.

@param   integer  $id    The team id.
@param   string   $user  The name of the user.

@since  1.0

@return object
Add team member .