Total Complexity | 3 |
Total Lines | 58 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
7 | class DiscoverInfo extends TikTok |
||
8 | { |
||
9 | protected $url; |
||
10 | protected $url_api; |
||
11 | |||
12 | /** |
||
13 | * @return $this |
||
14 | */ |
||
15 | public function ModelSettings() |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * @return array |
||
23 | */ |
||
24 | public function getDiscover() |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @param string $type |
||
36 | * @param int|null $count |
||
37 | * @param int|null $offset |
||
38 | * @param bool $needItemList |
||
39 | * @param bool $useRecommend |
||
40 | * |
||
41 | * $discoverType only 0 |
||
42 | * $keyWord not used |
||
43 | * |
||
44 | * @return array |
||
45 | */ |
||
46 | public function getDiscoverApi($type, $count = 20, $offset = 0, $needItemList = true, $useRecommend = false) |
||
67 |