Automattic\WooCommerce\Vendor\League\Container\Inflector

InflectorAggregate::getIterator()publicWC 1.0

{@inheritdoc}

Method of the class: InflectorAggregate{}

No Hooks.

Return

null. Nothing (null).

Usage

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

InflectorAggregate::getIterator() code WC 8.9.0

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

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