Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace App\Controller\Admin; use Symfony\Component\HttpFoundation\Request; use ..

Decoded Output download

<?php 
 namespace App\Controller\Admin; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Form\Extension\Core\Type\SubmitType; use Symfony\Component\Form\Form; use App\Controller\Controller; use Symfony\Contracts\Translation\TranslatorInterface; use App\Entity\Manager\SiteManager as SiteEntityManager; use App\Entity\Manager\UserManager as UserEntityManager; use App\Entity\Manager\TimezoneManager as TimezoneEntityManager; use App\Entity\User as UserEntity; use App\Event\EventQueue; use App\Service\Logger; class UserController extends Controller { private UserEntityManager $userEntityManager; private SiteEntityManager $siteEntityManager; private TimezoneEntityManager $timezoneEntityManager; public function __construct(UserEntityManager $userEntityManager, SiteEntityManager $siteEntityManager, TimezoneEntityManager $timezoneEntityManager, TranslatorInterface $translator, Logger $logger) { goto d8964; a2e5b: parent::__construct($translator, $logger); goto C606b; df68b: $this->siteEntityManager = $siteEntityManager; goto a7e37; d8964: $this->userEntityManager = $userEntityManager; goto df68b; a7e37: $this->timezoneEntityManager = $timezoneEntityManager; goto a2e5b; C606b: } public function index(Request $request) : Response { goto Ce322; B21e0: $users = array_filter($users, function ($user) use($currentUser) { return $currentUser->getId() != $user->getId(); }); goto e3718; e3718: $response = $this->render("Admin/User/index.html.twig", ["users" => $users]); goto B9cf1; B9cf1: return $response; goto e340c; e4fbe: $users = $this->userEntityManager->findAll([], ["userName" => "asc"]); goto B21e0; Ce322: $currentUser = $this->getUser(); goto e4fbe; e340c: } public function new(Request $request) : Response { goto e4a83; b8796: return $response; goto F8058; bc500: Ec628: goto a44c4; A0eee: if (!(true === $request->isMethod("POST"))) { goto be83c; } goto B4a41; e4a83: $userEntity = $this->userEntityManager->createEntity(); goto E8f3c; Ab915: if (!(false === is_null($response))) { goto Ec628; } goto b6e42; fc479: be83c: goto Ae441; Dccd2: if (!(true === $form->isSubmitted())) { goto da63d; } goto F885f; F885f: $response = $this->handleUserForm($request, $form); goto Ab915; b285f: $form = $this->createUserForm($userEntity); goto A0eee; fe3dd: $sites = $this->siteEntityManager->findAll([], ["domainName" => "ASC"]); goto b2373; b2373: $userEntity->setTimezone($defaultTimezone); goto b285f; a44c4: da63d: goto fc479; B4a41: $form->handleRequest($request); goto Dccd2; E8f3c: $defaultTimezone = $this->timezoneEntityManager->findOneByName(UserEntity::DEFAULT_TIMEZONE); goto fe3dd; Ae441: $response = $this->render("Admin/User/new.html.twig", ["user" => $userEntity, "sites" => $sites, "form" => $form->createView(), "formErrors" => $this->formErrors]); goto b8796; b6e42: return $response; goto bc500; F8058: } private function createUserForm(UserEntity $userEntity) : Form { goto d7d8a; e1b99: return $form; goto c135f; d7d8a: $form = $this->createForm("App\Form\AdminUserType", $userEntity, ["action" => $this->generateUrl("clp_admin_user_new"), "method" => "POST", "attr" => []]); goto f6524; f6524: $form->add("submit", SubmitType::class, ["attr" => ["class" => "btn btn-blue btn-lg"], "label" => "Add User"]); goto e1b99; c135f: } private function handleUserForm(Request $request, Form $form) { goto Ae99c; d2458: goto af577; goto Fa04b; E79ff: try { goto D04f8; e0a76: e4bfb: goto f4687; c40f0: EventQueue::addEvent(EventQueue::EVENT_ADMIN_USER_ADD, $currentUser, $eventData, $request); goto f927a; f927a: $session->getFlashBag()->set("success", $this->translator->trans("User has been added.")); goto Cb98e; De692: sort($domainNames); goto bc916; f4687: e49fc: goto De692; B6b0b: $userEntity = $form->getData(); goto e7332; Cb98e: $response = $this->redirect($this->generateUrl("clp_admin_users")); goto fd7e7; E831c: $session = $request->getSession(); goto B6b0b; Efe1a: if (!(count($sites) && UserEntity::ROLE_USER == $userEntity->getRole())) { goto e49fc; } goto Eb8f1; bc916: $this->userEntityManager->updateUser($userEntity); goto bb3bf; C2cec: $domainNames = []; goto Efe1a; fd7e7: return $response; goto d374e; bb3bf: $eventData = ["userName" => $userEntity->getUserName(), "firstName" => $userEntity->getFirstName(), "lastName" => $userEntity->getLastName(), "email" => $userEntity->getEMail(), "role" => $userEntity->getRole(), "sites" => implode(", ", $domainNames)]; goto c40f0; Eb8f1: foreach ($sites as $site) { $domainNames[] = $site->getDomainName(); b22b1: } goto e0a76; D04f8: $currentUser = $this->getUser(); goto E831c; e7332: $sites = $userEntity->getSites(); goto C2cec; d374e: } catch (\Exception $e) { $this->logger->exception($e); $session->getFlashBag()->set("danger", $this->translator->trans("An error has occurred, error message: %errorMessage%", ["%errorMessage%" => $e->getMessage()])); } goto cb4ab; Ae99c: if (true === $form->isValid()) { goto E0210; } goto Bbe6a; Bbe6a: $this->formErrors = $this->getErrorMessages($form); goto d2458; Fa04b: E0210: goto E79ff; cb4ab: af577: goto Abd9d; Abd9d: } public function edit(Request $request) : Response { goto Ec450; E4a5f: if (!(true === $request->isMethod("POST"))) { goto F22ba; } goto F0ed1; d1bd9: $form = $this->createUserEditForm($userEntity); goto E4a5f; C3fd9: $response = $this->render("Admin/User/edit.html.twig", ["user" => $userEntity, "sites" => $sites, "form" => $form->createView(), "formErrors" => $this->formErrors]); goto Eb20b; D3432: $userEntity = $this->userEntityManager->findOneById($id); goto Ef815; Ea9bf: if (!(false === is_null($response))) { goto d61e1; } goto Bb489; c7ef6: A28c3: goto da94f; F0ed1: $form->handleRequest($request); goto beec7; Ef815: if (false === is_null($userEntity)) { goto e9e60; } goto f4e15; beec7: if (!(true === $form->isSubmitted())) { goto A28c3; } goto c246f; f4e15: $response = $this->redirect($this->generateUrl("clp_admin_users")); goto ce844; da94f: F22ba: goto C3fd9; ede92: $sites = $this->siteEntityManager->findAll([], ["domainName" => "ASC"]); goto d1bd9; e1665: e9e60: goto ede92; Eb20b: Bdd8f: goto aff53; Bb489: return $response; goto e3215; ce844: goto Bdd8f; goto e1665; c246f: $response = $this->handleUserEditForm($request, $form); goto Ea9bf; aff53: return $response; goto C22f8; Ec450: $id = (int) $request->get("id"); goto D3432; e3215: d61e1: goto c7ef6; C22f8: } private function createUserEditForm(UserEntity $userEntity) : Form { goto A158e; cb4a6: return $form; goto b109c; A158e: $form = $this->createForm("App\Form\AdminUserEditType", $userEntity, ["action" => $this->generateUrl("clp_admin_user_edit", ["id" => $userEntity->getId()]), "method" => "POST", "attr" => []]); goto Ffa82; Ffa82: $form->add("submit", SubmitType::class, ["attr" => ["class" => "btn btn-blue btn-lg"], "label" => "Save"]); goto cb4a6; b109c: } private function handleUserEditForm(Request $request, Form $form) { goto a48d3; b92ac: f3558: goto b6b55; D6a15: try { goto F08f6; fdd33: $this->userEntityManager->updateUser($userEntity); goto b82d5; F08f6: $currentUser = $this->getUser(); goto B7766; Fc4d3: if (!(count($sites) && UserEntity::ROLE_USER == $userEntity->getRole())) { goto a912a; } goto A5ce3; D7e1b: $this->userEntityManager->updateUser($userEntity, true, true); goto Da08c; d5b1f: f4429: goto D7e1b; c1c44: A13f7: goto A975c; ecb0a: $response = $this->redirect($this->generateUrl("clp_admin_user_edit", ["id" => $userEntity->getId()])); goto e9740; D9c03: if (false === empty($plainPassword)) { goto f4429; } goto fdd33; c222d: $plainPassword = $userEntity->getPlainPassword(); goto Bfc06; b82d5: goto C9079; goto d5b1f; E05de: sort($domainNames); goto D9c03; A975c: a912a: goto E05de; Bfc06: $sites = $userEntity->getSites(); goto d661d; e9740: return $response; goto Fc141; Fc8c5: $session->getFlashBag()->set("success", $this->translator->trans("User has been updated.")); goto ecb0a; Bebac: $eventData = ["userName" => $userEntity->getUserName(), "firstName" => $userEntity->getFirstName(), "lastName" => $userEntity->getLastName(), "email" => $userEntity->getEMail(), "role" => $userEntity->getRole(), "status" => (int) $userEntity->getStatus(), "sites" => implode(", ", $domainNames)]; goto F4779; B7766: $session = $request->getSession(); goto Bcc68; Da08c: C9079: goto Bebac; d661d: $domainNames = []; goto Fc4d3; F4779: EventQueue::addEvent(EventQueue::EVENT_ADMIN_USER_UPDATE, $currentUser, $eventData, $request); goto Fc8c5; Bcc68: $userEntity = $form->getData(); goto c222d; A5ce3: foreach ($sites as $site) { $domainNames[] = $site->getDomainName(); Fba45: } goto c1c44; Fc141: } catch (\Exception $e) { $this->logger->exception($e); $session->getFlashBag()->set("danger", $this->translator->trans("An error has occurred, error message: %errorMessage%", ["%errorMessage%" => $e->getMessage()])); } goto b92ac; c660e: $this->formErrors = $this->getErrorMessages($form); goto a80cd; f210c: e2622: goto D6a15; a80cd: goto f3558; goto f210c; a48d3: if (true === $form->isValid()) { goto e2622; } goto c660e; b6b55: } public function delete(Request $request) : Response { goto f6cfe; c4753: $eventData = ["userName" => $userEntity->getUserName(), "firstName" => $userEntity->getFirstName(), "lastName" => $userEntity->getLastName(), "email" => $userEntity->getEMail(), "role" => $userEntity->getRole()]; goto Baffb; B1e38: return $response; goto D619c; dfe60: if (!(true === isset($id) && $id != $currentUser->getId())) { goto e9e1f; } goto Bab38; F8519: $session->getFlashBag()->set("success", $this->translator->trans("User has been deleted.")); goto Dcc62; D91dc: e9e1f: goto A8c91; Dcc62: ccf36: goto D91dc; Febb3: $this->userEntityManager->deleteUser($userEntity); goto F8519; A8c91: $response = $this->redirect($this->generateUrl("clp_admin_users")); goto B1e38; F8b2d: if (!(false === is_null($userEntity))) { goto ccf36; } goto f7c2b; f7c2b: $session = $request->getSession(); goto c4753; Baffb: EventQueue::addEvent(EventQueue::EVENT_ADMIN_USER_DELETE, $currentUser, $eventData, $request); goto Febb3; Bab38: $userEntity = $this->userEntityManager->findOneById($id); goto F8b2d; f6cfe: $currentUser = $this->getUser(); goto f320f; f320f: $id = (int) $request->get("id"); goto D6cf1; D6cf1: $this->checkCsrfToken($request, "delete-user"); goto dfe60; D619c: } } 
 ?>

