| 1 | <?php |
||
| 5 | class Keywords extends Resource |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Get all keywords. |
||
| 9 | * |
||
| 10 | * @param string $search Optional search query. |
||
| 11 | * @return \SevenShores\Hubspot\Http\Response |
||
| 12 | */ |
||
| 13 | function all($search = null) |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Get a keyword. |
||
| 24 | * |
||
| 25 | * @param string $keyword_guid |
||
| 26 | * @return \SevenShores\Hubspot\Http\Response |
||
| 27 | */ |
||
| 28 | function getById($keyword_guid) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Create a new keyword. |
||
| 37 | * |
||
| 38 | * @param array $keyword |
||
| 39 | * @return \SevenShores\Hubspot\Http\Response |
||
| 40 | */ |
||
| 41 | function create($keyword) |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Delete a keyword. |
||
| 52 | * |
||
| 53 | * @param string $keyword_guid |
||
| 54 | * @return \SevenShores\Hubspot\Http\Response |
||
| 55 | */ |
||
| 56 | function delete($keyword_guid) |
||
| 62 | |||
| 63 | } |
||
| 64 |
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.