$users->remove()
Removes an object
$users->remove(string|User $key): Users
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $keyrequired | stringorKirby\Cms\User |
no default value | Key or object to remove |
Return type
This method modifies the existing $users object it is applied to and returns it again.
Parent class
Kirby\Cms\Users
inherited from Kirby\Cms\Collection