Skip to content

Kirby 4.5.0

$segments->getIterator()

Get an iterator for the items.

$segments->getIterator(): ArrayIterator

Return type

ArrayIterator

Parent class

Kirby\Query\Segments inherited from Kirby\Toolkit\Iterator