$snippet->slot()
Starts a new slot with the given name
$snippet->slot(string $name = 'default'): Kirby\Template\Slot
Parameters
Name | Type | Default |
---|---|---|
$name | string |
'default'
|
Return type
This method modifies the existing $snippet
object it is applied to and returns it again.