Ejemplo n.º 1
0
 /**
  * @param \Magento\Framework\App\Action\Context $context
  * @param \Magento\Customer\Model\Session $customerSession
  * @param \Magento\Customer\Helper\Address $addressHelper
  * @param \Magento\Framework\UrlFactory $urlFactory
  * @param \Magento\Store\Model\StoreManagerInterface $storeManager
  * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig
  * @param \Magento\Framework\App\State $appState
  * @param CustomerAccountServiceInterface $customerAccountService
  * @param \Magento\Core\Helper\Data $coreHelperData
  * @param \Magento\Customer\Helper\Data $customerHelperData
  * @param \Magento\Core\App\Action\FormKeyValidator $formKeyValidator
  *
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(\Magento\Framework\App\Action\Context $context, \Magento\Customer\Model\Session $customerSession, \Magento\Customer\Helper\Address $addressHelper, \Magento\Framework\UrlFactory $urlFactory, \Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, \Magento\Framework\App\State $appState, CustomerAccountServiceInterface $customerAccountService, \Magento\Core\Helper\Data $coreHelperData, \Magento\Customer\Helper\Data $customerHelperData, \Magento\Core\App\Action\FormKeyValidator $formKeyValidator)
 {
     $this->coreHelperData = $coreHelperData;
     $this->_customerHelperData = $customerHelperData;
     $this->_formKeyValidator = $formKeyValidator;
     parent::__construct($context, $customerSession, $addressHelper, $urlFactory, $storeManager, $scopeConfig, $appState, $customerAccountService);
 }
Ejemplo n.º 2
0
 /**
  * @param Context $context
  * @param Session $customerSession
  * @param PageFactory $resultPageFactory
  * @param AccountManagementInterface $customerAccountManagement
  * @param CustomerUrl $customerHelperData
  * @param Validator $formKeyValidator
  * @param AccountRedirect $accountRedirect
  *
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(Context $context, Session $customerSession, PageFactory $resultPageFactory, AccountManagementInterface $customerAccountManagement, CustomerUrl $customerHelperData, Validator $formKeyValidator, AccountRedirect $accountRedirect)
 {
     $this->customerAccountManagement = $customerAccountManagement;
     $this->customerUrl = $customerHelperData;
     $this->formKeyValidator = $formKeyValidator;
     $this->accountRedirect = $accountRedirect;
     parent::__construct($context, $customerSession, $resultPageFactory);
 }
Ejemplo n.º 3
0
 /**
  * @param Context $context
  * @param Session $customerSession
  * @param PageFactory $resultPageFactory
  * @param AccountManagementInterface $customerAccountManagement
  * @param CustomerRepositoryInterface $customerRepository
  * @param Validator $formKeyValidator
  * @param CustomerExtractor $customerExtractor
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(Context $context, Session $customerSession, PageFactory $resultPageFactory, AccountManagementInterface $customerAccountManagement, CustomerRepositoryInterface $customerRepository, Validator $formKeyValidator, CustomerExtractor $customerExtractor)
 {
     $this->customerAccountManagement = $customerAccountManagement;
     $this->customerRepository = $customerRepository;
     $this->formKeyValidator = $formKeyValidator;
     $this->customerExtractor = $customerExtractor;
     parent::__construct($context, $customerSession, $resultPageFactory);
 }
Ejemplo n.º 4
0
 /**
  * @param \Magento\Framework\App\Action\Context $context
  * @param \Magento\Customer\Model\Session $customerSession
  * @param \Magento\Customer\Helper\Address $addressHelper
  * @param \Magento\Framework\UrlFactory $urlFactory
  * @param \Magento\Framework\StoreManagerInterface $storeManager
  * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig
  * @param CustomerAccountServiceInterface $customerAccountService
  * @param \Magento\Customer\Service\V1\Data\CustomerDetailsBuilder $customerDetailsBuilder
  * @param \Magento\Core\App\Action\FormKeyValidator $formKeyValidator
  * @param \Magento\Customer\Service\V1\Data\CustomerBuilder $customerBuilder
  * @param \Magento\Customer\Model\CustomerExtractor $customerExtractor
  *
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(\Magento\Framework\App\Action\Context $context, \Magento\Customer\Model\Session $customerSession, \Magento\Customer\Helper\Address $addressHelper, \Magento\Framework\UrlFactory $urlFactory, \Magento\Framework\StoreManagerInterface $storeManager, \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, CustomerAccountServiceInterface $customerAccountService, \Magento\Customer\Service\V1\Data\CustomerDetailsBuilder $customerDetailsBuilder, \Magento\Core\App\Action\FormKeyValidator $formKeyValidator, \Magento\Customer\Service\V1\Data\CustomerBuilder $customerBuilder, \Magento\Customer\Model\CustomerExtractor $customerExtractor)
 {
     $this->_customerDetailsBuilder = $customerDetailsBuilder;
     $this->_formKeyValidator = $formKeyValidator;
     $this->_customerBuilder = $customerBuilder;
     $this->customerExtractor = $customerExtractor;
     parent::__construct($context, $customerSession, $addressHelper, $urlFactory, $storeManager, $scopeConfig, $customerAccountService);
 }
Ejemplo n.º 5
0
 /**
  * @param Context $context
  * @param Session $customerSession
  * @param PageFactory $resultPageFactory
  * @param ScopeConfigInterface $scopeConfig
  * @param StoreManagerInterface $storeManager
  * @param AccountManagementInterface $customerAccountManagement
  * @param CustomerRepositoryInterface $customerRepository
  * @param Address $addressHelper
  * @param UrlFactory $urlFactory
  *
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(Context $context, Session $customerSession, PageFactory $resultPageFactory, ScopeConfigInterface $scopeConfig, StoreManagerInterface $storeManager, AccountManagementInterface $customerAccountManagement, CustomerRepositoryInterface $customerRepository, Address $addressHelper, UrlFactory $urlFactory)
 {
     $this->scopeConfig = $scopeConfig;
     $this->storeManager = $storeManager;
     $this->customerAccountManagement = $customerAccountManagement;
     $this->customerRepository = $customerRepository;
     $this->addressHelper = $addressHelper;
     $this->urlModel = $urlFactory->create();
     parent::__construct($context, $customerSession, $resultPageFactory);
 }
Ejemplo n.º 6
0
 /**
  * @param \Magento\Framework\App\Action\Context $context
  * @param \Magento\Customer\Model\Session $customerSession
  * @param \Magento\Customer\Helper\Address $addressHelper
  * @param \Magento\Framework\UrlFactory $urlFactory
  * @param \Magento\Framework\StoreManagerInterface $storeManager
  * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig
  * @param CustomerAccountServiceInterface $customerAccountService
  * @param \Magento\Customer\Model\Metadata\FormFactory $formFactory
  * @param \Magento\Newsletter\Model\SubscriberFactory $subscriberFactory
  * @param \Magento\Customer\Service\V1\Data\RegionBuilder $regionBuilder
  * @param \Magento\Customer\Service\V1\Data\AddressBuilder $addressBuilder
  * @param \Magento\Customer\Service\V1\Data\CustomerDetailsBuilder $customerDetailsBuilder
  * @param \Magento\Customer\Helper\Data $customerHelperData
  * @param \Magento\Framework\Escaper $escaper
  * @param \Magento\Customer\Model\CustomerExtractor $customerExtractor
  *
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(\Magento\Framework\App\Action\Context $context, \Magento\Customer\Model\Session $customerSession, \Magento\Customer\Helper\Address $addressHelper, \Magento\Framework\UrlFactory $urlFactory, \Magento\Framework\StoreManagerInterface $storeManager, \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, CustomerAccountServiceInterface $customerAccountService, \Magento\Customer\Model\Metadata\FormFactory $formFactory, \Magento\Newsletter\Model\SubscriberFactory $subscriberFactory, \Magento\Customer\Service\V1\Data\RegionBuilder $regionBuilder, \Magento\Customer\Service\V1\Data\AddressBuilder $addressBuilder, \Magento\Customer\Service\V1\Data\CustomerDetailsBuilder $customerDetailsBuilder, \Magento\Customer\Helper\Data $customerHelperData, \Magento\Framework\Escaper $escaper, \Magento\Customer\Model\CustomerExtractor $customerExtractor)
 {
     $this->_formFactory = $formFactory;
     $this->_subscriberFactory = $subscriberFactory;
     $this->_regionBuilder = $regionBuilder;
     $this->_addressBuilder = $addressBuilder;
     $this->_customerDetailsBuilder = $customerDetailsBuilder;
     $this->_customerHelperData = $customerHelperData;
     $this->escaper = $escaper;
     $this->customerExtractor = $customerExtractor;
     parent::__construct($context, $customerSession, $addressHelper, $urlFactory, $storeManager, $scopeConfig, $customerAccountService);
 }
 /**
  * @param Context $context
  * @param Session $customerSession
  * @param RedirectFactory $resultRedirectFactory
  * @param PageFactory $resultPageFactory
  * @param AccountManagementInterface $customerAccountManagement
  * @param Escaper $escaper
  */
 public function __construct(Context $context, Session $customerSession, RedirectFactory $resultRedirectFactory, PageFactory $resultPageFactory, AccountManagementInterface $customerAccountManagement, Escaper $escaper)
 {
     $this->customerAccountManagement = $customerAccountManagement;
     $this->escaper = $escaper;
     parent::__construct($context, $customerSession, $resultRedirectFactory, $resultPageFactory);
 }
