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