public function get($type, $key)
    {
        $redisKey = "{$this->prefix}.$type.$key";
        $value = $this->redis->get($redisKey);

        if (is_null($value)) {
            return null;
        }

        return unserialize($value);
    }
public function get($type, $key)
    {
        $redisKey = "{$this->prefix}.$type.$key";
        $value = $this->redis->get($redisKey);

        if (is_null($value)) {
            return null;
        }

        return unserialize($value);
    }
public function get ( $ type , $ key ) { $ redisKey = "{$this->prefix}.$type.$key" ; $ value = $ this -> redis -> get ( $ redisKey ) ; if ( is_null ( $ value ) ) { return null ; } return unserialize ( $ value ) ; }
Retrieve a value from Redis

@param string $type The datatype
@param string $key  The key
@return mixed|NULL  The value
Retrieve a value from Redis