Total Complexity | 3 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 5 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class LeverPhpServiceProvider extends ServiceProvider |
||
9 | { |
||
10 | /** |
||
11 | * Bootstrap the application services. |
||
12 | */ |
||
13 | public function boot() |
||
14 | { |
||
15 | |||
16 | // $this->loadRoutesFrom(__DIR__.'/routes.php'); |
||
17 | |||
18 | if ($this->app->runningInConsole()) { |
||
19 | $this->publishes([ |
||
20 | __DIR__.'/../config/config.php' => config_path('lever-php.php'), |
||
21 | ], 'config'); |
||
22 | |||
23 | // Registering package commands. |
||
24 | // $this->commands([]); |
||
25 | } |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * Register the application services. |
||
30 | */ |
||
31 | public function register() |
||
42 | } |
||
43 | } |
||
44 |