Conditions | 2 |
Paths | 2 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
35 | public function boot() |
||
36 | { |
||
37 | if ($this->app->runningInConsole()) { |
||
38 | $this->publishes([ |
||
39 | __DIR__.'/../config/service-classes.php' => config_path('service-classes.php'), |
||
40 | ]); |
||
41 | } |
||
42 | |||
43 | $this->mergeConfigFrom(__DIR__.'/../config/service-classes.php', 'service-classes'); |
||
44 | |||
45 | $this->commands([ |
||
46 | ServiceMakeCommand::class, |
||
47 | ]); |
||
48 | |||
49 | ServiceCaller::setHandlerMethod(config('service-classes.method', 'run')); |
||
50 | } |
||
51 | |||
65 |