public function isEqual(EnumSet $other): bool
    {
        return $this->enumeration === $other->enumeration
            && $this->bitset === $other->bitset;
    }
public function isEqual(EnumSet $other): bool
    {
        return $this->enumeration === $other->enumeration
            && $this->bitset === $other->bitset;
    }
public function isEqual ( EnumSet $ other ) : bool { return $ this -> enumeration === $ other -> enumeration && $ this -> bitset === $ other -> bitset ; }
Check if this EnumSet is the same as other
@param EnumSet $other
@return bool
Check if this EnumSet is the same as other