src/Wtk/Redis/ClientFactory.php
public function create($name)
    {
        $config = $this->getConfiguration($name);

        if(null === $config) {
            throw new \RuntimeException(
                "Connection with name: $name not found."
            );
        }

        return new Client($config);
    }
public function create($name)
    {
        $config = $this->getConfiguration($name);

        if(null === $config) {
            throw new \RuntimeException(
                "Connection with name: $name not found."
            );
        }

        return new Client($config);
    }
public function create ( $ name ) { $ config = $ this -> getConfiguration ( $ name ) ; if ( null === $ config ) { throw new \ RuntimeException ( "Connection with name: $name not found." ) ; } return new Client ( $ config ) ; }
Creates new redis client

@param  string     $name

@throws RuntimeException

@return Predis\ClientInterface
Creates new redis client