Skip to content

Kirby 4.5.0

$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\Blueprint\Collection inherited from Kirby\Toolkit\Collection