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