# Template

Custom template class for lab examples

****

- Full class name: `Kirby\Panel\Lab\Template`
- Source: <https://github.com/getkirby/kirby/tree/5.5.3/src/Panel/Lab/Template.php#L19>

****

### Template

- [new Template()](https://getkirby.com/docs/reference/objects/panel-lab/template/__construct.md)
- [$template->__toString()](https://getkirby.com/docs/reference/objects/panel-lab/template/__to-string.md)
- [$template->defaultType()](https://getkirby.com/docs/reference/objects/panel-lab/template/default-type.md)
- [$template->exists()](https://getkirby.com/docs/reference/objects/panel-lab/template/exists.md)
- [$template->extension()](https://getkirby.com/docs/reference/objects/panel-lab/template/extension.md)
- [$template->file()](https://getkirby.com/docs/reference/objects/panel-lab/template/file.md)
- [$template->hasDefaultType()](https://getkirby.com/docs/reference/objects/panel-lab/template/has-default-type.md)
- [$template->name()](https://getkirby.com/docs/reference/objects/panel-lab/template/name.md)
- [$template->render()](https://getkirby.com/docs/reference/objects/panel-lab/template/render.md)
- [$template->root()](https://getkirby.com/docs/reference/objects/panel-lab/template/root.md)
- [$template->store()](https://getkirby.com/docs/reference/objects/panel-lab/template/store.md)
- [$template->type()](https://getkirby.com/docs/reference/objects/panel-lab/template/type.md)