Warning: Undefined variable $namespace in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 3
;
use
Warning: Undefined variable $entity_full_class_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.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/crud/controller/Controller.tpl.php on line 6
;
use Symfony\Bundle\FrameworkBundle\Controller\
Warning: Undefined variable $parent_class_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 10
;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
/**
* @Route("
Warning: Undefined variable $route_path in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 16
")
*/
class
Warning: Undefined variable $class_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 18
extends
Warning: Undefined variable $parent_class_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 18
{
/**
* @Route("/", name="
Warning: Undefined variable $route_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 21
_index", methods={"GET"})
*/
public function index(): Response
{
$
Warning: Undefined variable $entity_var_plural in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 33
= $this->getDoctrine()
->getRepository(
Warning: Undefined variable $entity_class_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 34
::class)
->findAll();
return $this->render('
Warning: Undefined variable $templates_path in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 37
/index.html.twig', [
'
Warning: Undefined variable $entity_twig_var_plural in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 38
' => $
Warning: Undefined variable $entity_var_plural in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 38
,
]);
}
/**
* @Route("/new", name="
Warning: Undefined variable $route_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 44
_new", methods={"GET","POST"})
*/
public function new(Request $request): Response
{
$
Warning: Undefined variable $entity_var_singular in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 48
= new
Warning: Undefined variable $entity_class_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 48
();
$form = $this->createForm(
Warning: Undefined variable $form_class_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 49
::class, $
Warning: Undefined variable $entity_var_singular in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 49
);
$form->handleRequest($request);
if ($form->isSubmitted() && $form->isValid()) {
$entityManager = $this->getDoctrine()->getManager();
$entityManager->persist($
Warning: Undefined variable $entity_var_singular in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 54
);
$entityManager->flush();
return $this->redirectToRoute('
Warning: Undefined variable $route_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 57
_index');
}
return $this->render('
Warning: Undefined variable $templates_path in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 60
/new.html.twig', [
'
Warning: Undefined variable $entity_twig_var_singular in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 61
' => $
Warning: Undefined variable $entity_var_singular in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 61
,
'form' => $form->createView(),
]);
}
/**
* @Route("/{
Warning: Undefined variable $entity_identifier in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 67
}", name="
Warning: Undefined variable $route_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 67
_show", methods={"GET"})
*/
public function show(
Warning: Undefined variable $entity_class_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 69
$
Warning: Undefined variable $entity_var_singular in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 69
): Response
{
return $this->render('
Warning: Undefined variable $templates_path in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 71
/show.html.twig', [
'
Warning: Undefined variable $entity_twig_var_singular in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 72
' => $
Warning: Undefined variable $entity_var_singular in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 72
,
]);
}
/**
* @Route("/{
Warning: Undefined variable $entity_identifier in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 77
}/edit", name="
Warning: Undefined variable $route_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 77
_edit", methods={"GET","POST"})
*/
public function edit(Request $request,
Warning: Undefined variable $entity_class_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 79
$
Warning: Undefined variable $entity_var_singular in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 79
): Response
{
$form = $this->createForm(
Warning: Undefined variable $form_class_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 81
::class, $
Warning: Undefined variable $entity_var_singular in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 81
);
$form->handleRequest($request);
if ($form->isSubmitted() && $form->isValid()) {
$this->getDoctrine()->getManager()->flush();
return $this->redirectToRoute('
Warning: Undefined variable $route_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 87
_index');
}
return $this->render('
Warning: Undefined variable $templates_path in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 90
/edit.html.twig', [
'
Warning: Undefined variable $entity_twig_var_singular in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 91
' => $
Warning: Undefined variable $entity_var_singular in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 91
,
'form' => $form->createView(),
]);
}
/**
* @Route("/{
Warning: Undefined variable $entity_identifier in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 97
}", name="
Warning: Undefined variable $route_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 97
_delete", methods={"DELETE"})
*/
public function delete(Request $request,
Warning: Undefined variable $entity_class_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 99
$
Warning: Undefined variable $entity_var_singular in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 99
): Response
{
if ($this->isCsrfTokenValid('delete'.$
Warning: Undefined variable $entity_var_singular in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 101
->get
Warning: Undefined variable $entity_identifier in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 101
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/crud/controller/Controller.tpl.php on line 101
(), $request->request->get('_token'))) {
$entityManager = $this->getDoctrine()->getManager();
$entityManager->remove($
Warning: Undefined variable $entity_var_singular in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 103
);
$entityManager->flush();
}
return $this->redirectToRoute('
Warning: Undefined variable $route_name in /home/net1/tares.net1.club/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 107
_index');
}
}