search_core/Classes/Compatibility/ExtensionConfiguration.php

27 lines
791 B
PHP

<?php
namespace Codappix\SearchCore\Compatibility;
use Codappix\SearchCore\Bootstrap;
class ExtensionConfiguration implements ExtensionConfigurationInterface
{
/**
* @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);
}
}