@@ -10,35 +10,35 @@ |
||
10 | 10 | |
11 | 11 | class ModuleServiceProvider extends ServiceProvider |
12 | 12 | { |
13 | - /** |
|
14 | - * Bootstrap the module services. |
|
15 | - * |
|
16 | - * @return void |
|
17 | - */ |
|
18 | - public function boot() |
|
19 | - { |
|
20 | - $this->loadTranslationsFrom(__DIR__.'/../Resources/Lang', 'permissions'); |
|
21 | - $this->loadViewsFrom(__DIR__.'/../Resources/Views', 'permissions'); |
|
13 | + /** |
|
14 | + * Bootstrap the module services. |
|
15 | + * |
|
16 | + * @return void |
|
17 | + */ |
|
18 | + public function boot() |
|
19 | + { |
|
20 | + $this->loadTranslationsFrom(__DIR__.'/../Resources/Lang', 'permissions'); |
|
21 | + $this->loadViewsFrom(__DIR__.'/../Resources/Views', 'permissions'); |
|
22 | 22 | |
23 | - $this->loadMigrationsFrom(module_path('permissions', 'Database/Migrations', 'app')); |
|
24 | - if (!$this->app->configurationIsCached()) { |
|
25 | - $this->loadConfigsFrom(module_path('permissions', 'Config', 'app')); |
|
26 | - } |
|
27 | - } |
|
23 | + $this->loadMigrationsFrom(module_path('permissions', 'Database/Migrations', 'app')); |
|
24 | + if (!$this->app->configurationIsCached()) { |
|
25 | + $this->loadConfigsFrom(module_path('permissions', 'Config', 'app')); |
|
26 | + } |
|
27 | + } |
|
28 | 28 | |
29 | - /** |
|
30 | - * Register the module services. |
|
31 | - * |
|
32 | - * @return void |
|
33 | - */ |
|
34 | - public function register() |
|
35 | - { |
|
36 | - $this->app->register(RouteServiceProvider::class); |
|
29 | + /** |
|
30 | + * Register the module services. |
|
31 | + * |
|
32 | + * @return void |
|
33 | + */ |
|
34 | + public function register() |
|
35 | + { |
|
36 | + $this->app->register(RouteServiceProvider::class); |
|
37 | 37 | |
38 | - /** |
|
39 | - * Bind interfaces to implmentations. |
|
40 | - */ |
|
41 | - $this->app->bind(PermissionServiceInterface::class, PermissionService::class); |
|
42 | - $this->app->bind(PermissionRepositoryInterface::class, PermissionRepository::class); |
|
43 | - } |
|
38 | + /** |
|
39 | + * Bind interfaces to implmentations. |
|
40 | + */ |
|
41 | + $this->app->bind(PermissionServiceInterface::class, PermissionService::class); |
|
42 | + $this->app->bind(PermissionRepositoryInterface::class, PermissionRepository::class); |
|
43 | + } |
|
44 | 44 | } |