$users->search()
Searches the collection
$users->search(string|null $query = null, array|string $params = [ ]): Kirby\Cms\Users
Parameters
Name | Type | Default |
---|---|---|
$query | string ornull |
null
|
$params | array orstring |
[ ]
|
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