diff --git a/lib/BridgeAbstract.php b/lib/BridgeAbstract.php index 61eafb57..e58ddb91 100644 --- a/lib/BridgeAbstract.php +++ b/lib/BridgeAbstract.php @@ -58,8 +58,6 @@ abstract class BridgeAbstract implements BridgeInterface /** * Configuration for the bridge - * - * Use {@see BridgeAbstract::getConfiguration()} to read this parameter */ const CONFIGURATION = []; @@ -113,6 +111,11 @@ abstract class BridgeAbstract implements BridgeInterface */ protected $queriedContext = ''; + /** + * Holds the list of bridge-specific configurations from config.ini.php, used by the bridge. + */ + private array $configuration = []; + /** {@inheritdoc} */ public function getItems() { @@ -365,12 +368,6 @@ abstract class BridgeAbstract implements BridgeInterface return static::URI . '/favicon.ico'; } - /** {@inheritdoc} */ - public function getConfiguration() - { - return static::CONFIGURATION; - } - /** {@inheritdoc} */ public function getParameters() { diff --git a/lib/BridgeInterface.php b/lib/BridgeInterface.php index b461ed12..977ad7f6 100644 --- a/lib/BridgeInterface.php +++ b/lib/BridgeInterface.php @@ -60,11 +60,6 @@ interface BridgeInterface */ public function collectData(); - /** - * Get the user's supplied configuration for the bridge - */ - public function getConfiguration(); - /** * Returns the value for the selected configuration *