Ejemplo n.º 8
0
 /**
  * @param \Magento\Framework\App\Action\Context $context
  * @param \Magento\Customer\Model\Session $customerSession
  * @param \Magento\Customer\Helper\Address $addressHelper
  * @param \Magento\Framework\UrlFactory $urlFactory
  * @param \Magento\Framework\StoreManagerInterface $storeManager
  * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig
  * @param CustomerAccountServiceInterface $customerAccountService
  * @param \Magento\Customer\Helper\Data $customerHelper
  */
 public function __construct(\Magento\Framework\App\Action\Context $context, \Magento\Customer\Model\Session $customerSession, \Magento\Customer\Helper\Address $addressHelper, \Magento\Framework\UrlFactory $urlFactory, \Magento\Framework\StoreManagerInterface $storeManager, \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, CustomerAccountServiceInterface $customerAccountService, \Magento\Customer\Helper\Data $customerHelper)
 {
     $this->customerHelper = $customerHelper;
     parent::__construct($context, $customerSession, $addressHelper, $urlFactory, $storeManager, $scopeConfig, $customerAccountService);
 }
Ejemplo n.º 9
0
 /**
  * @param Context $context
  * @param Session $customerSession
  * @param PageFactory $resultPageFactory
  * @param ForwardFactory $resultForwardFactory
  */
 public function __construct(Context $context, Session $customerSession, PageFactory $resultPageFactory, ForwardFactory $resultForwardFactory)
 {
     $this->resultForwardFactory = $resultForwardFactory;
     parent::__construct($context, $customerSession, $resultPageFactory);
 }
