/**
  * @param array $choices
  * @param string $name
  * @param AbstractType|null $formType
  */
 public function __construct(array $choices, $name, $formType = null)
 {
     parent::__construct($choices, $name);
     $this->formType = $formType;
 }
 /**
  * @param array $choices
  */
 public function __construct(array $choices)
 {
     parent::__construct($choices, BaseEntityIdentifierType::NAME);
 }
 /**
  * @param array $choices
  */
 public function __construct(array $choices)
 {
     $choices = $this->getEnumChoices($choices);
     parent::__construct($choices, static::NAME);
 }