public function buildForm(FormBuilderInterface $builder, array $options)
 {
     if ($options['class'] === null) {
         $controller = new $options['controller']();
         $options['class'] = $controller->getClass();
     }
     parent::buildForm($builder, $options);
 }
Beispiel #2
0
 public function buildForm(FormBuilderInterface $builder, array $options)
 {
     // @todo guess transformer?
     return parent::buildForm($builder, $options);
 }