1 | <?php |
||
7 | trait HasRelatedTopics |
||
8 | { |
||
9 | /** |
||
10 | * Returns a list of related interests |
||
11 | * @param string $interest |
||
12 | * @return array|bool |
||
13 | */ |
||
14 | public function getRelatedTopics($interest) |
||
23 | |||
24 | /** |
||
25 | * Executes a GET request to Pinterest API. |
||
26 | * |
||
27 | * @param array $requestOptions |
||
28 | * @param string $resourceUrl |
||
29 | * @return array|bool |
||
30 | */ |
||
31 | abstract protected function execGetRequest(array $requestOptions = [], $resourceUrl = ''); |
||
32 | } |