$snippet->render()
Renders the snippet and passes the scope with all slots and data
$snippet->render(array $data = [ ], array $slots = [ ]): string
Parameters
Name | Type | Default |
---|---|---|
$data | array |
[ ] |
$slots | array |
[ ] |
Return type
string
Renders the snippet and passes the scope with all slots and data
$snippet->render(array $data = [ ], array $slots = [ ]): string
Name | Type | Default |
---|---|---|
$data | array |
[ ] |
$slots | array |
[ ] |
string