$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\Cms\Translations
inherited from Kirby\Toolkit\Iterator