Exemplo n.º 1
0
 public function __construct(\Magento\Framework\App\Action\Context $context, \Magento\Framework\View\Result\PageFactory $resultPageFactory, \Magento\Framework\Session\Config\ConfigInterface $sessionConfig, \Magento\Framework\Session\SessionManagerInterface $sessionManager, \Magento\Framework\Stdlib\Cookie\CookieMetadataFactory $cookieMetadataFactory, \Magento\Framework\Stdlib\CookieManagerInterface $cookieManager)
 {
     $this->resultPageFactory = $resultPageFactory;
     $this->sessionConfig = $sessionConfig;
     $this->sessionManager = $sessionManager;
     $this->sessionManager = $sessionManager;
     $this->cookieMetadataFactory = $cookieMetadataFactory;
     $this->cookieManager = $cookieManager;
     return parent::__construct($context);
 }
Exemplo n.º 2
0
 public function __construct(\Magento\Framework\App\Action\Context $context, \Foggyline\Office\Model\EmployeeFactory $employeeFactory, \Foggyline\Office\Model\DepartmentFactory $departmentFactory, \Magento\Framework\View\Result\PageFactory $resultPageFactory, \Magento\Framework\Session\Config\ConfigInterface $sessionConfig, \Magento\Framework\Session\SessionManagerInterface $sessionManager, \Magento\Framework\Stdlib\Cookie\CookieMetadataFactory $cookieMetadataFactory, \Magento\Framework\Stdlib\CookieManagerInterface $cookieManager, \Psr\Log\LoggerInterface $logger, \Foggyline\Office\Model\Cache $cache)
 {
     $this->employeeFactory = $employeeFactory;
     $this->departmentFactory = $departmentFactory;
     $this->resultPageFactory = $resultPageFactory;
     $this->sessionConfig = $sessionConfig;
     $this->sessionManager = $sessionManager;
     $this->cookieMetadataFactory = $cookieMetadataFactory;
     $this->cookieManager = $cookieManager;
     $this->logger = $logger;
     $this->cache = $cache;
     return parent::__construct($context);
 }
Exemplo n.º 3
0
 public function __construct(\Magento\Framework\App\Action\Context $context, \Magento\Framework\View\Result\PageFactory $resultPageFactory)
 {
     $this->resultPageFactory = $resultPageFactory;
     return parent::__construct($context);
 }
Exemplo n.º 4
0
 public function __construct(\Magento\Framework\App\Action\Context $context, \Foggyline\Office\Model\EmployeeFactory $employeeFactory, \Foggyline\Office\Model\DepartmentFactory $departmentFactory)
 {
     $this->employeeFactory = $employeeFactory;
     $this->departmentFactory = $departmentFactory;
     return parent::__construct($context);
 }
Exemplo n.º 5
0
 public function __construct(\Magento\Framework\App\Action\Context $context, \Magento\Framework\View\Result\PageFactory $resultPageFactory, \Psr\Log\LoggerInterface $logger)
 {
     $this->resultPageFactory = $resultPageFactory;
     $this->logger = $logger;
     return parent::__construct($context);
 }