| 1 | <?php |
||
| 5 | class Comments extends Resource |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Get all comments. |
||
| 9 | * |
||
| 10 | * @param array $params Optional parameters ['limit', 'offset', 'portalId', 'state', 'contentId', 'reverse'] |
||
| 11 | * @return \SevenShores\Hubspot\Http\Response |
||
| 12 | */ |
||
| 13 | function all($params = []) |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Get information about a specific comment. |
||
| 24 | * |
||
| 25 | * @param string $id |
||
| 26 | * @return \SevenShores\Hubspot\Http\Response |
||
| 27 | */ |
||
| 28 | function getById($id) |
||
| 34 | |||
| 35 | |||
| 36 | } |
||
| 37 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.