$blocks->add()
Adds a single object or an entire second collection to the current collection
$blocks->add(mixed $object)
Parameters
| Name | Type | Default |
|---|---|---|
| $object * | mixed |
– |
Parent class
Kirby\Cms\Blocks inherited from Kirby\Cms\Collection