<?php
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;
/**
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class appDevDebugProjectContainerUrlMatcher extends Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher
{
public function __construct(RequestContext $context)
{
$this->context = $context;
}
public function match($rawPathinfo)
{
$allow = [];
$pathinfo = rawurldecode($rawPathinfo);
$trimmedPathinfo = rtrim($pathinfo, '/');
$context = $this->context;
$request = $this->request ?: $this->createRequest($pathinfo);
$requestMethod = $canonicalMethod = $context->getMethod();
if ('HEAD' === $requestMethod) {
$canonicalMethod = 'GET';
}
if (0 === strpos($pathinfo, '/_')) {
// _wdt
if (0 === strpos($pathinfo, '/_wdt') && preg_match('#^/_wdt/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_wdt']), array ( '_controller' => 'web_profiler.controller.profiler:toolbarAction',));
}
if (0 === strpos($pathinfo, '/_profiler')) {
// _profiler_home
if ('/_profiler' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'web_profiler.controller.profiler:homeAction', '_route' => '_profiler_home',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not__profiler_home;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', '_profiler_home'));
}
return $ret;
}
not__profiler_home:
if (0 === strpos($pathinfo, '/_profiler/search')) {
// _profiler_search
if ('/_profiler/search' === $pathinfo) {
return array ( '_controller' => 'web_profiler.controller.profiler:searchAction', '_route' => '_profiler_search',);
}
// _profiler_search_bar
if ('/_profiler/search_bar' === $pathinfo) {
return array ( '_controller' => 'web_profiler.controller.profiler:searchBarAction', '_route' => '_profiler_search_bar',);
}
}
// _profiler_phpinfo
if ('/_profiler/phpinfo' === $pathinfo) {
return array ( '_controller' => 'web_profiler.controller.profiler:phpinfoAction', '_route' => '_profiler_phpinfo',);
}
// _profiler_search_results
if (preg_match('#^/_profiler/(?P<token>[^/]++)/search/results$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_search_results']), array ( '_controller' => 'web_profiler.controller.profiler:searchResultsAction',));
}
// _profiler_open_file
if ('/_profiler/open' === $pathinfo) {
return array ( '_controller' => 'web_profiler.controller.profiler:openAction', '_route' => '_profiler_open_file',);
}
// _profiler
if (preg_match('#^/_profiler/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler']), array ( '_controller' => 'web_profiler.controller.profiler:panelAction',));
}
// _profiler_router
if (preg_match('#^/_profiler/(?P<token>[^/]++)/router$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_router']), array ( '_controller' => 'web_profiler.controller.router:panelAction',));
}
// _profiler_exception
if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_exception']), array ( '_controller' => 'web_profiler.controller.exception:showAction',));
}
// _profiler_exception_css
if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception\\.css$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_exception_css']), array ( '_controller' => 'web_profiler.controller.exception:cssAction',));
}
}
// _twig_error_test
if (0 === strpos($pathinfo, '/_error') && preg_match('#^/_error/(?P<code>\\d+)(?:\\.(?P<_format>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_twig_error_test']), array ( '_controller' => 'twig.controller.preview_error:previewErrorPageAction', '_format' => 'html',));
}
}
elseif (0 === strpos($pathinfo, '/login')) {
// fos_user_security_login
if ('/login' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.security.controller:loginAction', '_route' => 'fos_user_security_login',);
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_fos_user_security_login;
}
return $ret;
}
not_fos_user_security_login:
// fos_user_security_check
if ('/login_check' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.security.controller:checkAction', '_route' => 'fos_user_security_check',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_fos_user_security_check;
}
return $ret;
}
not_fos_user_security_check:
}
// fos_user_security_logout
if ('/logout' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.security.controller:logoutAction', '_route' => 'fos_user_security_logout',);
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_fos_user_security_logout;
}
return $ret;
}
not_fos_user_security_logout:
if (0 === strpos($pathinfo, '/profile')) {
// fos_user_profile_show
if ('/profile' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'fos_user.profile.controller:showAction', '_route' => 'fos_user_profile_show',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_fos_user_profile_show;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'fos_user_profile_show'));
}
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_fos_user_profile_show;
}
return $ret;
}
not_fos_user_profile_show:
// fos_user_profile_edit
if ('/profile/edit' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.profile.controller:editAction', '_route' => 'fos_user_profile_edit',);
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_fos_user_profile_edit;
}
return $ret;
}
not_fos_user_profile_edit:
// fos_user_change_password
if ('/profile/change-password' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.change_password.controller:changePasswordAction', '_route' => 'fos_user_change_password',);
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_fos_user_change_password;
}
return $ret;
}
not_fos_user_change_password:
}
elseif (0 === strpos($pathinfo, '/register')) {
// fos_user_registration_register
if ('/register' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'fos_user.registration.controller:registerAction', '_route' => 'fos_user_registration_register',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_fos_user_registration_register;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'fos_user_registration_register'));
}
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_fos_user_registration_register;
}
return $ret;
}
not_fos_user_registration_register:
// fos_user_registration_check_email
if ('/register/check-email' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.registration.controller:checkEmailAction', '_route' => 'fos_user_registration_check_email',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_fos_user_registration_check_email;
}
return $ret;
}
not_fos_user_registration_check_email:
if (0 === strpos($pathinfo, '/register/confirm')) {
// fos_user_registration_confirm
if (preg_match('#^/register/confirm/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'fos_user_registration_confirm']), array ( '_controller' => 'fos_user.registration.controller:confirmAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_fos_user_registration_confirm;
}
return $ret;
}
not_fos_user_registration_confirm:
// fos_user_registration_confirmed
if ('/register/confirmed' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.registration.controller:confirmedAction', '_route' => 'fos_user_registration_confirmed',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_fos_user_registration_confirmed;
}
return $ret;
}
not_fos_user_registration_confirmed:
}
}
elseif (0 === strpos($pathinfo, '/resetting')) {
// fos_user_resetting_request
if ('/resetting/request' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.resetting.controller:requestAction', '_route' => 'fos_user_resetting_request',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_fos_user_resetting_request;
}
return $ret;
}
not_fos_user_resetting_request:
// fos_user_resetting_reset
if (0 === strpos($pathinfo, '/resetting/reset') && preg_match('#^/resetting/reset/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'fos_user_resetting_reset']), array ( '_controller' => 'fos_user.resetting.controller:resetAction',));
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_fos_user_resetting_reset;
}
return $ret;
}
not_fos_user_resetting_reset:
// fos_user_resetting_send_email
if ('/resetting/send-email' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.resetting.controller:sendEmailAction', '_route' => 'fos_user_resetting_send_email',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_fos_user_resetting_send_email;
}
return $ret;
}
not_fos_user_resetting_send_email:
// fos_user_resetting_check_email
if ('/resetting/check-email' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.resetting.controller:checkEmailAction', '_route' => 'fos_user_resetting_check_email',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_fos_user_resetting_check_email;
}
return $ret;
}
not_fos_user_resetting_check_email:
}
// fos_js_routing_js
if (0 === strpos($pathinfo, '/js/routing') && preg_match('#^/js/routing(?:\\.(?P<_format>js|json))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'fos_js_routing_js']), array ( '_controller' => 'fos_js_routing.controller:indexAction', '_format' => 'js',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_fos_js_routing_js;
}
return $ret;
}
not_fos_js_routing_js:
if (0 === strpos($pathinfo, '/a')) {
if (0 === strpos($pathinfo, '/admin')) {
// admin
if ('/admin' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\DashController::overview', '_route' => 'admin',);
}
if (0 === strpos($pathinfo, '/admin/d')) {
if (0 === strpos($pathinfo, '/admin/de')) {
// development
if ('/admin/development' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\DashController::development', '_route' => 'development',);
}
// deactivate-disksafe
if (0 === strpos($pathinfo, '/admin/deactivate-disksafe') && preg_match('#^/admin/deactivate\\-disksafe(?:/(?P<DiskSafeID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'deactivate-disksafe']), array ( 'DiskSafeID' => '', '_controller' => 'AppBundle\\Controller\\DashController::deActivateDiskSafe',));
}
if (0 === strpos($pathinfo, '/admin/delete')) {
// delete-account
if ('/admin/delete-account' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Manage\\Controller\\ManageController::DeleteAccount', '_route' => 'delete-account',);
}
// deleteContent
if (0 === strpos($pathinfo, '/admin/deleteContent') && preg_match('#^/admin/deleteContent/(?P<ContentID>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'deleteContent']), array ( '_controller' => 'AppBundle\\Server\\Controller\\ServerController::deleteContent',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_deleteContent;
}
return $ret;
}
not_deleteContent:
// deletePackageClient
if ('/admin/deletepackage-client' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::deletePackageClient', '_route' => 'deletePackageClient',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_deletePackageClient;
}
return $ret;
}
not_deletePackageClient:
}
}
elseif (0 === strpos($pathinfo, '/admin/domain')) {
// domain
if ('/admin/domain' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Domain\\Controller\\DomainController::domainAction', '_route' => 'domain',);
}
// domain_edit
if ('/admin/domain-edit' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Domain\\Controller\\DomainController::domainEditAction', '_route' => 'domain_edit',);
}
}
// diskusage
if (0 === strpos($pathinfo, '/admin/diskusage') && preg_match('#^/admin/diskusage(?:/(?P<HostingAccountID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'diskusage']), array ( 'HostingAccountID' => 0, '_controller' => 'AppBundle\\Manage\\Controller\\ManageController::DiskUsage',));
}
}
elseif (0 === strpos($pathinfo, '/admin/c')) {
// app_dash_calculatetotalpriceexcl
if ('/admin/calc-totals' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\DashController::CalculateTotalPriceExcl', '_route' => 'app_dash_calculatetotalpriceexcl',);
}
// check-disk
if (0 === strpos($pathinfo, '/admin/check-disk') && preg_match('#^/admin/check\\-disk(?:/(?P<DiskSafeID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'check-disk']), array ( 'DiskSafeID' => '', '_controller' => 'AppBundle\\Controller\\DashController::CheckDisk',));
}
if (0 === strpos($pathinfo, '/admin/change-password')) {
// change-password
if (preg_match('#^/admin/change\\-password(?:/(?P<HostingAccountID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'change-password']), array ( 'HostingAccountID' => 0, '_controller' => 'AppBundle\\Manage\\Controller\\ManageController::ChangePassword',));
}
// change-password-confirmed
if ('/admin/change-password-confirmed' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Manage\\Controller\\ManageController::ChangePasswordConfirmed', '_route' => 'change-password-confirmed',);
}
}
// cPanelServers
if ('/admin/cpanel-servers' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Server\\Controller\\ServerController::cPanelServers', '_route' => 'cPanelServers',);
}
if (0 === strpos($pathinfo, '/admin/client')) {
// clients
if ('/admin/clients' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::getClients', '_route' => 'clients',);
}
// client
if (preg_match('#^/admin/client(?:/(?P<ClientID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'client']), array ( 'ClientID' => 0, '_controller' => 'AppBundle\\Client\\Controller\\ClientController::getClientsRecords',));
}
// clientopeninvoice
if (0 === strpos($pathinfo, '/admin/client/openinvoice') && preg_match('#^/admin/client/openinvoice(?:/(?P<ClientID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'clientopeninvoice']), array ( 'ClientID' => 0, '_controller' => 'AppBundle\\Client\\Controller\\ClientController::ClientOpenInvoices',));
}
// clientpaidinvoices
if (0 === strpos($pathinfo, '/admin/client/paidinvoices') && preg_match('#^/admin/client/paidinvoices(?:/(?P<ClientID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'clientpaidinvoices']), array ( 'ClientID' => 0, '_controller' => 'AppBundle\\Client\\Controller\\ClientController::ClientPaidInvoices',));
}
// clientallinvoice
if (0 === strpos($pathinfo, '/admin/client/allinvoice') && preg_match('#^/admin/client/allinvoice(?:/(?P<ClientID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'clientallinvoice']), array ( 'ClientID' => 0, '_controller' => 'AppBundle\\Client\\Controller\\ClientController::ClientAllInvoices',));
}
if (0 === strpos($pathinfo, '/admin/client/manage-')) {
// manage-domains
if (0 === strpos($pathinfo, '/admin/client/manage-domains') && preg_match('#^/admin/client/manage\\-domains(?:/(?P<ClientID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'manage-domains']), array ( 'ClientID' => 0, '_controller' => 'AppBundle\\Client\\Controller\\ClientController::ManageDomains',));
}
// manage-services
if (0 === strpos($pathinfo, '/admin/client/manage-services') && preg_match('#^/admin/client/manage\\-services(?:/(?P<ClientID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'manage-services']), array ( 'ClientID' => 0, '_controller' => 'AppBundle\\Client\\Controller\\ClientController::ManageServices',));
}
// manage-licences
if (0 === strpos($pathinfo, '/admin/client/manage-licences') && preg_match('#^/admin/client/manage\\-licences(?:/(?P<ClientID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'manage-licences']), array ( 'ClientID' => 0, '_controller' => 'AppBundle\\Client\\Controller\\ClientController::ManageLicences',));
}
// manage-cloud
if (0 === strpos($pathinfo, '/admin/client/manage-cloud') && preg_match('#^/admin/client/manage\\-cloud(?:/(?P<ClientID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'manage-cloud']), array ( 'ClientID' => 0, '_controller' => 'AppBundle\\Client\\Controller\\ClientController::ManageCloud',));
}
}
// clientsoverview
if ('/admin/clients-overview' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::ClientOverview', '_route' => 'clientsoverview',);
}
// SuspendHosting
if (preg_match('#^/admin/client(?:/(?P<ClientID>[^/]++)(?:/(?P<ClientServiceID>[^/]++)(?:/(?P<Status>[^/]++))?)?)?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'SuspendHosting']), array ( 'ClientID' => 0, 'ClientServiceID' => 0, 'Status' => 1, '_controller' => 'AppBundle\\Client\\Controller\\ClientController::SuspendHosting',));
}
// UnSuspendHosting
if (preg_match('#^/admin/client(?:/(?P<ClientID>[^/]++)(?:/(?P<ClientServiceID>[^/]++)(?:/(?P<Status>[^/]++))?)?)?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'UnSuspendHosting']), array ( 'ClientID' => 0, 'ClientServiceID' => 0, 'Status' => 1, '_controller' => 'AppBundle\\Client\\Controller\\ClientController::UnSuspendHosting',));
}
// SuspendCloud
if (preg_match('#^/admin/client(?:/(?P<ClientID>[^/]++)(?:/(?P<ClientServiceID>[^/]++)(?:/(?P<Status>[^/]++))?)?)?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'SuspendCloud']), array ( 'ClientID' => 0, 'ClientServiceID' => 0, 'Status' => 1, '_controller' => 'AppBundle\\Client\\Controller\\ClientController::SuspendCloud',));
}
// UnSuspendCloud
if (preg_match('#^/admin/client(?:/(?P<ClientID>[^/]++)(?:/(?P<ClientServiceID>[^/]++)(?:/(?P<Status>[^/]++))?)?)?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'UnSuspendCloud']), array ( 'ClientID' => 0, 'ClientServiceID' => 0, 'Status' => 1, '_controller' => 'AppBundle\\Client\\Controller\\ClientController::UnSuspendCloud',));
}
// delete-licence
if (preg_match('#^/admin/client(?:/(?P<ClientID>[^/]++)(?:/(?P<ClientServiceID>[^/]++)(?:/(?P<Status>[^/]++))?)?)?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'delete-licence']), array ( 'ClientID' => 0, 'ClientServiceID' => 0, 'Status' => 1, '_controller' => 'AppBundle\\Client\\Controller\\ClientController::deleteLicence',));
}
}
}
elseif (0 === strpos($pathinfo, '/admin/in')) {
// interruption
if ('/admin/interruption' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\DashController::getInterruption', '_route' => 'interruption',);
}
if (0 === strpos($pathinfo, '/admin/invoices')) {
// invoices
if ('/admin/invoices' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::overview', '_route' => 'invoices',);
}
// invoices-credited
if ('/admin/invoices-credited' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::InvoiceCredited', '_route' => 'invoices-credited',);
}
}
elseif (0 === strpos($pathinfo, '/admin/invoice-')) {
// invoice-bf
if ('/admin/invoice-bf' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::invoiceBf', '_route' => 'invoice-bf',);
}
// invoice-html
if (0 === strpos($pathinfo, '/admin/invoice-html') && preg_match('#^/admin/invoice\\-html(?:/(?P<InvoiceID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'invoice-html']), array ( 'InvoiceID' => 0, '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::invoiceHTML',));
}
// invoice-history
if (0 === strpos($pathinfo, '/admin/invoice-history') && preg_match('#^/admin/invoice\\-history(?:/(?P<InvoiceID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'invoice-history']), array ( 'InvoiceID' => 0, '_controller' => 'AppBundle\\Client\\Controller\\ClientController::InvoiceHistory',));
}
// invoice-overview
if (0 === strpos($pathinfo, '/admin/invoice-overview') && preg_match('#^/admin/invoice\\-overview(?:/(?P<Status>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'invoice-overview']), array ( 'Status' => 1, '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::getInvoicesByStatus',));
}
if (0 === strpos($pathinfo, '/admin/invoice-inc')) {
// invoice-inc
if ('/admin/invoice-inc' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::InvoiceInc', '_route' => 'invoice-inc',);
}
// invoice-inc-invalid
if ('/admin/invoice-inc-invalid' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::InvoiceIncInvalid', '_route' => 'invoice-inc-invalid',);
}
}
// invoice-pdf
if (0 === strpos($pathinfo, '/admin/invoice-pdf') && preg_match('#^/admin/invoice\\-pdf(?:/(?P<InvoiceID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'invoice-pdf']), array ( 'InvoiceID' => 0, '_controller' => 'AppBundle\\Client\\Controller\\ClientController::InvoicePDF',));
}
// invoice-credited-pdf
if (0 === strpos($pathinfo, '/admin/invoice-credited-pdf') && preg_match('#^/admin/invoice\\-credited\\-pdf(?:/(?P<InvoiceID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'invoice-credited-pdf']), array ( 'InvoiceID' => 0, '_controller' => 'AppBundle\\Client\\Controller\\ClientController::InvoiceCreditedPDF',));
}
}
}
elseif (0 === strpos($pathinfo, '/admin/a')) {
if (0 === strpos($pathinfo, '/admin/add')) {
// add-interruption
if ('/admin/add-interruption' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\DashController::addInterruption', '_route' => 'add-interruption',);
}
// add-banip
if ('/admin/add-banip' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\DashController::banip', '_route' => 'add-banip',);
}
// addrack
if ('/admin/addrack' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Server\\Controller\\ServerController::AddRack', '_route' => 'addrack',);
}
// addclientdomain
if ('/admin/addclientdomain' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::AddToStoreClientDomain', '_route' => 'addclientdomain',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_addclientdomain;
}
return $ret;
}
not_addclientdomain:
// AddPackageClient
if ('/admin/addpackage-client' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::addPackage', '_route' => 'AddPackageClient',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_AddPackageClient;
}
return $ret;
}
not_AddPackageClient:
// AddDomainClient
if ('/admin/adddomain-client' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::addDomain', '_route' => 'AddDomainClient',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_AddDomainClient;
}
return $ret;
}
not_AddDomainClient:
}
// activate-disksafe
if (0 === strpos($pathinfo, '/admin/activate-disksafe') && preg_match('#^/admin/activate\\-disksafe(?:/(?P<DiskSafeID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'activate-disksafe']), array ( 'DiskSafeID' => '', '_controller' => 'AppBundle\\Controller\\DashController::activateDiskSafe',));
}
// activatePackageClient
if ('/admin/activatePackageClient-client' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::activatePackageClient', '_route' => 'activatePackageClient',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_activatePackageClient;
}
return $ret;
}
not_activatePackageClient:
// approve
if ('/admin/approve' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Order\\Controller\\OrderController::overview', '_route' => 'approve',);
}
if (0 === strpos($pathinfo, '/admin/analytics')) {
// dashboard-analytics
if ('/admin/analytics/dashboard' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::dashboardAnalytics', '_route' => 'dashboard-analytics',);
}
// subscriber-analytics
if ('/admin/analytics/subscribers' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::subscriberAnalytics', '_route' => 'subscriber-analytics',);
}
// plans-analytics
if ('/admin/analytics/plans' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::plansAnalytics', '_route' => 'plans-analytics',);
}
// trail-analytics
if ('/admin/analytics/trail' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::trailAnalytics', '_route' => 'trail-analytics',);
}
// revenue-analytics
if ('/admin/analytics/revenue' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::revenueAnalytics', '_route' => 'revenue-analytics',);
}
// retention-analytics
if ('/admin/analytics/retention' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::retentionAnalytics', '_route' => 'retention-analytics',);
}
// churn-analytics
if ('/admin/analytics/churn' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::churnAnalytics', '_route' => 'churn-analytics',);
}
}
elseif (0 === strpos($pathinfo, '/admin/articles')) {
if (0 === strpos($pathinfo, '/admin/articles/categories')) {
// categories
if ('/admin/articles/categories' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'AppBundle\\KB\\Controller\\ArticleCategoryController::getCategories', '_route' => 'categories',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_categories;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'categories'));
}
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_categories;
}
return $ret;
}
not_categories:
// store-category
if ('/admin/articles/categories' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\KB\\Controller\\ArticleCategoryController::storeCategory', '_route' => 'store-category',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_storecategory;
}
return $ret;
}
not_storecategory:
// edit-category
if (preg_match('#^/admin/articles/categories/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'edit-category']), array ( '_controller' => 'AppBundle\\KB\\Controller\\ArticleCategoryController::editCategory',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_editcategory;
}
return $ret;
}
not_editcategory:
// app_kb_articlecategory_updatecategory
if (preg_match('#^/admin/articles/categories/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'app_kb_articlecategory_updatecategory']), array ( '_controller' => 'AppBundle\\KB\\Controller\\ArticleCategoryController::updateCategory',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_app_kb_articlecategory_updatecategory;
}
return $ret;
}
not_app_kb_articlecategory_updatecategory:
// destroy-category
if (preg_match('#^/admin/articles/categories/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'destroy-category']), array ( '_controller' => 'AppBundle\\KB\\Controller\\ArticleCategoryController::destroyCategory',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_destroycategory;
}
return $ret;
}
not_destroycategory:
}
// articles
if ('/admin/articles' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\KB\\Controller\\ArticleController::getArticles', '_route' => 'articles',);
}
// get-slug
if ('/admin/articles/slug' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\KB\\Controller\\ArticleController::getArticleSlug', '_route' => 'get-slug',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_getslug;
}
return $ret;
}
not_getslug:
// get-translatable-articles
if (0 === strpos($pathinfo, '/admin/articles/translatable') && preg_match('#^/admin/articles/translatable/(?P<lang>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'get-translatable-articles']), array ( '_controller' => 'AppBundle\\KB\\Controller\\ArticleController::getTranslatableArticles',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_gettranslatablearticles;
}
return $ret;
}
not_gettranslatablearticles:
if (0 === strpos($pathinfo, '/admin/articles/add')) {
// add-article
if ('/admin/articles/add' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\KB\\Controller\\ArticleController::addArticle', '_route' => 'add-article',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_addarticle;
}
return $ret;
}
not_addarticle:
// store-article
if ('/admin/articles/add' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\KB\\Controller\\ArticleController::storeArticle', '_route' => 'store-article',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_storearticle;
}
return $ret;
}
not_storearticle:
}
// show-article
if (preg_match('#^/admin/articles/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'show-article']), array ( '_controller' => 'AppBundle\\KB\\Controller\\ArticleController::editArticle',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_showarticle;
}
return $ret;
}
not_showarticle:
// update-article
if (preg_match('#^/admin/articles/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'update-article']), array ( '_controller' => 'AppBundle\\KB\\Controller\\ArticleController::updateArticle',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_updatearticle;
}
return $ret;
}
not_updatearticle:
// delete-article
if (0 === strpos($pathinfo, '/admin/articles/delete') && preg_match('#^/admin/articles/delete(?:/(?P<id>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'delete-article']), array ( 'id' => 0, '_controller' => 'AppBundle\\KB\\Controller\\ArticleController::deleteArticle',));
}
if (0 === strpos($pathinfo, '/admin/articles/media')) {
// media-index
if ('/admin/articles/media' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\KB\\Controller\\ArticleMediaController::index', '_route' => 'media-index',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_mediaindex;
}
return $ret;
}
not_mediaindex:
// media-store
if ('/admin/articles/media' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\KB\\Controller\\ArticleMediaController::store', '_route' => 'media-store',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_mediastore;
}
return $ret;
}
not_mediastore:
// media-destroy
if (preg_match('#^/admin/articles/media/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'media-destroy']), array ( '_controller' => 'AppBundle\\KB\\Controller\\ArticleMediaController::destroy',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_mediadestroy;
}
return $ret;
}
not_mediadestroy:
}
}
}
elseif (0 === strpos($pathinfo, '/admin/edit')) {
// edit-interruption
if (0 === strpos($pathinfo, '/admin/edit-interruption') && preg_match('#^/admin/edit\\-interruption(?:/(?P<NewsID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'edit-interruption']), array ( 'NewsID' => 0, '_controller' => 'AppBundle\\Controller\\DashController::editInterruption',));
}
// edit-client-details
if (0 === strpos($pathinfo, '/admin/edit-client-details') && preg_match('#^/admin/edit\\-client\\-details(?:/(?P<ClientID>[^/]++)(?:/(?P<id>[^/]++))?)?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'edit-client-details']), array ( 'ClientID' => 0, 'id' => 0, '_controller' => 'AppBundle\\Client\\Controller\\ClientController::editClientDetails',));
}
// editExtension
if ('/admin/editExtension' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Domain\\Controller\\DomainController::EditDomain', '_route' => 'editExtension',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_editExtension;
}
return $ret;
}
not_editExtension:
// editDomain
if ('/admin/editDomain' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::EditDomain', '_route' => 'editDomain',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_editDomain;
}
return $ret;
}
not_editDomain:
// EditPackageClient
if ('/admin/editpackage-client' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::editPackageClient', '_route' => 'EditPackageClient',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_EditPackageClient;
}
return $ret;
}
not_EditPackageClient:
// EditDomainPackageClient
if ('/admin/editdomainpackage-client' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::editDomainPackageClient', '_route' => 'EditDomainPackageClient',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_EditDomainPackageClient;
}
return $ret;
}
not_EditDomainPackageClient:
}
// encrypt-privatekey
if ('/admin/encrypt-privatekey' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\SSL\\Controller\\SSLController::EncryptPrivateKey', '_route' => 'encrypt-privatekey',);
}
// failedOrders
if ('/admin/failedOrders' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\DashController::searchRack', '_route' => 'failedOrders',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_failedOrders;
}
return $ret;
}
not_failedOrders:
if (0 === strpos($pathinfo, '/admin/b')) {
if (0 === strpos($pathinfo, '/admin/ba')) {
if (0 === strpos($pathinfo, '/admin/backupservers')) {
// backup-servers
if ('/admin/backupservers.html' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\DashController::BackupServers', '_route' => 'backup-servers',);
}
// disksafe
if (preg_match('#^/admin/backupservers(?:/(?P<DiskSafeID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'disksafe']), array ( 'DiskSafeID' => '', '_controller' => 'AppBundle\\Controller\\DashController::getDiskSafeRecoveryPoints',));
}
}
// batches
if ('/admin/batches' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::HandleBatch', '_route' => 'batches',);
}
// batch-paid
if (0 === strpos($pathinfo, '/admin/batch-paid') && preg_match('#^/admin/batch\\-paid(?:/(?P<BatchID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'batch-paid']), array ( 'BatchID' => 0, '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::PaidBatch',));
}
}
// block-ip
if ('/admin/block-ip.html' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\DashController::blockips', '_route' => 'block-ip',);
}
if (0 === strpos($pathinfo, '/admin/bulk-dns')) {
// bulk-dns
if ('/admin/bulk-dns' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::BulkDNS', '_route' => 'bulk-dns',);
}
// bulk-dns-change
if ('/admin/bulk-dns-change' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::admin_massdns', '_route' => 'bulk-dns-change',);
}
}
elseif (0 === strpos($pathinfo, '/admin/bugs')) {
// bugs
if ('/admin/bugs' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Bug\\Controller\\BugController::index', '_route' => 'bugs',);
}
// report-bug
if ('/admin/bugs/new' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Bug\\Controller\\BugController::create', '_route' => 'report-bug',);
}
// show-bug
if (preg_match('#^/admin/bugs/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'show-bug']), array ( '_controller' => 'AppBundle\\Bug\\Controller\\BugController::show',));
}
// edit-bug
if (preg_match('#^/admin/bugs/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'edit-bug']), array ( '_controller' => 'AppBundle\\Bug\\Controller\\BugController::edit',));
}
// delete-bug
if (preg_match('#^/admin/bugs/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'delete-bug']), array ( '_controller' => 'AppBundle\\Bug\\Controller\\BugController::delete',));
}
// new-bug-comment
if (preg_match('#^/admin/bugs/(?P<id>\\d+)/comments/new$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'new-bug-comment']), array ( '_controller' => 'AppBundle\\Bug\\Controller\\BugController::storeComment',));
}
// new-comment-reply
if (preg_match('#^/admin/bugs/(?P<id>\\d+)/comments/(?P<commentID>\\d+)/reply$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'new-comment-reply']), array ( '_controller' => 'AppBundle\\Bug\\Controller\\BugController::storeCommentReply',));
}
}
}
// nps-stats
if ('/admin/nps-stats.html' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\DashController::NpsStats', '_route' => 'nps-stats',);
}
if (0 === strpos($pathinfo, '/admin/u')) {
// unblock-ip
if (0 === strpos($pathinfo, '/admin/unblock-ip') && preg_match('#^/admin/unblock\\-ip(?:/(?P<id>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'unblock-ip']), array ( 'id' => 0, '_controller' => 'AppBundle\\Controller\\DashController::unblockIp',));
}
// unsuspend
if (0 === strpos($pathinfo, '/admin/unsuspend') && preg_match('#^/admin/unsuspend(?:/(?P<HostingID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'unsuspend']), array ( 'HostingID' => 0, '_controller' => 'AppBundle\\Manage\\Controller\\ManageController::UnSuspend',));
}
if (0 === strpos($pathinfo, '/admin/update')) {
// updateExtensionCheckbox
if ('/admin/updateExtensionCheckbox' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Domain\\Controller\\DomainController::updateExtensionCheckbox', '_route' => 'updateExtensionCheckbox',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_updateExtensionCheckbox;
}
return $ret;
}
not_updateExtensionCheckbox:
// updateStatus
if (0 === strpos($pathinfo, '/admin/updateStatus') && preg_match('#^/admin/updateStatus(?:/(?P<InvoiceID>[^/]++)(?:/(?P<Status>[^/]++))?)?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'updateStatus']), array ( 'InvoiceID' => 0, 'Status' => 0, '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::updateStatus',));
}
// updateserverpassword
if ('/admin/updateserverpassword' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Server\\Controller\\ServerController::UpdatePassword', '_route' => 'updateserverpassword',);
}
}
elseif (0 === strpos($pathinfo, '/admin/userlogin')) {
// userlogin
if (preg_match('#^/admin/userlogin(?:/(?P<HostingAccountID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'userlogin']), array ( 'HostingAccountID' => 0, '_controller' => 'AppBundle\\Manage\\Controller\\ManageController::LoginUserCpanel',));
}
// userlogin-whm
if (0 === strpos($pathinfo, '/admin/userlogin-whm') && preg_match('#^/admin/userlogin\\-whm(?:/(?P<HostingAccountID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'userlogin-whm']), array ( 'HostingAccountID' => 0, '_controller' => 'AppBundle\\Manage\\Controller\\ManageController::LoginUserWHM',));
}
}
}
elseif (0 === strpos($pathinfo, '/admin/g')) {
if (0 === strpos($pathinfo, '/admin/get')) {
// get-users
if ('/admin/get-users' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\DashController::getUsers', '_route' => 'get-users',);
}
// getMonitor
if (0 === strpos($pathinfo, '/admin/get-monitor') && preg_match('#^/admin/get\\-monitor(?:/(?P<timeOut>[^/]++)(?:/(?P<MonitorID>[^/]++))?)?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'getMonitor']), array ( 'MonitorID' => 0, 'timeOut' => 10, '_controller' => 'AppBundle\\Monitoring\\Controller\\MonitoringController::GetMonitor',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_getMonitor;
}
return $ret;
}
not_getMonitor:
// app_client_client_gethostingaccount
if ('/admin/gethostingaccount' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::getHostingAccount', '_route' => 'app_client_client_gethostingaccount',);
}
if (0 === strpos($pathinfo, '/admin/getPackage')) {
// getPackages
if ('/admin/getPackages' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::getPackages', '_route' => 'getPackages',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_getPackages;
}
return $ret;
}
not_getPackages:
// getPackage
if (preg_match('#^/admin/getPackage(?:/(?P<ServiceID>[^/]++))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'getPackage']), array ( 'ServiceID' => 0, '_controller' => 'AppBundle\\Client\\Controller\\ClientController::getPackage',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_getPackage;
}
return $ret;
}
not_getPackage:
}
// getInvoiceItems
if (0 === strpos($pathinfo, '/admin/getInvoiceItems') && preg_match('#^/admin/getInvoiceItems(?:/(?P<ClientServiceID>[^/]++))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'getInvoiceItems']), array ( 'ClientServiceID' => 0, '_controller' => 'AppBundle\\Client\\Controller\\ClientController::getInvoiceItems',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_getInvoiceItems;
}
return $ret;
}
not_getInvoiceItems:
if (0 === strpos($pathinfo, '/admin/getDomain')) {
// getDomains
if ('/admin/getDomains' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::getDomains', '_route' => 'getDomains',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_getDomains;
}
return $ret;
}
not_getDomains:
// getDomain
if (preg_match('#^/admin/getDomain(?:/(?P<ServiceID>[^/]++))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'getDomain']), array ( 'ServiceID' => 0, '_controller' => 'AppBundle\\Client\\Controller\\ClientController::getDomain',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_getDomain;
}
return $ret;
}
not_getDomain:
}
// getDisc
if ('/admin/getdisc' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::getResellerDiscount', '_route' => 'getDisc',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_getDisc;
}
return $ret;
}
not_getDisc:
}
// generate-sepa
if (0 === strpos($pathinfo, '/admin/generate-sepa') && preg_match('#^/admin/generate\\-sepa(?:/(?P<Type>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'generate-sepa']), array ( 'Type' => 0, '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::GenerateSepa',));
}
// grading-service
if (0 === strpos($pathinfo, '/admin/grading-service') && preg_match('#^/admin/grading\\-service(?:/(?P<ClientID>[^/]++)(?:/(?P<ClientServiceID>[^/]++))?)?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'grading-service']), array ( 'ClientID' => 0, 'ClientServiceID' => 0, '_controller' => 'AppBundle\\Client\\Controller\\ClientController::UpgradeService',));
}
// grading-cloud
if (0 === strpos($pathinfo, '/admin/grading-cloud') && preg_match('#^/admin/grading\\-cloud(?:/(?P<ClientID>[^/]++)(?:/(?P<ClientServiceID>[^/]++))?)?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'grading-cloud']), array ( 'ClientID' => 0, 'ClientServiceID' => 0, '_controller' => 'AppBundle\\Client\\Controller\\ClientController::UpgradeCloud',));
}
}
elseif (0 === strpos($pathinfo, '/admin/s')) {
// services
if ('/admin/services' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Domain\\Controller\\DomainController::serviceListAction', '_route' => 'services',);
}
if (0 === strpos($pathinfo, '/admin/search')) {
// clientservice
if ('/admin/search' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Domain\\Controller\\DomainController::doSearch', '_route' => 'clientservice',);
}
// searchRack
if (0 === strpos($pathinfo, '/admin/searchRack') && preg_match('#^/admin/searchRack(?:/(?P<Value>[^/]++))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'searchRack']), array ( 'Value' => 0, '_controller' => 'AppBundle\\Server\\Controller\\ServerController::searchRack',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_searchRack;
}
return $ret;
}
not_searchRack:
}
elseif (0 === strpos($pathinfo, '/admin/suspend')) {
// suspend-account
if (0 === strpos($pathinfo, '/admin/suspend-account') && preg_match('#^/admin/suspend\\-account(?:/(?P<HostingAccountID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'suspend-account']), array ( 'HostingAccountID' => 0, '_controller' => 'AppBundle\\Manage\\Controller\\ManageController::SuspendAccount',));
}
// suspend
if ('/admin/suspend' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Manage\\Controller\\ManageController::Suspend', '_route' => 'suspend',);
}
// suspended
if ('/admin/suspended' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::getSuspended', '_route' => 'suspended',);
}
}
elseif (0 === strpos($pathinfo, '/admin/ssl')) {
// ssl-overview
if ('/admin/ssl-overview' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\SSL\\Controller\\SSLController::SSLOverview', '_route' => 'ssl-overview',);
}
// ssl-resubmit
if (0 === strpos($pathinfo, '/admin/ssl-resubmit') && preg_match('#^/admin/ssl\\-resubmit(?:/(?P<SSLCertificateID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ssl-resubmit']), array ( 'SSLCertificateID' => 0, '_controller' => 'AppBundle\\SSL\\Controller\\SSLController::SSLResubmit',));
}
// sslcertificate
if (0 === strpos($pathinfo, '/admin/sslcertificate') && preg_match('#^/admin/sslcertificate(?:/(?P<SSLCertificateID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'sslcertificate']), array ( 'SSLCertificateID' => 0, '_controller' => 'AppBundle\\SSL\\Controller\\SSLController::SSLCertificate',));
}
// ssl-cron
if ('/admin/ssl' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Cron\\Controller\\SSLCronController::CreateSSLOrder', '_route' => 'ssl-cron',);
}
}
elseif (0 === strpos($pathinfo, '/admin/stats')) {
// stats
if ('/admin/stats' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::stats', '_route' => 'stats',);
}
// stats-product
if (preg_match('#^/admin/stats(?:/(?P<product>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'stats-product']), array ( 'product' => 0, '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::statsProducts',));
}
// stats-years
if ('/admin/stats-yearly' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::statsScript', '_route' => 'stats-years',);
}
}
// sidn-stats
if (0 === strpos($pathinfo, '/admin/sidn-stats') && preg_match('#^/admin/sidn\\-stats(?:/(?P<Date>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'sidn-stats']), array ( 'Date' => '', '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::SIDNStats',));
}
// saveBulkDiscount
if ('/admin/savebulkdiscount' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::saveBulk', '_route' => 'saveBulkDiscount',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_saveBulkDiscount;
}
return $ret;
}
not_saveBulkDiscount:
}
// CreditModal
if (0 === strpos($pathinfo, '/admin/CreditModal') && preg_match('#^/admin/CreditModal(?:/(?P<InvoiceID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'CreditModal']), array ( 'InvoiceID' => 0, '_controller' => 'AppBundle\\Invoice\\Controller\\InvoiceController::CreditModal',));
}
// manage-hosting
if ('/admin/manage-hosting' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Manage\\Controller\\ManageController::ManageHosting', '_route' => 'manage-hosting',);
}
if (0 === strpos($pathinfo, '/admin/monitoring')) {
// monitoring
if ('/admin/monitoring' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Monitoring\\Controller\\MonitoringController::Monitoring', '_route' => 'monitoring',);
}
// edit-monitoring
if (0 === strpos($pathinfo, '/admin/monitoring/edit') && preg_match('#^/admin/monitoring/edit(?:/(?P<MonitorID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'edit-monitoring']), array ( 'MonitorID' => 0, '_controller' => 'AppBundle\\Monitoring\\Controller\\MonitoringController::editMonitoring',));
}
// add-monitoring
if ('/admin/monitoring/add' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Monitoring\\Controller\\MonitoringController::addMonitoring', '_route' => 'add-monitoring',);
}
// delete-monitoring
if (0 === strpos($pathinfo, '/admin/monitoring/delete') && preg_match('#^/admin/monitoring/delete(?:/(?P<MonitorID>[^/]++))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'delete-monitoring']), array ( 'MonitorID' => 0, '_controller' => 'AppBundle\\Monitoring\\Controller\\MonitoringController::deleteMonitoring',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_deletemonitoring;
}
return $ret;
}
not_deletemonitoring:
}
// prepare-account
if (0 === strpos($pathinfo, '/admin/prepare-account') && preg_match('#^/admin/prepare\\-account(?:/(?P<HostingAccountID>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'prepare-account']), array ( 'HostingAccountID' => 0, '_controller' => 'AppBundle\\Manage\\Controller\\ManageController::DeleteAccountPrepare',));
}
// edit-package
if (0 === strpos($pathinfo, '/admin/package') && preg_match('#^/admin/package(?:/(?P<ClientID>[^/]++)(?:/(?P<ClientServiceID>[^/]++))?)?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'edit-package']), array ( 'ClientID' => 0, 'ClientServiceID' => 0, '_controller' => 'AppBundle\\Client\\Controller\\ClientController::EditPackage',));
}
// rack_manager
if ('/admin/rack_manager' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Server\\Controller\\ServerController::rackMonitoring', '_route' => 'rack_manager',);
}
if (0 === strpos($pathinfo, '/admin/rackcontent')) {
// racknumber
if (preg_match('#^/admin/rackcontent(?:/(?P<RackNumber>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'racknumber']), array ( 'RackNumber' => 0, '_controller' => 'AppBundle\\Server\\Controller\\ServerController::RackNumber',));
}
// rackcontent
if (preg_match('#^/admin/rackcontent(?:/(?P<RackNumber>[^/]++)(?:/(?P<RackContent>[^/]++))?)?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'rackcontent']), array ( 'RackNumber' => 0, 'RackContent' => 0, '_controller' => 'AppBundle\\Server\\Controller\\ServerController::RackContent',));
}
}
// login-whm
if (0 === strpos($pathinfo, '/admin/login-whm') && preg_match('#^/admin/login\\-whm(?:/(?P<serverId>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'login-whm']), array ( 'serverId' => 0, '_controller' => 'AppBundle\\Server\\Controller\\ServerController::LoginUserWHM',));
}
}
// addCity
if ('/addCity' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Server\\Controller\\ServerController::addCity', '_route' => 'addCity',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_addCity;
}
return $ret;
}
not_addCity:
// approve-status
if (0 === strpos($pathinfo, '/approve') && preg_match('#^/approve(?:/(?P<StoreID>[^/]++)(?:/(?P<Status>[^/]++))?)?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'approve-status']), array ( 'StoreID' => 0, 'Status' => 0, '_controller' => 'AppBundle\\Order\\Controller\\OrderController::ApproveOrder',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_approvestatus;
}
return $ret;
}
not_approvestatus:
// abort-delete-domain
if ('/abort-delete-domain' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::AbortDeleteDomain', '_route' => 'abort-delete-domain',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_abortdeletedomain;
}
return $ret;
}
not_abortdeletedomain:
}
elseif (0 === strpos($pathinfo, '/Client')) {
// getClientsThisYear
if ('/ClientThisYear' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\DashController::clientThisYear', '_route' => 'getClientsThisYear',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_getClientsThisYear;
}
return $ret;
}
not_getClientsThisYear:
// getClientsLastYear
if ('/ClientLastYear' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\DashController::clientLastyear', '_route' => 'getClientsLastYear',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_getClientsLastYear;
}
return $ret;
}
not_getClientsLastYear:
// getClientsLostThisYear
if ('/ClientLostThisYear' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\DashController::clientLostThisYear', '_route' => 'getClientsLostThisYear',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_getClientsLostThisYear;
}
return $ret;
}
not_getClientsLostThisYear:
}
elseif (0 === strpos($pathinfo, '/update')) {
// updateAuth
if ('/updateauth' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\DashController::UpdateAuth', '_route' => 'updateAuth',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_updateAuth;
}
return $ret;
}
not_updateAuth:
// updateUnits
if ('/updateUnits' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Server\\Controller\\ServerController::updateUnits', '_route' => 'updateUnits',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_updateUnits;
}
return $ret;
}
not_updateUnits:
// updateRackNumber
if ('/updateRackNumber' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Server\\Controller\\ServerController::updateRackNumber', '_route' => 'updateRackNumber',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_updateRackNumber;
}
return $ret;
}
not_updateRackNumber:
// updateInternNumber
if ('/updateInternNumber' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Server\\Controller\\ServerController::updateInternNumber', '_route' => 'updateInternNumber',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_updateInternNumber;
}
return $ret;
}
not_updateInternNumber:
}
// unsuspendservice
if ('/unsuspendservice' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::UnSuspendService', '_route' => 'unsuspendservice',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_unsuspendservice;
}
return $ret;
}
not_unsuspendservice:
if (0 === strpos($pathinfo, '/s')) {
// sslupdate-orderid
if ('/sslupdate-orderid' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\DashController::SSLUpdateOrderID', '_route' => 'sslupdate-orderid',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_sslupdateorderid;
}
return $ret;
}
not_sslupdateorderid:
// servers-json
if ('/servers.json' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\DashController::ServerJson', '_route' => 'servers-json',);
}
// suspendservice
if ('/suspendservice' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::SuspendService', '_route' => 'suspendservice',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_suspendservice;
}
return $ret;
}
not_suspendservice:
}
// cloudservers-json
if ('/cloudservers.json' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\DashController::CloudJson', '_route' => 'cloudservers-json',);
}
if (0 === strpos($pathinfo, '/clientservice')) {
// clientservicediscount
if ('/clientservicediscount' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::updateClientServiceDiscount', '_route' => 'clientservicediscount',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_clientservicediscount;
}
return $ret;
}
not_clientservicediscount:
// clientserviceinvoiceperiod
if ('/clientserviceinvoiceperiod' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::updateClientServiceInvoicePeriod', '_route' => 'clientserviceinvoiceperiod',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_clientserviceinvoiceperiod;
}
return $ret;
}
not_clientserviceinvoiceperiod:
// clientserviceprice
if ('/clientserviceprice' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::updateClientServicePrice', '_route' => 'clientserviceprice',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_clientserviceprice;
}
return $ret;
}
not_clientserviceprice:
}
elseif (0 === strpos($pathinfo, '/get')) {
// getSwitch
if ('/getSwitch' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Server\\Controller\\ServerController::getSwitch', '_route' => 'getSwitch',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_getSwitch;
}
return $ret;
}
not_getSwitch:
// getSingleService
if ('/getSingleService' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::SingleService', '_route' => 'getSingleService',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_getSingleService;
}
return $ret;
}
not_getSingleService:
// getApc
if ('/getApc' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Server\\Controller\\ServerController::getApc', '_route' => 'getApc',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_getApc;
}
return $ret;
}
not_getApc:
// getnameservers
if ('/getnameservers' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::getNameServersDomain', '_route' => 'getnameservers',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_getnameservers;
}
return $ret;
}
not_getnameservers:
}
// getSalesThisYear
if ('/StatsThisYear' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::statsThisYear', '_route' => 'getSalesThisYear',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_getSalesThisYear;
}
return $ret;
}
not_getSalesThisYear:
// getSalesLastYear
if ('/StatsLastYear' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Stats\\Controller\\StatsController::statsLastYear', '_route' => 'getSalesLastYear',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_getSalesLastYear;
}
return $ret;
}
not_getSalesLastYear:
// whois
if (0 === strpos($pathinfo, '/whois') && preg_match('#^/whois(?:/(?P<Domain>[^/]++)(?:/(?P<Extension>[^/]++))?)?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'whois']), array ( 'Domain' => '', 'Extension' => '', '_controller' => 'AppBundle\\Client\\Controller\\ClientController::Whois',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_whois;
}
return $ret;
}
not_whois:
// delete-domain
if ('/delete-domain' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Client\\Controller\\ClientController::DeleteDomain', '_route' => 'delete-domain',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_deletedomain;
}
return $ret;
}
not_deletedomain:
if ('/' === $pathinfo && !$allow) {
throw new Symfony\Component\Routing\Exception\NoConfigurationException();
}
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}