Eccube\Controller\ShoppingController::complete PHP Метод

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

購入完了画面表示
public complete ( Application $app, Request $request )
$app Eccube\Application
$request Symfony\Component\HttpFoundation\Request
    public function complete(Application $app, Request $request)
    {
        // 受注IDを取得
        $orderId = $app['session']->get($this->sessionOrderKey);
        $event = new EventArgs(array('orderId' => $orderId), $request);
        $app['eccube.event.dispatcher']->dispatch(EccubeEvents::FRONT_SHOPPING_COMPLETE_INITIALIZE, $event);
        if ($event->getResponse() !== null) {
            return $event->getResponse();
        }
        // 受注IDセッションを削除
        $app['session']->remove($this->sessionOrderKey);
        log_info('購入処理完了', array($orderId));
        return $app->render('Shopping/complete.twig', array('orderId' => $orderId));
    }