-       public function buildForm(FormBuilderInterface $builder, array $options) {
-               return $builder
-                       ->add('mail', EmailType::class, ['attr' => ['placeholder' => 'Your mail'], 'constraints' => [new NotBlank(['message' => 'Please provide your mail']), new Email(['message' => 'Your mail doesn\'t seems to be valid'])]])
-                       ->add('submit', SubmitType::class, ['label' => 'Send', 'attr' => ['class' => 'submit']]);
-       }
+       public function configureOptions(OptionsResolver $resolver): void {
+               //Call parent configure option
+               parent::configureOptions($resolver);