Skip to content

Kirby 5.3.0

$translations->getIterator()

Returns an iterator for the elements

$translations->getIterator(): ArrayIterator

Return type

ArrayIterator<TKey, TValue>

This method modifies the existing $translations object it is applied to and returns it again.

Parent class

Kirby\Content\Translations inherited from Kirby\Toolkit\Iterator