public function setTriggerOn($triggerOn)
    {
        $this->triggerOn = is_array($triggerOn) ? implode(' ', $triggerOn) : (string) $triggerOn;
        
        return $this;
    }
public function setTriggerOn($triggerOn)
    {
        $this->triggerOn = is_array($triggerOn) ? implode(' ', $triggerOn) : (string) $triggerOn;
        
        return $this;
    }
public function setTriggerOn ( $ triggerOn ) { $ this -> triggerOn = is_array ( $ triggerOn ) ? implode ( ' ' , $ triggerOn ) : ( string ) $ triggerOn ; return $ this ; }
Defines the value of the triggerOn attribute.

@param string|array $triggerOn

@return $this
Defines the value of the triggerOn attribute .