Skip to content

Kirby 5.2.1

$template->__toString()

Converts the object to a simple string This is used in template filters for example

$template->__toString(): string

Return type

string

This method modifies the existing $template object it is applied to and returns it again.

Parent class

Kirby\Panel\Lab\Template inherited from Kirby\Template\Template