<?php

namespace KupShop\OrderDiscountBundle\Admin\lists;

use KupShop\I18nBundle\Admin\lists\TranslateList;
use KupShop\KupShopBundle\Util\Compat\ServiceContainer;
use KupShop\OrderDiscountBundle\Translations\OrderDiscountsTranslation;

class TranslateOrderDiscountsList extends TranslateList
{
    protected $template = 'list/translateOrderDiscounts.tpl';

    protected $listType = 'translateOrderDiscounts';

    public function __construct()
    {
        parent::__construct();
        $this->translation = ServiceContainer::getService(OrderDiscountsTranslation::class);
    }
}

$main_class = TranslateOrderDiscountsList::class;
