magento2-docker/generated/code/Magento/Customer/Model/EmailNotification/Interceptor.php

26 lines
1.6 KiB
PHP
Executable File

<?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, ?\Magento\Store\Model\App\Emulation $emulation = null, ?\Magento\Customer\Model\AccountConfirmation $accountConfirmation = null)
{
$this->___init();
parent::__construct($customerRegistry, $storeManager, $transportBuilder, $customerViewHelper, $dataProcessor, $scopeConfig, $senderResolver, $emulation, $accountConfirmation);
}
/**
* {@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);
}
}