Automattic\WooCommerce\Vendor\League\Container\Definition
DefinitionAggregate::getIterator()
{@inheritdoc}
Method of the class: DefinitionAggregate{}
No Hooks.
Return
null
. Nothing (null).
Usage
$DefinitionAggregate = new DefinitionAggregate(); $DefinitionAggregate->getIterator() : Generator;
DefinitionAggregate::getIterator() DefinitionAggregate::getIterator code WC 9.8.2
public function getIterator() : Generator { $count = count($this->definitions); for ($i = 0; $i < $count; $i++) { yield $this->definitions[$i]; } }