var/cache/dev/appDevDebugProjectContainerUrlMatcher.php line 1723

Open in your IDE?
  1. <?php
  2. use Symfony\Component\Routing\Exception\MethodNotAllowedException;
  3. use Symfony\Component\Routing\Exception\ResourceNotFoundException;
  4. use Symfony\Component\Routing\RequestContext;
  5. /**
  6.  * This class has been auto-generated
  7.  * by the Symfony Routing Component.
  8.  */
  9. class appDevDebugProjectContainerUrlMatcher extends Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher
  10. {
  11.     public function __construct(RequestContext $context)
  12.     {
  13.         $this->context $context;
  14.     }
  15.     public function match($rawPathinfo)
  16.     {
  17.         $allow = [];
  18.         $pathinfo rawurldecode($rawPathinfo);
  19.         $trimmedPathinfo rtrim($pathinfo'/');
  20.         $context $this->context;
  21.         $request $this->request ?: $this->createRequest($pathinfo);
  22.         $requestMethod $canonicalMethod $context->getMethod();
  23.         if ('HEAD' === $requestMethod) {
  24.             $canonicalMethod 'GET';
  25.         }
  26.         if (=== strpos($pathinfo'/_')) {
  27.             // _wdt
  28.             if (=== strpos($pathinfo'/_wdt') && preg_match('#^/_wdt/(?P<token>[^/]++)$#sD'$pathinfo$matches)) {
  29.                 return $this->mergeDefaults(array_replace($matches, ['_route' => '_wdt']), array (  '_controller' => 'web_profiler.controller.profiler:toolbarAction',));
  30.             }
  31.             if (=== strpos($pathinfo'/_profiler')) {
  32.                 // _profiler_home
  33.                 if ('/_profiler' === $trimmedPathinfo) {
  34.                     $ret = array (  '_controller' => 'web_profiler.controller.profiler:homeAction',  '_route' => '_profiler_home',);
  35.                     if ('/' === substr($pathinfo, -1)) {
  36.                         // no-op
  37.                     } elseif ('GET' !== $canonicalMethod) {
  38.                         goto not__profiler_home;
  39.                     } else {
  40.                         return array_replace($ret$this->redirect($rawPathinfo.'/''_profiler_home'));
  41.                     }
  42.                     return $ret;
  43.                 }
  44.                 not__profiler_home:
  45.                 if (=== strpos($pathinfo'/_profiler/search')) {
  46.                     // _profiler_search
  47.                     if ('/_profiler/search' === $pathinfo) {
  48.                         return array (  '_controller' => 'web_profiler.controller.profiler:searchAction',  '_route' => '_profiler_search',);
  49.                     }
  50.                     // _profiler_search_bar
  51.                     if ('/_profiler/search_bar' === $pathinfo) {
  52.                         return array (  '_controller' => 'web_profiler.controller.profiler:searchBarAction',  '_route' => '_profiler_search_bar',);
  53.                     }
  54.                 }
  55.                 // _profiler_phpinfo
  56.                 if ('/_profiler/phpinfo' === $pathinfo) {
  57.                     return array (  '_controller' => 'web_profiler.controller.profiler:phpinfoAction',  '_route' => '_profiler_phpinfo',);
  58.                 }
  59.                 // _profiler_search_results
  60.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/search/results$#sD'$pathinfo$matches)) {
  61.                     return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_search_results']), array (  '_controller' => 'web_profiler.controller.profiler:searchResultsAction',));
  62.                 }
  63.                 // _profiler_open_file
  64.                 if ('/_profiler/open' === $pathinfo) {
  65.                     return array (  '_controller' => 'web_profiler.controller.profiler:openAction',  '_route' => '_profiler_open_file',);
  66.                 }
  67.                 // _profiler
  68.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)$#sD'$pathinfo$matches)) {
  69.                     return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler']), array (  '_controller' => 'web_profiler.controller.profiler:panelAction',));
  70.                 }
  71.                 // _profiler_router
  72.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/router$#sD'$pathinfo$matches)) {
  73.                     return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_router']), array (  '_controller' => 'web_profiler.controller.router:panelAction',));
  74.                 }
  75.                 // _profiler_exception
  76.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception$#sD'$pathinfo$matches)) {
  77.                     return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_exception']), array (  '_controller' => 'web_profiler.controller.exception:showAction',));
  78.                 }
  79.                 // _profiler_exception_css
  80.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception\\.css$#sD'$pathinfo$matches)) {
  81.                     return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_exception_css']), array (  '_controller' => 'web_profiler.controller.exception:cssAction',));
  82.                 }
  83.             }
  84.             // _twig_error_test
  85.             if (=== strpos($pathinfo'/_error') && preg_match('#^/_error/(?P<code>\\d+)(?:\\.(?P<_format>[^/]++))?$#sD'$pathinfo$matches)) {
  86.                 return $this->mergeDefaults(array_replace($matches, ['_route' => '_twig_error_test']), array (  '_controller' => 'twig.controller.preview_error:previewErrorPageAction',  '_format' => 'html',));
  87.             }
  88.         }
  89.         elseif (=== strpos($pathinfo'/login')) {
  90.             // fos_user_security_login
  91.             if ('/login' === $pathinfo) {
  92.                 $ret = array (  '_controller' => 'fos_user.security.controller:loginAction',  '_route' => 'fos_user_security_login',);
  93.                 if (!in_array($canonicalMethod, ['GET''POST'])) {
  94.                     $allow array_merge($allow, ['GET''POST']);
  95.                     goto not_fos_user_security_login;
  96.                 }
  97.                 return $ret;
  98.             }
  99.             not_fos_user_security_login:
  100.             // fos_user_security_check
  101.             if ('/login_check' === $pathinfo) {
  102.                 $ret = array (  '_controller' => 'fos_user.security.controller:checkAction',  '_route' => 'fos_user_security_check',);
  103.                 if (!in_array($requestMethod, ['POST'])) {
  104.                     $allow array_merge($allow, ['POST']);
  105.                     goto not_fos_user_security_check;
  106.                 }
  107.                 return $ret;
  108.             }
  109.             not_fos_user_security_check:
  110.         }
  111.         // fos_user_security_logout
  112.         if ('/logout' === $pathinfo) {
  113.             $ret = array (  '_controller' => 'fos_user.security.controller:logoutAction',  '_route' => 'fos_user_security_logout',);
  114.             if (!in_array($canonicalMethod, ['GET''POST'])) {
  115.                 $allow array_merge($allow, ['GET''POST']);
  116.                 goto not_fos_user_security_logout;
  117.             }
  118.             return $ret;
  119.         }
  120.         not_fos_user_security_logout:
  121.         if (=== strpos($pathinfo'/profile')) {
  122.             // fos_user_profile_show
  123.             if ('/profile' === $trimmedPathinfo) {
  124.                 $ret = array (  '_controller' => 'fos_user.profile.controller:showAction',  '_route' => 'fos_user_profile_show',);
  125.                 if ('/' === substr($pathinfo, -1)) {
  126.                     // no-op
  127.                 } elseif ('GET' !== $canonicalMethod) {
  128.                     goto not_fos_user_profile_show;
  129.                 } else {
  130.                     return array_replace($ret$this->redirect($rawPathinfo.'/''fos_user_profile_show'));
  131.                 }
  132.                 if (!in_array($canonicalMethod, ['GET'])) {
  133.                     $allow array_merge($allow, ['GET']);
  134.                     goto not_fos_user_profile_show;
  135.                 }
  136.                 return $ret;
  137.             }
  138.             not_fos_user_profile_show:
  139.             // fos_user_profile_edit
  140.             if ('/profile/edit' === $pathinfo) {
  141.                 $ret = array (  '_controller' => 'fos_user.profile.controller:editAction',  '_route' => 'fos_user_profile_edit',);
  142.                 if (!in_array($canonicalMethod, ['GET''POST'])) {
  143.                     $allow array_merge($allow, ['GET''POST']);
  144.                     goto not_fos_user_profile_edit;
  145.                 }
  146.                 return $ret;
  147.             }
  148.             not_fos_user_profile_edit:
  149.             // fos_user_change_password
  150.             if ('/profile/change-password' === $pathinfo) {
  151.                 $ret = array (  '_controller' => 'fos_user.change_password.controller:changePasswordAction',  '_route' => 'fos_user_change_password',);
  152.                 if (!in_array($canonicalMethod, ['GET''POST'])) {
  153.                     $allow array_merge($allow, ['GET''POST']);
  154.                     goto not_fos_user_change_password;
  155.                 }
  156.                 return $ret;
  157.             }
  158.             not_fos_user_change_password:
  159.         }
  160.         elseif (=== strpos($pathinfo'/register')) {
  161.             // fos_user_registration_register
  162.             if ('/register' === $trimmedPathinfo) {
  163.                 $ret = array (  '_controller' => 'fos_user.registration.controller:registerAction',  '_route' => 'fos_user_registration_register',);
  164.                 if ('/' === substr($pathinfo, -1)) {
  165.                     // no-op
  166.                 } elseif ('GET' !== $canonicalMethod) {
  167.                     goto not_fos_user_registration_register;
  168.                 } else {
  169.                     return array_replace($ret$this->redirect($rawPathinfo.'/''fos_user_registration_register'));
  170.                 }
  171.                 if (!in_array($canonicalMethod, ['GET''POST'])) {
  172.                     $allow array_merge($allow, ['GET''POST']);
  173.                     goto not_fos_user_registration_register;
  174.                 }
  175.                 return $ret;
  176.             }
  177.             not_fos_user_registration_register:
  178.             // fos_user_registration_check_email
  179.             if ('/register/check-email' === $pathinfo) {
  180.                 $ret = array (  '_controller' => 'fos_user.registration.controller:checkEmailAction',  '_route' => 'fos_user_registration_check_email',);
  181.                 if (!in_array($canonicalMethod, ['GET'])) {
  182.                     $allow array_merge($allow, ['GET']);
  183.                     goto not_fos_user_registration_check_email;
  184.                 }
  185.                 return $ret;
  186.             }
  187.             not_fos_user_registration_check_email:
  188.             if (=== strpos($pathinfo'/register/confirm')) {
  189.                 // fos_user_registration_confirm
  190.                 if (preg_match('#^/register/confirm/(?P<token>[^/]++)$#sD'$pathinfo$matches)) {
  191.                     $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'fos_user_registration_confirm']), array (  '_controller' => 'fos_user.registration.controller:confirmAction',));
  192.                     if (!in_array($canonicalMethod, ['GET'])) {
  193.                         $allow array_merge($allow, ['GET']);
  194.                         goto not_fos_user_registration_confirm;
  195.                     }
  196.                     return $ret;
  197.                 }
  198.                 not_fos_user_registration_confirm:
  199.                 // fos_user_registration_confirmed
  200.                 if ('/register/confirmed' === $pathinfo) {
  201.                     $ret = array (  '_controller' => 'fos_user.registration.controller:confirmedAction',  '_route' => 'fos_user_registration_confirmed',);
  202.                     if (!in_array($canonicalMethod, ['GET'])) {
  203.                         $allow array_merge($allow, ['GET']);
  204.                         goto not_fos_user_registration_confirmed;
  205.                     }
  206.                     return $ret;
  207.                 }
  208.                 not_fos_user_registration_confirmed:
  209.             }
  210.         }
  211.         elseif (=== strpos($pathinfo'/resetting')) {
  212.             // fos_user_resetting_request
  213.             if ('/resetting/request' === $pathinfo) {
  214.                 $ret = array (  '_controller' => 'fos_user.resetting.controller:requestAction',  '_route' => 'fos_user_resetting_request',);
  215.                 if (!in_array($canonicalMethod, ['GET'])) {
  216.                     $allow array_merge($allow, ['GET']);
  217.                     goto not_fos_user_resetting_request;
  218.                 }
  219.                 return $ret;
  220.             }
  221.             not_fos_user_resetting_request:
  222.             // fos_user_resetting_reset
  223.             if (=== strpos($pathinfo'/resetting/reset') && preg_match('#^/resetting/reset/(?P<token>[^/]++)$#sD'$pathinfo$matches)) {
  224.                 $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'fos_user_resetting_reset']), array (  '_controller' => 'fos_user.resetting.controller:resetAction',));
  225.                 if (!in_array($canonicalMethod, ['GET''POST'])) {
  226.                     $allow array_merge($allow, ['GET''POST']);
  227.                     goto not_fos_user_resetting_reset;
  228.                 }
  229.                 return $ret;
  230.             }
  231.             not_fos_user_resetting_reset:
  232.             // fos_user_resetting_send_email
  233.             if ('/resetting/send-email' === $pathinfo) {
  234.                 $ret = array (  '_controller' => 'fos_user.resetting.controller:sendEmailAction',  '_route' => 'fos_user_resetting_send_email',);
  235.                 if (!in_array($requestMethod, ['POST'])) {
  236.                     $allow array_merge($allow, ['POST']);
  237.                     goto not_fos_user_resetting_send_email;
  238.                 }
  239.                 return $ret;
  240.             }
  241.             not_fos_user_resetting_send_email:
  242.             // fos_user_resetting_check_email
  243.             if ('/resetting/check-email' === $pathinfo) {
  244.                 $ret = array (  '_controller' => 'fos_user.resetting.controller:checkEmailAction',  '_route' => 'fos_user_resetting_check_email',);
  245.                 if (!in_array($canonicalMethod, ['GET'])) {
  246.                     $allow array_merge($allow, ['GET']);
  247.                     goto not_fos_user_resetting_check_email;
  248.                 }
  249.                 return $ret;
  250.             }
  251.             not_fos_user_resetting_check_email:
  252.         }
  253.         // fos_js_routing_js
  254.         if (=== strpos($pathinfo'/js/routing') && preg_match('#^/js/routing(?:\\.(?P<_format>js|json))?$#sD'$pathinfo$matches)) {
  255.             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'fos_js_routing_js']), array (  '_controller' => 'fos_js_routing.controller:indexAction',  '_format' => 'js',));
  256.             if (!in_array($canonicalMethod, ['GET'])) {
  257.                 $allow array_merge($allow, ['GET']);
  258.                 goto not_fos_js_routing_js;
  259.             }
  260.             return $ret;
  261.         }
  262.         not_fos_js_routing_js:
  263.         if (=== strpos($pathinfo'/a')) {
  264.             if (=== strpos($pathinfo'/admin')) {
  265.                 // admin
  266.                 if ('/admin' === $pathinfo) {
  267.                     return array (  '_controller' => 'AppBundle\\Controller\\DashController::overview',  '_route' => 'admin',);
  268.                 }
  269.                 if (=== strpos($pathinfo'/admin/d')) {
  270.                     if (=== strpos($pathinfo'/admin/de')) {
  271.                         // development
  272.                         if ('/admin/development' === $pathinfo) {
  273.                             return array (  '_controller' => 'AppBundle\\Controller\\DashController::development',  '_route' => 'development',);
  274.                         }
  275.                         // deactivate-disksafe
  276.                         if (=== strpos($pathinfo'/admin/deactivate-disksafe') && preg_match('#^/admin/deactivate\\-disksafe(?:/(?P<DiskSafeID>[^/]++))?$#sD'$pathinfo$matches)) {
  277.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'deactivate-disksafe']), array (  'DiskSafeID' => '',  '_controller' => 'AppBundle\\Controller\\DashController::deActivateDiskSafe',));
  278.                         }
  279.                         if (=== strpos($pathinfo'/admin/delete')) {
  280.                             // delete-account
  281.                             if ('/admin/delete-account' === $pathinfo) {
  282.                                 return array (  '_controller' => 'AppBundle\\Manage\\Controller\\ManageController::DeleteAccount',  '_route' => 'delete-account',);
  283.                             }
  284.                             // deleteContent
  285.                             if (=== strpos($pathinfo'/admin/deleteContent') && preg_match('#^/admin/deleteContent/(?P<ContentID>[^/]++)$#sD'$pathinfo$matches)) {
  286.                                 $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'deleteContent']), array (  '_controller' => 'AppBundle\\Server\\Controller\\ServerController::deleteContent',));
  287.                                 if (!in_array($canonicalMethod, ['GET'])) {
  288.                                     $allow array_merge($allow, ['GET']);
  289.                                     goto not_deleteContent;
  290.                                 }
  291.                                 return $ret;
  292.                             }
  293.                             not_deleteContent:
  294.                             // deletePackageClient
  295.                             if ('/admin/deletepackage-client' === $pathinfo) {
  296.                                 $ret = array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::deletePackageClient',  '_route' => 'deletePackageClient',);
  297.                                 if (!in_array($requestMethod, ['POST'])) {
  298.                                     $allow array_merge($allow, ['POST']);
  299.                                     goto not_deletePackageClient;
  300.                                 }
  301.                                 return $ret;
  302.                             }
  303.                             not_deletePackageClient:
  304.                         }
  305.                     }
  306.                     elseif (=== strpos($pathinfo'/admin/domain')) {
  307.                         // domain
  308.                         if ('/admin/domain' === $pathinfo) {
  309.                             return array (  '_controller' => 'AppBundle\\Domain\\Controller\\DomainController::domainAction',  '_route' => 'domain',);
  310.                         }
  311.                         // domain_edit
  312.                         if ('/admin/domain-edit' === $pathinfo) {
  313.                             return array (  '_controller' => 'AppBundle\\Domain\\Controller\\DomainController::domainEditAction',  '_route' => 'domain_edit',);
  314.                         }
  315.                     }
  316.                     // diskusage
  317.                     if (=== strpos($pathinfo'/admin/diskusage') && preg_match('#^/admin/diskusage(?:/(?P<HostingAccountID>[^/]++))?$#sD'$pathinfo$matches)) {
  318.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'diskusage']), array (  'HostingAccountID' => 0,  '_controller' => 'AppBundle\\Manage\\Controller\\ManageController::DiskUsage',));
  319.                     }
  320.                 }
  321.                 elseif (=== strpos($pathinfo'/admin/c')) {
  322.                     // app_dash_calculatetotalpriceexcl
  323.                     if ('/admin/calc-totals' === $pathinfo) {
  324.                         return array (  '_controller' => 'AppBundle\\Controller\\DashController::CalculateTotalPriceExcl',  '_route' => 'app_dash_calculatetotalpriceexcl',);
  325.                     }
  326.                     // check-disk
  327.                     if (=== strpos($pathinfo'/admin/check-disk') && preg_match('#^/admin/check\\-disk(?:/(?P<DiskSafeID>[^/]++))?$#sD'$pathinfo$matches)) {
  328.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'check-disk']), array (  'DiskSafeID' => '',  '_controller' => 'AppBundle\\Controller\\DashController::CheckDisk',));
  329.                     }
  330.                     if (=== strpos($pathinfo'/admin/change-password')) {
  331.                         // change-password
  332.                         if (preg_match('#^/admin/change\\-password(?:/(?P<HostingAccountID>[^/]++))?$#sD'$pathinfo$matches)) {
  333.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'change-password']), array (  'HostingAccountID' => 0,  '_controller' => 'AppBundle\\Manage\\Controller\\ManageController::ChangePassword',));
  334.                         }
  335.                         // change-password-confirmed
  336.                         if ('/admin/change-password-confirmed' === $pathinfo) {
  337.                             return array (  '_controller' => 'AppBundle\\Manage\\Controller\\ManageController::ChangePasswordConfirmed',  '_route' => 'change-password-confirmed',);
  338.                         }
  339.                     }
  340.                     // cPanelServers
  341.                     if ('/admin/cpanel-servers' === $pathinfo) {
  342.                         return array (  '_controller' => 'AppBundle\\Server\\Controller\\ServerController::cPanelServers',  '_route' => 'cPanelServers',);
  343.                     }
  344.                     if (=== strpos($pathinfo'/admin/client')) {
  345.                         // clients
  346.                         if ('/admin/clients' === $pathinfo) {
  347.                             return array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::getClients',  '_route' => 'clients',);
  348.                         }
  349.                         // client
  350.                         if (preg_match('#^/admin/client(?:/(?P<ClientID>[^/]++))?$#sD'$pathinfo$matches)) {
  351.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'client']), array (  'ClientID' => 0,  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::getClientsRecords',));
  352.                         }
  353.                         // clientopeninvoice
  354.                         if (=== strpos($pathinfo'/admin/client/openinvoice') && preg_match('#^/admin/client/openinvoice(?:/(?P<ClientID>[^/]++))?$#sD'$pathinfo$matches)) {
  355.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'clientopeninvoice']), array (  'ClientID' => 0,  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::ClientOpenInvoices',));
  356.                         }
  357.                         // clientpaidinvoices
  358.                         if (=== strpos($pathinfo'/admin/client/paidinvoices') && preg_match('#^/admin/client/paidinvoices(?:/(?P<ClientID>[^/]++))?$#sD'$pathinfo$matches)) {
  359.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'clientpaidinvoices']), array (  'ClientID' => 0,  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::ClientPaidInvoices',));
  360.                         }
  361.                         // clientallinvoice
  362.                         if (=== strpos($pathinfo'/admin/client/allinvoice') && preg_match('#^/admin/client/allinvoice(?:/(?P<ClientID>[^/]++))?$#sD'$pathinfo$matches)) {
  363.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'clientallinvoice']), array (  'ClientID' => 0,  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::ClientAllInvoices',));
  364.                         }
  365.                         if (=== strpos($pathinfo'/admin/client/manage-')) {
  366.                             // manage-domains
  367.                             if (=== strpos($pathinfo'/admin/client/manage-domains') && preg_match('#^/admin/client/manage\\-domains(?:/(?P<ClientID>[^/]++))?$#sD'$pathinfo$matches)) {
  368.                                 return $this->mergeDefaults(array_replace($matches, ['_route' => 'manage-domains']), array (  'ClientID' => 0,  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::ManageDomains',));
  369.                             }
  370.                             // manage-services
  371.                             if (=== strpos($pathinfo'/admin/client/manage-services') && preg_match('#^/admin/client/manage\\-services(?:/(?P<ClientID>[^/]++))?$#sD'$pathinfo$matches)) {
  372.                                 return $this->mergeDefaults(array_replace($matches, ['_route' => 'manage-services']), array (  'ClientID' => 0,  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::ManageServices',));
  373.                             }
  374.                             // manage-licences
  375.                             if (=== strpos($pathinfo'/admin/client/manage-licences') && preg_match('#^/admin/client/manage\\-licences(?:/(?P<ClientID>[^/]++))?$#sD'$pathinfo$matches)) {
  376.                                 return $this->mergeDefaults(array_replace($matches, ['_route' => 'manage-licences']), array (  'ClientID' => 0,  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::ManageLicences',));
  377.                             }
  378.                             // manage-cloud
  379.                             if (=== strpos($pathinfo'/admin/client/manage-cloud') && preg_match('#^/admin/client/manage\\-cloud(?:/(?P<ClientID>[^/]++))?$#sD'$pathinfo$matches)) {
  380.                                 return $this->mergeDefaults(array_replace($matches, ['_route' => 'manage-cloud']), array (  'ClientID' => 0,  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::ManageCloud',));
  381.                             }
  382.                         }
  383.                         // clientsoverview
  384.                         if ('/admin/clients-overview' === $pathinfo) {
  385.                             return array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::ClientOverview',  '_route' => 'clientsoverview',);
  386.                         }
  387.                         // SuspendHosting
  388.                         if (preg_match('#^/admin/client(?:/(?P<ClientID>[^/]++)(?:/(?P<ClientServiceID>[^/]++)(?:/(?P<Status>[^/]++))?)?)?$#sD'$pathinfo$matches)) {
  389.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'SuspendHosting']), array (  'ClientID' => 0,  'ClientServiceID' => 0,  'Status' => 1,  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::SuspendHosting',));
  390.                         }
  391.                         // UnSuspendHosting
  392.                         if (preg_match('#^/admin/client(?:/(?P<ClientID>[^/]++)(?:/(?P<ClientServiceID>[^/]++)(?:/(?P<Status>[^/]++))?)?)?$#sD'$pathinfo$matches)) {
  393.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'UnSuspendHosting']), array (  'ClientID' => 0,  'ClientServiceID' => 0,  'Status' => 1,  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::UnSuspendHosting',));
  394.                         }
  395.                         // SuspendCloud
  396.                         if (preg_match('#^/admin/client(?:/(?P<ClientID>[^/]++)(?:/(?P<ClientServiceID>[^/]++)(?:/(?P<Status>[^/]++))?)?)?$#sD'$pathinfo$matches)) {
  397.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'SuspendCloud']), array (  'ClientID' => 0,  'ClientServiceID' => 0,  'Status' => 1,  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::SuspendCloud',));
  398.                         }
  399.                         // UnSuspendCloud
  400.                         if (preg_match('#^/admin/client(?:/(?P<ClientID>[^/]++)(?:/(?P<ClientServiceID>[^/]++)(?:/(?P<Status>[^/]++))?)?)?$#sD'$pathinfo$matches)) {
  401.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'UnSuspendCloud']), array (  'ClientID' => 0,  'ClientServiceID' => 0,  'Status' => 1,  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::UnSuspendCloud',));
  402.                         }
  403.                         // delete-licence
  404.                         if (preg_match('#^/admin/client(?:/(?P<ClientID>[^/]++)(?:/(?P<ClientServiceID>[^/]++)(?:/(?P<Status>[^/]++))?)?)?$#sD'$pathinfo$matches)) {
  405.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'delete-licence']), array (  'ClientID' => 0,  'ClientServiceID' => 0,  'Status' => 1,  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::deleteLicence',));
  406.                         }
  407.                     }
  408.                 }
  409.                 elseif (=== strpos($pathinfo'/admin/in')) {
  410.                     // interruption
  411.                     if ('/admin/interruption' === $pathinfo) {
  412.                         return array (  '_controller' => 'AppBundle\\Controller\\DashController::getInterruption',  '_route' => 'interruption',);
  413.                     }
  414.                     if (=== strpos($pathinfo'/admin/invoices')) {
  415.                         // invoices
  416.                         if ('/admin/invoices' === $pathinfo) {
  417.                             return array (  '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::overview',  '_route' => 'invoices',);
  418.                         }
  419.                         // invoices-credited
  420.                         if ('/admin/invoices-credited' === $pathinfo) {
  421.                             return array (  '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::InvoiceCredited',  '_route' => 'invoices-credited',);
  422.                         }
  423.                     }
  424.                     elseif (=== strpos($pathinfo'/admin/invoice-')) {
  425.                         // invoice-bf
  426.                         if ('/admin/invoice-bf' === $pathinfo) {
  427.                             return array (  '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::invoiceBf',  '_route' => 'invoice-bf',);
  428.                         }
  429.                         // invoice-html
  430.                         if (=== strpos($pathinfo'/admin/invoice-html') && preg_match('#^/admin/invoice\\-html(?:/(?P<InvoiceID>[^/]++))?$#sD'$pathinfo$matches)) {
  431.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'invoice-html']), array (  'InvoiceID' => 0,  '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::invoiceHTML',));
  432.                         }
  433.                         // invoice-history
  434.                         if (=== strpos($pathinfo'/admin/invoice-history') && preg_match('#^/admin/invoice\\-history(?:/(?P<InvoiceID>[^/]++))?$#sD'$pathinfo$matches)) {
  435.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'invoice-history']), array (  'InvoiceID' => 0,  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::InvoiceHistory',));
  436.                         }
  437.                         // invoice-overview
  438.                         if (=== strpos($pathinfo'/admin/invoice-overview') && preg_match('#^/admin/invoice\\-overview(?:/(?P<Status>[^/]++))?$#sD'$pathinfo$matches)) {
  439.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'invoice-overview']), array (  'Status' => 1,  '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::getInvoicesByStatus',));
  440.                         }
  441.                         if (=== strpos($pathinfo'/admin/invoice-inc')) {
  442.                             // invoice-inc
  443.                             if ('/admin/invoice-inc' === $pathinfo) {
  444.                                 return array (  '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::InvoiceInc',  '_route' => 'invoice-inc',);
  445.                             }
  446.                             // invoice-inc-invalid
  447.                             if ('/admin/invoice-inc-invalid' === $pathinfo) {
  448.                                 return array (  '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::InvoiceIncInvalid',  '_route' => 'invoice-inc-invalid',);
  449.                             }
  450.                         }
  451.                         // invoice-pdf
  452.                         if (=== strpos($pathinfo'/admin/invoice-pdf') && preg_match('#^/admin/invoice\\-pdf(?:/(?P<InvoiceID>[^/]++))?$#sD'$pathinfo$matches)) {
  453.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'invoice-pdf']), array (  'InvoiceID' => 0,  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::InvoicePDF',));
  454.                         }
  455.                         // invoice-credited-pdf
  456.                         if (=== strpos($pathinfo'/admin/invoice-credited-pdf') && preg_match('#^/admin/invoice\\-credited\\-pdf(?:/(?P<InvoiceID>[^/]++))?$#sD'$pathinfo$matches)) {
  457.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'invoice-credited-pdf']), array (  'InvoiceID' => 0,  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::InvoiceCreditedPDF',));
  458.                         }
  459.                     }
  460.                 }
  461.                 elseif (=== strpos($pathinfo'/admin/a')) {
  462.                     if (=== strpos($pathinfo'/admin/add')) {
  463.                         // add-interruption
  464.                         if ('/admin/add-interruption' === $pathinfo) {
  465.                             return array (  '_controller' => 'AppBundle\\Controller\\DashController::addInterruption',  '_route' => 'add-interruption',);
  466.                         }
  467.                         // add-banip
  468.                         if ('/admin/add-banip' === $pathinfo) {
  469.                             return array (  '_controller' => 'AppBundle\\Controller\\DashController::banip',  '_route' => 'add-banip',);
  470.                         }
  471.                         // addrack
  472.                         if ('/admin/addrack' === $pathinfo) {
  473.                             return array (  '_controller' => 'AppBundle\\Server\\Controller\\ServerController::AddRack',  '_route' => 'addrack',);
  474.                         }
  475.                         // addclientdomain
  476.                         if ('/admin/addclientdomain' === $pathinfo) {
  477.                             $ret = array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::AddToStoreClientDomain',  '_route' => 'addclientdomain',);
  478.                             if (!in_array($requestMethod, ['POST'])) {
  479.                                 $allow array_merge($allow, ['POST']);
  480.                                 goto not_addclientdomain;
  481.                             }
  482.                             return $ret;
  483.                         }
  484.                         not_addclientdomain:
  485.                         // AddPackageClient
  486.                         if ('/admin/addpackage-client' === $pathinfo) {
  487.                             $ret = array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::addPackage',  '_route' => 'AddPackageClient',);
  488.                             if (!in_array($requestMethod, ['POST'])) {
  489.                                 $allow array_merge($allow, ['POST']);
  490.                                 goto not_AddPackageClient;
  491.                             }
  492.                             return $ret;
  493.                         }
  494.                         not_AddPackageClient:
  495.                         // AddDomainClient
  496.                         if ('/admin/adddomain-client' === $pathinfo) {
  497.                             $ret = array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::addDomain',  '_route' => 'AddDomainClient',);
  498.                             if (!in_array($requestMethod, ['POST'])) {
  499.                                 $allow array_merge($allow, ['POST']);
  500.                                 goto not_AddDomainClient;
  501.                             }
  502.                             return $ret;
  503.                         }
  504.                         not_AddDomainClient:
  505.                     }
  506.                     // activate-disksafe
  507.                     if (=== strpos($pathinfo'/admin/activate-disksafe') && preg_match('#^/admin/activate\\-disksafe(?:/(?P<DiskSafeID>[^/]++))?$#sD'$pathinfo$matches)) {
  508.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'activate-disksafe']), array (  'DiskSafeID' => '',  '_controller' => 'AppBundle\\Controller\\DashController::activateDiskSafe',));
  509.                     }
  510.                     // activatePackageClient
  511.                     if ('/admin/activatePackageClient-client' === $pathinfo) {
  512.                         $ret = array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::activatePackageClient',  '_route' => 'activatePackageClient',);
  513.                         if (!in_array($requestMethod, ['POST'])) {
  514.                             $allow array_merge($allow, ['POST']);
  515.                             goto not_activatePackageClient;
  516.                         }
  517.                         return $ret;
  518.                     }
  519.                     not_activatePackageClient:
  520.                     // approve
  521.                     if ('/admin/approve' === $pathinfo) {
  522.                         return array (  '_controller' => 'AppBundle\\Order\\Controller\\OrderController::overview',  '_route' => 'approve',);
  523.                     }
  524.                     if (=== strpos($pathinfo'/admin/analytics')) {
  525.                         // dashboard-analytics
  526.                         if ('/admin/analytics/dashboard' === $pathinfo) {
  527.                             return array (  '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::dashboardAnalytics',  '_route' => 'dashboard-analytics',);
  528.                         }
  529.                         // subscriber-analytics
  530.                         if ('/admin/analytics/subscribers' === $pathinfo) {
  531.                             return array (  '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::subscriberAnalytics',  '_route' => 'subscriber-analytics',);
  532.                         }
  533.                         // plans-analytics
  534.                         if ('/admin/analytics/plans' === $pathinfo) {
  535.                             return array (  '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::plansAnalytics',  '_route' => 'plans-analytics',);
  536.                         }
  537.                         // trail-analytics
  538.                         if ('/admin/analytics/trail' === $pathinfo) {
  539.                             return array (  '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::trailAnalytics',  '_route' => 'trail-analytics',);
  540.                         }
  541.                         // revenue-analytics
  542.                         if ('/admin/analytics/revenue' === $pathinfo) {
  543.                             return array (  '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::revenueAnalytics',  '_route' => 'revenue-analytics',);
  544.                         }
  545.                         // retention-analytics
  546.                         if ('/admin/analytics/retention' === $pathinfo) {
  547.                             return array (  '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::retentionAnalytics',  '_route' => 'retention-analytics',);
  548.                         }
  549.                         // churn-analytics
  550.                         if ('/admin/analytics/churn' === $pathinfo) {
  551.                             return array (  '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::churnAnalytics',  '_route' => 'churn-analytics',);
  552.                         }
  553.                     }
  554.                     elseif (=== strpos($pathinfo'/admin/articles')) {
  555.                         if (=== strpos($pathinfo'/admin/articles/categories')) {
  556.                             // categories
  557.                             if ('/admin/articles/categories' === $trimmedPathinfo) {
  558.                                 $ret = array (  '_controller' => 'AppBundle\\KB\\Controller\\ArticleCategoryController::getCategories',  '_route' => 'categories',);
  559.                                 if ('/' === substr($pathinfo, -1)) {
  560.                                     // no-op
  561.                                 } elseif ('GET' !== $canonicalMethod) {
  562.                                     goto not_categories;
  563.                                 } else {
  564.                                     return array_replace($ret$this->redirect($rawPathinfo.'/''categories'));
  565.                                 }
  566.                                 if (!in_array($canonicalMethod, ['GET'])) {
  567.                                     $allow array_merge($allow, ['GET']);
  568.                                     goto not_categories;
  569.                                 }
  570.                                 return $ret;
  571.                             }
  572.                             not_categories:
  573.                             // store-category
  574.                             if ('/admin/articles/categories' === $pathinfo) {
  575.                                 $ret = array (  '_controller' => 'AppBundle\\KB\\Controller\\ArticleCategoryController::storeCategory',  '_route' => 'store-category',);
  576.                                 if (!in_array($requestMethod, ['POST'])) {
  577.                                     $allow array_merge($allow, ['POST']);
  578.                                     goto not_storecategory;
  579.                                 }
  580.                                 return $ret;
  581.                             }
  582.                             not_storecategory:
  583.                             // edit-category
  584.                             if (preg_match('#^/admin/articles/categories/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  585.                                 $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'edit-category']), array (  '_controller' => 'AppBundle\\KB\\Controller\\ArticleCategoryController::editCategory',));
  586.                                 if (!in_array($canonicalMethod, ['GET'])) {
  587.                                     $allow array_merge($allow, ['GET']);
  588.                                     goto not_editcategory;
  589.                                 }
  590.                                 return $ret;
  591.                             }
  592.                             not_editcategory:
  593.                             // app_kb_articlecategory_updatecategory
  594.                             if (preg_match('#^/admin/articles/categories/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  595.                                 $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'app_kb_articlecategory_updatecategory']), array (  '_controller' => 'AppBundle\\KB\\Controller\\ArticleCategoryController::updateCategory',));
  596.                                 if (!in_array($requestMethod, ['POST'])) {
  597.                                     $allow array_merge($allow, ['POST']);
  598.                                     goto not_app_kb_articlecategory_updatecategory;
  599.                                 }
  600.                                 return $ret;
  601.                             }
  602.                             not_app_kb_articlecategory_updatecategory:
  603.                             // destroy-category
  604.                             if (preg_match('#^/admin/articles/categories/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  605.                                 $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'destroy-category']), array (  '_controller' => 'AppBundle\\KB\\Controller\\ArticleCategoryController::destroyCategory',));
  606.                                 if (!in_array($requestMethod, ['DELETE'])) {
  607.                                     $allow array_merge($allow, ['DELETE']);
  608.                                     goto not_destroycategory;
  609.                                 }
  610.                                 return $ret;
  611.                             }
  612.                             not_destroycategory:
  613.                         }
  614.                         // articles
  615.                         if ('/admin/articles' === $pathinfo) {
  616.                             return array (  '_controller' => 'AppBundle\\KB\\Controller\\ArticleController::getArticles',  '_route' => 'articles',);
  617.                         }
  618.                         // get-slug
  619.                         if ('/admin/articles/slug' === $pathinfo) {
  620.                             $ret = array (  '_controller' => 'AppBundle\\KB\\Controller\\ArticleController::getArticleSlug',  '_route' => 'get-slug',);
  621.                             if (!in_array($canonicalMethod, ['GET'])) {
  622.                                 $allow array_merge($allow, ['GET']);
  623.                                 goto not_getslug;
  624.                             }
  625.                             return $ret;
  626.                         }
  627.                         not_getslug:
  628.                         // get-translatable-articles
  629.                         if (=== strpos($pathinfo'/admin/articles/translatable') && preg_match('#^/admin/articles/translatable/(?P<lang>[^/]++)$#sD'$pathinfo$matches)) {
  630.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'get-translatable-articles']), array (  '_controller' => 'AppBundle\\KB\\Controller\\ArticleController::getTranslatableArticles',));
  631.                             if (!in_array($canonicalMethod, ['GET'])) {
  632.                                 $allow array_merge($allow, ['GET']);
  633.                                 goto not_gettranslatablearticles;
  634.                             }
  635.                             return $ret;
  636.                         }
  637.                         not_gettranslatablearticles:
  638.                         if (=== strpos($pathinfo'/admin/articles/add')) {
  639.                             // add-article
  640.                             if ('/admin/articles/add' === $pathinfo) {
  641.                                 $ret = array (  '_controller' => 'AppBundle\\KB\\Controller\\ArticleController::addArticle',  '_route' => 'add-article',);
  642.                                 if (!in_array($canonicalMethod, ['GET'])) {
  643.                                     $allow array_merge($allow, ['GET']);
  644.                                     goto not_addarticle;
  645.                                 }
  646.                                 return $ret;
  647.                             }
  648.                             not_addarticle:
  649.                             // store-article
  650.                             if ('/admin/articles/add' === $pathinfo) {
  651.                                 $ret = array (  '_controller' => 'AppBundle\\KB\\Controller\\ArticleController::storeArticle',  '_route' => 'store-article',);
  652.                                 if (!in_array($requestMethod, ['POST'])) {
  653.                                     $allow array_merge($allow, ['POST']);
  654.                                     goto not_storearticle;
  655.                                 }
  656.                                 return $ret;
  657.                             }
  658.                             not_storearticle:
  659.                         }
  660.                         // show-article
  661.                         if (preg_match('#^/admin/articles/(?P<id>\\d+)$#sD'$pathinfo$matches)) {
  662.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'show-article']), array (  '_controller' => 'AppBundle\\KB\\Controller\\ArticleController::editArticle',));
  663.                             if (!in_array($canonicalMethod, ['GET'])) {
  664.                                 $allow array_merge($allow, ['GET']);
  665.                                 goto not_showarticle;
  666.                             }
  667.                             return $ret;
  668.                         }
  669.                         not_showarticle:
  670.                         // update-article
  671.                         if (preg_match('#^/admin/articles/(?P<id>\\d+)$#sD'$pathinfo$matches)) {
  672.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'update-article']), array (  '_controller' => 'AppBundle\\KB\\Controller\\ArticleController::updateArticle',));
  673.                             if (!in_array($requestMethod, ['POST'])) {
  674.                                 $allow array_merge($allow, ['POST']);
  675.                                 goto not_updatearticle;
  676.                             }
  677.                             return $ret;
  678.                         }
  679.                         not_updatearticle:
  680.                         // delete-article
  681.                         if (=== strpos($pathinfo'/admin/articles/delete') && preg_match('#^/admin/articles/delete(?:/(?P<id>[^/]++))?$#sD'$pathinfo$matches)) {
  682.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'delete-article']), array (  'id' => 0,  '_controller' => 'AppBundle\\KB\\Controller\\ArticleController::deleteArticle',));
  683.                         }
  684.                         if (=== strpos($pathinfo'/admin/articles/media')) {
  685.                             // media-index
  686.                             if ('/admin/articles/media' === $pathinfo) {
  687.                                 $ret = array (  '_controller' => 'AppBundle\\KB\\Controller\\ArticleMediaController::index',  '_route' => 'media-index',);
  688.                                 if (!in_array($canonicalMethod, ['GET'])) {
  689.                                     $allow array_merge($allow, ['GET']);
  690.                                     goto not_mediaindex;
  691.                                 }
  692.                                 return $ret;
  693.                             }
  694.                             not_mediaindex:
  695.                             // media-store
  696.                             if ('/admin/articles/media' === $pathinfo) {
  697.                                 $ret = array (  '_controller' => 'AppBundle\\KB\\Controller\\ArticleMediaController::store',  '_route' => 'media-store',);
  698.                                 if (!in_array($requestMethod, ['POST'])) {
  699.                                     $allow array_merge($allow, ['POST']);
  700.                                     goto not_mediastore;
  701.                                 }
  702.                                 return $ret;
  703.                             }
  704.                             not_mediastore:
  705.                             // media-destroy
  706.                             if (preg_match('#^/admin/articles/media/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  707.                                 $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'media-destroy']), array (  '_controller' => 'AppBundle\\KB\\Controller\\ArticleMediaController::destroy',));
  708.                                 if (!in_array($requestMethod, ['DELETE'])) {
  709.                                     $allow array_merge($allow, ['DELETE']);
  710.                                     goto not_mediadestroy;
  711.                                 }
  712.                                 return $ret;
  713.                             }
  714.                             not_mediadestroy:
  715.                         }
  716.                     }
  717.                 }
  718.                 elseif (=== strpos($pathinfo'/admin/edit')) {
  719.                     // edit-interruption
  720.                     if (=== strpos($pathinfo'/admin/edit-interruption') && preg_match('#^/admin/edit\\-interruption(?:/(?P<NewsID>[^/]++))?$#sD'$pathinfo$matches)) {
  721.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'edit-interruption']), array (  'NewsID' => 0,  '_controller' => 'AppBundle\\Controller\\DashController::editInterruption',));
  722.                     }
  723.                     // edit-client-details
  724.                     if (=== strpos($pathinfo'/admin/edit-client-details') && preg_match('#^/admin/edit\\-client\\-details(?:/(?P<ClientID>[^/]++)(?:/(?P<id>[^/]++))?)?$#sD'$pathinfo$matches)) {
  725.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'edit-client-details']), array (  'ClientID' => 0,  'id' => 0,  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::editClientDetails',));
  726.                     }
  727.                     // editExtension
  728.                     if ('/admin/editExtension' === $pathinfo) {
  729.                         $ret = array (  '_controller' => 'AppBundle\\Domain\\Controller\\DomainController::EditDomain',  '_route' => 'editExtension',);
  730.                         if (!in_array($requestMethod, ['POST'])) {
  731.                             $allow array_merge($allow, ['POST']);
  732.                             goto not_editExtension;
  733.                         }
  734.                         return $ret;
  735.                     }
  736.                     not_editExtension:
  737.                     // editDomain
  738.                     if ('/admin/editDomain' === $pathinfo) {
  739.                         $ret = array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::EditDomain',  '_route' => 'editDomain',);
  740.                         if (!in_array($requestMethod, ['POST'])) {
  741.                             $allow array_merge($allow, ['POST']);
  742.                             goto not_editDomain;
  743.                         }
  744.                         return $ret;
  745.                     }
  746.                     not_editDomain:
  747.                     // EditPackageClient
  748.                     if ('/admin/editpackage-client' === $pathinfo) {
  749.                         $ret = array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::editPackageClient',  '_route' => 'EditPackageClient',);
  750.                         if (!in_array($requestMethod, ['POST'])) {
  751.                             $allow array_merge($allow, ['POST']);
  752.                             goto not_EditPackageClient;
  753.                         }
  754.                         return $ret;
  755.                     }
  756.                     not_EditPackageClient:
  757.                     // EditDomainPackageClient
  758.                     if ('/admin/editdomainpackage-client' === $pathinfo) {
  759.                         $ret = array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::editDomainPackageClient',  '_route' => 'EditDomainPackageClient',);
  760.                         if (!in_array($requestMethod, ['POST'])) {
  761.                             $allow array_merge($allow, ['POST']);
  762.                             goto not_EditDomainPackageClient;
  763.                         }
  764.                         return $ret;
  765.                     }
  766.                     not_EditDomainPackageClient:
  767.                 }
  768.                 // encrypt-privatekey
  769.                 if ('/admin/encrypt-privatekey' === $pathinfo) {
  770.                     return array (  '_controller' => 'AppBundle\\SSL\\Controller\\SSLController::EncryptPrivateKey',  '_route' => 'encrypt-privatekey',);
  771.                 }
  772.                 // failedOrders
  773.                 if ('/admin/failedOrders' === $pathinfo) {
  774.                     $ret = array (  '_controller' => 'AppBundle\\Controller\\DashController::searchRack',  '_route' => 'failedOrders',);
  775.                     if (!in_array($requestMethod, ['POST'])) {
  776.                         $allow array_merge($allow, ['POST']);
  777.                         goto not_failedOrders;
  778.                     }
  779.                     return $ret;
  780.                 }
  781.                 not_failedOrders:
  782.                 if (=== strpos($pathinfo'/admin/b')) {
  783.                     if (=== strpos($pathinfo'/admin/ba')) {
  784.                         if (=== strpos($pathinfo'/admin/backupservers')) {
  785.                             // backup-servers
  786.                             if ('/admin/backupservers.html' === $pathinfo) {
  787.                                 return array (  '_controller' => 'AppBundle\\Controller\\DashController::BackupServers',  '_route' => 'backup-servers',);
  788.                             }
  789.                             // disksafe
  790.                             if (preg_match('#^/admin/backupservers(?:/(?P<DiskSafeID>[^/]++))?$#sD'$pathinfo$matches)) {
  791.                                 return $this->mergeDefaults(array_replace($matches, ['_route' => 'disksafe']), array (  'DiskSafeID' => '',  '_controller' => 'AppBundle\\Controller\\DashController::getDiskSafeRecoveryPoints',));
  792.                             }
  793.                         }
  794.                         // batches
  795.                         if ('/admin/batches' === $pathinfo) {
  796.                             return array (  '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::HandleBatch',  '_route' => 'batches',);
  797.                         }
  798.                         // batch-paid
  799.                         if (=== strpos($pathinfo'/admin/batch-paid') && preg_match('#^/admin/batch\\-paid(?:/(?P<BatchID>[^/]++))?$#sD'$pathinfo$matches)) {
  800.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'batch-paid']), array (  'BatchID' => 0,  '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::PaidBatch',));
  801.                         }
  802.                     }
  803.                     // block-ip
  804.                     if ('/admin/block-ip.html' === $pathinfo) {
  805.                         return array (  '_controller' => 'AppBundle\\Controller\\DashController::blockips',  '_route' => 'block-ip',);
  806.                     }
  807.                     if (=== strpos($pathinfo'/admin/bulk-dns')) {
  808.                         // bulk-dns
  809.                         if ('/admin/bulk-dns' === $pathinfo) {
  810.                             return array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::BulkDNS',  '_route' => 'bulk-dns',);
  811.                         }
  812.                         // bulk-dns-change
  813.                         if ('/admin/bulk-dns-change' === $pathinfo) {
  814.                             return array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::admin_massdns',  '_route' => 'bulk-dns-change',);
  815.                         }
  816.                     }
  817.                     elseif (=== strpos($pathinfo'/admin/bugs')) {
  818.                         // bugs
  819.                         if ('/admin/bugs' === $pathinfo) {
  820.                             return array (  '_controller' => 'AppBundle\\Bug\\Controller\\BugController::index',  '_route' => 'bugs',);
  821.                         }
  822.                         // report-bug
  823.                         if ('/admin/bugs/new' === $pathinfo) {
  824.                             return array (  '_controller' => 'AppBundle\\Bug\\Controller\\BugController::create',  '_route' => 'report-bug',);
  825.                         }
  826.                         // show-bug
  827.                         if (preg_match('#^/admin/bugs/(?P<id>\\d+)$#sD'$pathinfo$matches)) {
  828.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'show-bug']), array (  '_controller' => 'AppBundle\\Bug\\Controller\\BugController::show',));
  829.                         }
  830.                         // edit-bug
  831.                         if (preg_match('#^/admin/bugs/(?P<id>\\d+)/edit$#sD'$pathinfo$matches)) {
  832.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'edit-bug']), array (  '_controller' => 'AppBundle\\Bug\\Controller\\BugController::edit',));
  833.                         }
  834.                         // delete-bug
  835.                         if (preg_match('#^/admin/bugs/(?P<id>\\d+)/delete$#sD'$pathinfo$matches)) {
  836.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'delete-bug']), array (  '_controller' => 'AppBundle\\Bug\\Controller\\BugController::delete',));
  837.                         }
  838.                         // new-bug-comment
  839.                         if (preg_match('#^/admin/bugs/(?P<id>\\d+)/comments/new$#sD'$pathinfo$matches)) {
  840.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'new-bug-comment']), array (  '_controller' => 'AppBundle\\Bug\\Controller\\BugController::storeComment',));
  841.                         }
  842.                         // new-comment-reply
  843.                         if (preg_match('#^/admin/bugs/(?P<id>\\d+)/comments/(?P<commentID>\\d+)/reply$#sD'$pathinfo$matches)) {
  844.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'new-comment-reply']), array (  '_controller' => 'AppBundle\\Bug\\Controller\\BugController::storeCommentReply',));
  845.                         }
  846.                     }
  847.                 }
  848.                 // nps-stats
  849.                 if ('/admin/nps-stats.html' === $pathinfo) {
  850.                     return array (  '_controller' => 'AppBundle\\Controller\\DashController::NpsStats',  '_route' => 'nps-stats',);
  851.                 }
  852.                 if (=== strpos($pathinfo'/admin/u')) {
  853.                     // unblock-ip
  854.                     if (=== strpos($pathinfo'/admin/unblock-ip') && preg_match('#^/admin/unblock\\-ip(?:/(?P<id>[^/]++))?$#sD'$pathinfo$matches)) {
  855.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'unblock-ip']), array (  'id' => 0,  '_controller' => 'AppBundle\\Controller\\DashController::unblockIp',));
  856.                     }
  857.                     // unsuspend
  858.                     if (=== strpos($pathinfo'/admin/unsuspend') && preg_match('#^/admin/unsuspend(?:/(?P<HostingID>[^/]++))?$#sD'$pathinfo$matches)) {
  859.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'unsuspend']), array (  'HostingID' => 0,  '_controller' => 'AppBundle\\Manage\\Controller\\ManageController::UnSuspend',));
  860.                     }
  861.                     if (=== strpos($pathinfo'/admin/update')) {
  862.                         // updateExtensionCheckbox
  863.                         if ('/admin/updateExtensionCheckbox' === $pathinfo) {
  864.                             $ret = array (  '_controller' => 'AppBundle\\Domain\\Controller\\DomainController::updateExtensionCheckbox',  '_route' => 'updateExtensionCheckbox',);
  865.                             if (!in_array($requestMethod, ['POST'])) {
  866.                                 $allow array_merge($allow, ['POST']);
  867.                                 goto not_updateExtensionCheckbox;
  868.                             }
  869.                             return $ret;
  870.                         }
  871.                         not_updateExtensionCheckbox:
  872.                         // updateStatus
  873.                         if (=== strpos($pathinfo'/admin/updateStatus') && preg_match('#^/admin/updateStatus(?:/(?P<InvoiceID>[^/]++)(?:/(?P<Status>[^/]++))?)?$#sD'$pathinfo$matches)) {
  874.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'updateStatus']), array (  'InvoiceID' => 0,  'Status' => 0,  '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::updateStatus',));
  875.                         }
  876.                         // updateserverpassword
  877.                         if ('/admin/updateserverpassword' === $pathinfo) {
  878.                             return array (  '_controller' => 'AppBundle\\Server\\Controller\\ServerController::UpdatePassword',  '_route' => 'updateserverpassword',);
  879.                         }
  880.                     }
  881.                     elseif (=== strpos($pathinfo'/admin/userlogin')) {
  882.                         // userlogin
  883.                         if (preg_match('#^/admin/userlogin(?:/(?P<HostingAccountID>[^/]++))?$#sD'$pathinfo$matches)) {
  884.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'userlogin']), array (  'HostingAccountID' => 0,  '_controller' => 'AppBundle\\Manage\\Controller\\ManageController::LoginUserCpanel',));
  885.                         }
  886.                         // userlogin-whm
  887.                         if (=== strpos($pathinfo'/admin/userlogin-whm') && preg_match('#^/admin/userlogin\\-whm(?:/(?P<HostingAccountID>[^/]++))?$#sD'$pathinfo$matches)) {
  888.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'userlogin-whm']), array (  'HostingAccountID' => 0,  '_controller' => 'AppBundle\\Manage\\Controller\\ManageController::LoginUserWHM',));
  889.                         }
  890.                     }
  891.                 }
  892.                 elseif (=== strpos($pathinfo'/admin/g')) {
  893.                     if (=== strpos($pathinfo'/admin/get')) {
  894.                         // get-users
  895.                         if ('/admin/get-users' === $pathinfo) {
  896.                             return array (  '_controller' => 'AppBundle\\Controller\\DashController::getUsers',  '_route' => 'get-users',);
  897.                         }
  898.                         // getMonitor
  899.                         if (=== strpos($pathinfo'/admin/get-monitor') && preg_match('#^/admin/get\\-monitor(?:/(?P<timeOut>[^/]++)(?:/(?P<MonitorID>[^/]++))?)?$#sD'$pathinfo$matches)) {
  900.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'getMonitor']), array (  'MonitorID' => 0,  'timeOut' => 10,  '_controller' => 'AppBundle\\Monitoring\\Controller\\MonitoringController::GetMonitor',));
  901.                             if (!in_array($canonicalMethod, ['GET'])) {
  902.                                 $allow array_merge($allow, ['GET']);
  903.                                 goto not_getMonitor;
  904.                             }
  905.                             return $ret;
  906.                         }
  907.                         not_getMonitor:
  908.                         // app_client_client_gethostingaccount
  909.                         if ('/admin/gethostingaccount' === $pathinfo) {
  910.                             return array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::getHostingAccount',  '_route' => 'app_client_client_gethostingaccount',);
  911.                         }
  912.                         if (=== strpos($pathinfo'/admin/getPackage')) {
  913.                             // getPackages
  914.                             if ('/admin/getPackages' === $pathinfo) {
  915.                                 $ret = array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::getPackages',  '_route' => 'getPackages',);
  916.                                 if (!in_array($canonicalMethod, ['GET'])) {
  917.                                     $allow array_merge($allow, ['GET']);
  918.                                     goto not_getPackages;
  919.                                 }
  920.                                 return $ret;
  921.                             }
  922.                             not_getPackages:
  923.                             // getPackage
  924.                             if (preg_match('#^/admin/getPackage(?:/(?P<ServiceID>[^/]++))?$#sD'$pathinfo$matches)) {
  925.                                 $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'getPackage']), array (  'ServiceID' => 0,  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::getPackage',));
  926.                                 if (!in_array($canonicalMethod, ['GET'])) {
  927.                                     $allow array_merge($allow, ['GET']);
  928.                                     goto not_getPackage;
  929.                                 }
  930.                                 return $ret;
  931.                             }
  932.                             not_getPackage:
  933.                         }
  934.                         // getInvoiceItems
  935.                         if (=== strpos($pathinfo'/admin/getInvoiceItems') && preg_match('#^/admin/getInvoiceItems(?:/(?P<ClientServiceID>[^/]++))?$#sD'$pathinfo$matches)) {
  936.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'getInvoiceItems']), array (  'ClientServiceID' => 0,  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::getInvoiceItems',));
  937.                             if (!in_array($canonicalMethod, ['GET'])) {
  938.                                 $allow array_merge($allow, ['GET']);
  939.                                 goto not_getInvoiceItems;
  940.                             }
  941.                             return $ret;
  942.                         }
  943.                         not_getInvoiceItems:
  944.                         if (=== strpos($pathinfo'/admin/getDomain')) {
  945.                             // getDomains
  946.                             if ('/admin/getDomains' === $pathinfo) {
  947.                                 $ret = array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::getDomains',  '_route' => 'getDomains',);
  948.                                 if (!in_array($canonicalMethod, ['GET'])) {
  949.                                     $allow array_merge($allow, ['GET']);
  950.                                     goto not_getDomains;
  951.                                 }
  952.                                 return $ret;
  953.                             }
  954.                             not_getDomains:
  955.                             // getDomain
  956.                             if (preg_match('#^/admin/getDomain(?:/(?P<ServiceID>[^/]++))?$#sD'$pathinfo$matches)) {
  957.                                 $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'getDomain']), array (  'ServiceID' => 0,  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::getDomain',));
  958.                                 if (!in_array($canonicalMethod, ['GET'])) {
  959.                                     $allow array_merge($allow, ['GET']);
  960.                                     goto not_getDomain;
  961.                                 }
  962.                                 return $ret;
  963.                             }
  964.                             not_getDomain:
  965.                         }
  966.                         // getDisc
  967.                         if ('/admin/getdisc' === $pathinfo) {
  968.                             $ret = array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::getResellerDiscount',  '_route' => 'getDisc',);
  969.                             if (!in_array($requestMethod, ['POST'])) {
  970.                                 $allow array_merge($allow, ['POST']);
  971.                                 goto not_getDisc;
  972.                             }
  973.                             return $ret;
  974.                         }
  975.                         not_getDisc:
  976.                     }
  977.                     // generate-sepa
  978.                     if (=== strpos($pathinfo'/admin/generate-sepa') && preg_match('#^/admin/generate\\-sepa(?:/(?P<Type>[^/]++))?$#sD'$pathinfo$matches)) {
  979.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'generate-sepa']), array (  'Type' => 0,  '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::GenerateSepa',));
  980.                     }
  981.                     // grading-service
  982.                     if (=== strpos($pathinfo'/admin/grading-service') && preg_match('#^/admin/grading\\-service(?:/(?P<ClientID>[^/]++)(?:/(?P<ClientServiceID>[^/]++))?)?$#sD'$pathinfo$matches)) {
  983.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'grading-service']), array (  'ClientID' => 0,  'ClientServiceID' => 0,  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::UpgradeService',));
  984.                     }
  985.                     // grading-cloud
  986.                     if (=== strpos($pathinfo'/admin/grading-cloud') && preg_match('#^/admin/grading\\-cloud(?:/(?P<ClientID>[^/]++)(?:/(?P<ClientServiceID>[^/]++))?)?$#sD'$pathinfo$matches)) {
  987.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'grading-cloud']), array (  'ClientID' => 0,  'ClientServiceID' => 0,  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::UpgradeCloud',));
  988.                     }
  989.                 }
  990.                 elseif (=== strpos($pathinfo'/admin/s')) {
  991.                     // services
  992.                     if ('/admin/services' === $pathinfo) {
  993.                         return array (  '_controller' => 'AppBundle\\Domain\\Controller\\DomainController::serviceListAction',  '_route' => 'services',);
  994.                     }
  995.                     if (=== strpos($pathinfo'/admin/search')) {
  996.                         // clientservice
  997.                         if ('/admin/search' === $pathinfo) {
  998.                             return array (  '_controller' => 'AppBundle\\Domain\\Controller\\DomainController::doSearch',  '_route' => 'clientservice',);
  999.                         }
  1000.                         // searchRack
  1001.                         if (=== strpos($pathinfo'/admin/searchRack') && preg_match('#^/admin/searchRack(?:/(?P<Value>[^/]++))?$#sD'$pathinfo$matches)) {
  1002.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'searchRack']), array (  'Value' => 0,  '_controller' => 'AppBundle\\Server\\Controller\\ServerController::searchRack',));
  1003.                             if (!in_array($canonicalMethod, ['GET'])) {
  1004.                                 $allow array_merge($allow, ['GET']);
  1005.                                 goto not_searchRack;
  1006.                             }
  1007.                             return $ret;
  1008.                         }
  1009.                         not_searchRack:
  1010.                     }
  1011.                     elseif (=== strpos($pathinfo'/admin/suspend')) {
  1012.                         // suspend-account
  1013.                         if (=== strpos($pathinfo'/admin/suspend-account') && preg_match('#^/admin/suspend\\-account(?:/(?P<HostingAccountID>[^/]++))?$#sD'$pathinfo$matches)) {
  1014.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'suspend-account']), array (  'HostingAccountID' => 0,  '_controller' => 'AppBundle\\Manage\\Controller\\ManageController::SuspendAccount',));
  1015.                         }
  1016.                         // suspend
  1017.                         if ('/admin/suspend' === $pathinfo) {
  1018.                             return array (  '_controller' => 'AppBundle\\Manage\\Controller\\ManageController::Suspend',  '_route' => 'suspend',);
  1019.                         }
  1020.                         // suspended
  1021.                         if ('/admin/suspended' === $pathinfo) {
  1022.                             return array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::getSuspended',  '_route' => 'suspended',);
  1023.                         }
  1024.                     }
  1025.                     elseif (=== strpos($pathinfo'/admin/ssl')) {
  1026.                         // ssl-overview
  1027.                         if ('/admin/ssl-overview' === $pathinfo) {
  1028.                             return array (  '_controller' => 'AppBundle\\SSL\\Controller\\SSLController::SSLOverview',  '_route' => 'ssl-overview',);
  1029.                         }
  1030.                         // ssl-resubmit
  1031.                         if (=== strpos($pathinfo'/admin/ssl-resubmit') && preg_match('#^/admin/ssl\\-resubmit(?:/(?P<SSLCertificateID>[^/]++))?$#sD'$pathinfo$matches)) {
  1032.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ssl-resubmit']), array (  'SSLCertificateID' => 0,  '_controller' => 'AppBundle\\SSL\\Controller\\SSLController::SSLResubmit',));
  1033.                         }
  1034.                         // sslcertificate
  1035.                         if (=== strpos($pathinfo'/admin/sslcertificate') && preg_match('#^/admin/sslcertificate(?:/(?P<SSLCertificateID>[^/]++))?$#sD'$pathinfo$matches)) {
  1036.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'sslcertificate']), array (  'SSLCertificateID' => 0,  '_controller' => 'AppBundle\\SSL\\Controller\\SSLController::SSLCertificate',));
  1037.                         }
  1038.                         // ssl-cron
  1039.                         if ('/admin/ssl' === $pathinfo) {
  1040.                             return array (  '_controller' => 'AppBundle\\Cron\\Controller\\SSLCronController::CreateSSLOrder',  '_route' => 'ssl-cron',);
  1041.                         }
  1042.                     }
  1043.                     elseif (=== strpos($pathinfo'/admin/stats')) {
  1044.                         // stats
  1045.                         if ('/admin/stats' === $pathinfo) {
  1046.                             return array (  '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::stats',  '_route' => 'stats',);
  1047.                         }
  1048.                         // stats-product
  1049.                         if (preg_match('#^/admin/stats(?:/(?P<product>[^/]++))?$#sD'$pathinfo$matches)) {
  1050.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'stats-product']), array (  'product' => 0,  '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::statsProducts',));
  1051.                         }
  1052.                         // stats-years
  1053.                         if ('/admin/stats-yearly' === $pathinfo) {
  1054.                             return array (  '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::statsScript',  '_route' => 'stats-years',);
  1055.                         }
  1056.                     }
  1057.                     // sidn-stats
  1058.                     if (=== strpos($pathinfo'/admin/sidn-stats') && preg_match('#^/admin/sidn\\-stats(?:/(?P<Date>[^/]++))?$#sD'$pathinfo$matches)) {
  1059.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'sidn-stats']), array (  'Date' => '',  '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::SIDNStats',));
  1060.                     }
  1061.                     // saveBulkDiscount
  1062.                     if ('/admin/savebulkdiscount' === $pathinfo) {
  1063.                         $ret = array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::saveBulk',  '_route' => 'saveBulkDiscount',);
  1064.                         if (!in_array($requestMethod, ['POST'])) {
  1065.                             $allow array_merge($allow, ['POST']);
  1066.                             goto not_saveBulkDiscount;
  1067.                         }
  1068.                         return $ret;
  1069.                     }
  1070.                     not_saveBulkDiscount:
  1071.                 }
  1072.                 // CreditModal
  1073.                 if (=== strpos($pathinfo'/admin/CreditModal') && preg_match('#^/admin/CreditModal(?:/(?P<InvoiceID>[^/]++))?$#sD'$pathinfo$matches)) {
  1074.                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'CreditModal']), array (  'InvoiceID' => 0,  '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::CreditModal',));
  1075.                 }
  1076.                 // manage-hosting
  1077.                 if ('/admin/manage-hosting' === $pathinfo) {
  1078.                     return array (  '_controller' => 'AppBundle\\Manage\\Controller\\ManageController::ManageHosting',  '_route' => 'manage-hosting',);
  1079.                 }
  1080.                 if (=== strpos($pathinfo'/admin/monitoring')) {
  1081.                     // monitoring
  1082.                     if ('/admin/monitoring' === $pathinfo) {
  1083.                         return array (  '_controller' => 'AppBundle\\Monitoring\\Controller\\MonitoringController::Monitoring',  '_route' => 'monitoring',);
  1084.                     }
  1085.                     // edit-monitoring
  1086.                     if (=== strpos($pathinfo'/admin/monitoring/edit') && preg_match('#^/admin/monitoring/edit(?:/(?P<MonitorID>[^/]++))?$#sD'$pathinfo$matches)) {
  1087.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'edit-monitoring']), array (  'MonitorID' => 0,  '_controller' => 'AppBundle\\Monitoring\\Controller\\MonitoringController::editMonitoring',));
  1088.                     }
  1089.                     // add-monitoring
  1090.                     if ('/admin/monitoring/add' === $pathinfo) {
  1091.                         return array (  '_controller' => 'AppBundle\\Monitoring\\Controller\\MonitoringController::addMonitoring',  '_route' => 'add-monitoring',);
  1092.                     }
  1093.                     // delete-monitoring
  1094.                     if (=== strpos($pathinfo'/admin/monitoring/delete') && preg_match('#^/admin/monitoring/delete(?:/(?P<MonitorID>[^/]++))?$#sD'$pathinfo$matches)) {
  1095.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'delete-monitoring']), array (  'MonitorID' => 0,  '_controller' => 'AppBundle\\Monitoring\\Controller\\MonitoringController::deleteMonitoring',));
  1096.                         if (!in_array($canonicalMethod, ['GET'])) {
  1097.                             $allow array_merge($allow, ['GET']);
  1098.                             goto not_deletemonitoring;
  1099.                         }
  1100.                         return $ret;
  1101.                     }
  1102.                     not_deletemonitoring:
  1103.                 }
  1104.                 // prepare-account
  1105.                 if (=== strpos($pathinfo'/admin/prepare-account') && preg_match('#^/admin/prepare\\-account(?:/(?P<HostingAccountID>[^/]++))?$#sD'$pathinfo$matches)) {
  1106.                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'prepare-account']), array (  'HostingAccountID' => 0,  '_controller' => 'AppBundle\\Manage\\Controller\\ManageController::DeleteAccountPrepare',));
  1107.                 }
  1108.                 // edit-package
  1109.                 if (=== strpos($pathinfo'/admin/package') && preg_match('#^/admin/package(?:/(?P<ClientID>[^/]++)(?:/(?P<ClientServiceID>[^/]++))?)?$#sD'$pathinfo$matches)) {
  1110.                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'edit-package']), array (  'ClientID' => 0,  'ClientServiceID' => 0,  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::EditPackage',));
  1111.                 }
  1112.                 // rack_manager
  1113.                 if ('/admin/rack_manager' === $pathinfo) {
  1114.                     return array (  '_controller' => 'AppBundle\\Server\\Controller\\ServerController::rackMonitoring',  '_route' => 'rack_manager',);
  1115.                 }
  1116.                 if (=== strpos($pathinfo'/admin/rackcontent')) {
  1117.                     // racknumber
  1118.                     if (preg_match('#^/admin/rackcontent(?:/(?P<RackNumber>[^/]++))?$#sD'$pathinfo$matches)) {
  1119.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'racknumber']), array (  'RackNumber' => 0,  '_controller' => 'AppBundle\\Server\\Controller\\ServerController::RackNumber',));
  1120.                     }
  1121.                     // rackcontent
  1122.                     if (preg_match('#^/admin/rackcontent(?:/(?P<RackNumber>[^/]++)(?:/(?P<RackContent>[^/]++))?)?$#sD'$pathinfo$matches)) {
  1123.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'rackcontent']), array (  'RackNumber' => 0,  'RackContent' => 0,  '_controller' => 'AppBundle\\Server\\Controller\\ServerController::RackContent',));
  1124.                     }
  1125.                 }
  1126.                 // login-whm
  1127.                 if (=== strpos($pathinfo'/admin/login-whm') && preg_match('#^/admin/login\\-whm(?:/(?P<serverId>[^/]++))?$#sD'$pathinfo$matches)) {
  1128.                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'login-whm']), array (  'serverId' => 0,  '_controller' => 'AppBundle\\Server\\Controller\\ServerController::LoginUserWHM',));
  1129.                 }
  1130.             }
  1131.             // addCity
  1132.             if ('/addCity' === $pathinfo) {
  1133.                 $ret = array (  '_controller' => 'AppBundle\\Server\\Controller\\ServerController::addCity',  '_route' => 'addCity',);
  1134.                 if (!in_array($requestMethod, ['POST'])) {
  1135.                     $allow array_merge($allow, ['POST']);
  1136.                     goto not_addCity;
  1137.                 }
  1138.                 return $ret;
  1139.             }
  1140.             not_addCity:
  1141.             // approve-status
  1142.             if (=== strpos($pathinfo'/approve') && preg_match('#^/approve(?:/(?P<StoreID>[^/]++)(?:/(?P<Status>[^/]++))?)?$#sD'$pathinfo$matches)) {
  1143.                 $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'approve-status']), array (  'StoreID' => 0,  'Status' => 0,  '_controller' => 'AppBundle\\Order\\Controller\\OrderController::ApproveOrder',));
  1144.                 if (!in_array($canonicalMethod, ['GET'])) {
  1145.                     $allow array_merge($allow, ['GET']);
  1146.                     goto not_approvestatus;
  1147.                 }
  1148.                 return $ret;
  1149.             }
  1150.             not_approvestatus:
  1151.             // abort-delete-domain
  1152.             if ('/abort-delete-domain' === $pathinfo) {
  1153.                 $ret = array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::AbortDeleteDomain',  '_route' => 'abort-delete-domain',);
  1154.                 if (!in_array($requestMethod, ['POST'])) {
  1155.                     $allow array_merge($allow, ['POST']);
  1156.                     goto not_abortdeletedomain;
  1157.                 }
  1158.                 return $ret;
  1159.             }
  1160.             not_abortdeletedomain:
  1161.         }
  1162.         elseif (=== strpos($pathinfo'/Client')) {
  1163.             // getClientsThisYear
  1164.             if ('/ClientThisYear' === $pathinfo) {
  1165.                 $ret = array (  '_controller' => 'AppBundle\\Controller\\DashController::clientThisYear',  '_route' => 'getClientsThisYear',);
  1166.                 if (!in_array($canonicalMethod, ['GET'])) {
  1167.                     $allow array_merge($allow, ['GET']);
  1168.                     goto not_getClientsThisYear;
  1169.                 }
  1170.                 return $ret;
  1171.             }
  1172.             not_getClientsThisYear:
  1173.             // getClientsLastYear
  1174.             if ('/ClientLastYear' === $pathinfo) {
  1175.                 $ret = array (  '_controller' => 'AppBundle\\Controller\\DashController::clientLastyear',  '_route' => 'getClientsLastYear',);
  1176.                 if (!in_array($canonicalMethod, ['GET'])) {
  1177.                     $allow array_merge($allow, ['GET']);
  1178.                     goto not_getClientsLastYear;
  1179.                 }
  1180.                 return $ret;
  1181.             }
  1182.             not_getClientsLastYear:
  1183.             // getClientsLostThisYear
  1184.             if ('/ClientLostThisYear' === $pathinfo) {
  1185.                 $ret = array (  '_controller' => 'AppBundle\\Controller\\DashController::clientLostThisYear',  '_route' => 'getClientsLostThisYear',);
  1186.                 if (!in_array($canonicalMethod, ['GET'])) {
  1187.                     $allow array_merge($allow, ['GET']);
  1188.                     goto not_getClientsLostThisYear;
  1189.                 }
  1190.                 return $ret;
  1191.             }
  1192.             not_getClientsLostThisYear:
  1193.         }
  1194.         elseif (=== strpos($pathinfo'/update')) {
  1195.             // updateAuth
  1196.             if ('/updateauth' === $pathinfo) {
  1197.                 $ret = array (  '_controller' => 'AppBundle\\Controller\\DashController::UpdateAuth',  '_route' => 'updateAuth',);
  1198.                 if (!in_array($requestMethod, ['POST'])) {
  1199.                     $allow array_merge($allow, ['POST']);
  1200.                     goto not_updateAuth;
  1201.                 }
  1202.                 return $ret;
  1203.             }
  1204.             not_updateAuth:
  1205.             // updateUnits
  1206.             if ('/updateUnits' === $pathinfo) {
  1207.                 $ret = array (  '_controller' => 'AppBundle\\Server\\Controller\\ServerController::updateUnits',  '_route' => 'updateUnits',);
  1208.                 if (!in_array($requestMethod, ['POST'])) {
  1209.                     $allow array_merge($allow, ['POST']);
  1210.                     goto not_updateUnits;
  1211.                 }
  1212.                 return $ret;
  1213.             }
  1214.             not_updateUnits:
  1215.             // updateRackNumber
  1216.             if ('/updateRackNumber' === $pathinfo) {
  1217.                 $ret = array (  '_controller' => 'AppBundle\\Server\\Controller\\ServerController::updateRackNumber',  '_route' => 'updateRackNumber',);
  1218.                 if (!in_array($requestMethod, ['POST'])) {
  1219.                     $allow array_merge($allow, ['POST']);
  1220.                     goto not_updateRackNumber;
  1221.                 }
  1222.                 return $ret;
  1223.             }
  1224.             not_updateRackNumber:
  1225.             // updateInternNumber
  1226.             if ('/updateInternNumber' === $pathinfo) {
  1227.                 $ret = array (  '_controller' => 'AppBundle\\Server\\Controller\\ServerController::updateInternNumber',  '_route' => 'updateInternNumber',);
  1228.                 if (!in_array($requestMethod, ['POST'])) {
  1229.                     $allow array_merge($allow, ['POST']);
  1230.                     goto not_updateInternNumber;
  1231.                 }
  1232.                 return $ret;
  1233.             }
  1234.             not_updateInternNumber:
  1235.         }
  1236.         // unsuspendservice
  1237.         if ('/unsuspendservice' === $pathinfo) {
  1238.             $ret = array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::UnSuspendService',  '_route' => 'unsuspendservice',);
  1239.             if (!in_array($requestMethod, ['POST'])) {
  1240.                 $allow array_merge($allow, ['POST']);
  1241.                 goto not_unsuspendservice;
  1242.             }
  1243.             return $ret;
  1244.         }
  1245.         not_unsuspendservice:
  1246.         if (=== strpos($pathinfo'/s')) {
  1247.             // sslupdate-orderid
  1248.             if ('/sslupdate-orderid' === $pathinfo) {
  1249.                 $ret = array (  '_controller' => 'AppBundle\\Controller\\DashController::SSLUpdateOrderID',  '_route' => 'sslupdate-orderid',);
  1250.                 if (!in_array($requestMethod, ['POST'])) {
  1251.                     $allow array_merge($allow, ['POST']);
  1252.                     goto not_sslupdateorderid;
  1253.                 }
  1254.                 return $ret;
  1255.             }
  1256.             not_sslupdateorderid:
  1257.             // servers-json
  1258.             if ('/servers.json' === $pathinfo) {
  1259.                 return array (  '_controller' => 'AppBundle\\Controller\\DashController::ServerJson',  '_route' => 'servers-json',);
  1260.             }
  1261.             // suspendservice
  1262.             if ('/suspendservice' === $pathinfo) {
  1263.                 $ret = array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::SuspendService',  '_route' => 'suspendservice',);
  1264.                 if (!in_array($requestMethod, ['POST'])) {
  1265.                     $allow array_merge($allow, ['POST']);
  1266.                     goto not_suspendservice;
  1267.                 }
  1268.                 return $ret;
  1269.             }
  1270.             not_suspendservice:
  1271.         }
  1272.         // cloudservers-json
  1273.         if ('/cloudservers.json' === $pathinfo) {
  1274.             return array (  '_controller' => 'AppBundle\\Controller\\DashController::CloudJson',  '_route' => 'cloudservers-json',);
  1275.         }
  1276.         if (=== strpos($pathinfo'/clientservice')) {
  1277.             // clientservicediscount
  1278.             if ('/clientservicediscount' === $pathinfo) {
  1279.                 $ret = array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::updateClientServiceDiscount',  '_route' => 'clientservicediscount',);
  1280.                 if (!in_array($requestMethod, ['POST'])) {
  1281.                     $allow array_merge($allow, ['POST']);
  1282.                     goto not_clientservicediscount;
  1283.                 }
  1284.                 return $ret;
  1285.             }
  1286.             not_clientservicediscount:
  1287.             // clientserviceinvoiceperiod
  1288.             if ('/clientserviceinvoiceperiod' === $pathinfo) {
  1289.                 $ret = array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::updateClientServiceInvoicePeriod',  '_route' => 'clientserviceinvoiceperiod',);
  1290.                 if (!in_array($requestMethod, ['POST'])) {
  1291.                     $allow array_merge($allow, ['POST']);
  1292.                     goto not_clientserviceinvoiceperiod;
  1293.                 }
  1294.                 return $ret;
  1295.             }
  1296.             not_clientserviceinvoiceperiod:
  1297.             // clientserviceprice
  1298.             if ('/clientserviceprice' === $pathinfo) {
  1299.                 $ret = array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::updateClientServicePrice',  '_route' => 'clientserviceprice',);
  1300.                 if (!in_array($requestMethod, ['POST'])) {
  1301.                     $allow array_merge($allow, ['POST']);
  1302.                     goto not_clientserviceprice;
  1303.                 }
  1304.                 return $ret;
  1305.             }
  1306.             not_clientserviceprice:
  1307.         }
  1308.         elseif (=== strpos($pathinfo'/get')) {
  1309.             // getSwitch
  1310.             if ('/getSwitch' === $pathinfo) {
  1311.                 $ret = array (  '_controller' => 'AppBundle\\Server\\Controller\\ServerController::getSwitch',  '_route' => 'getSwitch',);
  1312.                 if (!in_array($requestMethod, ['POST'])) {
  1313.                     $allow array_merge($allow, ['POST']);
  1314.                     goto not_getSwitch;
  1315.                 }
  1316.                 return $ret;
  1317.             }
  1318.             not_getSwitch:
  1319.             // getSingleService
  1320.             if ('/getSingleService' === $pathinfo) {
  1321.                 $ret = array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::SingleService',  '_route' => 'getSingleService',);
  1322.                 if (!in_array($requestMethod, ['POST'])) {
  1323.                     $allow array_merge($allow, ['POST']);
  1324.                     goto not_getSingleService;
  1325.                 }
  1326.                 return $ret;
  1327.             }
  1328.             not_getSingleService:
  1329.             // getApc
  1330.             if ('/getApc' === $pathinfo) {
  1331.                 $ret = array (  '_controller' => 'AppBundle\\Server\\Controller\\ServerController::getApc',  '_route' => 'getApc',);
  1332.                 if (!in_array($requestMethod, ['POST'])) {
  1333.                     $allow array_merge($allow, ['POST']);
  1334.                     goto not_getApc;
  1335.                 }
  1336.                 return $ret;
  1337.             }
  1338.             not_getApc:
  1339.             // getnameservers
  1340.             if ('/getnameservers' === $pathinfo) {
  1341.                 $ret = array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::getNameServersDomain',  '_route' => 'getnameservers',);
  1342.                 if (!in_array($requestMethod, ['POST'])) {
  1343.                     $allow array_merge($allow, ['POST']);
  1344.                     goto not_getnameservers;
  1345.                 }
  1346.                 return $ret;
  1347.             }
  1348.             not_getnameservers:
  1349.         }
  1350.         // getSalesThisYear
  1351.         if ('/StatsThisYear' === $pathinfo) {
  1352.             $ret = array (  '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::statsThisYear',  '_route' => 'getSalesThisYear',);
  1353.             if (!in_array($canonicalMethod, ['GET'])) {
  1354.                 $allow array_merge($allow, ['GET']);
  1355.                 goto not_getSalesThisYear;
  1356.             }
  1357.             return $ret;
  1358.         }
  1359.         not_getSalesThisYear:
  1360.         // getSalesLastYear
  1361.         if ('/StatsLastYear' === $pathinfo) {
  1362.             $ret = array (  '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::statsLastYear',  '_route' => 'getSalesLastYear',);
  1363.             if (!in_array($canonicalMethod, ['GET'])) {
  1364.                 $allow array_merge($allow, ['GET']);
  1365.                 goto not_getSalesLastYear;
  1366.             }
  1367.             return $ret;
  1368.         }
  1369.         not_getSalesLastYear:
  1370.         // whois
  1371.         if (=== strpos($pathinfo'/whois') && preg_match('#^/whois(?:/(?P<Domain>[^/]++)(?:/(?P<Extension>[^/]++))?)?$#sD'$pathinfo$matches)) {
  1372.             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'whois']), array (  'Domain' => '',  'Extension' => '',  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::Whois',));
  1373.             if (!in_array($canonicalMethod, ['GET'])) {
  1374.                 $allow array_merge($allow, ['GET']);
  1375.                 goto not_whois;
  1376.             }
  1377.             return $ret;
  1378.         }
  1379.         not_whois:
  1380.         // delete-domain
  1381.         if ('/delete-domain' === $pathinfo) {
  1382.             $ret = array (  '_controller' => 'AppBundle\\Client\\Controller\\ClientController::DeleteDomain',  '_route' => 'delete-domain',);
  1383.             if (!in_array($requestMethod, ['POST'])) {
  1384.                 $allow array_merge($allow, ['POST']);
  1385.                 goto not_deletedomain;
  1386.             }
  1387.             return $ret;
  1388.         }
  1389.         not_deletedomain:
  1390.         if ('/' === $pathinfo && !$allow) {
  1391.             throw new Symfony\Component\Routing\Exception\NoConfigurationException();
  1392.         }
  1393.         throw count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
  1394.     }
  1395. }