final class AlternateLinkTag extends AbstractTag (View source)

Renders an alternate-language link tag from a language code and URL.

Traits

Methods

__construct(string $key, string|null $content)

Initializes the tag's attribute value and optional content.

string
string
string from AbstractTag
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.

Parameters

string $key
string|null $content

template

protected string template()

No description

Return Value

string

render

string render()

Renders the concrete tag template or suppresses it for empty content.

Return Value

string