| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 2 | Features | 0 |
| 1 | <?php |
||
| 15 | public function register(): void |
||
| 16 | { |
||
| 17 | // Merge package configuration |
||
| 18 | $this->mergeConfigFrom( |
||
| 19 | __DIR__ . '/../config/super_cache_invalidate.php', |
||
| 20 | 'super_cache_invalidate' |
||
| 21 | ); |
||
| 22 | |||
| 23 | // Register the helper as a singleton |
||
| 24 | $this->app->singleton(SuperCacheInvalidationHelper::class, function () { |
||
| 25 | return new SuperCacheInvalidationHelper(); |
||
| 26 | }); |
||
| 27 | |||
| 28 | $this->app->singleton('super_cache_invalidate', function () { |
||
| 29 | return new SuperCacheInvalidationHelper(); |
||
| 30 | }); |
||
| 54 |