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