Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class ServiceProvider extends IlluminateServiceProvider |
||
10 | { |
||
11 | /** |
||
12 | * Bootstrap the application services. |
||
13 | */ |
||
14 | public function boot() |
||
15 | { |
||
16 | if ($this->app->runningInConsole()) { |
||
17 | $this->publishes([ |
||
18 | __DIR__ . '/../config/config.php' => config_path('eloquentsequencer.php'), |
||
19 | ], 'config'); |
||
20 | |||
21 | $this->commands([ |
||
22 | PopulateSequenceValues::class, |
||
23 | FlushSequenceValues::class, |
||
24 | ]); |
||
25 | } |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * Register the application services. |
||
30 | */ |
||
31 | public function register() |
||
34 | } |
||
35 | } |
||
36 |