Automattic\WooCommerce\Vendor\GraphQL\Language\AST
NodeList::getIterator
Method of the class: NodeList{}
No Hooks.
Returns
null. Nothing (null).
Usage
$NodeList = new NodeList(); $NodeList->getIterator(): \Traversable;
NodeList::getIterator() NodeList::getIterator code WC 10.9.1
public function getIterator(): \Traversable
{
foreach ($this->nodes as $key => $_) {
yield $key => $this->offsetGet($key);
}
}