Skip to content

Kirby 5.1.2

$versions->not()

Returns a Collection without the given element(s)

$versions->not(string|array|object ...$keys): Kirby\Content\Versions

Parameters

Name Type Default Description
...$keys stringorarrayorobject no default value any number of keys,
passed as individual arguments

Return type

Kirby\Content\Versions

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