$pages->add()
Adds a single page or an entire second collection to the current collection
Parameters
Name | Type | Default |
---|---|---|
$object * | mixed |
– |
Return type
This method modifies the existing $pages
object it is applied to and returns it again.
Exceptions
Type | Description |
---|---|
Kirby\Exception\InvalidArgumentException |