public function removeIterable(iterable $enumerators): void
    {
        $bitset = $this->bitset;

        try {
            foreach ($enumerators as $enumerator) {
                $this->{$this->fnDoUnsetBit}(($this->enumeration)::get($enumerator)->getOrdinal());
            }
        } catch (\Throwable $e) {
            // reset all changes until error happened
            $this->bitset = $bitset;
            throw $e;
        }
    }
public function removeIterable(iterable $enumerators): void
    {
        $bitset = $this->bitset;

        try {
            foreach ($enumerators as $enumerator) {
                $this->{$this->fnDoUnsetBit}(($this->enumeration)::get($enumerator)->getOrdinal());
            }
        } catch (\Throwable $e) {
            // reset all changes until error happened
            $this->bitset = $bitset;
            throw $e;
        }
    }
public function removeIterable ( iterable $ enumerators ) : void { $ bitset = $ this -> bitset ; try { foreach ( $ enumerators as $ enumerator ) { $ this -> { $ this -> fnDoUnsetBit } ( ( $ this -> enumeration ) :: get ( $ enumerator ) -> getOrdinal ( ) ) ; } } catch ( \ Throwable $ e ) { // reset all changes until error happened $ this -> bitset = $ bitset ; throw $ e ; } }
Removes all enumerator objects or values of the given iterable
@param iterable $enumerators Iterable list of enumerator objects or values
@return void
@throws InvalidArgumentException On an invalid given enumerator
Removes all enumerator objects or values of the given iterable