Merx

$cart->getIterator()

Returns an iterator for the elements

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

Return type

PhpIterator<TKey, TValue>

Parent class

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