WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Vendor\League\Container\Inflector

InflectorAggregate::getIterator() public WC 1.0

{@inheritdoc}

{} It's a method of the class: InflectorAggregate{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of InflectorAggregate::getIterator() WC 5.7.1

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

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