Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class NewsletterForm |
||
9 | { |
||
10 | use FormTrait; |
||
|
|||
11 | |||
12 | protected function getStepOne(): FormBuilderInterface |
||
13 | { |
||
14 | $form = $this->initForm(); |
||
15 | $form->add('authorEmail', EmailType::class); |
||
16 | $this->message->setContent($this->translator->trans('conversation.suscribeToNewsletter')); |
||
17 | |||
18 | return $form; |
||
19 | } |
||
20 | |||
21 | protected function getStepTwo(): FormBuilderInterface |
||
28 | } |
||
29 | } |
||
30 |