1 | <?php |
||
7 | class QueryBuilderServiceProvider extends ServiceProvider |
||
8 | { |
||
9 | public function boot() |
||
10 | { |
||
11 | if ($this->app->runningInConsole() && function_exists('config_path')) { |
||
12 | $this->publishes([ |
||
13 | __DIR__.'/../config/query-builder.php' => config_path('query-builder.php'), |
||
14 | ], 'config'); |
||
15 | } |
||
16 | |||
17 | $this->mergeConfigFrom(__DIR__.'/../config/query-builder.php', 'query-builder'); |
||
18 | } |
||
19 | |||
20 | public function register() |
||
26 | |||
27 | public function provides() |
||
35 | } |
||
36 |