Conditions | 5 |
Paths | 3 |
Total Lines | 17 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
41 | protected function setupAssets() |
||
42 | { |
||
43 | $this->mergeConfigFrom($config = __DIR__ . '/config/datatables.php', 'datatables'); |
||
44 | |||
45 | if ($this->app->runningInConsole()) { |
||
46 | $this->publishes([$config => config_path('datatables.php')], 'datatables'); |
||
47 | } |
||
48 | } |
||
49 | |||
50 | /** |
||
51 | * Check if app uses Lumen. |
||
52 | * |
||
53 | * @return bool |
||
54 | */ |
||
55 | protected function isLumen() |
||
56 | { |
||
57 | return str_contains($this->app->version(), 'Lumen'); |
||
58 | } |
||
60 |