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