2018-10-30 11:13:56 +01:00
|
|
|
<?php
|
2018-10-30 11:30:06 +01:00
|
|
|
namespace Codappix\SearchCore\Compatibility;
|
2018-10-30 11:13:56 +01:00
|
|
|
|
2018-10-30 13:02:34 +01:00
|
|
|
use Codappix\SearchCore\Bootstrap;
|
|
|
|
|
|
|
|
class ExtensionConfiguration implements ExtensionConfigurationInterface
|
2018-10-30 11:13:56 +01:00
|
|
|
{
|
2018-10-30 13:02:34 +01:00
|
|
|
/**
|
|
|
|
* @return object|\TYPO3\CMS\Core\Configuration\ExtensionConfiguration
|
|
|
|
*/
|
2019-05-05 09:53:00 +02:00
|
|
|
private function base()
|
2018-10-30 13:02:34 +01:00
|
|
|
{
|
|
|
|
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)
|
|
|
|
{
|
2019-05-05 09:53:00 +02:00
|
|
|
return $this->base()->get($extensionKey);
|
2018-10-30 13:02:34 +01:00
|
|
|
}
|
|
|
|
}
|