@@ -6,41 +6,41 @@ |
||
6 | 6 | |
7 | 7 | class ApiSkeletonServiceProvider extends ServiceProvider |
8 | 8 | { |
9 | - /** |
|
10 | - * Perform post-registration booting of services. |
|
11 | - * |
|
12 | - * @return void |
|
13 | - */ |
|
14 | - public function boot() |
|
15 | - { |
|
16 | - $this->publishes([ |
|
17 | - __DIR__.'/Modules' => app_path('Modules'), |
|
18 | - __DIR__.'/Modules/Core/Resources/Assets' => base_path('public/doc/assets'), |
|
19 | - __DIR__.'/../lang' => base_path('resources/lang'), |
|
20 | - __DIR__.'/../files/Handler.php' => app_path('Exceptions/Handler.php'), |
|
21 | - __DIR__.'/../files/AuthServiceProvider.php' => app_path('Providers/AuthServiceProvider.php'), |
|
22 | - __DIR__.'/../files/BroadcastServiceProvider.php' => app_path('Providers/BroadcastServiceProvider.php'), |
|
23 | - __DIR__.'/../files/Kernel.php' => app_path('Console/Kernel.php'), |
|
24 | - __DIR__.'/../files/channels.php' => app_path('routes/channels.php'), |
|
25 | - __DIR__.'/../phpcs.xml' => base_path('/phpcs.xml'), |
|
26 | - ]); |
|
9 | + /** |
|
10 | + * Perform post-registration booting of services. |
|
11 | + * |
|
12 | + * @return void |
|
13 | + */ |
|
14 | + public function boot() |
|
15 | + { |
|
16 | + $this->publishes([ |
|
17 | + __DIR__.'/Modules' => app_path('Modules'), |
|
18 | + __DIR__.'/Modules/Core/Resources/Assets' => base_path('public/doc/assets'), |
|
19 | + __DIR__.'/../lang' => base_path('resources/lang'), |
|
20 | + __DIR__.'/../files/Handler.php' => app_path('Exceptions/Handler.php'), |
|
21 | + __DIR__.'/../files/AuthServiceProvider.php' => app_path('Providers/AuthServiceProvider.php'), |
|
22 | + __DIR__.'/../files/BroadcastServiceProvider.php' => app_path('Providers/BroadcastServiceProvider.php'), |
|
23 | + __DIR__.'/../files/Kernel.php' => app_path('Console/Kernel.php'), |
|
24 | + __DIR__.'/../files/channels.php' => app_path('routes/channels.php'), |
|
25 | + __DIR__.'/../phpcs.xml' => base_path('/phpcs.xml'), |
|
26 | + ]); |
|
27 | 27 | |
28 | - $this->publishes([ |
|
29 | - __DIR__.'/../config/skeleton.php' => config_path('skeleton.php'), |
|
30 | - __DIR__.'/../files/auth.php' => config_path('auth.php'), |
|
31 | - ], 'config'); |
|
32 | - } |
|
28 | + $this->publishes([ |
|
29 | + __DIR__.'/../config/skeleton.php' => config_path('skeleton.php'), |
|
30 | + __DIR__.'/../files/auth.php' => config_path('auth.php'), |
|
31 | + ], 'config'); |
|
32 | + } |
|
33 | 33 | |
34 | - /** |
|
35 | - * Register any package services. |
|
36 | - * |
|
37 | - * @return void |
|
38 | - */ |
|
39 | - public function register() |
|
40 | - { |
|
41 | - $this->mergeConfigFrom( |
|
42 | - __DIR__.'/../config/skeleton.php', |
|
43 | - 'skeleton' |
|
44 | - ); |
|
45 | - } |
|
34 | + /** |
|
35 | + * Register any package services. |
|
36 | + * |
|
37 | + * @return void |
|
38 | + */ |
|
39 | + public function register() |
|
40 | + { |
|
41 | + $this->mergeConfigFrom( |
|
42 | + __DIR__.'/../config/skeleton.php', |
|
43 | + 'skeleton' |
|
44 | + ); |
|
45 | + } |
|
46 | 46 | } |