src/Adapters/Redis.php
protected function getVersion()
    {
        if ($this->version === null) {
            $info = $this->client->info();
            $this->version = $info['redis_version'];
        }

        return $this->version;
    }
protected function getVersion()
    {
        if ($this->version === null) {
            $info = $this->client->info();
            $this->version = $info['redis_version'];
        }

        return $this->version;
    }
protected function getVersion ( ) { if ( $ this -> version === null ) { $ info = $ this -> client -> info ( ) ; $ this -> version = $ info [ 'redis_version' ] ; } return $ this -> version ; }
Returns the version of the Redis server we're connecting to.

@return string
Returns the version of the Redis server we re connecting to .