Model
Item
Magento\Reports\Model\Item
What it does
This class represents a hierarchical data item used in Magento Reports.
Developers use it to build tree-structured report data where items can have child items and maintain an empty state flag, commonly for organizing product categories, customer groups, or other nested reporting structures.
Public Methods
- setIsEmpty()
- getIsEmpty()
- hasIsEmpty()
- getChildren()
- setChildren()
- hasChildren()
- addChild()