mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-23 06:16:12 +01:00
27 lines
791 B
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);
|
|
}
|
|
}
|