mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-25 15:56:11 +01:00
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:
parent
ca5339fb31
commit
32df6ff8ec
1 changed files with 2 additions and 4 deletions
|
@ -20,13 +20,11 @@ namespace Codappix\SearchCore\Configuration;
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
use TYPO3\CMS\Core\SingletonInterface as Singleton;
|
||||
|
||||
/**
|
||||
* 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.
|
||||
|
|
Loading…
Reference in a new issue