Merx

$productList->getIterator()

Returns an iterator for the elements

$productList->getIterator(): PhpIterator<TKey, TValue>

Return type

PhpIterator<TKey, TValue>

Parent class

Wagnerwagner\Merx\ProductList inherited from Kirby\Toolkit\Iterator