$versions->search()
Searches the collection
$versions->search(string|null $query = null, array|string $params = [ ]): Kirby\Content\Versions
Parameters
Name | Type | Default |
---|---|---|
$query | string ornull |
null
|
$params | array orstring |
[ ]
|
Return type
This method does not modify the existing $versions
object but returns a new object with the changes applied. Learn more →
Parent class
Kirby\Content\Versions
inherited from Kirby\Cms\Collection