<?php
namespace Boldr\Cms\UsersBundle\Form;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Component\Form\{ AbstractType, FormBuilderInterface };
class ForgotPasswordType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options): void
{
$builder->add('usernameOrEmailAddress', null, [
'label' => 'reset_password.username_or_email_address'
]);
}
public function configureOptions(OptionsResolver $resolver): void
{
$resolver->setDefault('translation_domain', 'BoldrUsersBundle');
}
}