vendor/boldr/users-bundle/src/Form/ForgotPasswordType.php line 8

Open in your IDE?
  1. <?php
  2. namespace Boldr\Cms\UsersBundle\Form;
  3. use Symfony\Component\OptionsResolver\OptionsResolver;
  4. use Symfony\Component\Form\{ AbstractTypeFormBuilderInterface };
  5. class ForgotPasswordType extends AbstractType
  6. {
  7.     
  8.     public function buildForm(FormBuilderInterface $builder, array $options): void
  9.     {
  10.         $builder->add('usernameOrEmailAddress'null, [
  11.             'label' => 'reset_password.username_or_email_address'
  12.         ]);
  13.     }
  14.     public function configureOptions(OptionsResolver $resolver): void
  15.     {
  16.         $resolver->setDefault('translation_domain''BoldrUsersBundle');
  17.     }
  18. }