<?php

namespace Webkul\DamBundle\Form\Type;

use Webkul\DamBundle\Listener\ClassDefinationForCompatibility;

$versionCompatiblility = new ClassDefinationForCompatibility();
$versionCompatiblility->createClassAliases();
/**
 * Type for category form extended base Category Type
 *
 * @author    Aman Srivastava <aman.srivastava462@webkul.com>
 * @copyright 2019 Webkul Software Pvt. Ltd. (https://webkul.com)
 */
class CategoryType extends \BaseCategoryType
{
    /** @var string Entity FQCN */
    protected $dataClass;

    /** @var string Translation entity FQCN */
    protected $translationDataClass;

    /** @var EventSubscriberInterface[] */
    protected $subscribers = [];

    /**
     * Constructor
     *
     * @param string $dataClass
     * @param string $translationDataClass
     */
    public function __construct($dataClass, $translationDataClass)
    {
        $this->dataClass = $dataClass;
        $this->translationDataClass = $translationDataClass;
    }
}
