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