Your IP : 216.73.216.220


Current Path : /var/www/html/generated/code/Magento/Customer/Model/EmailNotification/
Upload File :
Current File : /var/www/html/generated/code/Magento/Customer/Model/EmailNotification/Interceptor.php

<?php
namespace Magento\Customer\Model\EmailNotification;

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

    public function __construct(\Magento\Customer\Model\CustomerRegistry $customerRegistry, \Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Framework\Mail\Template\TransportBuilder $transportBuilder, \Magento\Customer\Helper\View $customerViewHelper, \Magento\Framework\Reflection\DataObjectProcessor $dataProcessor, \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, ?\Magento\Framework\Mail\Template\SenderResolverInterface $senderResolver = null)
    {
        $this->___init();
        parent::__construct($customerRegistry, $storeManager, $transportBuilder, $customerViewHelper, $dataProcessor, $scopeConfig, $senderResolver);
    }

    /**
     * {@inheritdoc}
     */
    public function newAccount(\Magento\Customer\Api\Data\CustomerInterface $customer, $type = 'registered', $backUrl = '', $storeId = null, $sendemailStoreId = null) : void
    {
        $pluginInfo = $this->pluginList->getNext($this->subjectType, 'newAccount');
        $pluginInfo ? $this->___callPlugins('newAccount', func_get_args(), $pluginInfo) : parent::newAccount($customer, $type, $backUrl, $storeId, $sendemailStoreId);
    }
}