| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 15 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 9 | 
| CRAP Score | 2 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 19 | 9 | public function boot()  | 
            |
| 20 |     { | 
            ||
| 21 | // determine where to publish the configuration, if requested  | 
            ||
| 22 | 9 | $this->publishes([  | 
            |
| 23 | 9 |             __DIR__ . '/../../config/query_filters.php' => config_path('query_filters.php'), | 
            |
| 24 | 9 | ], 'query_filters_config');  | 
            |
| 25 | |||
| 26 | // merge the published configuration with the package default one  | 
            ||
| 27 | 9 | $this->mergeConfigFrom(__DIR__ . '/../../config/query_filters.php', 'query_filters');  | 
            |
| 28 | |||
| 29 | // register console command when running Artisan  | 
            ||
| 30 | 9 |         if ($this->app->runningInConsole()) { | 
            |
| 31 | 9 | $this->commands(MakeQueryFiltersCommand::class);  | 
            |
| 32 | 3 | }  | 
            |
| 33 | 9 | }  | 
            |
| 34 | }  | 
            ||
| 35 |