TitleTag
final class TitleTag implements TagInterface (View source)
Renders an escaped document title when a title is available.
Traits
Methods
__construct(string|null $title)
Initializes the optional title content.
render()
Renders the title element or suppresses it for empty content.
string
Details
__construct
__construct(string|null $title)
Initializes the optional title content.
render
string
render()
Renders the title element or suppresses it for empty content.