src/UnsetManyCapableTrait.php
protected function _unsetMany($keys)
    {
        $keys  = $this->_normalizeIterable($keys);
        $store = $this->_getDataStore();

        try {
            $this->_containerUnsetMany($store, $keys);
        } catch (InvalidArgumentException $e) {
            throw $this->_createOutOfRangeException($this->__('Invalid store'), null, $e, $store);
        }
    }
protected function _unsetMany($keys)
    {
        $keys  = $this->_normalizeIterable($keys);
        $store = $this->_getDataStore();

        try {
            $this->_containerUnsetMany($store, $keys);
        } catch (InvalidArgumentException $e) {
            throw $this->_createOutOfRangeException($this->__('Invalid store'), null, $e, $store);
        }
    }
Unset data by keys.

@since [*next-version*]

@param string[]|int[]|float[]|bool[]|Stringable[]|stdClass|Traversable $keys The keys of data to unset.

@throws InvalidArgumentException    If the list of keys is invalid.
@throws OutOfRangeException         If the internal store or one of the keys is invalid.
@throws NotFoundExceptionInterface  If one of the keys is not found.
@throws ContainerExceptionInterface If problem accessing the container.