Skip to content

Kirby 4.5.0

$blocks->getIterator()

Get an iterator for the items.

$blocks->getIterator(): ArrayIterator

Return type

ArrayIterator

Parent class

Kirby\Cms\Blocks inherited from Kirby\Toolkit\Iterator