| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | public function boot() |
||
| 10 | { |
||
| 11 | if ($this->app->runningInConsole()) { |
||
| 12 | $this->publishes([ |
||
| 13 | __DIR__.'/../config/http-logger.php' => config_path('http-logger.php'), |
||
| 14 | ], 'config'); |
||
| 15 | } |
||
| 16 | |||
| 17 | $this->app->singleton(LogProfile::class, config('http-logger.log_profile')); |
||
| 18 | $this->app->singleton(LogWriter::class, config('http-logger.log_writer')); |
||
| 19 | } |
||
| 20 | |||
| 26 |