1 | <?php |
||
17 | class AdminLteServiceProvider extends BaseServiceProvider |
||
18 | { |
||
19 | /** |
||
20 | * Register the package services. |
||
21 | * |
||
22 | * @return void |
||
23 | */ |
||
24 | 7 | public function register() |
|
37 | |||
38 | /** |
||
39 | * Bootstrap the package's services. |
||
40 | * |
||
41 | * @return void |
||
42 | */ |
||
43 | 7 | public function boot(Factory $view, Dispatcher $events, Repository $config) |
|
52 | |||
53 | /** |
||
54 | * Load the package views. |
||
55 | * |
||
56 | * @return void |
||
57 | */ |
||
58 | 7 | private function loadViews() |
|
63 | |||
64 | /** |
||
65 | * Load the package translations. |
||
66 | * |
||
67 | * @return void |
||
68 | */ |
||
69 | 7 | private function loadTranslations() |
|
74 | |||
75 | /** |
||
76 | * Load the package config. |
||
77 | * |
||
78 | * @return void |
||
79 | */ |
||
80 | 7 | private function loadConfig() |
|
85 | |||
86 | /** |
||
87 | * Get the absolute path to some package resource. |
||
88 | * |
||
89 | * @param string $path The relative path to the resource |
||
90 | * @return string |
||
91 | */ |
||
92 | 7 | private function packagePath($path) |
|
96 | |||
97 | /** |
||
98 | * Register the package's artisan commands. |
||
99 | * |
||
100 | * @return void |
||
101 | */ |
||
102 | 7 | private function registerCommands() |
|
111 | |||
112 | /** |
||
113 | * Register the package's view composers. |
||
114 | * |
||
115 | * @return void |
||
116 | */ |
||
117 | 7 | private function registerViewComposers(Factory $view) |
|
121 | |||
122 | /** |
||
123 | * Register the menu events handlers. |
||
124 | * |
||
125 | * @return void |
||
126 | */ |
||
127 | 7 | private static function registerMenu(Dispatcher $events, Repository $config) |
|
141 | } |
||
142 |