Ejemplo n.º 10
0
 /**
  * @param Context $context
  * @param Session $customerSession
  * @param PageFactory $resultPageFactory
  * @param AccountManagementInterface $accountManagement
  * @param CustomerRepositoryInterface $customerRepository
  */
 public function __construct(Context $context, Session $customerSession, PageFactory $resultPageFactory, AccountManagementInterface $accountManagement, CustomerRepositoryInterface $customerRepository)
 {
     $this->accountManagement = $accountManagement;
     $this->customerRepository = $customerRepository;
     parent::__construct($context, $customerSession, $resultPageFactory);
 }
Ejemplo n.º 11
0
 /**
  * @param Context $context
  * @param Session $customerSession
  * @param RedirectFactory $resultRedirectFactory
  * @param PageFactory $resultPageFactory
  * @param StoreManagerInterface $storeManager
  * @param AccountManagementInterface $customerAccountManagement
  */
 public function __construct(Context $context, Session $customerSession, RedirectFactory $resultRedirectFactory, PageFactory $resultPageFactory, StoreManagerInterface $storeManager, AccountManagementInterface $customerAccountManagement)
 {
     $this->storeManager = $storeManager;
     $this->customerAccountManagement = $customerAccountManagement;
     parent::__construct($context, $customerSession, $resultRedirectFactory, $resultPageFactory);
 }
Ejemplo n.º 12
0
 /**
  * @param Context $context
  * @param Session $customerSession
  * @param PageFactory $resultPageFactory
  * @param Registration $registration
  */
 public function __construct(Context $context, Session $customerSession, PageFactory $resultPageFactory, Registration $registration)
 {
     $this->registration = $registration;
     parent::__construct($context, $customerSession, $resultPageFactory);
 }
