| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | class EditType extends AbstractEventType |
||
| 20 | { |
||
| 21 | public function buildForm(FormBuilderInterface $builder, array $options) |
||
| 22 | { |
||
| 23 | $builder->add('event', \App\Form\EventTrait\EditType::class, ['inherit_data' => true]); |
||
| 24 | |||
| 25 | $builder->add('maximumAttendeeCapacity', NumberType::class, ['required' => false]); |
||
| 26 | $builder->add('registrationOpen', DateTimeType::class, ['required' => false, 'date_widget' => 'single_text', 'time_widget' => 'single_text']); |
||
| 27 | $builder->add('registrationClose', DateTimeType::class, ['required' => false, 'date_widget' => 'single_text', 'time_widget' => 'single_text']); |
||
| 28 | } |
||
| 29 | |||
| 30 | public function configureOptions(OptionsResolver $resolver) |
||
| 36 | } |
||
| 37 | } |
||
| 38 |