Snippet::load()
Renders the template
Parameters
Name | Type | Default |
---|---|---|
$file | string |null |
null |
$data | array |
[ ] |
Return type
string
Exceptions
Type | Description |
---|---|
Throwable |
Parent class
Kirby\Template\Snippet
inherited from Kirby\Toolkit\Tpl