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\Panel\Lab\Snippet
Parameters
| Name | Type | Default |
|---|---|---|
| $file | stringornull |
no default value |
| $data | array |
[ ]
|
Return type
Parent class
Kirby\Panel\Lab\Snippet
inherited from Kirby\Template\Snippet