Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 protected function setUp()
 {
     parent::setUp();
     $this->factory = Forms::createFormFactoryBuilder()->addTypeExtension($this->createValidatorExtension())->addTypeGuesser($this->getMockValidatorTypeGuesser())->addTypes(array(new TagType()))->getFormFactory();
     $this->builder = $this->createFormBuilder();
 }
Ejemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 protected function setUp()
 {
     parent::setUp();
     $this->factory = Forms::createFormFactoryBuilder()->addTypes(array(new KeyValueRowType(), new KeyValueType()))->getFormFactory();
     $this->builder = $this->createFormBuilder();
 }