Beispiel #1
0
 /**
  * @param \Magento\Framework\View\Element\Template\Context $context
  * @param \Magento\Core\Helper\Data $coreData
  * @param \Magento\Framework\App\Cache\Type\Config $configCacheType
  * @param \Magento\Customer\Model\Session $customerSession
  * @param \Magento\Checkout\Model\Session $resourceSession
  * @param \Magento\Directory\Model\Resource\Country\CollectionFactory $countryCollectionFactory
  * @param \Magento\Directory\Model\Resource\Region\CollectionFactory $regionCollectionFactory
  * @param CustomerAccountService $customerAccountService
  * @param CustomerAddressService $customerAddressService
  * @param AddressConfig $addressConfig
  * @param \Magento\Framework\App\Http\Context $httpContext
  * @param \Magento\Checkout\Helper\Data $checkoutData
  * @param \Magento\Framework\Message\ManagerInterface $messageManager
  * @param array $data
  */
 public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Core\Helper\Data $coreData, \Magento\Framework\App\Cache\Type\Config $configCacheType, \Magento\Customer\Model\Session $customerSession, \Magento\Checkout\Model\Session $resourceSession, \Magento\Directory\Model\Resource\Country\CollectionFactory $countryCollectionFactory, \Magento\Directory\Model\Resource\Region\CollectionFactory $regionCollectionFactory, CustomerAccountService $customerAccountService, CustomerAddressService $customerAddressService, AddressConfig $addressConfig, \Magento\Framework\App\Http\Context $httpContext, \Magento\Checkout\Helper\Data $checkoutData, \Magento\Framework\Message\ManagerInterface $messageManager, array $data = array())
 {
     $this->_checkoutData = $checkoutData;
     $this->messageManager = $messageManager;
     parent::__construct($context, $coreData, $configCacheType, $customerSession, $resourceSession, $countryCollectionFactory, $regionCollectionFactory, $customerAccountService, $customerAddressService, $addressConfig, $httpContext, $data);
     $this->_isScopePrivate = true;
 }
