public function remove(array $params)
    {
        $key = array_get($params, 'key');
        $index = array_get($params, 'index');

        $lua = <<<'LUA'
redis.call('lset', KEYS[1], ARGV[1], '__DELETED__');
redis.call('lrem', KEYS[1], 1, '__DELETED__');
LUA;

        return $this->getConnection()->eval($lua, 1, $key, $index);
    }
public function remove(array $params)
    {
        $key = array_get($params, 'key');
        $index = array_get($params, 'index');

        $lua = <<<'LUA'
redis.call('lset', KEYS[1], ARGV[1], '__DELETED__');
redis.call('lrem', KEYS[1], 1, '__DELETED__');
LUA;

        return $this->getConnection()->eval($lua, 1, $key, $index);
    }
public function remove ( array $ params ) { $ key = array_get ( $ params , 'key' ) ; $ index = array_get ( $ params , 'index' ) ; $ lua =  <<<'LUA'
redis.call('lset', KEYS[1], ARGV[1], '__DELETED__');
redis.call('lrem', KEYS[1], 1, '__DELETED__');
LUA ; return $ this -> getConnection ( ) -> eval ( $ lua , 1 , $ key , $ index ) ; }
Remove a member from list by index.

@param array $params

@return mixed
Remove a member from list by index .