Automattic\WooCommerce\Vendor\League\Container\ServiceProvider

ServiceProviderAggregate::getIterator()publicWC 1.0

{@inheritdoc}

Метод класса: ServiceProviderAggregate{}

Хуков нет.

Возвращает

null. Ничего.

Использование

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

Код ServiceProviderAggregate::getIterator() WC 7.5.1

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

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