/** * Render the property's closing tag (and the entity wrapper's if we're in * standalone mode) * * {@inheritDoc} * * @api */ public function renderEnd() { $output = parent::renderEnd(); if ($this->_render_standalone) { $output .= $this->_parent->renderEnd(); $this->_render_standalone = false; } return $output; }
public function getAttribute($key) { if ('about' === $key && !isset($this->_attributes['about'])) { $this->ensureAbout(); } return parent::getAttribute($key); }