PHP Class Intercom\IntercomTags

Show file Open project: intercom/intercom-php Class Usage Examples

Public Methods

Method Description
__construct ( IntercomClient $client ) IntercomTags constructor.
getTags ( array $options = [] ) : mixed Lists Tags.
tag ( array $options ) : mixed Creates a Tag.

Method Details

__construct() public method

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

getTags() public method

Lists Tags.
See also: https://developers.intercom.io/reference#list-tags-for-an-app
public getTags ( array $options = [] ) : mixed
$options array
return mixed

tag() public method

Creates a Tag.
See also: https://developers.intercom.io/reference#create-and-update-tags
public tag ( array $options ) : mixed
$options array
return mixed