| 1 | <?php |
||
| 7 | class Comments extends Provider |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Write a comment for a pin with current id. |
||
| 11 | * |
||
| 12 | * @param int $pinId |
||
| 13 | * @param string $text Comment |
||
| 14 | * |
||
| 15 | * @return array|bool |
||
| 16 | */ |
||
| 17 | public function create($pinId, $text) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Delete a comment for a pin with current id. |
||
| 26 | * |
||
| 27 | * @param int $pinId |
||
| 28 | * @param int $commentId |
||
| 29 | * |
||
| 30 | * @return bool |
||
| 31 | */ |
||
| 32 | public function delete($pinId, $commentId) |
||
| 38 | |||
| 39 | } |