<?php
namespace Customize\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use Symfony\Component\Routing\Annotation\Route;
use Eccube\Controller\TradeLawController;
class TradeLawCustomizeController extends TradeLawController
{
/**
* @Route("/order", name="help_tradelaw", methods={"GET"})
* @Template("Help/tradelaw.twig")
*/
public function index()
{
$tradelaws = $this->tradeLawRepository->findBy([], ['sortNo' => 'ASC']);
return [
'tradelaws' => $tradelaws,
];
}
}