/**
  * @param FormBuilderInterface $builder
  * @param array $options
  */
 public function buildForm(FormBuilderInterface $builder, array $options)
 {
     $builder->add('AdvancedUser', new AdvancedUserRegisterType())->add('enterpriseType', 'choice', array('choices' => \Bgm555\AppBundle\Entity\Subscriber::getEnterpriseTypes()))->add('company', 'text', array('required' => false))->add('companyKana', 'text', array('required' => false));
 }
예제 #2
0
 /**
  * @param FormBuilderInterface $builder
  * @param array $options
  */
 public function buildForm(FormBuilderInterface $builder, array $options)
 {
     $builder->add('advancedUser', new AdvancedUserEditingType())->add('enterpriseType', 'choice', array('choices' => Subscriber::getEnterpriseTypes()))->add('company', 'text', array('required' => false))->add('companyKana', 'text', array('required' => false));
 }