Skip to content

Kirby 5.0.4

$snippet->slots()

Returns the slots collection

$snippet->slots(): Kirby\Template\Slots

Return type

Kirby\Template\Slots

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

Parent class

Kirby\Template\Snippet