Skip to content

$users->add()

Adds a single user or an entire second collection to the current collection

$users->add(mixed $object): Kirby\Cms\Users

Parameters

Name Type Default
$object * mixed

Return type

Kirby\Cms\Users

This method does not modify the existing $users object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\Users