Model
OptionRepository
Magento\Bundle\Model\OptionRepository
What it does
This repository class manages CRUD operations for bundle product options in Magento 2.
Developers use it to programmatically create, retrieve, update, and delete bundle options and their associated product links, ensuring bundle products are properly configured with their selectable options.
Public Methods
- get()
- getList()
- getListByProduct()
- delete()
- deleteById()
- save()