Generate an opening label tag
Parameters: | null|array|ElementInterface – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Throws ExceptionDomainException: | |
Return type: | string |
Generate a form label, optionally with content
Always generates a “for” statement, as we cannot assume the form input will be provided in the $labelContent.
Parameters: |
|
---|---|
Throws ExceptionDomainException: | |
Return type: | string|FormLabel |