| Conditions | 3 |
| Paths | 3 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function boot() |
||
| 14 | { |
||
| 15 | if ($this->app->runningInConsole()) { |
||
| 16 | $this->publishes([ |
||
| 17 | __DIR__ . '/../config/config.php' => config_path('laravel-tracer.php'), |
||
| 18 | ], 'config'); |
||
| 19 | |||
| 20 | if (!class_exists('CreateUserRequestsTable')) { |
||
| 21 | $this->publishes([ |
||
| 22 | __DIR__ . '/../database/migrations/create_user_requests_table.php.stub' => database_path('migrations/' . date('Y_m_d_His', time()) . '_create_user_requests_table.php'), |
||
| 23 | ], 'migrations'); |
||
| 24 | } |
||
| 46 |