$collection->not()
Returns a Collection without the given element(s)
$collection->not(string|array|object ...$keys): Kirby\Cms\Collection
Parameters
Name | Type | Default | Description |
---|---|---|---|
...$keys | string orarray orobject |
no default value | any number of keys, passed as individual arguments |
Return type
This method does not modify the existing $collection
object but returns a new object with the changes applied. Learn more →