Automattic\WooCommerce\Vendor\League\Container\ServiceProvider

ServiceProviderAggregate::getIterator()publicWC 1.0

{@inheritdoc}

Method of the class: ServiceProviderAggregate{}

No Hooks.

Return

null. Nothing (null).

Usage

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

ServiceProviderAggregate::getIterator() code WC 8.9.0

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

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