Eccube\Controller\Admin\Setting\Shop\PaymentController::index PHP Метод

index() публичный Метод

public index ( Application $app, Request $request )
$app Eccube\Application
$request Symfony\Component\HttpFoundation\Request
    public function index(Application $app, Request $request)
    {
        $Payments = $app['eccube.repository.payment']->findBy(array('del_flg' => 0), array('rank' => 'DESC'));
        $event = new EventArgs(array('Payments' => $Payments), $request);
        $app['eccube.event.dispatcher']->dispatch(EccubeEvents::ADMIN_SETTING_SHOP_PAYMENT_INDEX_COMPLETE, $event);
        return $app->render('Setting/Shop/payment.twig', array('Payments' => $Payments));
    }