Index.php 517 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. *
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. namespace Magento\Checkout\Controller\Noroute;
  8. use \Magento\Framework\Exception\NotFoundException;
  9. class Index extends \Magento\Framework\App\Action\Action
  10. {
  11. /**
  12. * Checkout page not found controller
  13. *
  14. * @throws NotFoundException
  15. * @return void
  16. * @codeCoverageIgnore
  17. */
  18. public function execute()
  19. {
  20. throw new NotFoundException(__('Page not found.'));
  21. }
  22. }