/** * @throws ElementIsEmpty if the element has no options. * * @see Brickrouge.Element::render_outer_html() */ protected function render_outer_html() { if (!$this[Element::OPTIONS]) { throw new ElementIsEmpty(); } return parent::render_outer_html(); }