public function render(AbstractElement $element) { $this->element = $element; return $this->toHtml(); }