CharsetTag
final class CharsetTag implements TagInterface (View source)
Renders an escaped character-set declaration when one is configured.
Methods
__construct(string|null $charset)
Initializes the optional character-set value.
render()
Renders the character-set declaration or suppresses it for empty content.
string
Details
__construct
__construct(string|null $charset)
Initializes the optional character-set value.
render
string
render()
Renders the character-set declaration or suppresses it for empty content.