protected function setModifiers($modifiers)
    {
        if (is_array($modifiers) === true) {
            $modifiersArray = $modifiers;
            $modifiers = Modifiers::MODIFIER_NONE;
            foreach ($modifiersArray as $modifier) {
                $modifiers |= $modifier;
            }
        }

        $this->modifiers = $modifiers;
    }
protected function setModifiers($modifiers)
    {
        if (is_array($modifiers) === true) {
            $modifiersArray = $modifiers;
            $modifiers = Modifiers::MODIFIER_NONE;
            foreach ($modifiersArray as $modifier) {
                $modifiers |= $modifier;
            }
        }

        $this->modifiers = $modifiers;
    }
protected function setModifiers ( $ modifiers ) { if ( is_array ( $ modifiers ) === true ) { $ modifiersArray = $ modifiers ; $ modifiers = Modifiers :: MODIFIER_NONE ; foreach ( $ modifiersArray as $ modifier ) { $ modifiers |= $ modifier ; } } $ this -> modifiers = $ modifiers ; }
Set modifiers for the member.

@param integer|array $modifiers The modifiers to set.
Set modifiers for the member .