src/LdapTools/AttributeConverter/ConvertGroupType.php
protected function modifyBitmaskValue($flags, $toggle, $flagName)
    {
        $bit = $this->getBitForAttribute($flagName);

        if ($toggle) {
            $flags->add($bit);
        } else {
            $flags->remove($bit);
        }
    }
protected function modifyBitmaskValue($flags, $toggle, $flagName)
    {
        $bit = $this->getBitForAttribute($flagName);

        if ($toggle) {
            $flags->add($bit);
        } else {
            $flags->remove($bit);
        }
    }
protected function modifyBitmaskValue ( $ flags , $ toggle , $ flagName ) { $ bit = $ this -> getBitForAttribute ( $ flagName ) ; if ( $ toggle ) { $ flags -> add ( $ bit ) ; } else { $ flags -> remove ( $ bit ) ; } }
Modify the existing value based on the attributes bit.

@param FlagEnumInterface $flags
@param bool $toggle
@param string $flagName
Modify the existing value based on the attributes bit .