public function __construct(ObjectManager $obj, $options = null)
 {
     $this->setHydrator(new DoctrineHydrator($obj))->setObject(new Registration());
     if (is_array($options) && !array_key_exists('interview', $options)) {
         throw new \InvalidArgumentException('The `options` array must contain the key `interview`');
     }
     parent::__construct($obj, $options);
     $this->add(array('name' => 'occupation', 'type' => 'textarea', 'attributes' => array('rows' => 5), 'options' => array('label' => 'Ocupação (acadêmica e/ou profissional)*')))->add(array('name' => 'education', 'type' => 'textarea', 'attributes' => array('rows' => 5), 'options' => array('label' => 'Fez algum curso (técnico, linguas, etc) ? Qual?*')))->add(array('name' => 'volunteerWork', 'type' => 'textarea', 'attributes' => array('rows' => 5), 'options' => array('label' => 'Já fez trabalho voluntário? Descreva*')))->add(array('name' => 'howAndWhenKnowUs', 'type' => 'textarea', 'attributes' => array('rows' => 5), 'options' => array('label' => 'Como e quando nos conheceu?*')))->add(array('name' => 'whyWorkWithUs', 'type' => 'textarea', 'attributes' => array('rows' => 5), 'options' => array('label' => 'Por que escolheu se inscrever?*')))->add(array('name' => 'volunteerWithUs', 'type' => 'textarea', 'attributes' => array('rows' => 5), 'options' => array('label' => 'O que espera do trabalho voluntário?*')))->add(array('name' => 'whyWorkWithUs', 'type' => 'textarea', 'attributes' => array('rows' => 5), 'options' => array('label' => 'Por que escolheu se inscrever?*')))->add(array('name' => 'responsibility', 'type' => 'radio', 'options' => array('label' => 'Responsabilidade*', 'value_options' => array(Registration::SELF_EVALUATION_LEVEL_1 => Registration::SELF_EVALUATION_LEVEL_1, Registration::SELF_EVALUATION_LEVEL_2 => Registration::SELF_EVALUATION_LEVEL_2, Registration::SELF_EVALUATION_LEVEL_3 => Registration::SELF_EVALUATION_LEVEL_3, Registration::SELF_EVALUATION_LEVEL_4 => Registration::SELF_EVALUATION_LEVEL_4, Registration::SELF_EVALUATION_LEVEL_5 => Registration::SELF_EVALUATION_LEVEL_5), 'inline' => true)))->add(array('name' => 'proactive', 'type' => 'radio', 'attributes' => array(), 'options' => array('label' => 'Proatividade*', 'value_options' => array(Registration::SELF_EVALUATION_LEVEL_1 => Registration::SELF_EVALUATION_LEVEL_1, Registration::SELF_EVALUATION_LEVEL_2 => Registration::SELF_EVALUATION_LEVEL_2, Registration::SELF_EVALUATION_LEVEL_3 => Registration::SELF_EVALUATION_LEVEL_3, Registration::SELF_EVALUATION_LEVEL_4 => Registration::SELF_EVALUATION_LEVEL_4, Registration::SELF_EVALUATION_LEVEL_5 => Registration::SELF_EVALUATION_LEVEL_5), 'inline' => true)))->add(array('name' => 'volunteerSpirit', 'type' => 'radio', 'attributes' => array(), 'options' => array('label' => 'Espírito Voluntário', 'value_options' => array(Registration::SELF_EVALUATION_LEVEL_1 => Registration::SELF_EVALUATION_LEVEL_1, Registration::SELF_EVALUATION_LEVEL_2 => Registration::SELF_EVALUATION_LEVEL_2, Registration::SELF_EVALUATION_LEVEL_3 => Registration::SELF_EVALUATION_LEVEL_3, Registration::SELF_EVALUATION_LEVEL_4 => Registration::SELF_EVALUATION_LEVEL_4, Registration::SELF_EVALUATION_LEVEL_5 => Registration::SELF_EVALUATION_LEVEL_5), 'inline' => true)))->add(array('name' => 'commitment', 'type' => 'radio', 'attributes' => array(), 'options' => array('label' => 'Comprometimento*', 'value_options' => array(Registration::SELF_EVALUATION_LEVEL_1 => Registration::SELF_EVALUATION_LEVEL_1, Registration::SELF_EVALUATION_LEVEL_2 => Registration::SELF_EVALUATION_LEVEL_2, Registration::SELF_EVALUATION_LEVEL_3 => Registration::SELF_EVALUATION_LEVEL_3, Registration::SELF_EVALUATION_LEVEL_4 => Registration::SELF_EVALUATION_LEVEL_4, Registration::SELF_EVALUATION_LEVEL_5 => Registration::SELF_EVALUATION_LEVEL_5), 'inline' => true)))->add(array('name' => 'teamWork', 'type' => 'radio', 'attributes' => array(), 'options' => array('label' => 'Trabalho em Grupo*', 'value_options' => array(Registration::SELF_EVALUATION_LEVEL_1 => Registration::SELF_EVALUATION_LEVEL_1, Registration::SELF_EVALUATION_LEVEL_2 => Registration::SELF_EVALUATION_LEVEL_2, Registration::SELF_EVALUATION_LEVEL_3 => Registration::SELF_EVALUATION_LEVEL_3, Registration::SELF_EVALUATION_LEVEL_4 => Registration::SELF_EVALUATION_LEVEL_4, Registration::SELF_EVALUATION_LEVEL_5 => Registration::SELF_EVALUATION_LEVEL_5), 'inline' => true)))->add(array('name' => 'efficiency', 'type' => 'radio', 'attributes' => array(), 'options' => array('label' => 'Eficiência*', 'value_options' => array(Registration::SELF_EVALUATION_LEVEL_1 => Registration::SELF_EVALUATION_LEVEL_1, Registration::SELF_EVALUATION_LEVEL_2 => Registration::SELF_EVALUATION_LEVEL_2, Registration::SELF_EVALUATION_LEVEL_3 => Registration::SELF_EVALUATION_LEVEL_3, Registration::SELF_EVALUATION_LEVEL_4 => Registration::SELF_EVALUATION_LEVEL_4, Registration::SELF_EVALUATION_LEVEL_5 => Registration::SELF_EVALUATION_LEVEL_5), 'inline' => true)))->add(array('name' => 'courtesy', 'type' => 'radio', 'attributes' => array(), 'options' => array('label' => 'Cortesia*', 'value_options' => array(Registration::SELF_EVALUATION_LEVEL_1 => Registration::SELF_EVALUATION_LEVEL_1, Registration::SELF_EVALUATION_LEVEL_2 => Registration::SELF_EVALUATION_LEVEL_2, Registration::SELF_EVALUATION_LEVEL_3 => Registration::SELF_EVALUATION_LEVEL_3, Registration::SELF_EVALUATION_LEVEL_4 => Registration::SELF_EVALUATION_LEVEL_4, Registration::SELF_EVALUATION_LEVEL_5 => Registration::SELF_EVALUATION_LEVEL_5), 'inline' => true)));
     if ($options['interview']) {
         $this->add(new VolunteerInterviewFieldset($obj));
     }
 }
 public function __construct(ObjectManager $obj, $options = null)
 {
     if (is_array($options) && !array_key_exists('pre_interview', $options)) {
         throw new InvalidArgumentException('`options` array must contain ' . 'the key `pre_interview`');
     }
     $this->setHydrator(new DoctrineHydrator($obj))->setObject(new Registration());
     parent::__construct($obj, $options);
     $this->add(array('name' => 'recruitmentKnowAbout', 'type' => 'DoctrineModule\\Form\\Element\\ObjectMultiCheckbox', 'options' => array('label' => 'Por qual(is) meio(s) você soube do processo seletivo de alunos?*', 'object_manager' => $obj, 'target_class' => 'Recruitment\\Entity\\RecruitmentKnowAbout', 'property' => 'recruitmentKnowAboutDescription')));
     if ($options['pre_interview']) {
         $this->add(new PreInterviewFieldset($obj));
     }
 }