mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 09:17:35 +00:00
29 lines
688 B
PHP
29 lines
688 B
PHP
<?php
|
|
/**
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace Magento\Bundle\Model;
|
|
|
|
/**
|
|
* Processor to handle bundle product relations.
|
|
*/
|
|
interface ProductRelationsProcessorInterface
|
|
{
|
|
/**
|
|
* Process bundle product relations.
|
|
*
|
|
* @param \Magento\Catalog\Api\Data\ProductInterface $product
|
|
* @param array $existingProductOptions
|
|
* @param array $expectedProductOptions
|
|
* @return void
|
|
*/
|
|
public function process(
|
|
\Magento\Catalog\Api\Data\ProductInterface $product,
|
|
array $existingProductOptions,
|
|
array $expectedProductOptions
|
|
): void;
|
|
}
|