Skip to content

Kirby 4.3.0


Closes the snippet and catches the default slot if no slots have been defined in between opening and closing.

$snippet->close(): Kirby\Template\Snippet

Return type


This method does not modify the existing $snippet object but returns a new object with the changes applied. Learn more →

Parent class