# Slots

The slots collection is simplifying slot access. Slots can be accessed with `$slots->heading()` and accessing a non-existing slot will simply return null.

****

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

****

### Slots

- [$slots->__call()](https://getkirby.com/docs/reference/objects/template/slots/__call.md)
- [new Slots()](https://getkirby.com/docs/reference/objects/template/slots/__construct.md)
- [$slots->__get()](https://getkirby.com/docs/reference/objects/template/slots/__get.md)
- [$slots->count()](https://getkirby.com/docs/reference/objects/template/slots/count.md)