<?php
namespace Magento\Customer\Observer\UpgradeOrderCustomerEmailObserver;

/**
 * Interceptor class for @see \Magento\Customer\Observer\UpgradeOrderCustomerEmailObserver
 */
class Interceptor extends \Magento\Customer\Observer\UpgradeOrderCustomerEmailObserver implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Sales\Api\OrderRepositoryInterface $orderRepository, \Magento\Framework\Api\SearchCriteriaBuilder $searchCriteriaBuilder)
    {
        $this->___init();
        parent::__construct($orderRepository, $searchCriteriaBuilder);
    }

    /**
     * {@inheritdoc}
     */
    public function execute(\Magento\Framework\Event\Observer $observer): void
    {
        $pluginInfo = $this->pluginList->getNext($this->subjectType, 'execute');
        $pluginInfo ? $this->___callPlugins('execute', func_get_args(), $pluginInfo) : parent::execute($observer);
    }
}
