| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 14 | public function boot() |
||
| 15 | { |
||
| 16 | if ($this->app->runningInConsole()) { |
||
| 17 | $this->publishes([ |
||
| 18 | __DIR__ . '/../config/api-toolkit.php' => config_path('api-toolkit.php'), |
||
| 19 | ], 'config'); |
||
| 20 | |||
| 21 | // publish any resources |
||
| 22 | |||
| 23 | $this->commands([ |
||
| 24 | \JustSteveKing\Laravel\ApiToolkit\Console\Commands\TestCommand::class, |
||
| 25 | \JustSteveKing\Laravel\ApiToolkit\Console\Commands\ResourceMakeCommand::class, |
||
| 26 | ]); |
||
| 38 |