| Total Complexity | 5 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class RegistrationType extends AbstractType |
||
| 10 | { |
||
| 11 | public function buildForm(FormBuilderInterface $builder, array $options) |
||
| 12 | { |
||
| 13 | $builder->add('firstName', null, ['label' => 'first_name']); |
||
| 14 | $builder->add('lastName', null, ['label' => 'last_name']); |
||
| 15 | } |
||
| 16 | |||
| 17 | public function getParent() |
||
| 18 | { |
||
| 19 | return 'FOS\UserBundle\Form\Type\RegistrationFormType'; |
||
| 20 | } |
||
| 21 | |||
| 22 | public function getBlockPrefix() |
||
| 25 | } |
||
| 26 | |||
| 27 | public function getName() |
||
| 28 | { |
||
| 29 | return $this->getBlockPrefix(); |
||
| 30 | } |
||
| 31 | |||
| 32 | public function configureOptions(OptionsResolver $resolver) |
||
| 37 | )); |
||
| 38 | } |
||
| 39 | } |
||
| 40 |