$kirby->snippet() Uses the snippet component to create and return a template snippet kirby/src/Cms/App.php#L1511 $kirby->snippet(mixed $name, array $data = [ ]): string|null Parameters Name Type Default $name * mixed – $data array [ ] Return type string|null Parent class Kirby\Cms\App