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\Form\FormBuilderInterface
;
15 use Symfony\Component\OptionsResolver\OptionsResolver
;
20 class EditType
extends RegisterType
{
24 public function configureOptions(OptionsResolver
$resolver): void {
25 //Call parent configure option
26 parent
::configureOptions($resolver);
29 $resolver->setDefaults(['mail' => false, 'password' => false]);
35 public function getName(): string {
36 return 'rapsys_user_edit';