Skip to main content

Container

Helper for rendering containers


Methods

__invoke

Generates a 'container' element

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

Parameters:

ParameterTypeDescription
$contentstringThe content of the abbreviation
$containerbool|stringThe type of container
$attributesiterableHtml attributes of the "<abbr>" element
$escapeboolTrue espace html content '$content'. Default True

Return Value:

The container XHTML.