1<?php 2 3namespace dokuwiki\Form; 4 5/** 6 * Class FieldsetCloseElement 7 * 8 * Closes an open Fieldset 9 * 10 * @package dokuwiki\Form 11 */ 12class FieldsetCloseElement extends TagCloseElement 13{ 14 /** 15 * @param array $attributes 16 */ 17 public function __construct($attributes = []) 18 { 19 parent::__construct('', $attributes); 20 $this->type = 'fieldsetclose'; 21 } 22 23 24 /** 25 * The HTML representation of this element 26 * 27 * @return string 28 */ 29 public function toHTML() 30 { 31 return '</fieldset>'; 32 } 33} 34