1 | <?php |
||
10 | class ServiceProvider extends \Illuminate\Support\ServiceProvider |
||
11 | { |
||
12 | /** |
||
13 | * Indicates if loading of the provider is deferred. |
||
14 | * |
||
15 | * @var bool |
||
16 | */ |
||
17 | protected $defer = false; |
||
18 | |||
19 | /** |
||
20 | * Booting the package. |
||
21 | */ |
||
22 | public function boot() |
||
28 | |||
29 | /** |
||
30 | * Register all components. |
||
31 | */ |
||
32 | protected function registerComponents() |
||
36 | |||
37 | /** |
||
38 | * Register the service provider. |
||
39 | */ |
||
40 | public function register() |
||
46 | |||
47 | /** |
||
48 | * Setup stub path. |
||
49 | */ |
||
50 | public function setupStubPath() |
||
60 | |||
61 | /** |
||
62 | * Register package's namespaces. |
||
63 | */ |
||
64 | protected function registerNamespaces() |
||
70 | |||
71 | /** |
||
72 | * Register the service provider. |
||
73 | */ |
||
74 | protected function registerServices() |
||
82 | |||
83 | /** |
||
84 | * Get the services provided by the provider. |
||
85 | * |
||
86 | * @return array |
||
87 | */ |
||
88 | public function provides() |
||
92 | |||
93 | /** |
||
94 | * Register providers. |
||
95 | */ |
||
96 | protected function registerProviders() |
||
101 | } |
||
102 |