class Link implements ElementContract

Properties

string $label

Methods

__construct(string $url, string|null $label = null, bool $underline = true)

Create a new link element.

string
__toString()

Render the link element.

Details

at line 14
__construct(string $url, string|null $label = null, bool $underline = true)

Create a new link element.

Parameters

string $url
string|null $label
bool $underline

at line 25
string __toString()

Render the link element.

Return Value

string