app/Plugin/DisableNonMember42/Controller/NonMemberShoppingController.php line 24

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of DisableNonMember42
  4.  * Copyright(c) U-Mebius Inc. All Rights Reserved.
  5.  * https://umebius.com/
  6.  * For the full copyright and license information, please view the LICENSE
  7.  * file that was distributed with this source code.
  8.  */
  9. namespace Plugin\DisableNonMember42\Controller;
  10. use Eccube\Controller\AbstractController;
  11. use Symfony\Component\HttpFoundation\Request;
  12. use Symfony\Component\Routing\Annotation\Route;
  13. class NonMemberShoppingController extends AbstractController
  14. {
  15.     /**
  16.      * 非会員処理
  17.      *
  18.      * @Route("/shopping/nonmember", name="shopping_nonmember")
  19.      */
  20.     public function index(Request $request)
  21.     {
  22.         return $this->redirectToRoute('shopping_login');
  23.     }
  24. }