Collection
Indexer\Collection
Magento\Indexer\Model\Indexer\Collection
What it does
This class manages a collection of indexer objects in Magento 2.
Developers use it to retrieve and iterate through all configured indexers in the system, loading their current states from the database.
It's commonly used in admin interfaces or CLI commands that need to display or manipulate multiple indexers at once.
Public Methods
- loadData()
- getAllIds()
- getItems()
- getColumnValues()
- getItemsByColumnValue()
- getItemByColumnValue()
- setDataToAll()
- setItemObjectClass()
- toXml()
- toArray()
- toOptionArray()
- toOptionHash()