Automattic\WooCommerce\Vendor\League\Container\Inflector

InflectorAggregate::getIteratorpublicWC 1.0

{@inheritdoc}

Method of the class: InflectorAggregate{}

No Hooks.

Returns

null. Nothing (null).

Usage

$InflectorAggregate = new InflectorAggregate();
$InflectorAggregate->getIterator() : Generator;

InflectorAggregate::getIterator() code WC 9.9.3

public function getIterator() : Generator
{
    $count = count($this->inflectors);

    for ($i = 0; $i < $count; $i++) {
        yield $this->inflectors[$i];
    }
}