Intercom\IntercomUsers::getUsers PHP Метод

getUsers() публичный Метод

Lists Users.
См. также: https://developers.intercom.io/reference#list-users
public getUsers ( array $options ) : mixed
$options array
Результат mixed
    public function getUsers($options)
    {
        return $this->client->get("users", $options);
    }

Usage Example

Пример #1
0
 public function testUserGet()
 {
     $stub = $this->getMockBuilder('Intercom\\IntercomClient')->disableOriginalConstructor()->getMock();
     $stub->method('get')->willReturn('foo');
     $events = new IntercomUsers($stub);
     $this->assertEquals('foo', $events->getUsers([]));
 }