Collection
Action\Collection
Magento\Rule\Model\Action\Collection
What it does
This class manages a collection of rule actions in Magento 2's promotion and pricing rule system.
Developers use it to group multiple actions together that should be executed when rule conditions are met, such as applying discounts, setting prices, or modifying cart items.
It provides methods to add, load, display, and execute multiple actions as a single unit.
Public Methods
- asArray()
- loadArray()
- addAction()
- asHtml()
- getNewChildElement()
- asHtmlRecursive()
- asString()
- asStringRecursive()
- process()