Log in
Model

ModuleIterator

Magento\Analytics\Model\ReportXml\ModuleIterator

What it does

This iterator wraps a traversable collection of ReportXml module data and enriches each module entry with its current status (Enabled/Disabled).

Developers use this when iterating through analytics report modules to automatically determine which modules are active in the system, eliminating the need to manually check module status for each entry.

Public Methods

  • current()