| Total Complexity | 4 |
| Total Lines | 55 |
| Duplicated Lines | 0 % |
| Changes | 5 | ||
| Bugs | 2 | Features | 0 |
| 1 | <?php |
||
| 15 | class ServiceProvider extends BaseServiceProvider |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Register bindings in the container. |
||
| 19 | */ |
||
| 20 | public function register(): void |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Configure package paths. |
||
| 31 | */ |
||
| 32 | private function configurePaths() |
||
| 33 | { |
||
| 34 | $this->publishes([ |
||
| 35 | __DIR__ . '/config/config.php' => config_path('eloquentFilter.php'), |
||
| 36 | ]); |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Merge configuration. |
||
| 41 | */ |
||
| 42 | private function mergeConfig() |
||
| 43 | { |
||
| 44 | $this->mergeConfigFrom( |
||
| 45 | __DIR__ . '/config/config.php', |
||
| 46 | 'eloquentFilter' |
||
| 47 | ); |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * |
||
| 52 | */ |
||
| 53 | private function registerBindings() |
||
| 70 | } |
||
| 71 | } |
||
| 72 |