diff --git a/Classes/Compatibility/ExtensionConfiguration.php b/Classes/Compatibility/ExtensionConfiguration.php index 84a6509..3cb4214 100644 --- a/Classes/Compatibility/ExtensionConfiguration.php +++ b/Classes/Compatibility/ExtensionConfiguration.php @@ -2,6 +2,26 @@ namespace Codappix\SearchCore\Compatibility; -class ExtensionConfiguration extends \TYPO3\CMS\Core\Configuration\ExtensionConfiguration implements ExtensionConfigurationInterface +use Codappix\SearchCore\Bootstrap; + +class ExtensionConfiguration implements ExtensionConfigurationInterface { -} \ No newline at end of file + /** + * @return object|\TYPO3\CMS\Core\Configuration\ExtensionConfiguration + */ + protected function _base() + { + return Bootstrap::getObjectManager()->get(\TYPO3\CMS\Core\Configuration\ExtensionConfiguration::class); + } + + /** + * @param $extensionKey + * @return mixed + * @throws \TYPO3\CMS\Core\Configuration\Exception\ExtensionConfigurationExtensionNotConfiguredException + * @throws \TYPO3\CMS\Core\Configuration\Exception\ExtensionConfigurationPathDoesNotExistException + */ + public function get($extensionKey) + { + return $this->_base()->get($extensionKey); + } +}