Aerospike\LDT\LList::remove PHP Method

remove() public method

Atomic elements (integer, string) will be directly compared. In complex types (array) the value of a key named 'key' is used to identify the element which is to be removed.
public remove ( integer | string $value ) : integer
$value integer | string
return integer status code of the operation
    public function remove($value)
    {
        if (!is_string($value) && !is_int($value)) {
            $this->errorno = self::ERR_INPUT_PARAM;
            $this->error = self::MSG_TYPE_NOT_ATOMIC;
            return $this->errorno;
        }
        $status = $this->client->apply($this->key, 'llist', 'remove', array($this->bin, $value));
        $this->processStatusCode($status);
        return $this->errorno;
    }