Warning: Undefined variable $namespace in /home/microfrlnn/suivi-client/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 3
;
Warning: Undefined variable $use_statements in /home/microfrlnn/suivi-client/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 5
class
Warning: Undefined variable $class_name in /home/microfrlnn/suivi-client/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 7
extends
Warning: Undefined variable $parent_class_name in /home/microfrlnn/suivi-client/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 7
{
Warning: Undefined variable $will_verify_email in /home/microfrlnn/suivi-client/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 9
Warning: Undefined variable $use_attributes in /home/microfrlnn/suivi-client/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 18
/**
* @Route("
Warning: Undefined variable $route_path in /home/microfrlnn/suivi-client/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 22
", name="
Warning: Undefined variable $route_name in /home/microfrlnn/suivi-client/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 22
")
*/
public function register(Request $request, UserPasswordEncoderInterface $passwordEncoder
Warning: Undefined variable $authenticator_full_class_name in /home/microfrlnn/suivi-client/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 25
): Response
{
$user = new
Warning: Undefined variable $user_class_name in /home/microfrlnn/suivi-client/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 27
();
$form = $this->createForm(
Warning: Undefined variable $form_class_name in /home/microfrlnn/suivi-client/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
Warning: Undefined variable $password_field in /home/microfrlnn/suivi-client/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 33
Deprecated: ucfirst(): Passing null to parameter #1 ($string) of type string is deprecated in /home/microfrlnn/suivi-client/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();
Warning: Undefined variable $will_verify_email in /home/microfrlnn/suivi-client/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 43
// do anything else you need here, like send an email
Warning: Undefined variable $authenticator_full_class_name in /home/microfrlnn/suivi-client/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 56
return $this->redirectToRoute('
Warning: Undefined variable $redirect_route_name in /home/microfrlnn/suivi-client/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 64
');
}
return $this->render('registration/register.html.twig', [
'registrationForm' => $form->createView(),
]);
}
Warning: Undefined variable $will_verify_email in /home/microfrlnn/suivi-client/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 72
}