search_core/Classes/Compatibility/ExtensionConfiguration.php
Daniel Siepmann c940ac4497
Fix CGL issues
Do not introduce unnecessary changes into pull request for TYPO3 CMS 9
update.

* Trim trailing whitespace.
* Do not introduce blank line before namespace definition with this pull
  request.
* Add posix new line at end of file.
2019-05-05 09:57:19 +02:00

26 lines
786 B
PHP

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