| Total Complexity | 6 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 7 | class ServiceProvider extends \Illuminate\Support\ServiceProvider implements DeferrableProvider |
||
| 8 | { |
||
| 9 | 28 | public function boot() |
|
| 10 | { |
||
| 11 | 28 | if ($this->app->runningInConsole()) { |
|
| 12 | 28 | $this->publishes([ |
|
| 13 | 28 | __DIR__ . '/../config/myriad-soap.php' => config_path('myriad-soap.php'), |
|
| 14 | 28 | ], 'config'); |
|
| 15 | |||
| 16 | |||
| 17 | 28 | $this->commands([]); |
|
| 18 | } |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Register the service provider. |
||
| 23 | * |
||
| 24 | * @return void |
||
| 25 | */ |
||
| 26 | 28 | public function register() |
|
| 41 | 27 | ); |
|
| 42 | 28 | }); |
|
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Get the services provided by the provider. |
||
| 47 | * |
||
| 48 | * @return array |
||
| 49 | */ |
||
| 50 | 2 | public function provides() |
|
| 53 | } |
||
| 54 | } |
||
| 55 |