Skip to main content

Lead

Helper for rendering leads (Make a paragraph stand out)


Methods

__invoke

Generates an 'lead' element

public __invoke(string $content, iterable $attributes = [], bool $escape = true): string

Parameters:

ParameterTypeDescription
$contentstringThe content of the lead
$attributesiterableHtml attributes of the "<abbr>" element
$escapeboolTrue espace html content '$content'. Default True

Return Value:

The abbreviation XHTML.