| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 46 | 30 | private function getConfig($extraMediaTypes = false) { |
|
| 47 | 30 | $features = $this->configService->getFeaturesList(); |
|
| 48 | |||
| 49 | //$this->logger->debug("Features: {features}", ['features' => $features]); |
||
| 50 | |||
| 51 | 27 | $nativeSvgSupport = $this->isNativeSvgActivated($features); |
|
| 52 | $mediaTypes = |
||
| 53 | 27 | $this->configService->getSupportedMediaTypes($extraMediaTypes, $nativeSvgSupport); |
|
| 54 | |||
| 55 | 27 | return ['features' => $features, 'mediatypes' => $mediaTypes]; |
|
| 56 | } |
||
| 57 | |||
| 74 |