/** * @param \Magento\Framework\View\Element\Context $context * @param \Magento\Framework\View\Layout\ProcessorFactory $layoutProcessorFactory * @param \Magento\Core\Model\Resource\Theme\CollectionFactory $themesFactory * @param \Magento\Framework\App\State $appState * @param array $data */ public function __construct(\Magento\Framework\View\Element\Context $context, \Magento\Framework\View\Layout\ProcessorFactory $layoutProcessorFactory, \Magento\Core\Model\Resource\Theme\CollectionFactory $themesFactory, \Magento\Framework\App\State $appState, array $data = array()) { $this->_layoutProcessorFactory = $layoutProcessorFactory; $this->_themesFactory = $themesFactory; $this->_appState = $appState; parent::__construct($context, $data); }
/** * Construct * * @param \Magento\Framework\View\Element\Context $context * @param GroupManagementInterface $groupManagement * @param GroupRepositoryInterface $groupRepository * @param SearchCriteriaBuilder $searchCriteriaBuilder * @param array $data */ public function __construct(\Magento\Framework\View\Element\Context $context, GroupManagementInterface $groupManagement, GroupRepositoryInterface $groupRepository, SearchCriteriaBuilder $searchCriteriaBuilder, array $data = []) { parent::__construct($context, $data); $this->groupManagement = $groupManagement; $this->groupRepository = $groupRepository; $this->searchCriteriaBuilder = $searchCriteriaBuilder; }
/** * Constructor * * @param Context $context * @param Country $countryHelper * @param array $data */ public function __construct(Context $context, Country $countryHelper, array $data = []) { parent::__construct($context, $data); $this->countryHelper = $countryHelper; }
/** * Constructor * * @param \Magento\Framework\View\Element\Context $context * @param \Magento\Braintree\Model\System\Config\Source\Country $countrySource * @param \Magento\Directory\Model\ResourceModel\Country\CollectionFactory $countryCollectionFactory * @param array $data */ public function __construct(\Magento\Framework\View\Element\Context $context, \Magento\Braintree\Model\System\Config\Source\Country $countrySource, \Magento\Directory\Model\ResourceModel\Country\CollectionFactory $countryCollectionFactory, array $data = []) { parent::__construct($context, $data); $this->countrySource = $countrySource; $this->countryCollectionFactory = $countryCollectionFactory; }
/** * Constructor * * @param \Magento\Framework\View\Element\Context $context * @param \Magento\Braintree\Model\Source\CcType $ccTypeSource * @param array $data */ public function __construct(\Magento\Framework\View\Element\Context $context, \Magento\Braintree\Model\Source\CcType $ccTypeSource, array $data = []) { parent::__construct($context, $data); $this->ccTypeSource = $ccTypeSource; }
/** * MagentoTemplates constructor. * @param \Magento\Framework\View\Element\Context $context * @param \Magento\Config\Model\Config\Source\Email\Template $templateSource * @param array $data */ public function __construct(\Magento\Framework\View\Element\Context $context, \Magento\Email\Model\Template\Config $emailConfig, array $data = []) { parent::__construct($context, $data); $this->_magentoTemplatesSource = $emailConfig; $this->_logger = $context->getLogger(); }
/** * Constructor * * @param \Magento\Framework\View\Element\Context $context * @param \Magento\BraintreeTwo\Helper\CcType $ccTypeHelper * @param array $data */ public function __construct(Context $context, CcType $ccTypeHelper, array $data = []) { parent::__construct($context, $data); $this->ccTypeHelper = $ccTypeHelper; }
public function __construct(\Magento\Framework\View\Element\Context $context, \Ebizmarts\Mandrill\Model\Config\Source\MandrillTemplates $templateSource, array $data = []) { parent::__construct($context, $data); $this->_mandrillTemplatesSource = $templateSource; }
/** * @param \Magento\Framework\View\Element\Context $context * @param \Magento\Framework\View\Layout\PageType\Config $config * @param array $data */ public function __construct(\Magento\Framework\View\Element\Context $context, \Magento\Framework\View\Layout\PageType\Config $config, array $data = []) { $this->_config = $config; parent::__construct($context, $data); }
/** * @param \Magento\Framework\View\Element\Context $context * @param \Magento\Framework\View\Layout\ProcessorFactory $layoutProcessorFactory * @param \Magento\Theme\Model\ResourceModel\Theme\CollectionFactory $themesFactory * @param array $data */ public function __construct(\Magento\Framework\View\Element\Context $context, \Magento\Framework\View\Layout\ProcessorFactory $layoutProcessorFactory, \Magento\Theme\Model\ResourceModel\Theme\CollectionFactory $themesFactory, array $data = []) { $this->_layoutProcessorFactory = $layoutProcessorFactory; $this->_themesFactory = $themesFactory; parent::__construct($context, $data); }
/** * Construct * * @param \Magento\Framework\View\Element\Context $context * @param \Magento\Customer\Service\V1\CustomerGroupServiceInterface $groupService * @param array $data */ public function __construct(\Magento\Framework\View\Element\Context $context, \Magento\Customer\Service\V1\CustomerGroupServiceInterface $groupService, array $data = array()) { parent::__construct($context, $data); $this->_groupService = $groupService; }