Warning: Undefined variable $namespace in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 3
; use
Warning: Undefined variable $user_full_class_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 5
; use
Warning: Undefined variable $form_full_class_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 6
;
Warning: Undefined variable $authenticator_full_class_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 7
use Symfony\Bundle\FrameworkBundle\Controller\
Warning: Undefined variable $parent_class_name in /home/net1/tares.net1.club/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;
Warning: Undefined variable $authenticator_full_class_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 15
class
Warning: Undefined variable $class_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 19
extends
Warning: Undefined variable $parent_class_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 19
{ /** * @Route("
Warning: Undefined variable $route_path in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 22
", name="
Warning: Undefined variable $route_name in /home/net1/tares.net1.club/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/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 24
): Response { $user = new
Warning: Undefined variable $user_class_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 26
(); $form = $this->createForm(
Warning: Undefined variable $form_class_name in /home/net1/tares.net1.club/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
Warning: Undefined variable $password_field in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 32

Deprecated: ucfirst(): Passing null to parameter #1 ($string) of type string is deprecated in /home/net1/tares.net1.club/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
Warning: Undefined variable $authenticator_full_class_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 45
return $this->redirectToRoute('
Warning: Undefined variable $redirect_route_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/registration/RegistrationController.tpl.php on line 53
'); } return $this->render('registration/register.html.twig', [ 'registrationForm' => $form->createView(), ]); } }