protected function getConfiguration($key = null)
    {
        return $key ? static::$config[$this->getProtocol()][$key] : static::$config[$this->getProtocol()];
    }
protected function getConfiguration($key = null)
    {
        return $key ? static::$config[$this->getProtocol()][$key] : static::$config[$this->getProtocol()];
    }
protected function getConfiguration ( $ key = null ) { return $ key ? static :: $ config [ $ this -> getProtocol ( ) ] [ $ key ] : static :: $ config [ $ this -> getProtocol ( ) ] ; }
Returns the configuration.

@param string|null $key The optional configuration key.

@return array The requested configuration.
Returns the configuration .