| 1 | <?php |
||
| 11 | class Comments |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var Client |
||
| 15 | */ |
||
| 16 | private $client; |
||
| 17 | |||
| 18 | 1 | public function __construct(Client $client) |
|
| 22 | |||
| 23 | /** |
||
| 24 | * Get record comments |
||
| 25 | * https://cybozudev.zendesk.com/hc/ja/articles/208242326 |
||
| 26 | * |
||
| 27 | * @param int $appId |
||
| 28 | * @param int $recordId |
||
| 29 | * @param string $order "asc" or "desc" |
||
| 30 | * @param int $offset |
||
| 31 | * @param int $limit Max = 10 |
||
| 32 | * @param int $guestSpaceId |
||
| 33 | * @return array |
||
| 34 | */ |
||
| 35 | 2 | public function get($appId, $recordId, $order = 'desc', $offset = 0, $limit = 10, $guestSpaceId = null) |
|
| 49 | } |