PHP Class Intercom\IntercomUsers

Afficher le fichier Open project: intercom/intercom-php Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( IntercomClient $client ) IntercomUsers constructor.
create ( array $options ) : mixed Creates a User.
deleteUser ( $id, $options = [] )
getUser ( $id, $options = [] )
getUsers ( array $options ) : mixed Lists Users.
userPath ( $id )

Method Details

__construct() public méthode

IntercomUsers constructor.
public __construct ( IntercomClient $client )
$client IntercomClient

create() public méthode

Creates a User.
See also: https://developers.intercom.io/reference#create-or-update-user
public create ( array $options ) : mixed
$options array
Résultat mixed

deleteUser() public méthode

public deleteUser ( $id, $options = [] )

getUser() public méthode

public getUser ( $id, $options = [] )

getUsers() public méthode

Lists Users.
See also: https://developers.intercom.io/reference#list-users
public getUsers ( array $options ) : mixed
$options array
Résultat mixed

userPath() public méthode

public userPath ( $id )