Collection
Options\Collection
Magento\BundleGraphQl\Model\Resolver\Options\Collection
What it does
This class collects and fetches bundle product options for GraphQL queries in a batch-optimized way.
Developers use it to efficiently retrieve bundle options for multiple parent products by adding parent filter data, then fetching options by parent ID to avoid N+1 query problems during GraphQL resolution.
Public Methods
- addParentFilterData()
- getOptionsByParentId()
- _resetState()