public function getClient()
    {
        return new RESTClient(
            $this->config['host'],
            $this->config['port'],
            $this->config['path'],
            $this->config['version'],
            $this->config['username'],
            $this->config['password'],
            $this->config['auth'],
            $this->config['logger']
        );
    }
public function getClient()
    {
        return new RESTClient(
            $this->config['host'],
            $this->config['port'],
            $this->config['path'],
            $this->config['version'],
            $this->config['username'],
            $this->config['password'],
            $this->config['auth'],
            $this->config['logger']
        );
    }
public function getClient ( ) { return new RESTClient ( $ this -> config [ 'host' ] , $ this -> config [ 'port' ] , $ this -> config [ 'path' ] , $ this -> config [ 'version' ] , $ this -> config [ 'username' ] , $ this -> config [ 'password' ] , $ this -> config [ 'auth' ] , $ this -> config [ 'logger' ] ) ; }
Return a REST client based on current configuration.

@return RESTClient
Return a REST client based on current configuration .