Conditions | 3 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
1 | <?php namespace Modules\Media\Image; |
||
29 | public function all() |
||
30 | { |
||
31 | $thumbnails = []; |
||
32 | foreach ($this->module->enabled() as $enabledModule) { |
||
33 | $configuration = $this->config->get(strtolower('asgard.' . $enabledModule->getName()) . '.thumbnails'); |
||
34 | if (!is_null($configuration)) { |
||
35 | $thumbnails = array_merge($thumbnails, Thumbnail::makeMultiple($configuration)); |
||
36 | } |
||
37 | } |
||
38 | |||
39 | return $thumbnails; |
||
40 | } |
||
41 | |||
58 |