public function getServerConfiguration(string $serverId)
    {
        if (!$this->hasServerConfiguration($serverId)) {
            return array();
        }
        //====================================================================//
        //  Populate Servers Config From Parameters
        $configuration = $this->configuration['connections'][$serverId]['config'];
        //====================================================================//
        //  Complete Servers Config From Cache
        if ($this->configuration['cache']['enabled']) {
            $configuration = array_replace_recursive(
                $configuration,
                $this->getConnectorConfigurationFromCache($serverId)
            );
        }

        return $configuration;
    }
public function getServerConfiguration(string $serverId)
    {
        if (!$this->hasServerConfiguration($serverId)) {
            return array();
        }
        //====================================================================//
        //  Populate Servers Config From Parameters
        $configuration = $this->configuration['connections'][$serverId]['config'];
        //====================================================================//
        //  Complete Servers Config From Cache
        if ($this->configuration['cache']['enabled']) {
            $configuration = array_replace_recursive(
                $configuration,
                $this->getConnectorConfigurationFromCache($serverId)
            );
        }

        return $configuration;
    }
public function getServerConfiguration ( string $ serverId ) { if ( ! $ this -> hasServerConfiguration ( $ serverId ) ) { return array ( ) ; } //====================================================================// //  Populate Servers Config From Parameters $ configuration = $ this -> configuration [ 'connections' ] [ $ serverId ] [ 'config' ] ; //====================================================================// //  Complete Servers Config From Cache if ( $ this -> configuration [ 'cache' ] [ 'enabled' ] ) { $ configuration = array_replace_recursive ( $ configuration , $ this -> getConnectorConfigurationFromCache ( $ serverId ) ) ; } return $ configuration ; }
Get Connector Configuration for a Specified Server

@param string $serverId

@return array
Get Connector Configuration for a Specified Server