var/cache/dev/srcDevDebugProjectContainerUrlMatcher.php line 216

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 srcDevDebugProjectContainerUrlMatcher 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 = array();
  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.         // jrmSelectDirect
  27.         if (=== strpos($pathinfo'/jrm_selectDirect') && preg_match('#^/jrm_selectDirect/(?P<url>[^/]++)/(?P<first>[^/]++)/(?P<num>[^/]++)$#sD'$pathinfo$matches)) {
  28.             return $this->mergeDefaults(array_replace($matches, array('_route' => 'jrmSelectDirect')), array (  '_controller' => 'App\\Controller\\DVController::selectDirect',));
  29.         }
  30.         // queryExhibPlanDB
  31.         if (=== strpos($pathinfo'/queryExhibPlanDB') && preg_match('#^/queryExhibPlanDB/(?P<url>[^/]++)$#sD'$pathinfo$matches)) {
  32.             return $this->mergeDefaults(array_replace($matches, array('_route' => 'queryExhibPlanDB')), array (  '_controller' => 'App\\Controller\\DVController::queryExhibPlanDB',));
  33.         }
  34.         // homepage
  35.         if ('' === $trimmedPathinfo) {
  36.             $ret = array (  '_controller' => 'App\\Controller\\MainController::indexPage',  '_route' => 'homepage',);
  37.             if ('/' === substr($pathinfo, -1)) {
  38.                 // no-op
  39.             } elseif ('GET' !== $canonicalMethod) {
  40.                 goto not_homepage;
  41.             } else {
  42.                 return array_replace($ret$this->redirect($rawPathinfo.'/''homepage'));
  43.             }
  44.             return $ret;
  45.         }
  46.         not_homepage:
  47.         if (=== strpos($pathinfo'/M')) {
  48.             // mapit
  49.             if ('/MapIt' === $pathinfo) {
  50.                 return array (  '_controller' => 'App\\Controller\\MainController::MapIt',  '_route' => 'mapit',);
  51.             }
  52.             // vs1app
  53.             if ('/MuseumVS1' === $pathinfo) {
  54.                 return array (  '_controller' => 'App\\Controller\\MainController::museumVS1App',  '_route' => 'vs1app',);
  55.             }
  56.             if (=== strpos($pathinfo'/MuseumExhibitions')) {
  57.                 // museumexhibitions
  58.                 if ('/MuseumExhibitions' === $pathinfo) {
  59.                     return array (  '_controller' => 'App\\Controller\\MainController::museumExhibitionsNoLogin',  '_route' => 'museumexhibitions',);
  60.                 }
  61.                 // exhibitionslogin
  62.                 if ('/MuseumExhibitionsLogin' === $pathinfo) {
  63.                     return array (  '_controller' => 'App\\Controller\\MainController::museumExhibitionsWithLogin',  '_route' => 'exhibitionslogin',);
  64.                 }
  65.             }
  66.         }
  67.         elseif (=== strpos($pathinfo'/AATTS')) {
  68.             // AATTS
  69.             if ('/AATTS' === $pathinfo) {
  70.                 return array (  '_controller' => 'App\\Controller\\MainController::AATTSNoLogin',  '_route' => 'AATTS',);
  71.             }
  72.             // AATTSlogin
  73.             if ('/AATTSLogin' === $pathinfo) {
  74.                 return array (  '_controller' => 'App\\Controller\\MainController::AATTSWithLogin',  '_route' => 'AATTSlogin',);
  75.             }
  76.         }
  77.         // administration
  78.         if ('/Administration' === $pathinfo) {
  79.             return array (  '_controller' => 'App\\Controller\\MainController::administrationWithLogin',  '_route' => 'administration',);
  80.         }
  81.         // dbqueryapp
  82.         if ('/QuerySpencerDB' === $pathinfo) {
  83.             return array (  '_controller' => 'App\\Controller\\MainController::dbqueryApp',  '_route' => 'dbqueryapp',);
  84.         }
  85.         // imageupload
  86.         if ('/ImageUpload' === $pathinfo) {
  87.             return array (  '_controller' => 'App\\Controller\\MainController::imageUploadWithLogin',  '_route' => 'imageupload',);
  88.         }
  89.         // phongcolorchooser
  90.         if ('/PhongColorChooser' === $pathinfo) {
  91.             return array (  '_controller' => 'App\\Controller\\MainController::phongColorChooser',  '_route' => 'phongcolorchooser',);
  92.         }
  93.         // renderplyapp
  94.         if ('/RenderPLY' === $pathinfo) {
  95.             return array (  '_controller' => 'App\\Controller\\MainController::renderPLYApp',  '_route' => 'renderplyapp',);
  96.         }
  97.         if (=== strpos($pathinfo'/graphiql')) {
  98.             // overblog_graphiql_endpoint
  99.             if ('/graphiql' === $pathinfo) {
  100.                 return array (  '_controller' => 'overblog_graphiql.controller:indexAction',  '_route' => 'overblog_graphiql_endpoint',);
  101.             }
  102.             // overblog_graphiql_endpoint_multiple
  103.             if (preg_match('#^/graphiql/(?P<schemaName>[^/]++)$#sD'$pathinfo$matches)) {
  104.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'overblog_graphiql_endpoint_multiple')), array (  '_controller' => 'overblog_graphiql.controller:indexAction',));
  105.             }
  106.         }
  107.         elseif (=== strpos($pathinfo'/_')) {
  108.             // _twig_error_test
  109.             if (=== strpos($pathinfo'/_error') && preg_match('#^/_error/(?P<code>\\d+)(?:\\.(?P<_format>[^/]++))?$#sD'$pathinfo$matches)) {
  110.                 return $this->mergeDefaults(array_replace($matches, array('_route' => '_twig_error_test')), array (  '_controller' => 'twig.controller.preview_error:previewErrorPageAction',  '_format' => 'html',));
  111.             }
  112.             // _wdt
  113.             if (=== strpos($pathinfo'/_wdt') && preg_match('#^/_wdt/(?P<token>[^/]++)$#sD'$pathinfo$matches)) {
  114.                 return $this->mergeDefaults(array_replace($matches, array('_route' => '_wdt')), array (  '_controller' => 'web_profiler.controller.profiler:toolbarAction',));
  115.             }
  116.             if (=== strpos($pathinfo'/_profiler')) {
  117.                 // _profiler_home
  118.                 if ('/_profiler' === $trimmedPathinfo) {
  119.                     $ret = array (  '_controller' => 'web_profiler.controller.profiler:homeAction',  '_route' => '_profiler_home',);
  120.                     if ('/' === substr($pathinfo, -1)) {
  121.                         // no-op
  122.                     } elseif ('GET' !== $canonicalMethod) {
  123.                         goto not__profiler_home;
  124.                     } else {
  125.                         return array_replace($ret$this->redirect($rawPathinfo.'/''_profiler_home'));
  126.                     }
  127.                     return $ret;
  128.                 }
  129.                 not__profiler_home:
  130.                 if (=== strpos($pathinfo'/_profiler/search')) {
  131.                     // _profiler_search
  132.                     if ('/_profiler/search' === $pathinfo) {
  133.                         return array (  '_controller' => 'web_profiler.controller.profiler:searchAction',  '_route' => '_profiler_search',);
  134.                     }
  135.                     // _profiler_search_bar
  136.                     if ('/_profiler/search_bar' === $pathinfo) {
  137.                         return array (  '_controller' => 'web_profiler.controller.profiler:searchBarAction',  '_route' => '_profiler_search_bar',);
  138.                     }
  139.                 }
  140.                 // _profiler_phpinfo
  141.                 if ('/_profiler/phpinfo' === $pathinfo) {
  142.                     return array (  '_controller' => 'web_profiler.controller.profiler:phpinfoAction',  '_route' => '_profiler_phpinfo',);
  143.                 }
  144.                 // _profiler_search_results
  145.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/search/results$#sD'$pathinfo$matches)) {
  146.                     return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_search_results')), array (  '_controller' => 'web_profiler.controller.profiler:searchResultsAction',));
  147.                 }
  148.                 // _profiler_open_file
  149.                 if ('/_profiler/open' === $pathinfo) {
  150.                     return array (  '_controller' => 'web_profiler.controller.profiler:openAction',  '_route' => '_profiler_open_file',);
  151.                 }
  152.                 // _profiler
  153.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)$#sD'$pathinfo$matches)) {
  154.                     return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler')), array (  '_controller' => 'web_profiler.controller.profiler:panelAction',));
  155.                 }
  156.                 // _profiler_router
  157.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/router$#sD'$pathinfo$matches)) {
  158.                     return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_router')), array (  '_controller' => 'web_profiler.controller.router:panelAction',));
  159.                 }
  160.                 // _profiler_exception
  161.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception$#sD'$pathinfo$matches)) {
  162.                     return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_exception')), array (  '_controller' => 'web_profiler.controller.exception:showAction',));
  163.                 }
  164.                 // _profiler_exception_css
  165.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception\\.css$#sD'$pathinfo$matches)) {
  166.                     return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_exception_css')), array (  '_controller' => 'web_profiler.controller.exception:cssAction',));
  167.                 }
  168.             }
  169.         }
  170.         if ('/' === $pathinfo && !$allow) {
  171.             throw new Symfony\Component\Routing\Exception\NoConfigurationException();
  172.         }
  173.         throw count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
  174.     }
  175. }