Snippet::begin()
Creates and opens a new snippet. This can be used directly in a template or via the slots() helper
Snippet::begin(?string $file, array $data = [ ]): Kirby\Template\Snippet
Parameters
Name | Type | Default |
---|---|---|
$file * | string |null |
– |
$data | array |
[ ] |