1 | <?php |
||
8 | class ApiServiceProvider extends ServiceProvider |
||
9 | { |
||
10 | /** |
||
11 | * Indicates if loading of the provider is deferred. |
||
12 | * |
||
13 | * @var bool |
||
14 | */ |
||
15 | protected $defer = true; |
||
16 | |||
17 | /** |
||
18 | * Register the service provider. |
||
19 | * |
||
20 | * @return void |
||
21 | */ |
||
22 | public function register() |
||
32 | |||
33 | /** |
||
34 | * Register the Client singleton. |
||
35 | * |
||
36 | * @return void |
||
37 | */ |
||
38 | protected function registerClient() |
||
55 | |||
56 | /** |
||
57 | * Register the Token singleton. |
||
58 | * |
||
59 | * @return void |
||
60 | */ |
||
61 | protected function registerToken() |
||
71 | |||
72 | /** |
||
73 | * Register for console. |
||
74 | * |
||
75 | * @return void |
||
76 | */ |
||
77 | protected function registerForConsole() |
||
85 | |||
86 | /** |
||
87 | * Create alias for the facade. |
||
88 | * |
||
89 | * @param string $facade |
||
90 | * @param string $class |
||
91 | * @return void |
||
92 | */ |
||
93 | protected function aliasFacade($facade, $class) |
||
101 | |||
102 | /** |
||
103 | * Get the services provided by the provider. |
||
104 | * |
||
105 | * @return string[] |
||
106 | */ |
||
107 | public function provides() |
||
111 | } |
||
112 |