Example #1
0
 /**
  * {@inheritdoc}
  */
 public function buildView(FormView $view, FormInterface $form, array $options)
 {
     $view->vars['prototypes'] = $this->expressionEngine->serialize($options['prototypes']);
     $view->vars['debug'] = $options['debug'];
     if ($view->vars['value'] == '') {
         $view->vars['value'] = '[]';
     }
 }
Example #2
0
 public function __construct(EntityManager $em, $configPath = null)
 {
     parent::__construct($configPath);
     $this->em = $em;
 }