| 1 | <?php |
||
| 9 | class Interests extends Provider |
||
| 10 | { |
||
| 11 | use HasRelatedTopics; |
||
| 12 | |||
| 13 | protected $feedUrl = UrlBuilder::RESOURCE_GET_CATEGORY_FEED; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Get list of main categories |
||
| 17 | * |
||
| 18 | * @return array|bool |
||
| 19 | */ |
||
| 20 | public function getMain() |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Get category info |
||
| 27 | * |
||
| 28 | * @param string $category |
||
| 29 | * @return array|bool |
||
| 30 | */ |
||
| 31 | public function getInfo($category) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param $interest |
||
| 38 | * @return array |
||
| 39 | */ |
||
| 40 | protected function getFeedRequestData($interest) |
||
| 47 | } |
||
| 48 |