Example #1
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\Framework\Json\EncoderInterface $jsonEncoder
  * @param \Magento\Customer\Model\Metadata\FormFactory $customerFormFactory
  * @param \Magento\Store\Model\System\Store $systemStore
  * @param \Magento\Customer\Helper\Data $customerHelper
  * @param \Magento\Customer\Service\V1\CustomerAccountServiceInterface $customerAccountService
  * @param \Magento\Customer\Service\V1\CustomerMetadataServiceInterface $customerMetadataService
  * @param \Magento\Customer\Service\V1\Data\CustomerBuilder $customerBuilder
  * @param array $data
  *
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Framework\Json\EncoderInterface $jsonEncoder, \Magento\Customer\Model\Metadata\FormFactory $customerFormFactory, \Magento\Store\Model\System\Store $systemStore, \Magento\Customer\Helper\Data $customerHelper, \Magento\Customer\Service\V1\CustomerAccountServiceInterface $customerAccountService, \Magento\Customer\Service\V1\CustomerMetadataServiceInterface $customerMetadataService, \Magento\Customer\Service\V1\Data\CustomerBuilder $customerBuilder, array $data = array())
 {
     $this->_customerHelper = $customerHelper;
     $this->_jsonEncoder = $jsonEncoder;
     $this->_systemStore = $systemStore;
     $this->_customerFormFactory = $customerFormFactory;
     $this->_customerAccountService = $customerAccountService;
     $this->_customerMetadataService = $customerMetadataService;
     $this->_customerBuilder = $customerBuilder;
     parent::__construct($context, $registry, $formFactory, $data);
 }
Example #2
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\Store\Model\System\Store $systemStore
  * @param \Magento\Core\Helper\Data $coreData
  * @param \Magento\Framework\Json\EncoderInterface $jsonEncoder
  * @param \Magento\Customer\Model\Renderer\RegionFactory $regionFactory
  * @param \Magento\Customer\Model\Metadata\FormFactory $metadataFormFactory
  * @param \Magento\Customer\Helper\Data $customerHelper
  * @param \Magento\Customer\Helper\Address $addressHelper
  * @param \Magento\Customer\Service\V1\CustomerAccountServiceInterface $customerAccountService
  * @param CustomerMetadataServiceInterface $metadataService
  * @param AddressBuilder $addressBuilder
  * @param CustomerBuilder $customerBuilder
  * @param AttributeMetadataBuilder $attributeMetadataBuilder
  * @param \Magento\Directory\Helper\Data $directoryHelper
  * @param array $data
  *
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Store\Model\System\Store $systemStore, \Magento\Core\Helper\Data $coreData, \Magento\Framework\Json\EncoderInterface $jsonEncoder, \Magento\Customer\Model\Renderer\RegionFactory $regionFactory, \Magento\Customer\Model\Metadata\FormFactory $metadataFormFactory, \Magento\Customer\Helper\Data $customerHelper, \Magento\Customer\Helper\Address $addressHelper, CustomerAccountServiceInterface $customerAccountService, CustomerMetadataServiceInterface $metadataService, AddressBuilder $addressBuilder, CustomerBuilder $customerBuilder, AttributeMetadataBuilder $attributeMetadataBuilder, \Magento\Directory\Helper\Data $directoryHelper, array $data = array())
 {
     $this->_customerHelper = $customerHelper;
     $this->_addressHelper = $addressHelper;
     $this->_coreData = $coreData;
     $this->_jsonEncoder = $jsonEncoder;
     $this->_regionFactory = $regionFactory;
     $this->_metadataFormFactory = $metadataFormFactory;
     $this->_systemStore = $systemStore;
     $this->_customerAccountService = $customerAccountService;
     $this->_metadataService = $metadataService;
     $this->_addressBuilder = $addressBuilder;
     $this->_customerBuilder = $customerBuilder;
     $this->_attributeMetadataBuilder = $attributeMetadataBuilder;
     $this->_directoryHelper = $directoryHelper;
     parent::__construct($context, $registry, $formFactory, $data);
 }
