src/Wtk/Redis/ClientFactory.php
public function addConfiguration($name, array $config)
    {
        if(array_key_exists($name, $this->configs)) {
            throw new \RuntimeException(
                "Connection with given name already exists!"
            );
        }

        $this->configs[$name] = $config;
    }
public function addConfiguration($name, array $config)
    {
        if(array_key_exists($name, $this->configs)) {
            throw new \RuntimeException(
                "Connection with given name already exists!"
            );
        }

        $this->configs[$name] = $config;
    }
public function addConfiguration ( $ name , array $ config ) { if ( array_key_exists ( $ name , $ this -> configs ) ) { throw new \ RuntimeException ( "Connection with given name already exists!" ) ; } $ this -> configs [ $ name ] = $ config ; }
Adds connection config

@param  string     $name
@param  array      $config

@throws RuntimeException

@return void
Adds connection config