Ejemplo n.º 13
0
 /**
  * @param Context $context
  * @param Session $customerSession
  * @param RedirectFactory $resultRedirectFactory
  * @param PageFactory $resultPageFactory
  * @param ScopeConfigInterface $scopeConfig
  * @param StoreManagerInterface $storeManager
  * @param AccountManagementInterface $accountManagement
  * @param Address $addressHelper
  * @param UrlFactory $urlFactory
  * @param FormFactory $formFactory
  * @param SubscriberFactory $subscriberFactory
  * @param RegionInterfaceFactory $regionDataFactory
  * @param AddressInterfaceFactory $addressDataFactory
  * @param CustomerInterfaceFactory $customerDataFactory
  * @param CustomerUrl $customerUrl
  * @param Registration $registration
  * @param Escaper $escaper
  * @param CustomerExtractor $customerExtractor
  * @param DataObjectHelper $dataObjectHelper
  * @param AccountRedirect $accountRedirect
  *
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(Context $context, Session $customerSession, RedirectFactory $resultRedirectFactory, PageFactory $resultPageFactory, ScopeConfigInterface $scopeConfig, StoreManagerInterface $storeManager, AccountManagementInterface $accountManagement, Address $addressHelper, UrlFactory $urlFactory, FormFactory $formFactory, SubscriberFactory $subscriberFactory, RegionInterfaceFactory $regionDataFactory, AddressInterfaceFactory $addressDataFactory, CustomerInterfaceFactory $customerDataFactory, CustomerUrl $customerUrl, Registration $registration, Escaper $escaper, CustomerExtractor $customerExtractor, DataObjectHelper $dataObjectHelper, AccountRedirect $accountRedirect)
 {
     $this->scopeConfig = $scopeConfig;
     $this->storeManager = $storeManager;
     $this->accountManagement = $accountManagement;
     $this->addressHelper = $addressHelper;
     $this->formFactory = $formFactory;
     $this->subscriberFactory = $subscriberFactory;
     $this->regionDataFactory = $regionDataFactory;
     $this->addressDataFactory = $addressDataFactory;
     $this->customerDataFactory = $customerDataFactory;
     $this->customerUrl = $customerUrl;
     $this->registration = $registration;
     $this->escaper = $escaper;
     $this->customerExtractor = $customerExtractor;
     $this->urlModel = $urlFactory->create();
     $this->dataObjectHelper = $dataObjectHelper;
     $this->accountRedirect = $accountRedirect;
     parent::__construct($context, $customerSession, $resultRedirectFactory, $resultPageFactory);
 }
Ejemplo n.º 14
0
 /**
  * @param Context $context
  * @param Session $customerSession
  * @param RedirectFactory $resultRedirectFactory
  * @param PageFactory $resultPageFactory
  * @param CustomerRepositoryInterface $customerRepository
  * @param DataObjectHelper $dataObjectHelper
  */
 public function __construct(Context $context, Session $customerSession, RedirectFactory $resultRedirectFactory, PageFactory $resultPageFactory, CustomerRepositoryInterface $customerRepository, DataObjectHelper $dataObjectHelper)
 {
     $this->customerRepository = $customerRepository;
     $this->dataObjectHelper = $dataObjectHelper;
     parent::__construct($context, $customerSession, $resultRedirectFactory, $resultPageFactory);
 }
Ejemplo n.º 15
0
 /**
  * @param Context $context
  * @param Session $customerSession
  * @param Address $addressHelper
  * @param UrlFactory $urlFactory
  * @param StoreManagerInterface $storeManager
  * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig
  * @param CustomerAccountServiceInterface $customerAccountService
  * @param \Magento\Framework\Escaper $escaper
  */
 public function __construct(Context $context, Session $customerSession, Address $addressHelper, UrlFactory $urlFactory, StoreManagerInterface $storeManager, \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, CustomerAccountServiceInterface $customerAccountService, \Magento\Framework\Escaper $escaper)
 {
     $this->escaper = $escaper;
     parent::__construct($context, $customerSession, $addressHelper, $urlFactory, $storeManager, $scopeConfig, $customerAccountService);
 }
Ejemplo n.º 16
0
 /**
  * @param Context $context
  * @param Session $customerSession
  * @param CustomerHelper $addressHelper
  * @param UrlFactory $urlFactory
  * @param \Magento\Framework\StoreManagerInterface $storeManager
  * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig
  * @param CustomerAccountServiceInterface $customerAccountService
  * @param \Magento\Customer\Service\V1\Data\CustomerBuilder $customerBuilder
  */
 public function __construct(Context $context, Session $customerSession, CustomerHelper $addressHelper, UrlFactory $urlFactory, \Magento\Framework\StoreManagerInterface $storeManager, \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, CustomerAccountServiceInterface $customerAccountService, \Magento\Customer\Service\V1\Data\CustomerBuilder $customerBuilder)
 {
     $this->_customerBuilder = $customerBuilder;
     parent::__construct($context, $customerSession, $addressHelper, $urlFactory, $storeManager, $scopeConfig, $customerAccountService);
 }