Automattic\WooCommerce\Vendor\League\ISO3166
ISO3166::getIterator
Method of the class: ISO3166{}
No Hooks.
Returns
\Generator
Usage
$ISO3166 = new ISO3166(); $ISO3166->getIterator(): \Generator;
Notes
- See: \IteratorAggregate
ISO3166::getIterator() ISO3166::getIterator code WC 10.3.6
public function getIterator(): \Generator
{
foreach ($this->countries as $country) {
yield $country;
}
}