Example #3
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\Framework\Reflection\DataObjectProcessor $dataObjectProcessor
  * @param \Magento\Store\Model\System\Store $systemStore
  * @param \Magento\Framework\Json\EncoderInterface $jsonEncoder
  * @param \Magento\Customer\Model\Renderer\RegionFactory $regionFactory
  * @param \Magento\Customer\Model\Metadata\FormFactory $metadataFormFactory
  * @param \Magento\Customer\Model\Options $options
  * @param \Magento\Customer\Helper\Address $addressHelper
  * @param AccountManagementInterface $customerAccountManagement
  * @param AddressMetadataInterface $addressMetadataService
  * @param AddressInterfaceFactory $addressDataFactory
  * @param CustomerInterfaceFactory $customerInterfaceFactory
  * @param \Magento\Directory\Helper\Data $directoryHelper
  * @param AddressMapper $addressMapper
  * @param CustomerMapper $customerMapper
  * @param DataObjectHelper $dataObjectHelper
  * @param array $data
  *
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Framework\Reflection\DataObjectProcessor $dataObjectProcessor, \Magento\Store\Model\System\Store $systemStore, \Magento\Framework\Json\EncoderInterface $jsonEncoder, \Magento\Customer\Model\Renderer\RegionFactory $regionFactory, \Magento\Customer\Model\Metadata\FormFactory $metadataFormFactory, \Magento\Customer\Model\Options $options, \Magento\Customer\Helper\Address $addressHelper, AccountManagementInterface $customerAccountManagement, AddressMetadataInterface $addressMetadataService, AddressInterfaceFactory $addressDataFactory, CustomerInterfaceFactory $customerInterfaceFactory, \Magento\Directory\Helper\Data $directoryHelper, AddressMapper $addressMapper, DataObjectHelper $dataObjectHelper, array $data = [])
 {
     $this->options = $options;
     $this->_addressHelper = $addressHelper;
     $this->_jsonEncoder = $jsonEncoder;
     $this->_regionFactory = $regionFactory;
     $this->_metadataFormFactory = $metadataFormFactory;
     $this->_systemStore = $systemStore;
     $this->_customerAccountManagement = $customerAccountManagement;
     $this->_addressMetadataService = $addressMetadataService;
     $this->addressDataFactory = $addressDataFactory;
     $this->customerDataFactory = $customerInterfaceFactory;
     $this->_directoryHelper = $directoryHelper;
     $this->addressMapper = $addressMapper;
     $this->dataObjectHelper = $dataObjectHelper;
     parent::__construct($context, $registry, $formFactory, $dataObjectProcessor, $data);
 }
Example #4
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\Framework\Reflection\DataObjectProcessor $dataObjectProcessor
  * @param \Magento\Customer\Model\Options $options
  * @param \Magento\Framework\Json\EncoderInterface $jsonEncoder
  * @param \Magento\Store\Model\System\Store $systemStore
  * @param \Magento\Customer\Model\Metadata\FormFactory $customerFormFactory
  * @param \Magento\Customer\Api\AccountManagementInterface $accountManagement
  * @param \Magento\Customer\Api\CustomerMetadataInterface $customerMetadata
  * @param \Magento\Customer\Api\Data\CustomerInterfaceFactory $customerDataFactory
  * @param \Magento\Framework\Api\ExtensibleDataObjectConverter $extensibleDataObjectConverter
  * @param \Magento\Framework\Api\DataObjectHelper $dataObjectHelper
  * @param array $data
  *
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Framework\Reflection\DataObjectProcessor $dataObjectProcessor, \Magento\Customer\Model\Options $options, \Magento\Framework\Json\EncoderInterface $jsonEncoder, \Magento\Store\Model\System\Store $systemStore, \Magento\Customer\Model\Metadata\FormFactory $customerFormFactory, \Magento\Customer\Api\AccountManagementInterface $accountManagement, \Magento\Customer\Api\CustomerMetadataInterface $customerMetadata, \Magento\Customer\Api\Data\CustomerInterfaceFactory $customerDataFactory, \Magento\Framework\Api\ExtensibleDataObjectConverter $extensibleDataObjectConverter, \Magento\Framework\Api\DataObjectHelper $dataObjectHelper, array $data = [])
 {
     $this->options = $options;
     $this->_jsonEncoder = $jsonEncoder;
     $this->_systemStore = $systemStore;
     $this->_customerFormFactory = $customerFormFactory;
     $this->_accountManagement = $accountManagement;
     $this->_customerMetadata = $customerMetadata;
     $this->customerDataFactory = $customerDataFactory;
     $this->_extensibleDataObjectConverter = $extensibleDataObjectConverter;
     $this->dataObjectHelper = $dataObjectHelper;
     parent::__construct($context, $registry, $formFactory, $dataObjectProcessor, $data);
 }