Total Complexity | 10 |
Total Lines | 65 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class UserInfo extends TikTok |
||
8 | { |
||
9 | protected $url; |
||
10 | protected $arrayPrimary; |
||
11 | protected $arraySecondary; |
||
12 | |||
13 | /** |
||
14 | * @return $this |
||
15 | */ |
||
16 | public function ModelSettings() |
||
17 | { |
||
18 | $this->url = config('tiktok.user_info.link'); |
||
19 | $this->arrayPrimary = config('tiktok.user_info.array_primary'); |
||
20 | $this->arraySecondary = config('tiktok.user_info.array_secondary'); |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @param string $userName |
||
25 | * @return array |
||
26 | */ |
||
27 | public function getUser($userName) |
||
45 | } |
||
46 | |||
47 | /** |
||
48 | * @param string $userName |
||
49 | * @return array |
||
50 | */ |
||
51 | public function getUserInfo($userName) |
||
74 |