1 | <?php |
||
11 | class OVHServiceProvider extends ServiceProvider |
||
12 | { |
||
13 | /** |
||
14 | * Bootstrap the application services. |
||
15 | * |
||
16 | * @return void |
||
17 | */ |
||
18 | public function boot() |
||
33 | |||
34 | /** |
||
35 | * Check that the config is properly setup. |
||
36 | * |
||
37 | * @param array $config |
||
38 | * @return void|BadMethodCallException |
||
39 | */ |
||
40 | protected function checkConfig($config) |
||
52 | |||
53 | /** |
||
54 | * Make the client needed for interaction with OVH OpenStack. |
||
55 | * |
||
56 | * @param array $config |
||
57 | * @return \OpenStack\OpenStack |
||
58 | */ |
||
59 | protected function makeClient($config) |
||
79 | |||
80 | /** |
||
81 | * Return the config variables required by the adapter. |
||
82 | * |
||
83 | * @param array &$config |
||
84 | * @return array |
||
85 | */ |
||
86 | protected function getVars(&$config) |
||
96 | |||
97 | /** |
||
98 | * Return the config variables required for large object. |
||
99 | * |
||
100 | * @param array &$config |
||
101 | * @return array |
||
102 | */ |
||
103 | protected function getLargeObjectConfig(&$config) |
||
121 | } |
||
122 |
This check looks for function calls that miss required arguments.