app/Customize/Controller/CustomHelpController.php line 57

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of EC-CUBE
  4.  *
  5.  * Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  6.  *
  7.  * http://www.ec-cube.co.jp/
  8.  *
  9.  * For the full copyright and license information, please view the LICENSE
  10.  * file that was distributed with this source code.
  11.  */
  12. namespace Customize\Controller;
  13. use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
  14. use Symfony\Component\Routing\Annotation\Route;
  15. use Eccube\Controller\AbstractController;
  16. use Symfony\Component\HttpFoundation\Response;
  17. class CustomHelpController extends AbstractController
  18. {
  19.     /**
  20.      * HelpController constructor.
  21.      */
  22.     public function __construct()
  23.     {
  24.     }
  25.     /**
  26.      * ご利用ガイド.
  27.      *
  28.      * @Route("/guide", name="help_guide", methods={"GET"})
  29.      * @Template("Help/guide.twig")
  30.      */
  31.     public function guide()
  32.     {
  33.         return [];
  34.     }
  35.     /**
  36.      * 当サイトについて.
  37.      *
  38.      * @Route("/help/about", name="help_about", methods={"GET"})
  39.      */
  40.     public function about()
  41.     {
  42.         return $this->redirectToRoute('homepage');
  43.     }
  44.     /**
  45.      * プライバシーポリシー.
  46.      *
  47.      * @Route("/help/privacy", name="help_privacy", methods={"GET"})
  48.      * @Template("Help/privacy.twig")
  49.      */
  50.     public function privacy()
  51.     {
  52.         return [];
  53.     }
  54.     /**
  55.      * 利用規約.
  56.      *
  57.      * @Route("/help/agreement", name="help_agreement", methods={"GET"})
  58.      * @Template("Help/agreement.twig")
  59.      */
  60.     public function agreement()
  61.     {
  62.         return [];
  63.     }
  64.     /**
  65.      * よくあるご質問
  66.      *
  67.      * @Route("/faq", name="help_faq", methods={"GET"})
  68.      * @Template("Help/faq.twig")
  69.      */
  70.     public function faq()
  71.     {
  72.         return [];
  73.     }
  74. }