Did this file decode correctly?

Original Code

<?php
 namespace App\Controller\Admin; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Form\Extension\Core\Type\SubmitType; use Symfony\Component\Form\Form; use App\Controller\Controller; use Symfony\Contracts\Translation\TranslatorInterface; use App\Entity\Manager\SiteManager as SiteEntityManager; use App\Entity\Manager\UserManager as UserEntityManager; use App\Entity\Manager\TimezoneManager as TimezoneEntityManager; use App\Entity\User as UserEntity; use App\Event\EventQueue; use App\Service\Logger; class UserController extends Controller { private UserEntityManager $userEntityManager; private SiteEntityManager $siteEntityManager; private TimezoneEntityManager $timezoneEntityManager; public function __construct(UserEntityManager $userEntityManager, SiteEntityManager $siteEntityManager, TimezoneEntityManager $timezoneEntityManager, TranslatorInterface $translator, Logger $logger) { goto d8964; a2e5b: parent::__construct($translator, $logger); goto C606b; df68b: $this->siteEntityManager = $siteEntityManager; goto a7e37; d8964: $this->userEntityManager = $userEntityManager; goto df68b; a7e37: $this->timezoneEntityManager = $timezoneEntityManager; goto a2e5b; C606b: } public function index(Request $request) : Response { goto Ce322; B21e0: $users = array_filter($users, function ($user) use($currentUser) { return $currentUser->getId() != $user->getId(); }); goto e3718; e3718: $response = $this->render("\101\x64\x6d\151\156\x2f\125\163\145\162\57\x69\x6e\144\145\x78\x2e\150\x74\x6d\x6c\x2e\164\x77\151\147", ["\165\x73\145\x72\163" => $users]); goto B9cf1; B9cf1: return $response; goto e340c; e4fbe: $users = $this->userEntityManager->findAll([], ["\x75\x73\x65\162\116\x61\155\145" => "\141\163\x63"]); goto B21e0; Ce322: $currentUser = $this->getUser(); goto e4fbe; e340c: } public function new(Request $request) : Response { goto e4a83; b8796: return $response; goto F8058; bc500: Ec628: goto a44c4; A0eee: if (!(true === $request->isMethod("\x50\x4f\x53\124"))) { goto be83c; } goto B4a41; e4a83: $userEntity = $this->userEntityManager->createEntity(); goto E8f3c; Ab915: if (!(false === is_null($response))) { goto Ec628; } goto b6e42; fc479: be83c: goto Ae441; Dccd2: if (!(true === $form->isSubmitted())) { goto da63d; } goto F885f; F885f: $response = $this->handleUserForm($request, $form); goto Ab915; b285f: $form = $this->createUserForm($userEntity); goto A0eee; fe3dd: $sites = $this->siteEntityManager->findAll([], ["\144\x6f\155\x61\x69\156\x4e\x61\155\x65" => "\x41\x53\x43"]); goto b2373; b2373: $userEntity->setTimezone($defaultTimezone); goto b285f; a44c4: da63d: goto fc479; B4a41: $form->handleRequest($request); goto Dccd2; E8f3c: $defaultTimezone = $this->timezoneEntityManager->findOneByName(UserEntity::DEFAULT_TIMEZONE); goto fe3dd; Ae441: $response = $this->render("\x41\144\155\151\156\57\125\163\x65\x72\x2f\156\x65\x77\x2e\150\x74\x6d\x6c\x2e\164\x77\151\147", ["\x75\163\145\x72" => $userEntity, "\163\151\164\x65\x73" => $sites, "\x66\x6f\x72\155" => $form->createView(), "\x66\157\162\155\x45\162\x72\157\x72\x73" => $this->formErrors]); goto b8796; b6e42: return $response; goto bc500; F8058: } private function createUserForm(UserEntity $userEntity) : Form { goto d7d8a; e1b99: return $form; goto c135f; d7d8a: $form = $this->createForm("\x41\160\160\134\106\157\162\x6d\x5c\101\x64\x6d\x69\156\x55\163\145\x72\124\171\160\145", $userEntity, ["\x61\143\x74\x69\157\156" => $this->generateUrl("\x63\x6c\x70\x5f\x61\x64\x6d\x69\x6e\x5f\x75\163\x65\162\x5f\x6e\x65\x77"), "\x6d\145\x74\150\157\x64" => "\x50\x4f\x53\x54", "\141\x74\164\162" => []]); goto f6524; f6524: $form->add("\x73\x75\142\x6d\x69\164", SubmitType::class, ["\141\x74\x74\162" => ["\143\154\x61\163\163" => "\x62\164\156\40\x62\x74\156\x2d\142\x6c\x75\145\x20\142\164\156\55\x6c\147"], "\x6c\x61\x62\x65\154" => "\101\x64\x64\x20\125\x73\x65\162"]); goto e1b99; c135f: } private function handleUserForm(Request $request, Form $form) { goto Ae99c; d2458: goto af577; goto Fa04b; E79ff: try { goto D04f8; e0a76: e4bfb: goto f4687; c40f0: EventQueue::addEvent(EventQueue::EVENT_ADMIN_USER_ADD, $currentUser, $eventData, $request); goto f927a; f927a: $session->getFlashBag()->set("\x73\165\x63\143\x65\163\x73", $this->translator->trans("\125\163\145\x72\40\x68\141\x73\x20\x62\145\145\156\x20\141\144\x64\x65\x64\56")); goto Cb98e; De692: sort($domainNames); goto bc916; f4687: e49fc: goto De692; B6b0b: $userEntity = $form->getData(); goto e7332; Cb98e: $response = $this->redirect($this->generateUrl("\x63\x6c\x70\x5f\141\144\155\x69\x6e\x5f\x75\x73\145\x72\163")); goto fd7e7; E831c: $session = $request->getSession(); goto B6b0b; Efe1a: if (!(count($sites) && UserEntity::ROLE_USER == $userEntity->getRole())) { goto e49fc; } goto Eb8f1; bc916: $this->userEntityManager->updateUser($userEntity); goto bb3bf; C2cec: $domainNames = []; goto Efe1a; fd7e7: return $response; goto d374e; bb3bf: $eventData = ["\165\163\145\x72\116\x61\155\x65" => $userEntity->getUserName(), "\146\x69\x72\163\164\116\x61\155\x65" => $userEntity->getFirstName(), "\154\141\x73\164\116\x61\x6d\145" => $userEntity->getLastName(), "\145\155\x61\151\x6c" => $userEntity->getEMail(), "\x72\x6f\x6c\145" => $userEntity->getRole(), "\x73\151\164\x65\x73" => implode("\x2c\40", $domainNames)]; goto c40f0; Eb8f1: foreach ($sites as $site) { $domainNames[] = $site->getDomainName(); b22b1: } goto e0a76; D04f8: $currentUser = $this->getUser(); goto E831c; e7332: $sites = $userEntity->getSites(); goto C2cec; d374e: } catch (\Exception $e) { $this->logger->exception($e); $session->getFlashBag()->set("\x64\141\x6e\x67\145\162", $this->translator->trans("\101\156\40\x65\x72\162\x6f\x72\x20\x68\141\163\x20\x6f\x63\143\165\162\x72\x65\144\54\x20\145\x72\x72\157\162\x20\155\x65\163\163\141\x67\x65\x3a\x20\x25\145\162\x72\157\162\115\x65\x73\163\x61\x67\x65\x25", ["\x25\x65\162\x72\157\x72\x4d\145\x73\x73\x61\147\145\x25" => $e->getMessage()])); } goto cb4ab; Ae99c: if (true === $form->isValid()) { goto E0210; } goto Bbe6a; Bbe6a: $this->formErrors = $this->getErrorMessages($form); goto d2458; Fa04b: E0210: goto E79ff; cb4ab: af577: goto Abd9d; Abd9d: } public function edit(Request $request) : Response { goto Ec450; E4a5f: if (!(true === $request->isMethod("\x50\x4f\x53\124"))) { goto F22ba; } goto F0ed1; d1bd9: $form = $this->createUserEditForm($userEntity); goto E4a5f; C3fd9: $response = $this->render("\101\144\155\x69\x6e\57\x55\x73\x65\x72\57\x65\144\x69\164\56\150\164\x6d\154\56\x74\167\x69\147", ["\x75\163\x65\x72" => $userEntity, "\163\x69\x74\145\163" => $sites, "\146\157\162\155" => $form->createView(), "\x66\157\162\155\x45\x72\x72\x6f\x72\x73" => $this->formErrors]); goto Eb20b; D3432: $userEntity = $this->userEntityManager->findOneById($id); goto Ef815; Ea9bf: if (!(false === is_null($response))) { goto d61e1; } goto Bb489; c7ef6: A28c3: goto da94f; F0ed1: $form->handleRequest($request); goto beec7; Ef815: if (false === is_null($userEntity)) { goto e9e60; } goto f4e15; beec7: if (!(true === $form->isSubmitted())) { goto A28c3; } goto c246f; f4e15: $response = $this->redirect($this->generateUrl("\x63\154\160\x5f\141\144\x6d\x69\x6e\137\165\163\x65\x72\x73")); goto ce844; da94f: F22ba: goto C3fd9; ede92: $sites = $this->siteEntityManager->findAll([], ["\144\x6f\x6d\x61\151\x6e\116\141\x6d\x65" => "\101\x53\103"]); goto d1bd9; e1665: e9e60: goto ede92; Eb20b: Bdd8f: goto aff53; Bb489: return $response; goto e3215; ce844: goto Bdd8f; goto e1665; c246f: $response = $this->handleUserEditForm($request, $form); goto Ea9bf; aff53: return $response; goto C22f8; Ec450: $id = (int) $request->get("\151\x64"); goto D3432; e3215: d61e1: goto c7ef6; C22f8: } private function createUserEditForm(UserEntity $userEntity) : Form { goto A158e; cb4a6: return $form; goto b109c; A158e: $form = $this->createForm("\101\x70\160\134\106\x6f\x72\155\134\101\x64\155\151\x6e\x55\163\145\162\x45\x64\151\164\x54\x79\160\145", $userEntity, ["\141\x63\x74\151\157\156" => $this->generateUrl("\143\x6c\x70\x5f\x61\x64\x6d\151\156\137\x75\x73\145\162\x5f\145\144\151\164", ["\x69\x64" => $userEntity->getId()]), "\155\145\164\x68\157\x64" => "\x50\x4f\123\124", "\141\164\x74\162" => []]); goto Ffa82; Ffa82: $form->add("\163\165\142\155\151\x74", SubmitType::class, ["\141\164\x74\x72" => ["\143\x6c\141\x73\x73" => "\142\x74\156\x20\142\164\156\x2d\142\154\165\145\40\142\x74\x6e\55\x6c\x67"], "\154\x61\x62\x65\x6c" => "\x53\x61\166\x65"]); goto cb4a6; b109c: } private function handleUserEditForm(Request $request, Form $form) { goto a48d3; b92ac: f3558: goto b6b55; D6a15: try { goto F08f6; fdd33: $this->userEntityManager->updateUser($userEntity); goto b82d5; F08f6: $currentUser = $this->getUser(); goto B7766; Fc4d3: if (!(count($sites) && UserEntity::ROLE_USER == $userEntity->getRole())) { goto a912a; } goto A5ce3; D7e1b: $this->userEntityManager->updateUser($userEntity, true, true); goto Da08c; d5b1f: f4429: goto D7e1b; c1c44: A13f7: goto A975c; ecb0a: $response = $this->redirect($this->generateUrl("\x63\x6c\160\x5f\141\144\155\151\x6e\x5f\x75\x73\145\x72\x5f\145\x64\x69\164", ["\x69\x64" => $userEntity->getId()])); goto e9740; D9c03: if (false === empty($plainPassword)) { goto f4429; } goto fdd33; c222d: $plainPassword = $userEntity->getPlainPassword(); goto Bfc06; b82d5: goto C9079; goto d5b1f; E05de: sort($domainNames); goto D9c03; A975c: a912a: goto E05de; Bfc06: $sites = $userEntity->getSites(); goto d661d; e9740: return $response; goto Fc141; Fc8c5: $session->getFlashBag()->set("\x73\165\x63\143\x65\163\163", $this->translator->trans("\125\163\145\x72\x20\150\x61\x73\x20\x62\x65\145\156\x20\x75\160\x64\141\x74\x65\x64\x2e")); goto ecb0a; Bebac: $eventData = ["\x75\163\x65\162\116\x61\155\145" => $userEntity->getUserName(), "\x66\151\162\163\x74\x4e\x61\155\145" => $userEntity->getFirstName(), "\154\141\x73\x74\116\141\155\x65" => $userEntity->getLastName(), "\145\x6d\x61\151\154" => $userEntity->getEMail(), "\162\x6f\x6c\145" => $userEntity->getRole(), "\163\x74\x61\164\x75\x73" => (int) $userEntity->getStatus(), "\163\x69\164\145\x73" => implode("\x2c\x20", $domainNames)]; goto F4779; B7766: $session = $request->getSession(); goto Bcc68; Da08c: C9079: goto Bebac; d661d: $domainNames = []; goto Fc4d3; F4779: EventQueue::addEvent(EventQueue::EVENT_ADMIN_USER_UPDATE, $currentUser, $eventData, $request); goto Fc8c5; Bcc68: $userEntity = $form->getData(); goto c222d; A5ce3: foreach ($sites as $site) { $domainNames[] = $site->getDomainName(); Fba45: } goto c1c44; Fc141: } catch (\Exception $e) { $this->logger->exception($e); $session->getFlashBag()->set("\x64\141\156\x67\x65\162", $this->translator->trans("\x41\156\x20\x65\162\162\157\162\40\x68\141\x73\40\157\143\143\165\x72\162\x65\x64\x2c\40\145\x72\162\157\x72\x20\x6d\x65\x73\x73\x61\147\x65\72\x20\45\x65\162\162\x6f\x72\x4d\x65\163\x73\141\147\145\45", ["\x25\145\162\162\157\162\115\x65\x73\163\141\147\x65\45" => $e->getMessage()])); } goto b92ac; c660e: $this->formErrors = $this->getErrorMessages($form); goto a80cd; f210c: e2622: goto D6a15; a80cd: goto f3558; goto f210c; a48d3: if (true === $form->isValid()) { goto e2622; } goto c660e; b6b55: } public function delete(Request $request) : Response { goto f6cfe; c4753: $eventData = ["\x75\x73\x65\162\x4e\141\x6d\145" => $userEntity->getUserName(), "\146\x69\162\163\x74\116\x61\155\145" => $userEntity->getFirstName(), "\x6c\x61\163\x74\116\x61\x6d\145" => $userEntity->getLastName(), "\145\155\x61\151\154" => $userEntity->getEMail(), "\x72\157\x6c\145" => $userEntity->getRole()]; goto Baffb; B1e38: return $response; goto D619c; dfe60: if (!(true === isset($id) && $id != $currentUser->getId())) { goto e9e1f; } goto Bab38; F8519: $session->getFlashBag()->set("\x73\165\x63\143\x65\x73\163", $this->translator->trans("\125\163\145\x72\40\150\141\163\x20\x62\x65\x65\x6e\40\x64\145\154\x65\x74\x65\144\56")); goto Dcc62; D91dc: e9e1f: goto A8c91; Dcc62: ccf36: goto D91dc; Febb3: $this->userEntityManager->deleteUser($userEntity); goto F8519; A8c91: $response = $this->redirect($this->generateUrl("\x63\154\160\137\x61\x64\x6d\x69\156\137\165\163\145\162\x73")); goto B1e38; F8b2d: if (!(false === is_null($userEntity))) { goto ccf36; } goto f7c2b; f7c2b: $session = $request->getSession(); goto c4753; Baffb: EventQueue::addEvent(EventQueue::EVENT_ADMIN_USER_DELETE, $currentUser, $eventData, $request); goto Febb3; Bab38: $userEntity = $this->userEntityManager->findOneById($id); goto F8b2d; f6cfe: $currentUser = $this->getUser(); goto f320f; f320f: $id = (int) $request->get("\151\x64"); goto D6cf1; D6cf1: $this->checkCsrfToken($request, "\x64\x65\x6c\x65\164\x65\55\165\163\145\x72"); goto dfe60; D619c: } }

Function Calls

None

Variables

None

Stats

MD5 3c7322d0152bcf1374344a9a062a1337
Eval Count 0
Decode Time 59 ms