1 | <?php |
||
8 | class MenusServiceProvider 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 | * Bootstrap the application events. |
||
19 | */ |
||
20 | public function boot() |
||
25 | |||
26 | /** |
||
27 | * Require the menus file if that file is exists. |
||
28 | */ |
||
29 | public function registerMenusFile() |
||
35 | |||
36 | /** |
||
37 | * Register the service provider. |
||
38 | */ |
||
39 | public function register() |
||
48 | |||
49 | /** |
||
50 | * Register "iluminate/html" package. |
||
51 | */ |
||
52 | private function registerHtmlPackage() |
||
63 | |||
64 | /** |
||
65 | * Get the services provided by the provider. |
||
66 | * |
||
67 | * @return array |
||
68 | */ |
||
69 | 1 | public function provides() |
|
73 | |||
74 | /** |
||
75 | * Register package's namespaces. |
||
76 | */ |
||
77 | protected function registerNamespaces() |
||
92 | } |
||
93 |