Пример #1
0
 public function render(array $options = [], $showLabel = true, $showField = true, $showError = true)
 {
     dd(parent::getParent());
     $choice = new ChoiceType('some_choice', 'choice', new Form(), $options);
     return $choice->render();
     //return parent::render($options, $showLabel, $showField, $showError);
 }
 /**
  * @param FormField $field
  */
 public function __construct(FormField $field)
 {
     $this->field = $field;
     $this->formHelper = $this->field->getParent()->getFormHelper();
 }