Total Complexity | 1 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | class Application extends ServiceContainer |
||
25 | { |
||
26 | /** |
||
27 | * @var array |
||
28 | */ |
||
29 | protected $providers = [ |
||
30 | Auth\ServiceProvider::class, |
||
31 | // Base services |
||
32 | BasicService\Media\ServiceProvider::class, |
||
33 | BasicService\ContentSecurity\ServiceProvider::class, |
||
34 | ]; |
||
35 | |||
36 | /** |
||
37 | * @var array |
||
38 | */ |
||
39 | protected $defaultConfig = [ |
||
40 | 'http' => [ |
||
41 | 'base_uri' => 'https://api.q.qq.com/', |
||
42 | ], |
||
43 | ]; |
||
44 | |||
45 | /** |
||
46 | * Handle dynamic calls. |
||
47 | * |
||
48 | * @param string $method |
||
49 | * @param array $args |
||
50 | * |
||
51 | * @return mixed |
||
52 | */ |
||
53 | public function __call($method, $args) |
||
58 |