$users->remove()
Removes an object
$users->remove(string|Kirby\Cms\User $key): Kirby\Cms\Users
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $keyrequired | stringorKirby\Cms\User |
no default value | the name of the key |
Return type
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\Cms\Collection