| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 31 | protected function initForm(FormFactoryInterface $factory, $data = null) |
||
| 32 | { |
||
| 33 | $builder = $factory->createNamedBuilder('dto_form', 'form', $data, [ |
||
| 34 | 'data_class' => $this->getClassName() |
||
| 35 | ]); |
||
| 36 | $builder->add('email', 'email', ['label' => 'admin.email']); |
||
| 37 | |||
| 38 | return $builder->getForm(); |
||
| 39 | } |
||
| 40 | } |
||
| 41 |