Conditions | 4 |
Paths | 3 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | public function boot() |
||
17 | { |
||
18 | $source = dirname(__DIR__).'/src/config/freshdesk.php'; |
||
19 | |||
20 | if ($this->app instanceof LaravelApplication && $this->app->runningInConsole()) { |
||
21 | $this->publishes([$source => config_path('freshdesk.php')]); |
||
22 | } elseif ($this->app instanceof LumenApplication) { |
||
23 | $this->app->configure('freshdesk'); |
||
24 | } |
||
25 | $this->mergeConfigFrom($source, 'freshdesk'); |
||
26 | } |
||
27 | |||
52 |