Skip to content

Kirby 6.0.0

$users->extend()

Adds all elements to a cloned collection

$users->extend(mixed $items): Users

Parameters

Name Type Default
$itemsrequired mixed no default value

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 inherited from Kirby\Toolkit\Collection