src/Yggdrasil/Utils/Templating/FormExtension.php
private function createCaption(string $text, string $name): Markup
    {
        return HtmlTag::createElement('small')
            ->set('id', $name . '_caption')
            ->text($text);
    }
private function createCaption(string $text, string $name): Markup
    {
        return HtmlTag::createElement('small')
            ->set('id', $name . '_caption')
            ->text($text);
    }
private function createCaption ( string $ text , string $ name ) : Markup { return HtmlTag :: createElement ( 'small' ) -> set ( 'id' , $ name . '_caption' ) -> text ( $ text ) ; }
Creates caption for form field

@param string $text Caption text
@param string $name Element name
@return Markup
Creates caption for form field