LogoutSuccess.php 1008 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. /**
  3. *
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. namespace Magento\Customer\Controller\Account;
  8. use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
  9. use Magento\Framework\App\Action\Context;
  10. use Magento\Framework\View\Result\PageFactory;
  11. class LogoutSuccess extends \Magento\Customer\Controller\AbstractAccount implements HttpGetActionInterface
  12. {
  13. /**
  14. * @var PageFactory
  15. */
  16. protected $resultPageFactory;
  17. /**
  18. * @param Context $context
  19. * @param PageFactory $resultPageFactory
  20. */
  21. public function __construct(
  22. Context $context,
  23. PageFactory $resultPageFactory
  24. ) {
  25. $this->resultPageFactory = $resultPageFactory;
  26. parent::__construct($context);
  27. }
  28. /**
  29. * Logout success page
  30. *
  31. * @return \Magento\Framework\View\Result\Page
  32. */
  33. public function execute()
  34. {
  35. return $this->resultPageFactory->create();
  36. }
  37. }