/**
  * @param Context $context
  * @param Session $customerSession
  * @param AccountManagementInterface $accountManagement
  * @param CustomerRepositoryInterface $customerRepository
  */
 public function __construct(Context $context, Session $customerSession, AccountManagementInterface $accountManagement, CustomerRepositoryInterface $customerRepository)
 {
     $this->session = $customerSession;
     $this->accountManagement = $accountManagement;
     $this->customerRepository = $customerRepository;
     parent::__construct($context);
 }
 /**
  * @param Context $context
  * @param Session $customerSession
  * @param AccountManagementInterface $customerAccountManagement
  * @param Escaper $escaper
  */
 public function __construct(Context $context, Session $customerSession, AccountManagementInterface $customerAccountManagement, Escaper $escaper)
 {
     $this->session = $customerSession;
     $this->customerAccountManagement = $customerAccountManagement;
     $this->escaper = $escaper;
     parent::__construct($context);
 }
 /**
  * @param Context $context
  * @param Session $customerSession
  * @param PageFactory $resultPageFactory
  * @param AccountManagementInterface $accountManagement
  */
 public function __construct(Context $context, Session $customerSession, PageFactory $resultPageFactory, AccountManagementInterface $accountManagement)
 {
     $this->session = $customerSession;
     $this->resultPageFactory = $resultPageFactory;
     $this->accountManagement = $accountManagement;
     parent::__construct($context);
 }
Example #4
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->session = $customerSession;
     $this->resultPageFactory = $resultPageFactory;
     $this->registration = $registration;
     parent::__construct($context);
 }
Example #5
0
 /**
  * @param Context $context
  * @param Session $customerSession
  * @param PageFactory $resultPageFactory
  * @param CustomerRepositoryInterface $customerRepository
  * @param DataObjectHelper $dataObjectHelper
  */
 public function __construct(Context $context, Session $customerSession, PageFactory $resultPageFactory, CustomerRepositoryInterface $customerRepository, DataObjectHelper $dataObjectHelper)
 {
     $this->session = $customerSession;
     $this->resultPageFactory = $resultPageFactory;
     $this->customerRepository = $customerRepository;
     $this->dataObjectHelper = $dataObjectHelper;
     parent::__construct($context);
 }
 /**
  * @param Context $context
  * @param Session $customerSession
  * @param AccountManagementInterface $customerAccountManagement
  * @param CustomerUrl $customerHelperData
  * @param Validator $formKeyValidator
  * @param AccountRedirect $accountRedirect
  */
 public function __construct(Context $context, Session $customerSession, AccountManagementInterface $customerAccountManagement, CustomerUrl $customerHelperData, Validator $formKeyValidator, AccountRedirect $accountRedirect)
 {
     $this->session = $customerSession;
     $this->customerAccountManagement = $customerAccountManagement;
     $this->customerUrl = $customerHelperData;
     $this->formKeyValidator = $formKeyValidator;
     $this->accountRedirect = $accountRedirect;
     parent::__construct($context);
 }
Example #7
0
 /**
  * @param Context $context
  * @param Session $customerSession
  * @param AccountManagementInterface $customerAccountManagement
  * @param CustomerRepositoryInterface $customerRepository
  * @param Validator $formKeyValidator
  * @param CustomerExtractor $customerExtractor
  */
 public function __construct(Context $context, Session $customerSession, AccountManagementInterface $customerAccountManagement, CustomerRepositoryInterface $customerRepository, Validator $formKeyValidator, CustomerExtractor $customerExtractor)
 {
     parent::__construct($context);
     $this->session = $customerSession;
     $this->customerAccountManagement = $customerAccountManagement;
     $this->customerRepository = $customerRepository;
     $this->formKeyValidator = $formKeyValidator;
     $this->customerExtractor = $customerExtractor;
 }
Example #8
0
 /**
  * @param Context $context
  * @param Session $customerSession
  * @param ScopeConfigInterface $scopeConfig
  * @param StoreManagerInterface $storeManager
  * @param AccountManagementInterface $customerAccountManagement
  * @param CustomerRepositoryInterface $customerRepository
  * @param Address $addressHelper
  * @param UrlFactory $urlFactory
  */
 public function __construct(Context $context, Session $customerSession, ScopeConfigInterface $scopeConfig, StoreManagerInterface $storeManager, AccountManagementInterface $customerAccountManagement, CustomerRepositoryInterface $customerRepository, Address $addressHelper, UrlFactory $urlFactory)
 {
     $this->session = $customerSession;
     $this->scopeConfig = $scopeConfig;
     $this->storeManager = $storeManager;
     $this->customerAccountManagement = $customerAccountManagement;
     $this->customerRepository = $customerRepository;
     $this->addressHelper = $addressHelper;
     $this->urlModel = $urlFactory->create();
     parent::__construct($context);
 }
Example #9
0
 /**
  * @param Context $context
  * @param PageFactory $resultPageFactory
  */
 public function __construct(Context $context, PageFactory $resultPageFactory)
 {
     $this->resultPageFactory = $resultPageFactory;
     parent::__construct($context);
 }
Example #10
0
 /**
  * @param Context $context
  * @param Session $customerSession
  */
 public function __construct(Context $context, Session $customerSession)
 {
     $this->session = $customerSession;
     parent::__construct($context);
 }
 /**
  * @param Context $context
  * @param Session $customerSession
  * @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, 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->session = $customerSession;
     $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);
 }