Intercom\IntercomNotes::getNotes PHP Метод

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

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

Usage Example

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