Definition at line 12 of file OptionManagement.php.
◆ __construct()
- Parameters
-
\Magento\Bundle\Api\ProductOptionRepositoryInterface | $optionRepository | |
\Magento\Catalog\Api\ProductRepositoryInterface | $productRepository | |
Definition at line 28 of file OptionManagement.php.
◆ save()
{}
Definition at line 39 of file OptionManagement.php.
42 if (
$product->getTypeId() != \Magento\Catalog\Model\Product\Type::TYPE_BUNDLE) {
43 throw new InputException(
__(
'This is implemented for bundle products only.'));
◆ $optionRepository
◆ $productRepository
The documentation for this class was generated from the following file: