Notice: Undefined variable: namespace in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 3
;
use
Notice: Undefined variable: entity_full_class_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 5
;
use
Notice: Undefined variable: form_full_class_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 6
;
use Symfony\Bundle\FrameworkBundle\Controller\
Notice: Undefined variable: parent_class_name in /home/developer/public_html/elnashra_old/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;
Notice: Undefined variable: use_attributes in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 15
/**
* @Route("
Notice: Undefined variable: route_path in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 19
")
*/
class
Notice: Undefined variable: class_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 22
extends
Notice: Undefined variable: parent_class_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 22
{
Notice: Undefined variable: use_attributes in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 24
/**
* @Route("/", name="
Notice: Undefined variable: route_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 28
_index", methods={"GET"})
*/
public function index(): Response
{
$
Notice: Undefined variable: entity_var_plural in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 41
= $this->getDoctrine()
->getRepository(
Notice: Undefined variable: entity_class_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 42
::class)
->findAll();
return $this->render('
Notice: Undefined variable: templates_path in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 45
/index.html.twig', [
'
Notice: Undefined variable: entity_twig_var_plural in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 46
' => $
Notice: Undefined variable: entity_var_plural in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 46
,
]);
}
Notice: Undefined variable: use_attributes in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 51
/**
* @Route("/new", name="
Notice: Undefined variable: route_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 55
_new", methods={"GET","POST"})
*/
public function new(Request $request): Response
{
$
Notice: Undefined variable: entity_var_singular in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 60
= new
Notice: Undefined variable: entity_class_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 60
();
$form = $this->createForm(
Notice: Undefined variable: form_class_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 61
::class, $
Notice: Undefined variable: entity_var_singular in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 61
);
$form->handleRequest($request);
if ($form->isSubmitted() && $form->isValid()) {
$entityManager = $this->getDoctrine()->getManager();
$entityManager->persist($
Notice: Undefined variable: entity_var_singular in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 66
);
$entityManager->flush();
return $this->redirectToRoute('
Notice: Undefined variable: route_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 69
_index', [], Response::HTTP_SEE_OTHER);
}
Notice: Undefined variable: use_render_form in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 72
return $this->render('
Notice: Undefined variable: templates_path in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 78
/new.html.twig', [
'
Notice: Undefined variable: entity_twig_var_singular in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 79
' => $
Notice: Undefined variable: entity_var_singular in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 79
,
'form' => $form->createView(),
]);
}
Notice: Undefined variable: use_attributes in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 85
/**
* @Route("/{
Notice: Undefined variable: entity_identifier in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 89
}", name="
Notice: Undefined variable: route_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 89
_show", methods={"GET"})
*/
public function show(
Notice: Undefined variable: entity_class_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 92
$
Notice: Undefined variable: entity_var_singular in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 92
): Response
{
return $this->render('
Notice: Undefined variable: templates_path in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 94
/show.html.twig', [
'
Notice: Undefined variable: entity_twig_var_singular in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 95
' => $
Notice: Undefined variable: entity_var_singular in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 95
,
]);
}
Notice: Undefined variable: use_attributes in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 99
/**
* @Route("/{
Notice: Undefined variable: entity_identifier in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 103
}/edit", name="
Notice: Undefined variable: route_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 103
_edit", methods={"GET","POST"})
*/
public function edit(Request $request,
Notice: Undefined variable: entity_class_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 106
$
Notice: Undefined variable: entity_var_singular in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 106
): Response
{
$form = $this->createForm(
Notice: Undefined variable: form_class_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 108
::class, $
Notice: Undefined variable: entity_var_singular in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 108
);
$form->handleRequest($request);
if ($form->isSubmitted() && $form->isValid()) {
$this->getDoctrine()->getManager()->flush();
return $this->redirectToRoute('
Notice: Undefined variable: route_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 114
_index', [], Response::HTTP_SEE_OTHER);
}
Notice: Undefined variable: use_render_form in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 117
return $this->render('
Notice: Undefined variable: templates_path in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 123
/edit.html.twig', [
'
Notice: Undefined variable: entity_twig_var_singular in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 124
' => $
Notice: Undefined variable: entity_var_singular in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 124
,
'form' => $form->createView(),
]);
}
Notice: Undefined variable: use_attributes in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 130
/**
* @Route("/{
Notice: Undefined variable: entity_identifier in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 134
}", name="
Notice: Undefined variable: route_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 134
_delete", methods={"POST"})
*/
public function delete(Request $request,
Notice: Undefined variable: entity_class_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 137
$
Notice: Undefined variable: entity_var_singular in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 137
): Response
{
if ($this->isCsrfTokenValid('delete'.$
Notice: Undefined variable: entity_var_singular in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 139
->get
Notice: Undefined variable: entity_identifier in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 139
(), $request->request->get('_token'))) {
$entityManager = $this->getDoctrine()->getManager();
$entityManager->remove($
Notice: Undefined variable: entity_var_singular in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 141
);
$entityManager->flush();
}
return $this->redirectToRoute('
Notice: Undefined variable: route_name in /home/developer/public_html/elnashra_old/vendor/symfony/maker-bundle/src/Resources/skeleton/crud/controller/Controller.tpl.php on line 145
_index', [], Response::HTTP_SEE_OTHER);
}
}