Skip to content

Kirby 6.0.0

$languages->not()

Returns a Collection without the given element(s)

$languages->not(object|array|string ...$keys): Languages

Parameters

Name Type Default Description
...$keys objectorarrayorstring no default value Any number of keys, objects or collections, as individual arguments or in arrays

Return type

Kirby\Cms\Languages

This method does not modify the existing $languages object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\Languages inherited from Kirby\Cms\Collection