Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
30 | public function check(array $config): bool |
||
31 | { |
||
32 | $this->extensions = Collection::make(array_get($config, 'extensions', [])); |
||
33 | $this->extensions = $this->extensions->reject(function ($ext) { |
||
34 | return extension_loaded($ext) === false; |
||
35 | }); |
||
36 | |||
37 | return $this->extensions->isEmpty(); |
||
38 | } |
||
39 | |||
53 |