core-bundle/src/Resources/contao/forms/FormFieldsetStart.php
public function generate()
	{
		return sprintf('<fieldset%s>%s',
						($this->strClass ? ' class="' . $this->strClass . '"' : ''),
						($this->label ? '<legend>' . $this->label . '</legend>' : ''));
	}
public function generate()
	{
		return sprintf('<fieldset%s>%s',
						($this->strClass ? ' class="' . $this->strClass . '"' : ''),
						($this->label ? '<legend>' . $this->label . '</legend>' : ''));
	}
Generate the widget and return it as string

@return string The widget markup