Snippet::file()
Absolute path to the file for the snippet/s taking snippets defined in plugins into account
Snippet::file(array|string $name): string|null
Parameters
| Name | Type | Default |
|---|---|---|
| $namerequired | arrayorstring |
no default value |
Return types
stringornull
Parent class
Kirby\Panel\Lab\Snippet
inherited from Kirby\Template\Snippet