Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class ApiTestSuiteServiceProvider extends ServiceProvider |
||
9 | { |
||
10 | /** |
||
11 | * Bootstrap the application services. |
||
12 | */ |
||
13 | public function boot() |
||
14 | { |
||
15 | if ($this->app->runningInConsole()) { |
||
16 | $this->publishes([ |
||
17 | __DIR__.'/../config/config.php' => config_path('digitonic.api-test-suite'), |
||
18 | ], 'config'); |
||
19 | |||
20 | $this->publishes([ |
||
21 | __DIR__ . '/../templates/' => base_path('tests/templates/') |
||
22 | ]); |
||
23 | |||
24 | // Registering package commands. |
||
25 | $this->commands([ |
||
26 | Installer::class, |
||
27 | ]); |
||
28 | } |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * Register the application services. |
||
33 | */ |
||
34 | public function register() |
||
37 | } |
||
38 | } |
||
39 |