1 | <?php |
||
15 | class InventoryServiceProvider extends ServiceProvider |
||
16 | { |
||
17 | /** |
||
18 | * Register package services. |
||
19 | */ |
||
20 | public function register() |
||
32 | /** |
||
33 | * Bind repositories |
||
34 | */ |
||
35 | protected function bindRepositories() |
||
44 | /** |
||
45 | * Register acacha/stateful-eloquent Service Provider. |
||
46 | * |
||
47 | */ |
||
48 | protected function registerStatefulEloquentServiceProvider() |
||
52 | /** |
||
53 | * Register acacha/names Service Provider. |
||
54 | * |
||
55 | */ |
||
56 | protected function registerNamesServiceProvider() |
||
60 | /** |
||
61 | * Bootstrap package services. |
||
62 | * |
||
63 | * @return void |
||
64 | */ |
||
65 | public function boot() |
||
74 | /** |
||
75 | * Define the curriculum routes. |
||
76 | */ |
||
77 | protected function defineRoutes() |
||
86 | /** |
||
87 | * Load package views. |
||
88 | */ |
||
89 | private function loadViews() |
||
93 | /** |
||
94 | * Load migrations. |
||
95 | */ |
||
96 | private function loadMigrations() |
||
100 | /** |
||
101 | * Publish factories. |
||
102 | */ |
||
103 | private function publishFactories() |
||
109 | /** |
||
110 | * Publish config. |
||
111 | */ |
||
112 | private function publishConfig() { |
||
120 | /** |
||
121 | * Publich tests. |
||
122 | */ |
||
123 | private function publishTests() |
||
130 | } |
||
131 | |||
134 |