TwitterTag
final class TwitterTag extends AbstractTag (View source)
Renders a Twitter Card metadata declaration.
Traits
Methods
__construct(string $key, string|null $content)
Initializes the tag's attribute value and optional content.
template()
string
render()
Renders the concrete tag template or suppresses it for empty content.
string
Details
__construct
__construct(string $key, string|null $content)
Initializes the tag's attribute value and optional content.
template
protected string
template()
No description
render
string
render()
Renders the concrete tag template or suppresses it for empty content.