src/BTR/RedisObjects/RedisList.php
public function remove($value, int $count = 0): int
    {
        return $this->redis->lrem($this->key, $count, $this->serialize($value));
    }
public function remove($value, int $count = 0): int
    {
        return $this->redis->lrem($this->key, $count, $this->serialize($value));
    }
@param mixed $value                              Value to search for.
@param int   $count                              Positive: Search from head to tail and remove $count items.
Negative: Search from tail to head and remove -$count items.
Zero: Remove all items that are equal to $value.

@return int The number of removed items.