Notice: Undefined variable: namespace in C:\xampp\htdocs\ITI\uvdesk\vendor\symfony\maker-bundle\src\Resources\skeleton\registration\RegistrationController.tpl.php on line 3
; use
Notice: Undefined variable: user_full_class_name in C:\xampp\htdocs\ITI\uvdesk\vendor\symfony\maker-bundle\src\Resources\skeleton\registration\RegistrationController.tpl.php on line 5
; use
Notice: Undefined variable: form_full_class_name in C:\xampp\htdocs\ITI\uvdesk\vendor\symfony\maker-bundle\src\Resources\skeleton\registration\RegistrationController.tpl.php on line 6
;
Notice: Undefined variable: authenticator_full_class_name in C:\xampp\htdocs\ITI\uvdesk\vendor\symfony\maker-bundle\src\Resources\skeleton\registration\RegistrationController.tpl.php on line 7
use Symfony\Bundle\FrameworkBundle\Controller\
Notice: Undefined variable: parent_class_name in C:\xampp\htdocs\ITI\uvdesk\vendor\symfony\maker-bundle\src\Resources\skeleton\registration\RegistrationController.tpl.php on line 10
; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Annotation\Route; use Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface;
Notice: Undefined variable: authenticator_full_class_name in C:\xampp\htdocs\ITI\uvdesk\vendor\symfony\maker-bundle\src\Resources\skeleton\registration\RegistrationController.tpl.php on line 15
class
Notice: Undefined variable: class_name in C:\xampp\htdocs\ITI\uvdesk\vendor\symfony\maker-bundle\src\Resources\skeleton\registration\RegistrationController.tpl.php on line 19
extends
Notice: Undefined variable: parent_class_name in C:\xampp\htdocs\ITI\uvdesk\vendor\symfony\maker-bundle\src\Resources\skeleton\registration\RegistrationController.tpl.php on line 19
{ /** * @Route("
Notice: Undefined variable: route_path in C:\xampp\htdocs\ITI\uvdesk\vendor\symfony\maker-bundle\src\Resources\skeleton\registration\RegistrationController.tpl.php on line 22
", name="
Notice: Undefined variable: route_name in C:\xampp\htdocs\ITI\uvdesk\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 C:\xampp\htdocs\ITI\uvdesk\vendor\symfony\maker-bundle\src\Resources\skeleton\registration\RegistrationController.tpl.php on line 24
): Response { $user = new
Notice: Undefined variable: user_class_name in C:\xampp\htdocs\ITI\uvdesk\vendor\symfony\maker-bundle\src\Resources\skeleton\registration\RegistrationController.tpl.php on line 26
(); $form = $this->createForm(
Notice: Undefined variable: form_class_name in C:\xampp\htdocs\ITI\uvdesk\vendor\symfony\maker-bundle\src\Resources\skeleton\registration\RegistrationController.tpl.php on line 27
::class, $user); $form->handleRequest($request); if ($form->isSubmitted() && $form->isValid()) { // encode the plain password $user->set
Notice: Undefined variable: password_field in C:\xampp\htdocs\ITI\uvdesk\vendor\symfony\maker-bundle\src\Resources\skeleton\registration\RegistrationController.tpl.php on line 32
( $passwordEncoder->encodePassword( $user, $form->get('plainPassword')->getData() ) ); $entityManager = $this->getDoctrine()->getManager(); $entityManager->persist($user); $entityManager->flush(); // do anything else you need here, like send an email
Notice: Undefined variable: authenticator_full_class_name in C:\xampp\htdocs\ITI\uvdesk\vendor\symfony\maker-bundle\src\Resources\skeleton\registration\RegistrationController.tpl.php on line 45
return $this->redirectToRoute('
Notice: Undefined variable: redirect_route_name in C:\xampp\htdocs\ITI\uvdesk\vendor\symfony\maker-bundle\src\Resources\skeleton\registration\RegistrationController.tpl.php on line 53
'); } return $this->render('registration/register.html.twig', [ 'registrationForm' => $form->createView(), ]); } }