Skip to content

Kirby 4.1.0

$structure->groupBy()

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