Signed-off-by: Joas Schilling <coding@schilljs.com>
/** @var string */
protected $icon = '';
+ /** @var IEvent */
+ protected $child = null;
/** @var IValidator */
protected $richValidator;
return $this->icon;
}
+ /**
+ * @param IEvent $child
+ * @since 9.2.0
+ */
+ public function setChildEvent(IEvent $child) {
+ $this->child = $child;
+ }
+
+ /**
+ * @return IEvent|null
+ * @since 9.2.0
+ */
+ public function getChildEvent() {
+ return $this->child;
+ }
+
/**
* @return bool
* @since 8.2.0
*/
public function getIcon();
+ /**
+ * @param IEvent $child
+ * @since 9.2.0
+ */
+ public function setChildEvent(IEvent $child);
+
+ /**
+ * @return IEvent|null
+ * @since 9.2.0
+ */
+ public function getChildEvent();
+
/**
* @return bool
* @since 9.2.0