Notice: Undefined variable: namespace in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 3
;
Notice: Undefined variable: use_statements in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 5
class
Notice: Undefined variable: class_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 7
extends
Notice: Undefined variable: parent_class_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 7
{
Notice: Undefined variable: will_verify_email in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 9
Notice: Undefined variable: use_attributes in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 18
/**
* @Route("
Notice: Undefined variable: route_path in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 22
", name="
Notice: Undefined variable: route_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 22
")
*/
public function register(Request $request, UserPasswordEncoderInterface $passwordEncoder
Notice: Undefined variable: authenticator_full_class_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 25
): Response
{
$user = new
Notice: Undefined variable: user_class_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 27
();
$form = $this->createForm(
Notice: Undefined variable: form_class_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 28
::class, $user);
$form->handleRequest($request);
if ($form->isSubmitted() && $form->isValid()) {
// encode the plain password
$user->set
Notice: Undefined variable: password_field in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 33
(
$passwordEncoder->encodePassword(
$user,
$form->get('plainPassword')->getData()
)
);
$entityManager = $this->getDoctrine()->getManager();
$entityManager->persist($user);
$entityManager->flush();
Notice: Undefined variable: will_verify_email in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 43
// do anything else you need here, like send an email
Notice: Undefined variable: authenticator_full_class_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 56
return $this->redirectToRoute('
Notice: Undefined variable: redirect_route_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 64
');
}
return $this->render('registration/register.html.twig', [
'registrationForm' => $form->createView(),
]);
}
Notice: Undefined variable: will_verify_email in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 72
}