src/BTR/RedisObjects/RedisList.php
public function trim(int $start, int $stop): bool
    {
        return $this->redis->ltrim($this->key, $start, $stop);
    }
public function trim(int $start, int $stop): bool
    {
        return $this->redis->ltrim($this->key, $start, $stop);
    }
@param int $start Keep all items with an index that is between $start...
@param int $stop  ...and $stop.

@return bool True on success. False otherwise.