Exemple #1
0
 /**
  * @param \Magento\Framework\App\Action\Context $context
  * @param \Magento\Customer\Model\Session $customerSession
  * @param \Magento\Framework\Data\Form\FormKey\Validator $formKeyValidator
  * @param \Magento\Customer\Model\Metadata\FormFactory $formFactory
  * @param \Magento\Customer\Api\AddressRepositoryInterface $addressRepository
  * @param \Magento\Customer\Api\Data\AddressInterfaceFactory $addressDataFactory
  * @param \Magento\Customer\Api\Data\RegionInterfaceFactory $regionDataFactory
  * @param \Magento\Framework\Reflection\DataObjectProcessor $dataProcessor
  * @param \Magento\Framework\Api\DataObjectHelper $dataObjectHelper
  * @param CustomerRepositoryInterface $customerRepository
  * @param \Magento\Framework\Controller\Result\ForwardFactory $resultForwardFactory
  * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(\Magento\Framework\App\Action\Context $context, \Magento\Customer\Model\Session $customerSession, \Magento\Framework\Data\Form\FormKey\Validator $formKeyValidator, \Magento\Customer\Model\Metadata\FormFactory $formFactory, \Magento\Customer\Api\AddressRepositoryInterface $addressRepository, \Magento\Customer\Api\Data\AddressInterfaceFactory $addressDataFactory, \Magento\Customer\Api\Data\RegionInterfaceFactory $regionDataFactory, \Magento\Framework\Reflection\DataObjectProcessor $dataProcessor, \Magento\Framework\Api\DataObjectHelper $dataObjectHelper, \Magento\Framework\Controller\Result\ForwardFactory $resultForwardFactory, \Magento\Framework\View\Result\PageFactory $resultPageFactory, CustomerRepositoryInterface $customerRepository)
 {
     $this->customerRepository = $customerRepository;
     parent::__construct($context, $customerSession, $formKeyValidator, $formFactory, $addressRepository, $addressDataFactory, $regionDataFactory, $dataProcessor, $dataObjectHelper, $resultForwardFactory, $resultPageFactory);
 }
 /**
  * @param Context $context
  * @param Session $customerSession
  * @param FormKeyValidator $formKeyValidator
  * @param FormFactory $formFactory
  * @param AddressRepositoryInterface $addressRepository
  * @param AddressInterfaceFactory $addressDataFactory
  * @param RegionInterfaceFactory $regionDataFactory
  * @param DataObjectProcessor $dataProcessor
  * @param DataObjectHelper $dataObjectHelper
  * @param ForwardFactory $resultForwardFactory
  * @param PageFactory $resultPageFactory
  * @param RegionFactory $regionFactory
  * @param HelperData $helperData
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(Context $context, Session $customerSession, FormKeyValidator $formKeyValidator, FormFactory $formFactory, AddressRepositoryInterface $addressRepository, AddressInterfaceFactory $addressDataFactory, RegionInterfaceFactory $regionDataFactory, DataObjectProcessor $dataProcessor, DataObjectHelper $dataObjectHelper, ForwardFactory $resultForwardFactory, PageFactory $resultPageFactory, RegionFactory $regionFactory, HelperData $helperData)
 {
     $this->regionFactory = $regionFactory;
     $this->helperData = $helperData;
     parent::__construct($context, $customerSession, $formKeyValidator, $formFactory, $addressRepository, $addressDataFactory, $regionDataFactory, $dataProcessor, $dataObjectHelper, $resultForwardFactory, $resultPageFactory);
 }