createElement($type, $name, $attributes); $decorator->decorate($element); $this->registerElement($element); $this->add($element); } }