Index.php 602 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. *
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. namespace Magento\Contact\Controller\Index;
  8. use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
  9. use Magento\Framework\Controller\ResultFactory;
  10. class Index extends \Magento\Contact\Controller\Index implements HttpGetActionInterface
  11. {
  12. /**
  13. * Show Contact Us page
  14. *
  15. * @return \Magento\Framework\Controller\ResultInterface
  16. */
  17. public function execute()
  18. {
  19. return $this->resultFactory->create(ResultFactory::TYPE_PAGE);
  20. }
  21. }