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