Intercom\IntercomNotes::getNotes PHP Method

getNotes() public method

Lists Notes.
See also: https://developers.intercom.io/reference#list-notes-for-a-user
public getNotes ( array $options ) : mixed
$options array
return mixed
    public function getNotes($options)
    {
        return $this->client->get("notes", $options);
    }

Usage Example

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