WordPress at a glance
function is not described

Automattic\WooCommerce\Vendor\League\Container\Definition

DefinitionAggregate::getIterator() public WC 1.0

{@inheritdoc}

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

No Hooks.

Return

Null. Nothing.

Usage

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

Code of DefinitionAggregate::getIterator() WC 5.0.0

<?php
public function getIterator() : Generator
{
    $count = count($this->definitions);

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