BUGFIX: Allow multiple instances with different configurations

In order to use the plugin with different configurations on same site,
we can not use ConfigurationContainerInterface as a Singleton.
This would prevents us from using different configuration setups.
This commit is contained in:
Daniel Siepmann 2018-03-20 10:19:45 +01:00
parent ca5339fb31
commit 32df6ff8ec
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -20,13 +20,11 @@ namespace Codappix\SearchCore\Configuration;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
use TYPO3\CMS\Core\SingletonInterface as Singleton;
/** /**
* Container of all configurations for extension. * Container of all configurations for extension.
* Always inject this to have a single place for configuration and parsing only once. * Always inject this to have a single place for configuration.
*/ */
interface ConfigurationContainerInterface extends Singleton interface ConfigurationContainerInterface
{ {
/** /**
* Returns the option defined by section and key. * Returns the option defined by section and key.