protected function setEventsNode(InputInterface $input, \SimpleXMLElement $configXml) { if ($this->hasAddEventsOption($input)) { $this->addEvent($configXml, $this->configNodes['events_area'], $this->configNodes['event_name']); } }