$files->add()
Adds a single file or an entire second collection to the current collection
$files->add(mixed $object): Kirby\Cms\Files
Parameters
| Name | Type | Default |
|---|---|---|
| $object * | mixed |
– |
Return type
This method modifies the existing $files object it is applied to and returns it again.