public function withIterable(iterable $enumerators): self
    {
        $clone = clone $this;
        foreach ($enumerators as $enumerator) {
            $clone->{$this->fnDoSetBit}(($this->enumeration)::get($enumerator)->getOrdinal());
        }
        return $clone;
    }
public function withIterable(iterable $enumerators): self
    {
        $clone = clone $this;
        foreach ($enumerators as $enumerator) {
            $clone->{$this->fnDoSetBit}(($this->enumeration)::get($enumerator)->getOrdinal());
        }
        return $clone;
    }
public function withIterable ( iterable $ enumerators ) : self { $ clone = clone $ this ; foreach ( $ enumerators as $ enumerator ) { $ clone -> { $ this -> fnDoSetBit } ( ( $ this -> enumeration ) :: get ( $ enumerator ) -> getOrdinal ( ) ) ; } return $ clone ; }
Creates a new set with the given enumeration objects or values added
@param iterable $enumerators Iterable list of enumerator objects or values
@return static
@throws InvalidArgumentException On an invalid given enumerator
Creates a new set with the given enumeration objects or values added