Guest User

Untitled

a guest
May 24th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. <?php
  2. namespace PortailTestControllerConnexion;
  3.  
  4. use MagentoFrameworkAppActionAction;
  5. use MagentoFrameworkAppActionContext;
  6. use MagentoFrameworkAppObjectManager;
  7. use MagentoFrameworkViewResultPageFactory;
  8. use MagentoStoreModelStoreManagerInterface;
  9.  
  10. class Form extends Action
  11. {
  12. protected $_pageFactory;
  13. protected $storeManager;
  14.  
  15. public function __construct(Context $context, StoreManagerInterface $storeManager, PageFactory $pageFactory)
  16. {
  17. $this->storeManager = $storeManager;
  18. $this->_pageFactory = $pageFactory;
  19. return parent::__construct($context);
  20. }
  21. ...
  22. }
Add Comment
Please, Sign In to add comment