Skip to content

Kirby 3.9.8

$collection->groupBy()

$collection->groupBy(...$args = null): Kirby\Toolkit\Collection

Parameters

Name Type Default
... $args mixed null

Return type

Kirby\Toolkit\Collection

Exceptions

Type Description
Exception

Parent class

Kirby\Cms\Collection inherited from Kirby\Toolkit\Collection