* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Rapsys\UserBundle\Form; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; /** * {@inheritdoc} */ class EditType extends RegisterType { /** * {@inheritdoc} */ public function configureOptions(OptionsResolver $resolver): void { //Call parent configure option parent::configureOptions($resolver); //Set defaults $resolver->setDefaults(['mail' => false, 'password' => false]); } /** * {@inheritdoc} */ public function getName(): string { return 'rapsysuser_edit'; } }