예제 #1
0
 /**
  * @param \Magento\Framework\App\Action\Context $context
  * @param \Magento\Customer\Model\Session $customerSession
  * @param CustomerAccountService $customerAccountService
  * @param CustomerMetadataService $customerMetadataService
  * @param \Magento\Framework\Registry $coreRegistry
  * @param \Magento\Framework\Translate\InlineInterface $translateInline
  * @param \Magento\Core\App\Action\FormKeyValidator $formKeyValidator
  */
 public function __construct(\Magento\Framework\App\Action\Context $context, \Magento\Customer\Model\Session $customerSession, CustomerAccountService $customerAccountService, CustomerMetadataService $customerMetadataService, \Magento\Framework\Registry $coreRegistry, \Magento\Framework\Translate\InlineInterface $translateInline, \Magento\Core\App\Action\FormKeyValidator $formKeyValidator)
 {
     $this->_coreRegistry = $coreRegistry;
     $this->_translateInline = $translateInline;
     $this->_formKeyValidator = $formKeyValidator;
     parent::__construct($context, $customerSession, $customerAccountService, $customerMetadataService);
 }
예제 #2
0
파일: Onepage.php 프로젝트: nja78/magento2
 /**
  * @param \Magento\Framework\App\Action\Context $context
  * @param \Magento\Customer\Model\Session $customerSession
  * @param CustomerRepositoryInterface $customerRepository
  * @param AccountManagementInterface $accountManagement
  * @param \Magento\Framework\Registry $coreRegistry
  * @param \Magento\Framework\Translate\InlineInterface $translateInline
  * @param \Magento\Framework\Data\Form\FormKey\Validator $formKeyValidator
  * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig
  * @param \Magento\Framework\View\LayoutFactory $layoutFactory
  * @param \Magento\Quote\Model\QuoteRepository $quoteRepository
  * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory
  * @param \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory
  * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory
  * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory
  *
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(\Magento\Framework\App\Action\Context $context, \Magento\Customer\Model\Session $customerSession, CustomerRepositoryInterface $customerRepository, AccountManagementInterface $accountManagement, \Magento\Framework\Registry $coreRegistry, \Magento\Framework\Translate\InlineInterface $translateInline, \Magento\Framework\Data\Form\FormKey\Validator $formKeyValidator, \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, \Magento\Framework\View\LayoutFactory $layoutFactory, \Magento\Quote\Model\QuoteRepository $quoteRepository, \Magento\Framework\View\Result\PageFactory $resultPageFactory, \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory, \Magento\Framework\Controller\Result\RawFactory $resultRawFactory, \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory)
 {
     $this->_coreRegistry = $coreRegistry;
     $this->_translateInline = $translateInline;
     $this->_formKeyValidator = $formKeyValidator;
     $this->scopeConfig = $scopeConfig;
     $this->layoutFactory = $layoutFactory;
     $this->quoteRepository = $quoteRepository;
     $this->resultPageFactory = $resultPageFactory;
     $this->resultLayoutFactory = $resultLayoutFactory;
     $this->resultRawFactory = $resultRawFactory;
     $this->resultJsonFactory = $resultJsonFactory;
     parent::__construct($context, $customerSession, $customerRepository, $accountManagement);
 }
예제 #3
0
 /**
  * Constructor
  *
  * @param \Magento\Framework\App\Action\Context $context
  * @param \Magento\Customer\Model\Session $customerSession
  * @param CustomerRepositoryInterface $customerRepository
  * @param AccountManagementInterface $accountManagement
  */
 public function __construct(\Magento\Framework\App\Action\Context $context, \Magento\Customer\Model\Session $customerSession, CustomerRepositoryInterface $customerRepository, AccountManagementInterface $accountManagement)
 {
     parent::__construct($context, $customerSession, $customerRepository, $accountManagement);
 }
예제 #4
0
파일: Checkout.php 프로젝트: aiesh/magento2
 /**
  * @param \Magento\Framework\App\Action\Context $context
  * @param \Magento\Customer\Model\Session $customerSession
  * @param CustomerAccountService $customerAccountService
  * @param CustomerMetadataService $customerMetadataService
  */
 public function __construct(\Magento\Framework\App\Action\Context $context, \Magento\Customer\Model\Session $customerSession, CustomerAccountService $customerAccountService, CustomerMetadataService $customerMetadataService)
 {
     parent::__construct($context, $customerSession, $customerAccountService, $customerMetadataService);
 }
예제 #5
0
 /**
  * Constructor
  *
  * @param \Magento\Framework\App\Action\Context $context
  * @param \Magento\Customer\Model\Session $customerSession
  * @param CustomerRepositoryInterface $customerRepository
  * @param AccountManagementInterface $accountManagement
  * @param \Magento\Framework\Controller\Result\RedirectFactory $resultRedirectFactory
  */
 public function __construct(\Magento\Framework\App\Action\Context $context, \Magento\Customer\Model\Session $customerSession, CustomerRepositoryInterface $customerRepository, AccountManagementInterface $accountManagement, \Magento\Framework\Controller\Result\RedirectFactory $resultRedirectFactory)
 {
     parent::__construct($context, $customerSession, $customerRepository, $accountManagement, $resultRedirectFactory);
 }