Total Complexity | 4 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
22 | final class Provider extends AbstractComponentProvider |
||
23 | { |
||
24 | /** |
||
25 | * {@inheritdoc} |
||
26 | */ |
||
27 | 39 | public function isAvailable(): bool |
|
28 | { |
||
29 | 39 | return class_exists(\Illuminate\Log\LogServiceProvider::class) |
|
30 | 39 | && $this->app['config']->get('logging.useDefaultProvider', true) === true; |
|
31 | } |
||
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | */ |
||
36 | 39 | public function register(): void |
|
43 | 39 | } |
|
44 | } |
||
45 |