# Snippet

Custom snippet class for lab examples

****

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

****

### Snippet

- [new Snippet()](https://getkirby.com/docs/reference/objects/panel-lab/snippet/__construct.md)
- [Snippet::begin()](https://getkirby.com/docs/reference/objects/panel-lab/snippet/begin.md)
- [$snippet->close()](https://getkirby.com/docs/reference/objects/panel-lab/snippet/close.md)
- [Snippet::end()](https://getkirby.com/docs/reference/objects/panel-lab/snippet/end.md)
- [$snippet->endslot()](https://getkirby.com/docs/reference/objects/panel-lab/snippet/endslot.md)
- [Snippet::factory()](https://getkirby.com/docs/reference/objects/panel-lab/snippet/factory.md)
- [Snippet::file()](https://getkirby.com/docs/reference/objects/panel-lab/snippet/file.md)
- [$snippet->hasSlots()](https://getkirby.com/docs/reference/objects/panel-lab/snippet/has-slots.md)
- [Snippet::load()](https://getkirby.com/docs/reference/objects/panel-lab/snippet/load.md)
- [$snippet->open()](https://getkirby.com/docs/reference/objects/panel-lab/snippet/open.md)
- [$snippet->parent()](https://getkirby.com/docs/reference/objects/panel-lab/snippet/parent.md)
- [$snippet->render()](https://getkirby.com/docs/reference/objects/panel-lab/snippet/render.md)
- [Snippet::root()](https://getkirby.com/docs/reference/objects/panel-lab/snippet/root.md)
- [$snippet->slot()](https://getkirby.com/docs/reference/objects/panel-lab/snippet/slot.md)
- [$snippet->slots()](https://getkirby.com/docs/reference/objects/panel-lab/snippet/slots.md)