/** * {@inheritdoc} */ public function addChild(ElementInterface $element) { $this->children->add($element); return $element; }