public function add($enumerator): void
    {
        $this->{$this->fnDoSetBit}(($this->enumeration)::get($enumerator)->getOrdinal());
    }
public function add($enumerator): void
    {
        $this->{$this->fnDoSetBit}(($this->enumeration)::get($enumerator)->getOrdinal());
    }
public function add ( $ enumerator ) : void { $ this -> { $ this -> fnDoSetBit } ( ( $ this -> enumeration ) :: get ( $ enumerator ) -> getOrdinal ( ) ) ; }
Adds an enumerator object or value
@param Enum|null|bool|int|float|string|array $enumerator Enumerator object or value
@return void
@throws InvalidArgumentException On an invalid given enumerator
Adds an enumerator object or value