1 <?php
declare(strict_types
=1);
4 * This file is part of the Rapsys UserBundle package.
6 * (c) Raphaël Gertz <symfony@rapsys.eu>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Rapsys\UserBundle\Form
;
14 use Symfony\Component\OptionsResolver\OptionsResolver
;
19 class ResetType
extends RegisterType
{
23 public function configureOptions(OptionsResolver
$resolver): void {
24 //Call parent configure option
25 parent
::configureOptions($resolver);
28 $resolver->setDefaults(['civility' => false, 'mail' => false, 'password' => true, 'forename' => false, 'surname' => false]);
34 public function getName(): string {
35 return 'rapsysuser_reset';