mirror of
https://github.com/Codappix/search_core.git
synced 2024-12-29 11:36:10 +01:00
Daniel Siepmann
c940ac4497
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.
26 lines
786 B
PHP
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);
|
|
}
|
|
}
|