Conditions | 3 |
Paths | 3 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 3.3332 |
Changes | 0 |
1 | <?php |
||
38 | 58 | public function getExtensionConfiguration() |
|
39 | { |
||
40 | try { |
||
41 | 58 | return GeneralUtility::makeInstance(ExtensionConfiguration::class)->get('crawler'); |
|
42 | 1 | } catch (ExtensionConfigurationExtensionNotConfiguredException $e) { |
|
43 | 1 | $this->logger->error($e->getMessage()); |
|
44 | } catch (ExtensionConfigurationPathDoesNotExistException $e) { |
||
45 | $this->logger->error($e->getMessage()); |
||
46 | } |
||
49 |