| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 28 | public function boot() |
||
| 29 | { |
||
| 30 | $this->publishes( [ |
||
| 31 | __DIR__ . '/../resources/config/adjuster.php' => config_path( 'adjuster.php' ) |
||
| 32 | ], 'config' ); |
||
| 33 | |||
| 34 | if ( ! class_exists( 'CreateAdjustmentsTable' ) ) { |
||
| 35 | $timestamp = date( 'Y_m_d_His', time() ); |
||
| 36 | $this->publishes( [ |
||
| 37 | __DIR__ . '/../resources/migrations/create_adjustments_table.php.stub' => database_path( 'migrations' ) . '/' . $timestamp . '_create_adjustments_table.php', |
||
| 38 | ], 'migrations' ); |
||
| 39 | } |
||
| 40 | } |
||
| 41 | |||
| 55 | } |