public function getElement() { $element = new TextElement('foo'); $element->setView($this->getView()); $this->decorator->setElement($element); return $element; }