Beispiel #2
0
 /**
  * @param \Magento\Framework\View\Element\Template\Context $context
  * @param \Magento\Directory\Helper\Data $directoryHelper
  * @param \Magento\Framework\App\Cache\Type\Config $configCacheType
  * @param \Magento\Customer\Model\Session $customerSession
  * @param \Magento\Checkout\Model\Session $resourceSession
  * @param \Magento\Directory\Model\ResourceModel\Country\CollectionFactory $countryCollectionFactory
  * @param \Magento\Directory\Model\ResourceModel\Region\CollectionFactory $regionCollectionFactory
  * @param CustomerRepositoryInterface $customerRepository
  * @param AddressConfig $addressConfig
  * @param \Magento\Framework\App\Http\Context $httpContext
  * @param \Magento\Customer\Model\Address\Mapper $addressMapper
  * @param \Magento\Framework\Data\Form\FormKey $formKey
  * @param \Magento\Checkout\Model\CompositeConfigProvider $configProvider
  * @param LayoutProcessorInterface[] $layoutProcessors
  * @param array $data
  * @codeCoverageIgnore
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Directory\Helper\Data $directoryHelper, \Magento\Framework\App\Cache\Type\Config $configCacheType, \Magento\Customer\Model\Session $customerSession, \Magento\Checkout\Model\Session $resourceSession, \Magento\Directory\Model\ResourceModel\Country\CollectionFactory $countryCollectionFactory, \Magento\Directory\Model\ResourceModel\Region\CollectionFactory $regionCollectionFactory, CustomerRepositoryInterface $customerRepository, AddressConfig $addressConfig, \Magento\Framework\App\Http\Context $httpContext, \Magento\Customer\Model\Address\Mapper $addressMapper, \Magento\Framework\Data\Form\FormKey $formKey, \Magento\Checkout\Model\CompositeConfigProvider $configProvider, array $layoutProcessors = [], array $data = [])
 {
     parent::__construct($context, $directoryHelper, $configCacheType, $customerSession, $resourceSession, $countryCollectionFactory, $regionCollectionFactory, $customerRepository, $addressConfig, $httpContext, $addressMapper, $data);
     $this->formKey = $formKey;
     $this->_isScopePrivate = true;
     $this->jsLayout = isset($data['jsLayout']) && is_array($data['jsLayout']) ? $data['jsLayout'] : [];
     $this->configProvider = $configProvider;
     $this->layoutProcessors = $layoutProcessors;
 }
Beispiel #3
0
 /**
  * @param \Magento\Framework\View\Element\Template\Context $context
  * @param \Magento\Directory\Helper\Data $directoryHelper
  * @param \Magento\Framework\App\Cache\Type\Config $configCacheType
  * @param \Magento\Customer\Model\Session $customerSession
  * @param \Magento\Checkout\Model\Session $resourceSession
  * @param \Magento\Directory\Model\Resource\Country\CollectionFactory $countryCollectionFactory
  * @param \Magento\Directory\Model\Resource\Region\CollectionFactory $regionCollectionFactory
  * @param CustomerRepositoryInterface $customerRepository
  * @param AddressConfig $addressConfig
  * @param \Magento\Framework\App\Http\Context $httpContext
  * @param \Magento\Customer\Model\Address\Mapper $addressMapper
  * @param \Magento\Checkout\Helper\Data $checkoutData
  * @param \Magento\Framework\Message\ManagerInterface $messageManager
  * @param \Magento\Customer\Model\Url $customerUrl
  * @param \Magento\Customer\Model\Registration $registration
  * @param \Magento\Customer\Model\Address\Mapper $dataObjectConverter
  * @param array $data
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Directory\Helper\Data $directoryHelper, \Magento\Framework\App\Cache\Type\Config $configCacheType, \Magento\Customer\Model\Session $customerSession, \Magento\Checkout\Model\Session $resourceSession, \Magento\Directory\Model\Resource\Country\CollectionFactory $countryCollectionFactory, \Magento\Directory\Model\Resource\Region\CollectionFactory $regionCollectionFactory, CustomerRepositoryInterface $customerRepository, AddressConfig $addressConfig, \Magento\Framework\App\Http\Context $httpContext, \Magento\Customer\Model\Address\Mapper $addressMapper, \Magento\Checkout\Helper\Data $checkoutData, \Magento\Framework\Message\ManagerInterface $messageManager, \Magento\Customer\Model\Url $customerUrl, \Magento\Customer\Model\Registration $registration, array $data = [])
 {
     $this->registration = $registration;
     $this->customerUrl = $customerUrl;
     $this->_checkoutData = $checkoutData;
     $this->messageManager = $messageManager;
     parent::__construct($context, $directoryHelper, $configCacheType, $customerSession, $resourceSession, $countryCollectionFactory, $regionCollectionFactory, $customerRepository, $addressConfig, $httpContext, $addressMapper, $data);
     $this->_isScopePrivate = true;
 }
Beispiel #4
0
 /**
  * @param \Magento\Framework\View\Element\Template\Context $context
  * @param \Magento\Core\Helper\Data $coreData
  * @param \Magento\Framework\App\Cache\Type\Config $configCacheType
  * @param \Magento\Customer\Model\Session $customerSession
  * @param \Magento\Checkout\Model\Session $resourceSession
  * @param \Magento\Directory\Model\Resource\Country\CollectionFactory $countryCollectionFactory
  * @param \Magento\Directory\Model\Resource\Region\CollectionFactory $regionCollectionFactory
  * @param CustomerAccountService $customerAccountService
  * @param CustomerAddressService $customerAddressService
  * @param AddressConfig $addressConfig
  * @param \Magento\Framework\App\Http\Context $httpContext
  * @param \Magento\Tax\Helper\Data $taxData
  * @param array $data
  */
 public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Core\Helper\Data $coreData, \Magento\Framework\App\Cache\Type\Config $configCacheType, \Magento\Customer\Model\Session $customerSession, \Magento\Checkout\Model\Session $resourceSession, \Magento\Directory\Model\Resource\Country\CollectionFactory $countryCollectionFactory, \Magento\Directory\Model\Resource\Region\CollectionFactory $regionCollectionFactory, CustomerAccountService $customerAccountService, CustomerAddressService $customerAddressService, AddressConfig $addressConfig, \Magento\Framework\App\Http\Context $httpContext, \Magento\Tax\Helper\Data $taxData, array $data = array())
 {
     parent::__construct($context, $coreData, $configCacheType, $customerSession, $resourceSession, $countryCollectionFactory, $regionCollectionFactory, $customerAccountService, $customerAddressService, $addressConfig, $httpContext, $data);
     $this->_taxData = $taxData;
 }
Beispiel #5
0
 /**
  * @param \Magento\Framework\View\Element\Template\Context $context
  * @param \Magento\Directory\Helper\Data $directoryHelper
  * @param \Magento\Framework\App\Cache\Type\Config $configCacheType
  * @param \Magento\Customer\Model\Session $customerSession
  * @param \Magento\Checkout\Model\Session $resourceSession
  * @param \Magento\Directory\Model\ResourceModel\Country\CollectionFactory $countryCollectionFactory
  * @param \Magento\Directory\Model\ResourceModel\Region\CollectionFactory $regionCollectionFactory
  * @param CustomerRepositoryInterface $customerRepository
  * @param AddressConfig $addressConfig
  * @param \Magento\Framework\App\Http\Context $httpContext
  * @param \Magento\Customer\Model\Address\Mapper $addressMapper
  * @param \Magento\Quote\Model\Quote\AddressFactory $addressFactory
  * @param array $data
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Directory\Helper\Data $directoryHelper, \Magento\Framework\App\Cache\Type\Config $configCacheType, \Magento\Customer\Model\Session $customerSession, \Magento\Checkout\Model\Session $resourceSession, \Magento\Directory\Model\ResourceModel\Country\CollectionFactory $countryCollectionFactory, \Magento\Directory\Model\ResourceModel\Region\CollectionFactory $regionCollectionFactory, CustomerRepositoryInterface $customerRepository, AddressConfig $addressConfig, \Magento\Framework\App\Http\Context $httpContext, \Magento\Customer\Model\Address\Mapper $addressMapper, \Magento\Quote\Model\Quote\AddressFactory $addressFactory, array $data = [])
 {
     $this->_addressFactory = $addressFactory;
     parent::__construct($context, $directoryHelper, $configCacheType, $customerSession, $resourceSession, $countryCollectionFactory, $regionCollectionFactory, $customerRepository, $addressConfig, $httpContext, $addressMapper, $data);
     $this->_isScopePrivate = true;
 }