| Total Complexity | 6 |
| Total Lines | 54 |
| Duplicated Lines | 0 % |
| Changes | 5 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | class TelescopePruningServiceProvider extends ServiceProvider |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Bootstrap any application services. |
||
| 13 | */ |
||
| 14 | public function boot() |
||
| 26 | }); |
||
| 27 | }); |
||
| 28 | } |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Register any application services. |
||
| 33 | */ |
||
| 34 | public function register() |
||
| 35 | { |
||
| 36 | $this->mergeConfigFrom( |
||
| 37 | __DIR__.'/../config/telescope-pruning.php', |
||
| 38 | 'telescope-pruning' |
||
| 39 | ); |
||
| 40 | |||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Register the package's publishable resources. |
||
| 45 | * |
||
| 46 | * @return void |
||
| 47 | */ |
||
| 48 | protected function registerPublishing() |
||
| 49 | { |
||
| 50 | $this->publishes([ |
||
| 51 | __DIR__ . '/../config/telescope-pruning.php' => config_path('telescope-pruning.php'), |
||
| 52 | ], 'telescope-pruning-config'); |
||
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Register the package's commands. |
||
| 57 | * |
||
| 58 | * @return void |
||
| 59 | */ |
||
| 60 | protected function registerCommands() { |
||
| 63 | ]); |
||
| 64 | } |
||
| 65 | } |
||
| 66 |