| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 2 | Features | 0 |
| 1 | <?php |
||
| 36 | public function boot(): void |
||
| 37 | { |
||
| 38 | // Publish configuration |
||
| 39 | $this->publishes([ |
||
| 40 | __DIR__ . '/../config/super_cache_invalidate.php' => config_path('super_cache_invalidate.php'), |
||
| 41 | ], 'config'); |
||
| 42 | |||
| 43 | // Publish migrations |
||
| 44 | $this->loadMigrationsFrom(__DIR__ . '/../database/migrations'); |
||
| 45 | // Register commands |
||
| 46 | if ($this->app->runningInConsole()) { |
||
| 47 | $this->commands([ |
||
| 48 | ProcessCacheInvalidationEventsCommand::class, |
||
| 49 | PruneCacheInvalidationDataCommand::class, |
||
| 50 | ]); |
||
| 54 |