| Total Complexity | 9 |
| Total Lines | 55 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class MusicInfo 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.music_info.link'); |
||
| 19 | $this->arrayPrimary = config('tiktok.music_info.array_primary'); |
||
| 20 | $this->arraySecondary = config('tiktok.music_info.array_secondary'); |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param string $music |
||
| 25 | * @return array |
||
| 26 | */ |
||
| 27 | public function getMusic($music) |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param string $music |
||
| 39 | * @return array |
||
| 40 | */ |
||
| 41 | public function getMusicInfo($music) |
||
| 64 |