# Slot

The slot class catches all content between the beginning and the end of a slot. Slot content is then stored in the Slots collection.

****

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

****

### Slot

- [new Slot()](https://getkirby.com/docs/reference/objects/template/slot/__construct.md)
- [$slot->__toString()](https://getkirby.com/docs/reference/objects/template/slot/__to-string.md)
- [Slot::begin()](https://getkirby.com/docs/reference/objects/template/slot/begin.md)
- [$slot->close()](https://getkirby.com/docs/reference/objects/template/slot/close.md)
- [Slot::end()](https://getkirby.com/docs/reference/objects/template/slot/end.md)
- [$slot->isOpen()](https://getkirby.com/docs/reference/objects/template/slot/is-open.md)
- [$slot->name()](https://getkirby.com/docs/reference/objects/template/slot/name.md)
- [$slot->open()](https://getkirby.com/docs/reference/objects/template/slot/open.md)
- [$slot->render()](https://getkirby.com/docs/reference/objects/template/slot/render.md)