var/cache/dev/appDevDebugProjectContainerUrlMatcher.php line 12147

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 = array();
  18.         $pathinfo rawurldecode($rawPathinfo);
  19.         $trimmedPathinfo rtrim($pathinfo'/');
  20.         $context $this->context;
  21.         $request $this->request;
  22.         $requestMethod $canonicalMethod $context->getMethod();
  23.         $scheme $context->getScheme();
  24.         if ('HEAD' === $requestMethod) {
  25.             $canonicalMethod 'GET';
  26.         }
  27.         if (=== strpos($pathinfo'/_')) {
  28.             // _wdt
  29.             if (=== strpos($pathinfo'/_wdt') && preg_match('#^/_wdt/(?P<token>[^/]++)$#s'$pathinfo$matches)) {
  30.                 return $this->mergeDefaults(array_replace($matches, array('_route' => '_wdt')), array (  '_controller' => 'web_profiler.controller.profiler:toolbarAction',));
  31.             }
  32.             if (=== strpos($pathinfo'/_profiler')) {
  33.                 // _profiler_home
  34.                 if ('/_profiler' === $trimmedPathinfo) {
  35.                     if (substr($pathinfo, -1) !== '/') {
  36.                         return $this->redirect($rawPathinfo.'/''_profiler_home');
  37.                     }
  38.                     return array (  '_controller' => 'web_profiler.controller.profiler:homeAction',  '_route' => '_profiler_home',);
  39.                 }
  40.                 if (=== strpos($pathinfo'/_profiler/search')) {
  41.                     // _profiler_search
  42.                     if ('/_profiler/search' === $pathinfo) {
  43.                         return array (  '_controller' => 'web_profiler.controller.profiler:searchAction',  '_route' => '_profiler_search',);
  44.                     }
  45.                     // _profiler_search_bar
  46.                     if ('/_profiler/search_bar' === $pathinfo) {
  47.                         return array (  '_controller' => 'web_profiler.controller.profiler:searchBarAction',  '_route' => '_profiler_search_bar',);
  48.                     }
  49.                 }
  50.                 // _profiler_phpinfo
  51.                 if ('/_profiler/phpinfo' === $pathinfo) {
  52.                     return array (  '_controller' => 'web_profiler.controller.profiler:phpinfoAction',  '_route' => '_profiler_phpinfo',);
  53.                 }
  54.                 // _profiler_search_results
  55.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/search/results$#s'$pathinfo$matches)) {
  56.                     return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_search_results')), array (  '_controller' => 'web_profiler.controller.profiler:searchResultsAction',));
  57.                 }
  58.                 // _profiler_open_file
  59.                 if ('/_profiler/open' === $pathinfo) {
  60.                     return array (  '_controller' => 'web_profiler.controller.profiler:openAction',  '_route' => '_profiler_open_file',);
  61.                 }
  62.                 // _profiler
  63.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)$#s'$pathinfo$matches)) {
  64.                     return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler')), array (  '_controller' => 'web_profiler.controller.profiler:panelAction',));
  65.                 }
  66.                 // _profiler_router
  67.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/router$#s'$pathinfo$matches)) {
  68.                     return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_router')), array (  '_controller' => 'web_profiler.controller.router:panelAction',));
  69.                 }
  70.                 // _profiler_exception
  71.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception$#s'$pathinfo$matches)) {
  72.                     return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_exception')), array (  '_controller' => 'web_profiler.controller.exception:showAction',));
  73.                 }
  74.                 // _profiler_exception_css
  75.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception\\.css$#s'$pathinfo$matches)) {
  76.                     return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_exception_css')), array (  '_controller' => 'web_profiler.controller.exception:cssAction',));
  77.                 }
  78.             }
  79.             // _twig_error_test
  80.             if (=== strpos($pathinfo'/_error') && preg_match('#^/_error/(?P<code>\\d+)(?:\\.(?P<_format>[^/]++))?$#s'$pathinfo$matches)) {
  81.                 return $this->mergeDefaults(array_replace($matches, array('_route' => '_twig_error_test')), array (  '_controller' => 'twig.controller.preview_error:previewErrorPageAction',  '_format' => 'html',));
  82.             }
  83.         }
  84.         elseif (=== strpos($pathinfo'/gestion-back-office/web')) {
  85.             if (=== strpos($pathinfo'/gestion-back-office/web/messages')) {
  86.                 // app_rest_messagerest_getmessage
  87.                 if (preg_match('#^/gestion\\-back\\-office/web/messages/(?P<id>[^/]++)$#s'$pathinfo$matches)) {
  88.                     if ('GET' !== $canonicalMethod) {
  89.                         $allow[] = 'GET';
  90.                         goto not_app_rest_messagerest_getmessage;
  91.                     }
  92.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_messagerest_getmessage')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController::getMessageAction',));
  93.                 }
  94.                 not_app_rest_messagerest_getmessage:
  95.                 // app_rest_messagerest_postmessagefichier
  96.                 if (preg_match('#^/gestion\\-back\\-office/web/messages/(?P<id>[^/]++)/fichier$#s'$pathinfo$matches)) {
  97.                     if ('POST' !== $canonicalMethod) {
  98.                         $allow[] = 'POST';
  99.                         goto not_app_rest_messagerest_postmessagefichier;
  100.                     }
  101.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_messagerest_postmessagefichier')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController::postMessageFichierAction',));
  102.                 }
  103.                 not_app_rest_messagerest_postmessagefichier:
  104.             }
  105.             elseif (=== strpos($pathinfo'/gestion-back-office/web/secteur')) {
  106.                 // app_rest_messagerest_getmessagesbysecteur
  107.                 if (preg_match('#^/gestion\\-back\\-office/web/secteur/(?P<id>[^/]++)/messages$#s'$pathinfo$matches)) {
  108.                     if ('GET' !== $canonicalMethod) {
  109.                         $allow[] = 'GET';
  110.                         goto not_app_rest_messagerest_getmessagesbysecteur;
  111.                     }
  112.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_messagerest_getmessagesbysecteur')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController::getMessagesBySecteurAction',));
  113.                 }
  114.                 not_app_rest_messagerest_getmessagesbysecteur:
  115.                 // app_rest_questionrest_getquestionsbysecteur
  116.                 if (preg_match('#^/gestion\\-back\\-office/web/secteur/(?P<id>[^/]++)/questions$#s'$pathinfo$matches)) {
  117.                     if ('GET' !== $canonicalMethod) {
  118.                         $allow[] = 'GET';
  119.                         goto not_app_rest_questionrest_getquestionsbysecteur;
  120.                     }
  121.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_questionrest_getquestionsbysecteur')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController::getQuestionsBySecteurAction',));
  122.                 }
  123.                 not_app_rest_questionrest_getquestionsbysecteur:
  124.             }
  125.             elseif (=== strpos($pathinfo'/gestion-back-office/web/user')) {
  126.                 // app_rest_messagerest_getmessagesbycustomer
  127.                 if (preg_match('#^/gestion\\-back\\-office/web/user/(?P<userId>[^/]++)/messages$#s'$pathinfo$matches)) {
  128.                     if ('GET' !== $canonicalMethod) {
  129.                         $allow[] = 'GET';
  130.                         goto not_app_rest_messagerest_getmessagesbycustomer;
  131.                     }
  132.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_messagerest_getmessagesbycustomer')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController::getMessagesByCustomerAction',));
  133.                 }
  134.                 not_app_rest_messagerest_getmessagesbycustomer:
  135.                 // app_rest_questionrest_getquestionsbycustomer
  136.                 if (preg_match('#^/gestion\\-back\\-office/web/user/(?P<userId>[^/]++)/questions$#s'$pathinfo$matches)) {
  137.                     if ('GET' !== $canonicalMethod) {
  138.                         $allow[] = 'GET';
  139.                         goto not_app_rest_questionrest_getquestionsbycustomer;
  140.                     }
  141.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_questionrest_getquestionsbycustomer')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController::getQuestionsByCustomerAction',));
  142.                 }
  143.                 not_app_rest_questionrest_getquestionsbycustomer:
  144.             }
  145.             // app_rest_questionrest_getquestion
  146.             if (=== strpos($pathinfo'/gestion-back-office/web/app/questions') && preg_match('#^/gestion\\-back\\-office/web/app/questions/(?P<id>[^/]++)$#s'$pathinfo$matches)) {
  147.                 if ('GET' !== $canonicalMethod) {
  148.                     $allow[] = 'GET';
  149.                     goto not_app_rest_questionrest_getquestion;
  150.                 }
  151.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_questionrest_getquestion')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController::getQuestionAction',));
  152.             }
  153.             not_app_rest_questionrest_getquestion:
  154.         }
  155.         elseif (=== strpos($pathinfo'/calendar')) {
  156.             // event_index
  157.             if ('/calendar' === $trimmedPathinfo) {
  158.                 if ('GET' !== $canonicalMethod) {
  159.                     $allow[] = 'GET';
  160.                     goto not_event_index;
  161.                 }
  162.                 if (substr($pathinfo, -1) !== '/') {
  163.                     return $this->redirect($rawPathinfo.'/''event_index');
  164.                 }
  165.                 return array (  '_controller' => 'CalendarBundle\\Controller\\EventController::showAdminCalendarAction',  '_route' => 'event_index',);
  166.             }
  167.             not_event_index:
  168.             // event_show
  169.             if (preg_match('#^/calendar/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  170.                 if ('GET' !== $canonicalMethod) {
  171.                     $allow[] = 'GET';
  172.                     goto not_event_show;
  173.                 }
  174.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'event_show')), array (  '_controller' => 'CalendarBundle\\Controller\\EventController::showAction',));
  175.             }
  176.             not_event_show:
  177.             // event_new
  178.             if ('/calendar/new' === $pathinfo) {
  179.                 if (!in_array($canonicalMethod, array('GET''POST'))) {
  180.                     $allow array_merge($allow, array('GET''POST'));
  181.                     goto not_event_new;
  182.                 }
  183.                 return array (  '_controller' => 'CalendarBundle\\Controller\\EventController::newAction',  '_route' => 'event_new',);
  184.             }
  185.             not_event_new:
  186.             // event_edit
  187.             if (preg_match('#^/calendar/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  188.                 if (!in_array($canonicalMethod, array('GET''POST'))) {
  189.                     $allow array_merge($allow, array('GET''POST'));
  190.                     goto not_event_edit;
  191.                 }
  192.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'event_edit')), array (  '_controller' => 'CalendarBundle\\Controller\\EventController::editAction',));
  193.             }
  194.             not_event_edit:
  195.             // event_delete
  196.             if (preg_match('#^/calendar/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  197.                 if ('DELETE' !== $canonicalMethod) {
  198.                     $allow[] = 'DELETE';
  199.                     goto not_event_delete;
  200.                 }
  201.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'event_delete')), array (  '_controller' => 'CalendarBundle\\Controller\\EventController::deleteAction',));
  202.             }
  203.             not_event_delete:
  204.             // admin_calednar
  205.             if ('/calendar/admin' === $pathinfo) {
  206.                 if ('GET' !== $canonicalMethod) {
  207.                     $allow[] = 'GET';
  208.                     goto not_admin_calednar;
  209.                 }
  210.                 return array (  '_controller' => 'CalendarBundle\\Controller\\EventController::showAdminCalendarAction',  '_route' => 'admin_calednar',);
  211.             }
  212.             not_admin_calednar:
  213.             // customer_calednar
  214.             if ('/calendar/front' === $pathinfo) {
  215.                 if ('GET' !== $canonicalMethod) {
  216.                     $allow[] = 'GET';
  217.                     goto not_customer_calednar;
  218.                 }
  219.                 return array (  '_controller' => 'CalendarBundle\\Controller\\EventController::showCustomerCalendarAction',  '_route' => 'customer_calednar',);
  220.             }
  221.             not_customer_calednar:
  222.         }
  223.         elseif (=== strpos($pathinfo'/co')) {
  224.             if (=== strpos($pathinfo'/controle')) {
  225.                 if (=== strpos($pathinfo'/controle/front')) {
  226.                     // controle_front_new
  227.                     if ('/controle/front' === $pathinfo) {
  228.                         if ('GET' !== $canonicalMethod) {
  229.                             $allow[] = 'GET';
  230.                             goto not_controle_front_new;
  231.                         }
  232.                         return array (  '_controller' => 'ControleBundle\\Controller\\CommandeController::forntFormAction',  '_route' => 'controle_front_new',);
  233.                     }
  234.                     not_controle_front_new:
  235.                     // controle_front_commande_show
  236.                     if (=== strpos($pathinfo'/controle/front/commande') && preg_match('#^/controle/front/commande/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  237.                         if ('GET' !== $canonicalMethod) {
  238.                             $allow[] = 'GET';
  239.                             goto not_controle_front_commande_show;
  240.                         }
  241.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_front_commande_show')), array (  '_controller' => 'ControleBundle\\Controller\\CommandeController::frontShowAction',));
  242.                     }
  243.                     not_controle_front_commande_show:
  244.                     // controle_front_devis_show
  245.                     if (=== strpos($pathinfo'/controle/front/devis') && preg_match('#^/controle/front/devis/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  246.                         if ('GET' !== $canonicalMethod) {
  247.                             $allow[] = 'GET';
  248.                             goto not_controle_front_devis_show;
  249.                         }
  250.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_front_devis_show')), array (  '_controller' => 'ControleBundle\\Controller\\DevisController::frontShowAction',));
  251.                     }
  252.                     not_controle_front_devis_show:
  253.                     // controle_front_facture_show
  254.                     if (=== strpos($pathinfo'/controle/front/facture') && preg_match('#^/controle/front/facture/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  255.                         if ('GET' !== $canonicalMethod) {
  256.                             $allow[] = 'GET';
  257.                             goto not_controle_front_facture_show;
  258.                         }
  259.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_front_facture_show')), array (  '_controller' => 'ControleBundle\\Controller\\FactureController::frontShowAction',));
  260.                     }
  261.                     not_controle_front_facture_show:
  262.                 }
  263.                 elseif (=== strpos($pathinfo'/controle/facture')) {
  264.                     // controle_facture_index
  265.                     if ('/controle/facture' === $trimmedPathinfo) {
  266.                         if ('GET' !== $canonicalMethod) {
  267.                             $allow[] = 'GET';
  268.                             goto not_controle_facture_index;
  269.                         }
  270.                         if (substr($pathinfo, -1) !== '/') {
  271.                             return $this->redirect($rawPathinfo.'/''controle_facture_index');
  272.                         }
  273.                         return array (  '_controller' => 'ControleBundle\\Controller\\FactureController::indexAction',  '_route' => 'controle_facture_index',);
  274.                     }
  275.                     not_controle_facture_index:
  276.                     // controle_facture_index_differe
  277.                     if ('/controle/facture/differe' === $pathinfo) {
  278.                         if ('GET' !== $canonicalMethod) {
  279.                             $allow[] = 'GET';
  280.                             goto not_controle_facture_index_differe;
  281.                         }
  282.                         return array (  '_controller' => 'ControleBundle\\Controller\\FactureController::indexDiffereAction',  '_route' => 'controle_facture_index_differe',);
  283.                     }
  284.                     not_controle_facture_index_differe:
  285.                     // controle_facture_index_web
  286.                     if ('/controle/facture/web' === $pathinfo) {
  287.                         if ('GET' !== $canonicalMethod) {
  288.                             $allow[] = 'GET';
  289.                             goto not_controle_facture_index_web;
  290.                         }
  291.                         return array (  '_controller' => 'ControleBundle\\Controller\\FactureController::indexWebAction',  '_route' => 'controle_facture_index_web',);
  292.                     }
  293.                     not_controle_facture_index_web:
  294.                     // controle_facture_index_liciel
  295.                     if ('/controle/facture/liciel' === $pathinfo) {
  296.                         if ('GET' !== $canonicalMethod) {
  297.                             $allow[] = 'GET';
  298.                             goto not_controle_facture_index_liciel;
  299.                         }
  300.                         return array (  '_controller' => 'ControleBundle\\Controller\\FactureController::indexlicielAction',  '_route' => 'controle_facture_index_liciel',);
  301.                     }
  302.                     not_controle_facture_index_liciel:
  303.                     // controle_facture_show
  304.                     if (preg_match('#^/controle/facture/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  305.                         if ('GET' !== $canonicalMethod) {
  306.                             $allow[] = 'GET';
  307.                             goto not_controle_facture_show;
  308.                         }
  309.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_facture_show')), array (  '_controller' => 'ControleBundle\\Controller\\FactureController::showAction',));
  310.                     }
  311.                     not_controle_facture_show:
  312.                     // controle_facture_new
  313.                     if ('/controle/facture/new' === $pathinfo) {
  314.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  315.                             $allow array_merge($allow, array('GET''POST'));
  316.                             goto not_controle_facture_new;
  317.                         }
  318.                         return array (  '_controller' => 'ControleBundle\\Controller\\FactureController::newAction',  '_route' => 'controle_facture_new',);
  319.                     }
  320.                     not_controle_facture_new:
  321.                     // controle_facture_edit
  322.                     if (preg_match('#^/controle/facture/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  323.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  324.                             $allow array_merge($allow, array('GET''POST'));
  325.                             goto not_controle_facture_edit;
  326.                         }
  327.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_facture_edit')), array (  '_controller' => 'ControleBundle\\Controller\\FactureController::editAction',));
  328.                     }
  329.                     not_controle_facture_edit:
  330.                     // controle_facture_delete
  331.                     if (preg_match('#^/controle/facture/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  332.                         if ('DELETE' !== $canonicalMethod) {
  333.                             $allow[] = 'DELETE';
  334.                             goto not_controle_facture_delete;
  335.                         }
  336.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_facture_delete')), array (  '_controller' => 'ControleBundle\\Controller\\FactureController::deleteAction',));
  337.                     }
  338.                     not_controle_facture_delete:
  339.                 }
  340.                 elseif (=== strpos($pathinfo'/controle/commande')) {
  341.                     // controle_commande_index
  342.                     if ('/controle/commande' === $trimmedPathinfo) {
  343.                         if ('GET' !== $canonicalMethod) {
  344.                             $allow[] = 'GET';
  345.                             goto not_controle_commande_index;
  346.                         }
  347.                         if (substr($pathinfo, -1) !== '/') {
  348.                             return $this->redirect($rawPathinfo.'/''controle_commande_index');
  349.                         }
  350.                         return array (  '_controller' => 'ControleBundle\\Controller\\CommandeController::indexAction',  '_route' => 'controle_commande_index',);
  351.                     }
  352.                     not_controle_commande_index:
  353.                     // controle_commande_list_by_filiale
  354.                     if (preg_match('#^/controle/commande/(?P<filialeId>[^/]++)/filiale$#s'$pathinfo$matches)) {
  355.                         if ('GET' !== $canonicalMethod) {
  356.                             $allow[] = 'GET';
  357.                             goto not_controle_commande_list_by_filiale;
  358.                         }
  359.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_commande_list_by_filiale')), array (  '_controller' => 'ControleBundle\\Controller\\CommandeController::listCommandeByFilialeAction',));
  360.                     }
  361.                     not_controle_commande_list_by_filiale:
  362.                     // controle_commande_show
  363.                     if (preg_match('#^/controle/commande/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  364.                         if ('GET' !== $canonicalMethod) {
  365.                             $allow[] = 'GET';
  366.                             goto not_controle_commande_show;
  367.                         }
  368.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_commande_show')), array (  '_controller' => 'ControleBundle\\Controller\\CommandeController::showAction',));
  369.                     }
  370.                     not_controle_commande_show:
  371.                     // controle_commande_new
  372.                     if ('/controle/commande/new' === $pathinfo) {
  373.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  374.                             $allow array_merge($allow, array('GET''POST'));
  375.                             goto not_controle_commande_new;
  376.                         }
  377.                         return array (  '_controller' => 'ControleBundle\\Controller\\CommandeController::newAction',  '_route' => 'controle_commande_new',);
  378.                     }
  379.                     not_controle_commande_new:
  380.                     // controle_commande_edit
  381.                     if (preg_match('#^/controle/commande/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  382.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  383.                             $allow array_merge($allow, array('GET''POST'));
  384.                             goto not_controle_commande_edit;
  385.                         }
  386.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_commande_edit')), array (  '_controller' => 'ControleBundle\\Controller\\CommandeController::editAction',));
  387.                     }
  388.                     not_controle_commande_edit:
  389.                     // controle_commande_delete
  390.                     if (preg_match('#^/controle/commande/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  391.                         if ('DELETE' !== $canonicalMethod) {
  392.                             $allow[] = 'DELETE';
  393.                             goto not_controle_commande_delete;
  394.                         }
  395.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_commande_delete')), array (  '_controller' => 'ControleBundle\\Controller\\CommandeController::deleteAction',));
  396.                     }
  397.                     not_controle_commande_delete:
  398.                     // generateuserscom_commande_users
  399.                     if ('/controle/commande/generateuserscom' === $pathinfo) {
  400.                         if ('GET' !== $canonicalMethod) {
  401.                             $allow[] = 'GET';
  402.                             goto not_generateuserscom_commande_users;
  403.                         }
  404.                         return array (  '_controller' => 'ControleBundle\\Controller\\CommandeController::generateuserscomAction',  '_route' => 'generateuserscom_commande_users',);
  405.                     }
  406.                     not_generateuserscom_commande_users:
  407.                 }
  408.                 elseif (=== strpos($pathinfo'/controle/devis')) {
  409.                     // controle_devis_index
  410.                     if ('/controle/devis' === $trimmedPathinfo) {
  411.                         if ('GET' !== $canonicalMethod) {
  412.                             $allow[] = 'GET';
  413.                             goto not_controle_devis_index;
  414.                         }
  415.                         if (substr($pathinfo, -1) !== '/') {
  416.                             return $this->redirect($rawPathinfo.'/''controle_devis_index');
  417.                         }
  418.                         return array (  '_controller' => 'ControleBundle\\Controller\\DevisController::indexAction',  '_route' => 'controle_devis_index',);
  419.                     }
  420.                     not_controle_devis_index:
  421.                     // controle_devis_show
  422.                     if (preg_match('#^/controle/devis/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  423.                         if ('GET' !== $canonicalMethod) {
  424.                             $allow[] = 'GET';
  425.                             goto not_controle_devis_show;
  426.                         }
  427.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_devis_show')), array (  '_controller' => 'ControleBundle\\Controller\\DevisController::showAction',));
  428.                     }
  429.                     not_controle_devis_show:
  430.                     // controle_devis_new
  431.                     if ('/controle/devis/new' === $pathinfo) {
  432.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  433.                             $allow array_merge($allow, array('GET''POST'));
  434.                             goto not_controle_devis_new;
  435.                         }
  436.                         return array (  '_controller' => 'ControleBundle\\Controller\\DevisController::newAction',  '_route' => 'controle_devis_new',);
  437.                     }
  438.                     not_controle_devis_new:
  439.                     // controle_devis_edit
  440.                     if (preg_match('#^/controle/devis/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  441.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  442.                             $allow array_merge($allow, array('GET''POST'));
  443.                             goto not_controle_devis_edit;
  444.                         }
  445.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_devis_edit')), array (  '_controller' => 'ControleBundle\\Controller\\DevisController::editAction',));
  446.                     }
  447.                     not_controle_devis_edit:
  448.                     // controle_devis_delete
  449.                     if (preg_match('#^/controle/devis/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  450.                         if ('DELETE' !== $canonicalMethod) {
  451.                             $allow[] = 'DELETE';
  452.                             goto not_controle_devis_delete;
  453.                         }
  454.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_devis_delete')), array (  '_controller' => 'ControleBundle\\Controller\\DevisController::deleteAction',));
  455.                     }
  456.                     not_controle_devis_delete:
  457.                 }
  458.             }
  459.             elseif (=== strpos($pathinfo'/combinaison')) {
  460.                 // config_combinaison_index
  461.                 if ('/combinaison' === $trimmedPathinfo) {
  462.                     if ('GET' !== $canonicalMethod) {
  463.                         $allow[] = 'GET';
  464.                         goto not_config_combinaison_index;
  465.                     }
  466.                     if (substr($pathinfo, -1) !== '/') {
  467.                         return $this->redirect($rawPathinfo.'/''config_combinaison_index');
  468.                     }
  469.                     return array (  '_controller' => 'ConfigBundle\\Controller\\CombinaisonController::indexAction',  '_route' => 'config_combinaison_index',);
  470.                 }
  471.                 not_config_combinaison_index:
  472.                 // config_combinaison_show
  473.                 if (preg_match('#^/combinaison/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  474.                     if ('GET' !== $canonicalMethod) {
  475.                         $allow[] = 'GET';
  476.                         goto not_config_combinaison_show;
  477.                     }
  478.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_combinaison_show')), array (  '_controller' => 'ConfigBundle\\Controller\\CombinaisonController::showAction',));
  479.                 }
  480.                 not_config_combinaison_show:
  481.                 // config_combinaison_new
  482.                 if ('/combinaison/new' === $pathinfo) {
  483.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  484.                         $allow array_merge($allow, array('GET''POST'));
  485.                         goto not_config_combinaison_new;
  486.                     }
  487.                     return array (  '_controller' => 'ConfigBundle\\Controller\\CombinaisonController::newAction',  '_route' => 'config_combinaison_new',);
  488.                 }
  489.                 not_config_combinaison_new:
  490.                 // config_combinaison_edit
  491.                 if (preg_match('#^/combinaison/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  492.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  493.                         $allow array_merge($allow, array('GET''POST'));
  494.                         goto not_config_combinaison_edit;
  495.                     }
  496.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_combinaison_edit')), array (  '_controller' => 'ConfigBundle\\Controller\\CombinaisonController::editAction',));
  497.                 }
  498.                 not_config_combinaison_edit:
  499.                 // config_combinaison_delete
  500.                 if (preg_match('#^/combinaison/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  501.                     if ('DELETE' !== $canonicalMethod) {
  502.                         $allow[] = 'DELETE';
  503.                         goto not_config_combinaison_delete;
  504.                     }
  505.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_combinaison_delete')), array (  '_controller' => 'ConfigBundle\\Controller\\CombinaisonController::deleteAction',));
  506.                 }
  507.                 not_config_combinaison_delete:
  508.             }
  509.             elseif (=== strpos($pathinfo'/codepromotion')) {
  510.                 // config_codepromotion_index
  511.                 if ('/codepromotion' === $trimmedPathinfo) {
  512.                     if ('GET' !== $canonicalMethod) {
  513.                         $allow[] = 'GET';
  514.                         goto not_config_codepromotion_index;
  515.                     }
  516.                     if (substr($pathinfo, -1) !== '/') {
  517.                         return $this->redirect($rawPathinfo.'/''config_codepromotion_index');
  518.                     }
  519.                     return array (  '_controller' => 'ConfigBundle\\Controller\\CodePromotionController::indexAction',  '_route' => 'config_codepromotion_index',);
  520.                 }
  521.                 not_config_codepromotion_index:
  522.                 // config_codepromotion_show
  523.                 if (preg_match('#^/codepromotion/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  524.                     if ('GET' !== $canonicalMethod) {
  525.                         $allow[] = 'GET';
  526.                         goto not_config_codepromotion_show;
  527.                     }
  528.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_codepromotion_show')), array (  '_controller' => 'ConfigBundle\\Controller\\CodePromotionController::showAction',));
  529.                 }
  530.                 not_config_codepromotion_show:
  531.                 // config_codepromotion_new
  532.                 if ('/codepromotion/new' === $pathinfo) {
  533.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  534.                         $allow array_merge($allow, array('GET''POST'));
  535.                         goto not_config_codepromotion_new;
  536.                     }
  537.                     return array (  '_controller' => 'ConfigBundle\\Controller\\CodePromotionController::newAction',  '_route' => 'config_codepromotion_new',);
  538.                 }
  539.                 not_config_codepromotion_new:
  540.                 // config_codepromotion_edit
  541.                 if (preg_match('#^/codepromotion/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  542.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  543.                         $allow array_merge($allow, array('GET''POST'));
  544.                         goto not_config_codepromotion_edit;
  545.                     }
  546.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_codepromotion_edit')), array (  '_controller' => 'ConfigBundle\\Controller\\CodePromotionController::editAction',));
  547.                 }
  548.                 not_config_codepromotion_edit:
  549.                 // config_codepromotion_delete
  550.                 if (preg_match('#^/codepromotion/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  551.                     if ('DELETE' !== $canonicalMethod) {
  552.                         $allow[] = 'DELETE';
  553.                         goto not_config_codepromotion_delete;
  554.                     }
  555.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_codepromotion_delete')), array (  '_controller' => 'ConfigBundle\\Controller\\CodePromotionController::deleteAction',));
  556.                 }
  557.                 not_config_codepromotion_delete:
  558.             }
  559.             elseif (=== strpos($pathinfo'/codepostal')) {
  560.                 // config_codepostal_index
  561.                 if ('/codepostal' === $trimmedPathinfo) {
  562.                     if ('GET' !== $canonicalMethod) {
  563.                         $allow[] = 'GET';
  564.                         goto not_config_codepostal_index;
  565.                     }
  566.                     if (substr($pathinfo, -1) !== '/') {
  567.                         return $this->redirect($rawPathinfo.'/''config_codepostal_index');
  568.                     }
  569.                     return array (  '_controller' => 'ConfigBundle\\Controller\\CodePostalController::indexAction',  '_route' => 'config_codepostal_index',);
  570.                 }
  571.                 not_config_codepostal_index:
  572.                 // config_codepostal_show
  573.                 if (preg_match('#^/codepostal/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  574.                     if ('GET' !== $canonicalMethod) {
  575.                         $allow[] = 'GET';
  576.                         goto not_config_codepostal_show;
  577.                     }
  578.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_codepostal_show')), array (  '_controller' => 'ConfigBundle\\Controller\\CodePostalController::showAction',));
  579.                 }
  580.                 not_config_codepostal_show:
  581.                 // config_codepostal_new
  582.                 if ('/codepostal/new' === $pathinfo) {
  583.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  584.                         $allow array_merge($allow, array('GET''POST'));
  585.                         goto not_config_codepostal_new;
  586.                     }
  587.                     return array (  '_controller' => 'ConfigBundle\\Controller\\CodePostalController::newAction',  '_route' => 'config_codepostal_new',);
  588.                 }
  589.                 not_config_codepostal_new:
  590.                 // config_codepostal_edit
  591.                 if (preg_match('#^/codepostal/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  592.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  593.                         $allow array_merge($allow, array('GET''POST'));
  594.                         goto not_config_codepostal_edit;
  595.                     }
  596.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_codepostal_edit')), array (  '_controller' => 'ConfigBundle\\Controller\\CodePostalController::editAction',));
  597.                 }
  598.                 not_config_codepostal_edit:
  599.                 // config_codepostal_delete
  600.                 if (preg_match('#^/codepostal/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  601.                     if ('DELETE' !== $canonicalMethod) {
  602.                         $allow[] = 'DELETE';
  603.                         goto not_config_codepostal_delete;
  604.                     }
  605.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_codepostal_delete')), array (  '_controller' => 'ConfigBundle\\Controller\\CodePostalController::deleteAction',));
  606.                 }
  607.                 not_config_codepostal_delete:
  608.             }
  609.         }
  610.         elseif (=== strpos($pathinfo'/api')) {
  611.             if (=== strpos($pathinfo'/api/ca')) {
  612.                 if (=== strpos($pathinfo'/api/calendar/event')) {
  613.                     // calendar_rest_events_items
  614.                     if (=== strpos($pathinfo'/api/calendar/events') && preg_match('#^/api/calendar/events(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  615.                         if ('GET' !== $canonicalMethod) {
  616.                             $allow[] = 'GET';
  617.                             goto not_calendar_rest_events_items;
  618.                         }
  619.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'calendar_rest_events_items')), array (  '_controller' => 'CalendarBundle\\Controller\\Rest\\EventRestController::getEventsAction',  '_format' => 'json',));
  620.                     }
  621.                     not_calendar_rest_events_items:
  622.                     // calendar_rest_event_item
  623.                     if (preg_match('#^/api/calendar/event/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  624.                         if ('GET' !== $canonicalMethod) {
  625.                             $allow[] = 'GET';
  626.                             goto not_calendar_rest_event_item;
  627.                         }
  628.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'calendar_rest_event_item')), array (  '_controller' => 'CalendarBundle\\Controller\\Rest\\EventRestController::getEventAction',  '_format' => 'json',));
  629.                     }
  630.                     not_calendar_rest_event_item:
  631.                     // calendar_rest_event_put_item
  632.                     if (preg_match('#^/api/calendar/event/(?P<eventKey>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  633.                         if ('PUT' !== $canonicalMethod) {
  634.                             $allow[] = 'PUT';
  635.                             goto not_calendar_rest_event_put_item;
  636.                         }
  637.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'calendar_rest_event_put_item')), array (  '_controller' => 'CalendarBundle\\Controller\\Rest\\EventRestController::putEventAction',  '_format' => 'json',));
  638.                     }
  639.                     not_calendar_rest_event_put_item:
  640.                     // calendar_rest_event_patch_item
  641.                     if (preg_match('#^/api/calendar/event/(?P<eventKey>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  642.                         if ('PATCH' !== $canonicalMethod) {
  643.                             $allow[] = 'PATCH';
  644.                             goto not_calendar_rest_event_patch_item;
  645.                         }
  646.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'calendar_rest_event_patch_item')), array (  '_controller' => 'CalendarBundle\\Controller\\Rest\\EventRestController::patchEventAction',  '_format' => 'json',));
  647.                     }
  648.                     not_calendar_rest_event_patch_item:
  649.                     // calendar_rest_event_delete_item
  650.                     if (preg_match('#^/api/calendar/event/(?P<eventKey>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  651.                         if ('DELETE' !== $canonicalMethod) {
  652.                             $allow[] = 'DELETE';
  653.                             goto not_calendar_rest_event_delete_item;
  654.                         }
  655.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'calendar_rest_event_delete_item')), array (  '_controller' => 'CalendarBundle\\Controller\\Rest\\EventRestController::removeEventAction',  '_format' => 'json',));
  656.                     }
  657.                     not_calendar_rest_event_delete_item:
  658.                 }
  659.                 // calendar_rest_event_post_item
  660.                 if (=== strpos($pathinfo'/api/calendar/addEvent') && preg_match('#^/api/calendar/addEvent(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  661.                     if ('POST' !== $canonicalMethod) {
  662.                         $allow[] = 'POST';
  663.                         goto not_calendar_rest_event_post_item;
  664.                     }
  665.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'calendar_rest_event_post_item')), array (  '_controller' => 'CalendarBundle\\Controller\\Rest\\EventRestController::postEventAction',  '_format' => 'json',));
  666.                 }
  667.                 not_calendar_rest_event_post_item:
  668.                 if (=== strpos($pathinfo'/api/categorieerps')) {
  669.                     // update_categorie_e_r_p
  670.                     if (preg_match('#^/api/categorieerps/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  671.                         if ('PUT' !== $canonicalMethod) {
  672.                             $allow[] = 'PUT';
  673.                             goto not_update_categorie_e_r_p;
  674.                         }
  675.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_categorie_e_r_p')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CategorieERPRestController::updateCategorieERPAction',  '_format' => 'json',));
  676.                     }
  677.                     not_update_categorie_e_r_p:
  678.                     // remove_categorie_e_r_p
  679.                     if (preg_match('#^/api/categorieerps/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  680.                         if ('DELETE' !== $canonicalMethod) {
  681.                             $allow[] = 'DELETE';
  682.                             goto not_remove_categorie_e_r_p;
  683.                         }
  684.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_categorie_e_r_p')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CategorieERPRestController::removeCategorieERPAction',  '_format' => 'json',));
  685.                     }
  686.                     not_remove_categorie_e_r_p:
  687.                     // get_categorie_e_r_ps
  688.                     if (preg_match('#^/api/categorieerps(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  689.                         if ('GET' !== $canonicalMethod) {
  690.                             $allow[] = 'GET';
  691.                             goto not_get_categorie_e_r_ps;
  692.                         }
  693.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_categorie_e_r_ps')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CategorieERPRestController::getCategorieERPsAction',  '_format' => 'json',));
  694.                     }
  695.                     not_get_categorie_e_r_ps:
  696.                     // get_categorie_e_r_p
  697.                     if (preg_match('#^/api/categorieerps/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  698.                         if ('GET' !== $canonicalMethod) {
  699.                             $allow[] = 'GET';
  700.                             goto not_get_categorie_e_r_p;
  701.                         }
  702.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_categorie_e_r_p')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CategorieERPRestController::getCategorieERPAction',  '_format' => 'json',));
  703.                     }
  704.                     not_get_categorie_e_r_p:
  705.                     // post_categorie_e_r_ps
  706.                     if (preg_match('#^/api/categorieerps(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  707.                         if ('POST' !== $canonicalMethod) {
  708.                             $allow[] = 'POST';
  709.                             goto not_post_categorie_e_r_ps;
  710.                         }
  711.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_categorie_e_r_ps')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CategorieERPRestController::postCategorieERPsAction',  '_format' => 'json',));
  712.                     }
  713.                     not_post_categorie_e_r_ps:
  714.                     // patch_categorie_e_r_p
  715.                     if (preg_match('#^/api/categorieerps/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  716.                         if ('PATCH' !== $canonicalMethod) {
  717.                             $allow[] = 'PATCH';
  718.                             goto not_patch_categorie_e_r_p;
  719.                         }
  720.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_categorie_e_r_p')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CategorieERPRestController::patchCategorieERPAction',  '_format' => 'json',));
  721.                     }
  722.                     not_patch_categorie_e_r_p:
  723.                 }
  724.             }
  725.             elseif (=== strpos($pathinfo'/api/co')) {
  726.                 if (=== strpos($pathinfo'/api/controle')) {
  727.                     if (=== strpos($pathinfo'/api/controle/commandes')) {
  728.                         if (=== strpos($pathinfo'/api/controle/commandes-')) {
  729.                             if (=== strpos($pathinfo'/api/controle/commandes-c')) {
  730.                                 // controle_rest_commandes_confirmees_list
  731.                                 if (=== strpos($pathinfo'/api/controle/commandes-confirmees-list') && preg_match('#^/api/controle/commandes\\-confirmees\\-list(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  732.                                     if ('GET' !== $canonicalMethod) {
  733.                                         $allow[] = 'GET';
  734.                                         goto not_controle_rest_commandes_confirmees_list;
  735.                                     }
  736.                                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_commandes_confirmees_list')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandesListAction',  '_format' => 'json',));
  737.                                 }
  738.                                 not_controle_rest_commandes_confirmees_list:
  739.                                 // controle_rest_orders_count
  740.                                 if (=== strpos($pathinfo'/api/controle/commandes-count') && preg_match('#^/api/controle/commandes\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  741.                                     if ('GET' !== $canonicalMethod) {
  742.                                         $allow[] = 'GET';
  743.                                         goto not_controle_rest_orders_count;
  744.                                     }
  745.                                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_orders_count')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandesCSCountAction',  '_format' => 'json',));
  746.                                 }
  747.                                 not_controle_rest_orders_count:
  748.                                 // controle_rest_ca_diag
  749.                                 if (=== strpos($pathinfo'/api/controle/commandes-ca-diag') && preg_match('#^/api/controle/commandes\\-ca\\-diag(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  750.                                     if ('GET' !== $canonicalMethod) {
  751.                                         $allow[] = 'GET';
  752.                                         goto not_controle_rest_ca_diag;
  753.                                     }
  754.                                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_ca_diag')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCaControleAction',  '_format' => 'json',));
  755.                                 }
  756.                                 not_controle_rest_ca_diag:
  757.                             }
  758.                             // controle_rest_orders_treat_count
  759.                             if (=== strpos($pathinfo'/api/controle/commandes-treat-count') && preg_match('#^/api/controle/commandes\\-treat\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  760.                                 if ('GET' !== $canonicalMethod) {
  761.                                     $allow[] = 'GET';
  762.                                     goto not_controle_rest_orders_treat_count;
  763.                                 }
  764.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_orders_treat_count')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandesCSTreatedCountAction',  '_format' => 'json',));
  765.                             }
  766.                             not_controle_rest_orders_treat_count:
  767.                             // controle_rest_orders_progr_count
  768.                             if (=== strpos($pathinfo'/api/controle/commandes-prog-count') && preg_match('#^/api/controle/commandes\\-prog\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  769.                                 if ('GET' !== $canonicalMethod) {
  770.                                     $allow[] = 'GET';
  771.                                     goto not_controle_rest_orders_progr_count;
  772.                                 }
  773.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_orders_progr_count')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandesCSProgressCountAction',  '_format' => 'json',));
  774.                             }
  775.                             not_controle_rest_orders_progr_count:
  776.                         }
  777.                         // controle_rest_send_commande_by_email
  778.                         if (=== strpos($pathinfo'/api/controle/commandes/envoiemail') && preg_match('#^/api/controle/commandes/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  779.                             if ('POST' !== $canonicalMethod) {
  780.                                 $allow[] = 'POST';
  781.                                 goto not_controle_rest_send_commande_by_email;
  782.                             }
  783.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_send_commande_by_email')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::sendCommandeByEmailAction',  '_format' => 'json',));
  784.                         }
  785.                         not_controle_rest_send_commande_by_email:
  786.                         // controle_rest_send_test_email
  787.                         if (=== strpos($pathinfo'/api/controle/commandes/testemail') && preg_match('#^/api/controle/commandes/testemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  788.                             if ('POST' !== $canonicalMethod) {
  789.                                 $allow[] = 'POST';
  790.                                 goto not_controle_rest_send_test_email;
  791.                             }
  792.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_send_test_email')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::sendTestEmailAction',  '_format' => 'json',));
  793.                         }
  794.                         not_controle_rest_send_test_email:
  795.                         // get_commande
  796.                         if (preg_match('#^/api/controle/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  797.                             if ('GET' !== $canonicalMethod) {
  798.                                 $allow[] = 'GET';
  799.                                 goto not_get_commande;
  800.                             }
  801.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commande')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandeAction',  '_format' => 'json',));
  802.                         }
  803.                         not_get_commande:
  804.                         // controle_rest_post_commande
  805.                         if (preg_match('#^/api/controle/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  806.                             if ('POST' !== $canonicalMethod) {
  807.                                 $allow[] = 'POST';
  808.                                 goto not_controle_rest_post_commande;
  809.                             }
  810.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_post_commande')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::postCommandesAction',  '_format' => 'json',));
  811.                         }
  812.                         not_controle_rest_post_commande:
  813.                         // controle_rest_put_commande
  814.                         if (preg_match('#^/api/controle/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  815.                             if ('PUT' !== $canonicalMethod) {
  816.                                 $allow[] = 'PUT';
  817.                                 goto not_controle_rest_put_commande;
  818.                             }
  819.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_put_commande')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::putCommandeAction',  '_format' => 'json',));
  820.                         }
  821.                         not_controle_rest_put_commande:
  822.                         // controle_rest_patch_commande
  823.                         if (preg_match('#^/api/controle/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  824.                             if ('PATCH' !== $canonicalMethod) {
  825.                                 $allow[] = 'PATCH';
  826.                                 goto not_controle_rest_patch_commande;
  827.                             }
  828.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_patch_commande')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::patchCommandeAction',  '_format' => 'json',));
  829.                         }
  830.                         not_controle_rest_patch_commande:
  831.                         // controle_rest_delete_commande
  832.                         if (preg_match('#^/api/controle/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  833.                             if ('DELETE' !== $canonicalMethod) {
  834.                                 $allow[] = 'DELETE';
  835.                                 goto not_controle_rest_delete_commande;
  836.                             }
  837.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_delete_commande')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::removeCommandeAction',  '_format' => 'json',));
  838.                         }
  839.                         not_controle_rest_delete_commande:
  840.                         // controle_rest_post_commande_fichier
  841.                         if (preg_match('#^/api/controle/commandes/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  842.                             if ('POST' !== $canonicalMethod) {
  843.                                 $allow[] = 'POST';
  844.                                 goto not_controle_rest_post_commande_fichier;
  845.                             }
  846.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_post_commande_fichier')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::postCommandeFichierAction',  '_format' => 'json',));
  847.                         }
  848.                         not_controle_rest_post_commande_fichier:
  849.                         // controle_rest_post_commande_front
  850.                         if (=== strpos($pathinfo'/api/controle/commandes/front') && preg_match('#^/api/controle/commandes/front(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  851.                             if ('POST' !== $canonicalMethod) {
  852.                                 $allow[] = 'POST';
  853.                                 goto not_controle_rest_post_commande_front;
  854.                             }
  855.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_post_commande_front')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::forntCommandeAction',  '_format' => 'json',));
  856.                         }
  857.                         not_controle_rest_post_commande_front:
  858.                         // controle_rest_patch_commande_front
  859.                         if (=== strpos($pathinfo'/api/controle/commandesfront') && preg_match('#^/api/controle/commandesfront/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  860.                             if ('PATCH' !== $canonicalMethod) {
  861.                                 $allow[] = 'PATCH';
  862.                                 goto not_controle_rest_patch_commande_front;
  863.                             }
  864.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_patch_commande_front')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::patchFrontCommandeAction',  '_format' => 'json',));
  865.                         }
  866.                         not_controle_rest_patch_commande_front:
  867.                         // controle_rest_get_verif_rdv
  868.                         if (preg_match('#^/api/controle/commandes/(?P<id>[^/]++)/verifRDV(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  869.                             if ('POST' !== $canonicalMethod) {
  870.                                 $allow[] = 'POST';
  871.                                 goto not_controle_rest_get_verif_rdv;
  872.                             }
  873.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_get_verif_rdv')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getVerifRDVAction',  '_format' => 'json',));
  874.                         }
  875.                         not_controle_rest_get_verif_rdv:
  876.                     }
  877.                     // controle_rest_post_devis_front
  878.                     if (=== strpos($pathinfo'/api/controle/commande') && preg_match('#^/api/controle/commande/(?P<commandeId>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  879.                         if ('GET' !== $canonicalMethod) {
  880.                             $allow[] = 'GET';
  881.                             goto not_controle_rest_post_devis_front;
  882.                         }
  883.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_post_devis_front')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::frontDevisFromCommandeAction',  '_format' => 'json',));
  884.                     }
  885.                     not_controle_rest_post_devis_front:
  886.                     if (=== strpos($pathinfo'/api/controle/filiale')) {
  887.                         // controle_rest_orders_by_filiale_count
  888.                         if (preg_match('#^/api/controle/filiale/(?P<filialeId>[^/]++)/commandes\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  889.                             if ('GET' !== $canonicalMethod) {
  890.                                 $allow[] = 'GET';
  891.                                 goto not_controle_rest_orders_by_filiale_count;
  892.                             }
  893.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_orders_by_filiale_count')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandesCSByFilialeCountAction',  '_format' => 'json',));
  894.                         }
  895.                         not_controle_rest_orders_by_filiale_count:
  896.                         // controle_rest_orders_treat_by_filiale_count
  897.                         if (preg_match('#^/api/controle/filiale/(?P<filialeId>[^/]++)/commandes\\-treat\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  898.                             if ('GET' !== $canonicalMethod) {
  899.                                 $allow[] = 'GET';
  900.                                 goto not_controle_rest_orders_treat_by_filiale_count;
  901.                             }
  902.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_orders_treat_by_filiale_count')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandesCSTreatedByFilialeCountAction',  '_format' => 'json',));
  903.                         }
  904.                         not_controle_rest_orders_treat_by_filiale_count:
  905.                         // controle_rest_orders_progr_by_filiale_count
  906.                         if (preg_match('#^/api/controle/filiale/(?P<filialeId>[^/]++)/commandes\\-prog\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  907.                             if ('GET' !== $canonicalMethod) {
  908.                                 $allow[] = 'GET';
  909.                                 goto not_controle_rest_orders_progr_by_filiale_count;
  910.                             }
  911.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_orders_progr_by_filiale_count')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandesCSProgressByFilialeCountAction',  '_format' => 'json',));
  912.                         }
  913.                         not_controle_rest_orders_progr_by_filiale_count:
  914.                         // controle_rest_ca_diag_by_filiale
  915.                         if (preg_match('#^/api/controle/filiale/(?P<filialeId>[^/]++)/commandes\\-ca\\-diag(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  916.                             if ('GET' !== $canonicalMethod) {
  917.                                 $allow[] = 'GET';
  918.                                 goto not_controle_rest_ca_diag_by_filiale;
  919.                             }
  920.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_ca_diag_by_filiale')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCaControleByFilialeAction',  '_format' => 'json',));
  921.                         }
  922.                         not_controle_rest_ca_diag_by_filiale:
  923.                         // get_commandes_controle_by_filiale
  924.                         if (preg_match('#^/api/controle/filiale/(?P<filialeId>[^/]++)/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  925.                             if ('GET' !== $canonicalMethod) {
  926.                                 $allow[] = 'GET';
  927.                                 goto not_get_commandes_controle_by_filiale;
  928.                             }
  929.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandes_controle_by_filiale')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandesCSByFilialeAction',  '_format' => 'json',));
  930.                         }
  931.                         not_get_commandes_controle_by_filiale:
  932.                         // get_ajax_commandes_controle_by_filiale
  933.                         if (preg_match('#^/api/controle/filiale/(?P<filialeId>[^/]++)/ajax\\-commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  934.                             if ('POST' !== $canonicalMethod) {
  935.                                 $allow[] = 'POST';
  936.                                 goto not_get_ajax_commandes_controle_by_filiale;
  937.                             }
  938.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_ajax_commandes_controle_by_filiale')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getAjaxCommandesCSByFilialeAction',  '_format' => 'json',));
  939.                         }
  940.                         not_get_ajax_commandes_controle_by_filiale:
  941.                         // get_devis_c_s_by_filiale
  942.                         if (preg_match('#^/api/controle/filiale/(?P<filialeId>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  943.                             if ('GET' !== $canonicalMethod) {
  944.                                 $allow[] = 'GET';
  945.                                 goto not_get_devis_c_s_by_filiale;
  946.                             }
  947.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devis_c_s_by_filiale')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::getDevisCSByFilialeAction',  '_format' => 'json',));
  948.                         }
  949.                         not_get_devis_c_s_by_filiale:
  950.                         // controle_rest_invoices_by_filiale_count
  951.                         if (preg_match('#^/api/controle/filiale/(?P<filialeId>[^/]++)/invoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  952.                             if ('GET' !== $canonicalMethod) {
  953.                                 $allow[] = 'GET';
  954.                                 goto not_controle_rest_invoices_by_filiale_count;
  955.                             }
  956.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_invoices_by_filiale_count')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::getInvoicesByFilialeCountAction',  '_format' => 'json',));
  957.                         }
  958.                         not_controle_rest_invoices_by_filiale_count:
  959.                         // get_factures_c_s_by_filiale
  960.                         if (preg_match('#^/api/controle/filiale/(?P<filialeId>[^/]++)/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  961.                             if ('GET' !== $canonicalMethod) {
  962.                                 $allow[] = 'GET';
  963.                                 goto not_get_factures_c_s_by_filiale;
  964.                             }
  965.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_factures_c_s_by_filiale')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::getFacturesCSByFilialeAction',  '_format' => 'json',));
  966.                         }
  967.                         not_get_factures_c_s_by_filiale:
  968.                     }
  969.                     elseif (=== strpos($pathinfo'/api/controle/factures')) {
  970.                         // controle_ajax_factures_cs
  971.                         if (=== strpos($pathinfo'/api/controle/factures-ajax') && preg_match('#^/api/controle/factures\\-ajax/(?P<type>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  972.                             if ('POST' !== $canonicalMethod) {
  973.                                 $allow[] = 'POST';
  974.                                 goto not_controle_ajax_factures_cs;
  975.                             }
  976.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_ajax_factures_cs')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::getFacturesCSAction',  '_format' => 'json',));
  977.                         }
  978.                         not_controle_ajax_factures_cs:
  979.                         // controle_rest_facture_by_id
  980.                         if (preg_match('#^/api/controle/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  981.                             if ('GET' !== $canonicalMethod) {
  982.                                 $allow[] = 'GET';
  983.                                 goto not_controle_rest_facture_by_id;
  984.                             }
  985.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_facture_by_id')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::getFactureAction',  '_format' => 'json',));
  986.                         }
  987.                         not_controle_rest_facture_by_id:
  988.                         // controle_rest_send_facture_by_mail
  989.                         if (=== strpos($pathinfo'/api/controle/factures/envoiemail') && preg_match('#^/api/controle/factures/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  990.                             if ('POST' !== $canonicalMethod) {
  991.                                 $allow[] = 'POST';
  992.                                 goto not_controle_rest_send_facture_by_mail;
  993.                             }
  994.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_send_facture_by_mail')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::sendFactureByEmailAction',  '_format' => 'json',));
  995.                         }
  996.                         not_controle_rest_send_facture_by_mail:
  997.                         // controle_rest_post_facture
  998.                         if (preg_match('#^/api/controle/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  999.                             if ('POST' !== $canonicalMethod) {
  1000.                                 $allow[] = 'POST';
  1001.                                 goto not_controle_rest_post_facture;
  1002.                             }
  1003.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_post_facture')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::postFacturesAction',  '_format' => 'json',));
  1004.                         }
  1005.                         not_controle_rest_post_facture:
  1006.                         // controle_rest_post_facture_by_commande
  1007.                         if (=== strpos($pathinfo'/api/controle/facturesbycommande') && preg_match('#^/api/controle/facturesbycommande(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1008.                             if ('POST' !== $canonicalMethod) {
  1009.                                 $allow[] = 'POST';
  1010.                                 goto not_controle_rest_post_facture_by_commande;
  1011.                             }
  1012.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_post_facture_by_commande')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::postFacturesByCommandeAction',  '_format' => 'json',));
  1013.                         }
  1014.                         not_controle_rest_post_facture_by_commande:
  1015.                         // controle_rest_put_facture
  1016.                         if (preg_match('#^/api/controle/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1017.                             if ('PUT' !== $canonicalMethod) {
  1018.                                 $allow[] = 'PUT';
  1019.                                 goto not_controle_rest_put_facture;
  1020.                             }
  1021.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_put_facture')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::updateFactureAction',  '_format' => 'json',));
  1022.                         }
  1023.                         not_controle_rest_put_facture:
  1024.                         // controle_rest_patch_facture
  1025.                         if (preg_match('#^/api/controle/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1026.                             if ('PATCH' !== $canonicalMethod) {
  1027.                                 $allow[] = 'PATCH';
  1028.                                 goto not_controle_rest_patch_facture;
  1029.                             }
  1030.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_patch_facture')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::patchFactureAction',  '_format' => 'json',));
  1031.                         }
  1032.                         not_controle_rest_patch_facture:
  1033.                         // controle_rest_delete_facture
  1034.                         if (preg_match('#^/api/controle/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1035.                             if ('DELETE' !== $canonicalMethod) {
  1036.                                 $allow[] = 'DELETE';
  1037.                                 goto not_controle_rest_delete_facture;
  1038.                             }
  1039.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_delete_facture')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::removeFactureAction',  '_format' => 'json',));
  1040.                         }
  1041.                         not_controle_rest_delete_facture:
  1042.                         // controle_rest_post_facture_fichier
  1043.                         if (preg_match('#^/api/controle/factures/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1044.                             if ('POST' !== $canonicalMethod) {
  1045.                                 $allow[] = 'POST';
  1046.                                 goto not_controle_rest_post_facture_fichier;
  1047.                             }
  1048.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_post_facture_fichier')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::postFactureFichierAction',  '_format' => 'json',));
  1049.                         }
  1050.                         not_controle_rest_post_facture_fichier:
  1051.                     }
  1052.                     elseif (=== strpos($pathinfo'/api/controle/telecharger-')) {
  1053.                         // controle_rest_telechargerCommande
  1054.                         if (=== strpos($pathinfo'/api/controle/telecharger-commande') && preg_match('#^/api/controle/telecharger\\-commande/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1055.                             if ('GET' !== $canonicalMethod) {
  1056.                                 $allow[] = 'GET';
  1057.                                 goto not_controle_rest_telechargerCommande;
  1058.                             }
  1059.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_telechargerCommande')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::telechargerCommandeAction',  '_format' => 'json',));
  1060.                         }
  1061.                         not_controle_rest_telechargerCommande:
  1062.                         // controle_rest_telechargerDevis_front
  1063.                         if (=== strpos($pathinfo'/api/controle/telecharger-devis') && preg_match('#^/api/controle/telecharger\\-devis/(?P<devisId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1064.                             if ('GET' !== $canonicalMethod) {
  1065.                                 $allow[] = 'GET';
  1066.                                 goto not_controle_rest_telechargerDevis_front;
  1067.                             }
  1068.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_telechargerDevis_front')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::telechargerDevisAction',  '_format' => 'json',));
  1069.                         }
  1070.                         not_controle_rest_telechargerDevis_front:
  1071.                         // controle_rest_telechargerFacture_front
  1072.                         if (=== strpos($pathinfo'/api/controle/telecharger-facture') && preg_match('#^/api/controle/telecharger\\-facture/(?P<factureId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1073.                             if ('GET' !== $canonicalMethod) {
  1074.                                 $allow[] = 'GET';
  1075.                                 goto not_controle_rest_telechargerFacture_front;
  1076.                             }
  1077.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_telechargerFacture_front')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::telechargerFactureAction',  '_format' => 'json',));
  1078.                         }
  1079.                         not_controle_rest_telechargerFacture_front:
  1080.                     }
  1081.                     // controle_rest_test
  1082.                     if (=== strpos($pathinfo'/api/controle/test') && preg_match('#^/api/controle/test(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1083.                         if ('GET' !== $canonicalMethod) {
  1084.                             $allow[] = 'GET';
  1085.                             goto not_controle_rest_test;
  1086.                         }
  1087.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_test')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::testAction',  '_format' => 'json',));
  1088.                     }
  1089.                     not_controle_rest_test:
  1090.                     // controle_rest_envoyeravisclient
  1091.                     if (=== strpos($pathinfo'/api/controle/envoyeravisclient') && preg_match('#^/api/controle/envoyeravisclient/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1092.                         if ('GET' !== $canonicalMethod) {
  1093.                             $allow[] = 'GET';
  1094.                             goto not_controle_rest_envoyeravisclient;
  1095.                         }
  1096.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_envoyeravisclient')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::envoyerAvisClientAction',  '_format' => 'json',));
  1097.                     }
  1098.                     not_controle_rest_envoyeravisclient:
  1099.                     if (=== strpos($pathinfo'/api/controle/secteur')) {
  1100.                         // get_commandes_c_s_by_secteur
  1101.                         if (preg_match('#^/api/controle/secteur/(?P<id>[^/]++)/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1102.                             if ('GET' !== $canonicalMethod) {
  1103.                                 $allow[] = 'GET';
  1104.                                 goto not_get_commandes_c_s_by_secteur;
  1105.                             }
  1106.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandes_c_s_by_secteur')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandesCSBySecteurAction',  '_format' => 'json',));
  1107.                         }
  1108.                         not_get_commandes_c_s_by_secteur:
  1109.                         // get_count_commandes_by_user_and_secteur
  1110.                         if (preg_match('#^/api/controle/secteur/(?P<secteurId>[^/]++)/commandes/count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1111.                             if ('GET' !== $canonicalMethod) {
  1112.                                 $allow[] = 'GET';
  1113.                                 goto not_get_count_commandes_by_user_and_secteur;
  1114.                             }
  1115.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_count_commandes_by_user_and_secteur')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCountCommandesByUserAndSecteurAction',  '_format' => 'json',));
  1116.                         }
  1117.                         not_get_count_commandes_by_user_and_secteur:
  1118.                         // get_devis_c_s_by_secteur
  1119.                         if (preg_match('#^/api/controle/secteur/(?P<id>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1120.                             if ('GET' !== $canonicalMethod) {
  1121.                                 $allow[] = 'GET';
  1122.                                 goto not_get_devis_c_s_by_secteur;
  1123.                             }
  1124.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devis_c_s_by_secteur')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::getDevisCSBySecteurAction',  '_format' => 'json',));
  1125.                         }
  1126.                         not_get_devis_c_s_by_secteur:
  1127.                         // get_count_devis_by_user_and_secteur
  1128.                         if (preg_match('#^/api/controle/secteur/(?P<secteurId>[^/]++)/devis/count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1129.                             if ('GET' !== $canonicalMethod) {
  1130.                                 $allow[] = 'GET';
  1131.                                 goto not_get_count_devis_by_user_and_secteur;
  1132.                             }
  1133.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_count_devis_by_user_and_secteur')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::getCountDevisByUserAndSecteurAction',  '_format' => 'json',));
  1134.                         }
  1135.                         not_get_count_devis_by_user_and_secteur:
  1136.                         // get_factures_c_s_by_secteur
  1137.                         if (preg_match('#^/api/controle/secteur/(?P<id>[^/]++)/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1138.                             if ('GET' !== $canonicalMethod) {
  1139.                                 $allow[] = 'GET';
  1140.                                 goto not_get_factures_c_s_by_secteur;
  1141.                             }
  1142.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_factures_c_s_by_secteur')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::getFacturesCSBySecteurAction',  '_format' => 'json',));
  1143.                         }
  1144.                         not_get_factures_c_s_by_secteur:
  1145.                     }
  1146.                     // get_r_d_v_by_secteur
  1147.                     if (=== strpos($pathinfo'/api/controle/rdv') && preg_match('#^/api/controle/rdv/(?P<id>[^/]++)/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1148.                         if ('GET' !== $canonicalMethod) {
  1149.                             $allow[] = 'GET';
  1150.                             goto not_get_r_d_v_by_secteur;
  1151.                         }
  1152.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_r_d_v_by_secteur')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getRDVBySecteurAction',  '_format' => 'json',));
  1153.                     }
  1154.                     not_get_r_d_v_by_secteur:
  1155.                     // controle_rest_relance
  1156.                     if (=== strpos($pathinfo'/api/controle/relancefacturesimpayees') && preg_match('#^/api/controle/relancefacturesimpayees(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1157.                         if ('GET' !== $canonicalMethod) {
  1158.                             $allow[] = 'GET';
  1159.                             goto not_controle_rest_relance;
  1160.                         }
  1161.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_relance')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::relanceFacturesImpayeesAction',  '_format' => 'json',));
  1162.                     }
  1163.                     not_controle_rest_relance:
  1164.                     if (=== strpos($pathinfo'/api/controle/user')) {
  1165.                         // get_commandes_by_user_and_secteur
  1166.                         if (preg_match('#^/api/controle/user/(?P<userId>[^/]++)/secteur/(?P<secteurId>[^/]++)/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1167.                             if ('GET' !== $canonicalMethod) {
  1168.                                 $allow[] = 'GET';
  1169.                                 goto not_get_commandes_by_user_and_secteur;
  1170.                             }
  1171.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandes_by_user_and_secteur')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandesByUserAndSecteurAction',  '_format' => 'json',));
  1172.                         }
  1173.                         not_get_commandes_by_user_and_secteur:
  1174.                         // get_commandes_c_s_by_customer
  1175.                         if (preg_match('#^/api/controle/user/(?P<userId>[^/]++)/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1176.                             if ('GET' !== $canonicalMethod) {
  1177.                                 $allow[] = 'GET';
  1178.                                 goto not_get_commandes_c_s_by_customer;
  1179.                             }
  1180.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandes_c_s_by_customer')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandesCSByCustomerAction',  '_format' => 'json',));
  1181.                         }
  1182.                         not_get_commandes_c_s_by_customer:
  1183.                         // get_devis_c_s_by_user_and_secteur
  1184.                         if (preg_match('#^/api/controle/user/(?P<userId>[^/]++)/secteur/(?P<secteurId>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1185.                             if ('GET' !== $canonicalMethod) {
  1186.                                 $allow[] = 'GET';
  1187.                                 goto not_get_devis_c_s_by_user_and_secteur;
  1188.                             }
  1189.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devis_c_s_by_user_and_secteur')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::getDevisCSByUserAndSecteurAction',  '_format' => 'json',));
  1190.                         }
  1191.                         not_get_devis_c_s_by_user_and_secteur:
  1192.                         // controle_get_devis_by_customer
  1193.                         if (preg_match('#^/api/controle/user/(?P<userId>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1194.                             if ('GET' !== $canonicalMethod) {
  1195.                                 $allow[] = 'GET';
  1196.                                 goto not_controle_get_devis_by_customer;
  1197.                             }
  1198.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_get_devis_by_customer')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::getDevisCSByCustomerAction',  '_format' => 'json',));
  1199.                         }
  1200.                         not_controle_get_devis_by_customer:
  1201.                         // get_factures_c_s_by_customer
  1202.                         if (preg_match('#^/api/controle/user/(?P<userId>[^/]++)/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1203.                             if ('GET' !== $canonicalMethod) {
  1204.                                 $allow[] = 'GET';
  1205.                                 goto not_get_factures_c_s_by_customer;
  1206.                             }
  1207.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_factures_c_s_by_customer')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::getFacturesCSByCustomerAction',  '_format' => 'json',));
  1208.                         }
  1209.                         not_get_factures_c_s_by_customer:
  1210.                     }
  1211.                     // controle_rest_unpaid_invoices_count
  1212.                     if (=== strpos($pathinfo'/api/controle/unpaidinvoices-count') && preg_match('#^/api/controle/unpaidinvoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1213.                         if ('GET' !== $canonicalMethod) {
  1214.                             $allow[] = 'GET';
  1215.                             goto not_controle_rest_unpaid_invoices_count;
  1216.                         }
  1217.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_unpaid_invoices_count')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::getUnpaidInvoicesCountAction',  '_format' => 'json',));
  1218.                     }
  1219.                     not_controle_rest_unpaid_invoices_count:
  1220.                     if (=== strpos($pathinfo'/api/controle/devis')) {
  1221.                         // controle_rest_post_commande_from_devis
  1222.                         if (preg_match('#^/api/controle/devis/(?P<devisId>[^/]++)/commande(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1223.                             if ('GET' !== $canonicalMethod) {
  1224.                                 $allow[] = 'GET';
  1225.                                 goto not_controle_rest_post_commande_from_devis;
  1226.                             }
  1227.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_post_commande_from_devis')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::postCommandeFromDevisAction',  '_format' => 'json',));
  1228.                         }
  1229.                         not_controle_rest_post_commande_from_devis:
  1230.                         if (=== strpos($pathinfo'/api/controle/devis-count')) {
  1231.                             // controle_rest_devis_by_filiale_count
  1232.                             if (preg_match('#^/api/controle/devis\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1233.                                 if ('GET' !== $canonicalMethod) {
  1234.                                     $allow[] = 'GET';
  1235.                                     goto not_controle_rest_devis_by_filiale_count;
  1236.                                 }
  1237.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_devis_by_filiale_count')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::getDevisCSByFilialeCountAction',  '_format' => 'json',));
  1238.                             }
  1239.                             not_controle_rest_devis_by_filiale_count:
  1240.                             // controle_rest_devis_count
  1241.                             if (preg_match('#^/api/controle/devis\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1242.                                 if ('GET' !== $canonicalMethod) {
  1243.                                     $allow[] = 'GET';
  1244.                                     goto not_controle_rest_devis_count;
  1245.                                 }
  1246.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_devis_count')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::getDevisCSCountAction',  '_format' => 'json',));
  1247.                             }
  1248.                             not_controle_rest_devis_count:
  1249.                         }
  1250.                         // controle_rest_send_devis_by_email
  1251.                         if (=== strpos($pathinfo'/api/controle/devis/envoiemail') && preg_match('#^/api/controle/devis/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1252.                             if ('POST' !== $canonicalMethod) {
  1253.                                 $allow[] = 'POST';
  1254.                                 goto not_controle_rest_send_devis_by_email;
  1255.                             }
  1256.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_send_devis_by_email')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::sendDevisByEmailAction',  '_format' => 'json',));
  1257.                         }
  1258.                         not_controle_rest_send_devis_by_email:
  1259.                         // get_devis_c_s
  1260.                         if (preg_match('#^/api/controle/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1261.                             if ('GET' !== $canonicalMethod) {
  1262.                                 $allow[] = 'GET';
  1263.                                 goto not_get_devis_c_s;
  1264.                             }
  1265.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devis_c_s')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::getDevisCSAction',  '_format' => 'json',));
  1266.                         }
  1267.                         not_get_devis_c_s:
  1268.                         // get_ajax_devis_controle_by_filiale
  1269.                         if (=== strpos($pathinfo'/api/controle/devis-ajax') && preg_match('#^/api/controle/devis\\-ajax(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1270.                             if ('POST' !== $canonicalMethod) {
  1271.                                 $allow[] = 'POST';
  1272.                                 goto not_get_ajax_devis_controle_by_filiale;
  1273.                             }
  1274.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_ajax_devis_controle_by_filiale')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::getAjaxDevisByFilialeAction',  '_format' => 'json',));
  1275.                         }
  1276.                         not_get_ajax_devis_controle_by_filiale:
  1277.                         // get_un_devis
  1278.                         if (preg_match('#^/api/controle/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1279.                             if ('GET' !== $canonicalMethod) {
  1280.                                 $allow[] = 'GET';
  1281.                                 goto not_get_un_devis;
  1282.                             }
  1283.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_un_devis')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::getUnDevisAction',  '_format' => 'json',));
  1284.                         }
  1285.                         not_get_un_devis:
  1286.                         // controle_rest_post_devis
  1287.                         if (preg_match('#^/api/controle/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1288.                             if ('POST' !== $canonicalMethod) {
  1289.                                 $allow[] = 'POST';
  1290.                                 goto not_controle_rest_post_devis;
  1291.                             }
  1292.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_post_devis')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::postDevisAction',  '_format' => 'json',));
  1293.                         }
  1294.                         not_controle_rest_post_devis:
  1295.                         // controle_rest_put_devis
  1296.                         if (preg_match('#^/api/controle/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1297.                             if ('PUT' !== $canonicalMethod) {
  1298.                                 $allow[] = 'PUT';
  1299.                                 goto not_controle_rest_put_devis;
  1300.                             }
  1301.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_put_devis')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::updateDevisAction',  '_format' => 'json',));
  1302.                         }
  1303.                         not_controle_rest_put_devis:
  1304.                         // controle_rest_patch_devis
  1305.                         if (preg_match('#^/api/controle/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1306.                             if ('PATCH' !== $canonicalMethod) {
  1307.                                 $allow[] = 'PATCH';
  1308.                                 goto not_controle_rest_patch_devis;
  1309.                             }
  1310.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_patch_devis')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::patchDevisAction',  '_format' => 'json',));
  1311.                         }
  1312.                         not_controle_rest_patch_devis:
  1313.                         // controle_rest_delete_devis
  1314.                         if (preg_match('#^/api/controle/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1315.                             if ('DELETE' !== $canonicalMethod) {
  1316.                                 $allow[] = 'DELETE';
  1317.                                 goto not_controle_rest_delete_devis;
  1318.                             }
  1319.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_delete_devis')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::removeDevisAction',  '_format' => 'json',));
  1320.                         }
  1321.                         not_controle_rest_delete_devis:
  1322.                         // controle_rest_post_devis_fichier
  1323.                         if (preg_match('#^/api/controle/devis/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1324.                             if ('POST' !== $canonicalMethod) {
  1325.                                 $allow[] = 'POST';
  1326.                                 goto not_controle_rest_post_devis_fichier;
  1327.                             }
  1328.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_post_devis_fichier')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::postDevisFichierAction',  '_format' => 'json',));
  1329.                         }
  1330.                         not_controle_rest_post_devis_fichier:
  1331.                     }
  1332.                     // controle_rest_invoices_count
  1333.                     if (=== strpos($pathinfo'/api/controle/invoices-count') && preg_match('#^/api/controle/invoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1334.                         if ('GET' !== $canonicalMethod) {
  1335.                             $allow[] = 'GET';
  1336.                             goto not_controle_rest_invoices_count;
  1337.                         }
  1338.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_invoices_count')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::getInvoicesCountAction',  '_format' => 'json',));
  1339.                     }
  1340.                     not_controle_rest_invoices_count:
  1341.                     // controle_rest_paid_invoices_count
  1342.                     if (=== strpos($pathinfo'/api/controle/paidinvoices-count') && preg_match('#^/api/controle/paidinvoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1343.                         if ('GET' !== $canonicalMethod) {
  1344.                             $allow[] = 'GET';
  1345.                             goto not_controle_rest_paid_invoices_count;
  1346.                         }
  1347.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_paid_invoices_count')), array (  '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::getPaidInvoicesCountAction',  '_format' => 'json',));
  1348.                     }
  1349.                     not_controle_rest_paid_invoices_count:
  1350.                 }
  1351.                 elseif (=== strpos($pathinfo'/api/combinaisons')) {
  1352.                     // update_combinaison
  1353.                     if (preg_match('#^/api/combinaisons/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1354.                         if ('PUT' !== $canonicalMethod) {
  1355.                             $allow[] = 'PUT';
  1356.                             goto not_update_combinaison;
  1357.                         }
  1358.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_combinaison')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CombinaisonRestController::updateCombinaisonAction',  '_format' => 'json',));
  1359.                     }
  1360.                     not_update_combinaison:
  1361.                     // remove_combinaison
  1362.                     if (preg_match('#^/api/combinaisons/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1363.                         if ('DELETE' !== $canonicalMethod) {
  1364.                             $allow[] = 'DELETE';
  1365.                             goto not_remove_combinaison;
  1366.                         }
  1367.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_combinaison')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CombinaisonRestController::removeCombinaisonAction',  '_format' => 'json',));
  1368.                     }
  1369.                     not_remove_combinaison:
  1370.                     // get_combinaisons
  1371.                     if (preg_match('#^/api/combinaisons(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1372.                         if ('GET' !== $canonicalMethod) {
  1373.                             $allow[] = 'GET';
  1374.                             goto not_get_combinaisons;
  1375.                         }
  1376.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_combinaisons')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CombinaisonRestController::getCombinaisonsAction',  '_format' => 'json',));
  1377.                     }
  1378.                     not_get_combinaisons:
  1379.                     // get_combinaison
  1380.                     if (preg_match('#^/api/combinaisons/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1381.                         if ('GET' !== $canonicalMethod) {
  1382.                             $allow[] = 'GET';
  1383.                             goto not_get_combinaison;
  1384.                         }
  1385.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_combinaison')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CombinaisonRestController::getCombinaisonAction',  '_format' => 'json',));
  1386.                     }
  1387.                     not_get_combinaison:
  1388.                     // post_combinaisons
  1389.                     if (preg_match('#^/api/combinaisons(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1390.                         if ('POST' !== $canonicalMethod) {
  1391.                             $allow[] = 'POST';
  1392.                             goto not_post_combinaisons;
  1393.                         }
  1394.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_combinaisons')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CombinaisonRestController::postCombinaisonsAction',  '_format' => 'json',));
  1395.                     }
  1396.                     not_post_combinaisons:
  1397.                     // patch_combinaison
  1398.                     if (preg_match('#^/api/combinaisons/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1399.                         if ('PATCH' !== $canonicalMethod) {
  1400.                             $allow[] = 'PATCH';
  1401.                             goto not_patch_combinaison;
  1402.                         }
  1403.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_combinaison')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CombinaisonRestController::patchCombinaisonAction',  '_format' => 'json',));
  1404.                     }
  1405.                     not_patch_combinaison:
  1406.                 }
  1407.                 elseif (=== strpos($pathinfo'/api/code')) {
  1408.                     if (=== strpos($pathinfo'/api/codepromotions')) {
  1409.                         // update_code_promotion
  1410.                         if (preg_match('#^/api/codepromotions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1411.                             if ('PUT' !== $canonicalMethod) {
  1412.                                 $allow[] = 'PUT';
  1413.                                 goto not_update_code_promotion;
  1414.                             }
  1415.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_code_promotion')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePromotionRestController::updateCodePromotionAction',  '_format' => 'json',));
  1416.                         }
  1417.                         not_update_code_promotion:
  1418.                         // remove_code_promotion
  1419.                         if (preg_match('#^/api/codepromotions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1420.                             if ('DELETE' !== $canonicalMethod) {
  1421.                                 $allow[] = 'DELETE';
  1422.                                 goto not_remove_code_promotion;
  1423.                             }
  1424.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_code_promotion')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePromotionRestController::removeCodePromotionAction',  '_format' => 'json',));
  1425.                         }
  1426.                         not_remove_code_promotion:
  1427.                         // get_code_promotions
  1428.                         if (preg_match('#^/api/codepromotions(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1429.                             if ('GET' !== $canonicalMethod) {
  1430.                                 $allow[] = 'GET';
  1431.                                 goto not_get_code_promotions;
  1432.                             }
  1433.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_code_promotions')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePromotionRestController::getCodePromotionsAction',  '_format' => 'json',));
  1434.                         }
  1435.                         not_get_code_promotions:
  1436.                         // get_code_promotion
  1437.                         if (preg_match('#^/api/codepromotions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1438.                             if ('GET' !== $canonicalMethod) {
  1439.                                 $allow[] = 'GET';
  1440.                                 goto not_get_code_promotion;
  1441.                             }
  1442.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_code_promotion')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePromotionRestController::getCodePromotionAction',  '_format' => 'json',));
  1443.                         }
  1444.                         not_get_code_promotion:
  1445.                         // post_code_promotions
  1446.                         if (preg_match('#^/api/codepromotions(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1447.                             if ('POST' !== $canonicalMethod) {
  1448.                                 $allow[] = 'POST';
  1449.                                 goto not_post_code_promotions;
  1450.                             }
  1451.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_code_promotions')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePromotionRestController::postCodePromotionsAction',  '_format' => 'json',));
  1452.                         }
  1453.                         not_post_code_promotions:
  1454.                         // patch_code_promotion
  1455.                         if (preg_match('#^/api/codepromotions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1456.                             if ('PATCH' !== $canonicalMethod) {
  1457.                                 $allow[] = 'PATCH';
  1458.                                 goto not_patch_code_promotion;
  1459.                             }
  1460.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_code_promotion')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePromotionRestController::patchCodePromotionAction',  '_format' => 'json',));
  1461.                         }
  1462.                         not_patch_code_promotion:
  1463.                     }
  1464.                     elseif (=== strpos($pathinfo'/api/codepostals')) {
  1465.                         // config_rest_zipvilles
  1466.                         if (=== strpos($pathinfo'/api/codepostalsVilles') && preg_match('#^/api/codepostalsVilles(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1467.                             if ('GET' !== $canonicalMethod) {
  1468.                                 $allow[] = 'GET';
  1469.                                 goto not_config_rest_zipvilles;
  1470.                             }
  1471.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_rest_zipvilles')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePostalRestController::getCodePostalsVillesAction',  '_format' => 'json',));
  1472.                         }
  1473.                         not_config_rest_zipvilles:
  1474.                         // update_code_postal
  1475.                         if (preg_match('#^/api/codepostals/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1476.                             if ('PUT' !== $canonicalMethod) {
  1477.                                 $allow[] = 'PUT';
  1478.                                 goto not_update_code_postal;
  1479.                             }
  1480.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_code_postal')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePostalRestController::updateCodePostalAction',  '_format' => 'json',));
  1481.                         }
  1482.                         not_update_code_postal:
  1483.                         // remove_code_postal
  1484.                         if (preg_match('#^/api/codepostals/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1485.                             if ('DELETE' !== $canonicalMethod) {
  1486.                                 $allow[] = 'DELETE';
  1487.                                 goto not_remove_code_postal;
  1488.                             }
  1489.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_code_postal')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePostalRestController::removeCodePostalAction',  '_format' => 'json',));
  1490.                         }
  1491.                         not_remove_code_postal:
  1492.                         // get_code_postals
  1493.                         if (preg_match('#^/api/codepostals(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1494.                             if ('GET' !== $canonicalMethod) {
  1495.                                 $allow[] = 'GET';
  1496.                                 goto not_get_code_postals;
  1497.                             }
  1498.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_code_postals')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePostalRestController::getCodePostalsAction',  '_format' => 'json',));
  1499.                         }
  1500.                         not_get_code_postals:
  1501.                         // post_code_postals
  1502.                         if (preg_match('#^/api/codepostals(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1503.                             if ('POST' !== $canonicalMethod) {
  1504.                                 $allow[] = 'POST';
  1505.                                 goto not_post_code_postals;
  1506.                             }
  1507.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_code_postals')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePostalRestController::postCodePostalsAction',  '_format' => 'json',));
  1508.                         }
  1509.                         not_post_code_postals:
  1510.                         // patch_code_postal
  1511.                         if (preg_match('#^/api/codepostals/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1512.                             if ('PATCH' !== $canonicalMethod) {
  1513.                                 $allow[] = 'PATCH';
  1514.                                 goto not_patch_code_postal;
  1515.                             }
  1516.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_code_postal')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePostalRestController::patchCodePostalAction',  '_format' => 'json',));
  1517.                         }
  1518.                         not_patch_code_postal:
  1519.                         // config_rest_zipvilles_erp
  1520.                         if (=== strpos($pathinfo'/api/codepostalsVillesERP') && preg_match('#^/api/codepostalsVillesERP(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1521.                             if ('GET' !== $canonicalMethod) {
  1522.                                 $allow[] = 'GET';
  1523.                                 goto not_config_rest_zipvilles_erp;
  1524.                             }
  1525.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_rest_zipvilles_erp')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePostalERPRestController::getCodePostalsVillesAction',  '_format' => 'json',));
  1526.                         }
  1527.                         not_config_rest_zipvilles_erp:
  1528.                     }
  1529.                     // config_rest_codeinsee
  1530.                     if (=== strpos($pathinfo'/api/codeinsee/') && preg_match('#^/api/codeinsee/(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1531.                         if ('POST' !== $canonicalMethod) {
  1532.                             $allow[] = 'POST';
  1533.                             goto not_config_rest_codeinsee;
  1534.                         }
  1535.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_rest_codeinsee')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePostalRestController::getInseeByZipVillesAction',  '_format' => 'json',));
  1536.                     }
  1537.                     not_config_rest_codeinsee:
  1538.                 }
  1539.             }
  1540.             elseif (=== strpos($pathinfo'/api/backup')) {
  1541.                 // backup_rest_config_parameters
  1542.                 if (=== strpos($pathinfo'/api/backup/parameters') && preg_match('#^/api/backup/parameters(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1543.                     if ('GET' !== $canonicalMethod) {
  1544.                         $allow[] = 'GET';
  1545.                         goto not_backup_rest_config_parameters;
  1546.                     }
  1547.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_rest_config_parameters')), array (  '_controller' => 'BackupBundle\\Controller\\Rest\\ConfigRestController::exportRemoteAction',  '_format' => 'json',));
  1548.                 }
  1549.                 not_backup_rest_config_parameters:
  1550.                 if (=== strpos($pathinfo'/api/backup/config')) {
  1551.                     // backup_rest_config_post_items
  1552.                     if (preg_match('#^/api/backup/config(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1553.                         if ('POST' !== $canonicalMethod) {
  1554.                             $allow[] = 'POST';
  1555.                             goto not_backup_rest_config_post_items;
  1556.                         }
  1557.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_rest_config_post_items')), array (  '_controller' => 'BackupBundle\\Controller\\Rest\\ConfigRestController::postConfigsAction',  '_format' => 'json',));
  1558.                     }
  1559.                     not_backup_rest_config_post_items:
  1560.                     // backup_rest_config_put_item
  1561.                     if (preg_match('#^/api/backup/config/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1562.                         if ('PUT' !== $canonicalMethod) {
  1563.                             $allow[] = 'PUT';
  1564.                             goto not_backup_rest_config_put_item;
  1565.                         }
  1566.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_rest_config_put_item')), array (  '_controller' => 'BackupBundle\\Controller\\Rest\\ConfigRestController::putConfigAction',  '_format' => 'json',));
  1567.                     }
  1568.                     not_backup_rest_config_put_item:
  1569.                     // backup_rest_config_patch_item
  1570.                     if (preg_match('#^/api/backup/config/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1571.                         if ('PATCH' !== $canonicalMethod) {
  1572.                             $allow[] = 'PATCH';
  1573.                             goto not_backup_rest_config_patch_item;
  1574.                         }
  1575.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_rest_config_patch_item')), array (  '_controller' => 'BackupBundle\\Controller\\Rest\\ConfigRestController::patchConfigAction',  '_format' => 'json',));
  1576.                     }
  1577.                     not_backup_rest_config_patch_item:
  1578.                     // backup_rest_config_delete_item
  1579.                     if (preg_match('#^/api/backup/config/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1580.                         if ('DELETE' !== $canonicalMethod) {
  1581.                             $allow[] = 'DELETE';
  1582.                             goto not_backup_rest_config_delete_item;
  1583.                         }
  1584.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_rest_config_delete_item')), array (  '_controller' => 'BackupBundle\\Controller\\Rest\\ConfigRestController::removeConfigAction',  '_format' => 'json',));
  1585.                     }
  1586.                     not_backup_rest_config_delete_item:
  1587.                 }
  1588.                 // backup_rest_bk_full
  1589.                 if (=== strpos($pathinfo'/api/backup/bk-full') && preg_match('#^/api/backup/bk\\-full(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1590.                     if ('GET' !== $canonicalMethod) {
  1591.                         $allow[] = 'GET';
  1592.                         goto not_backup_rest_bk_full;
  1593.                     }
  1594.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_rest_bk_full')), array (  '_controller' => 'BackupBundle\\Controller\\Rest\\ExportRestController::fullBackupAction',  '_format' => 'json',));
  1595.                 }
  1596.                 not_backup_rest_bk_full:
  1597.             }
  1598.             elseif (=== strpos($pathinfo'/api/banques')) {
  1599.                 // update_banque
  1600.                 if (preg_match('#^/api/banques/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1601.                     if ('PUT' !== $canonicalMethod) {
  1602.                         $allow[] = 'PUT';
  1603.                         goto not_update_banque;
  1604.                     }
  1605.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_banque')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\BanqueRestController::updateBanqueAction',  '_format' => 'json',));
  1606.                 }
  1607.                 not_update_banque:
  1608.                 // remove_banque
  1609.                 if (preg_match('#^/api/banques/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1610.                     if ('DELETE' !== $canonicalMethod) {
  1611.                         $allow[] = 'DELETE';
  1612.                         goto not_remove_banque;
  1613.                     }
  1614.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_banque')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\BanqueRestController::removeBanqueAction',  '_format' => 'json',));
  1615.                 }
  1616.                 not_remove_banque:
  1617.                 // get_banques
  1618.                 if (preg_match('#^/api/banques(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1619.                     if ('GET' !== $canonicalMethod) {
  1620.                         $allow[] = 'GET';
  1621.                         goto not_get_banques;
  1622.                     }
  1623.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_banques')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\BanqueRestController::getBanquesAction',  '_format' => 'json',));
  1624.                 }
  1625.                 not_get_banques:
  1626.                 // get_banque
  1627.                 if (preg_match('#^/api/banques/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1628.                     if ('GET' !== $canonicalMethod) {
  1629.                         $allow[] = 'GET';
  1630.                         goto not_get_banque;
  1631.                     }
  1632.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_banque')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\BanqueRestController::getBanqueAction',  '_format' => 'json',));
  1633.                 }
  1634.                 not_get_banque:
  1635.                 // post_banques
  1636.                 if (preg_match('#^/api/banques(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1637.                     if ('POST' !== $canonicalMethod) {
  1638.                         $allow[] = 'POST';
  1639.                         goto not_post_banques;
  1640.                     }
  1641.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_banques')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\BanqueRestController::postBanquesAction',  '_format' => 'json',));
  1642.                 }
  1643.                 not_post_banques:
  1644.                 // patch_banque
  1645.                 if (preg_match('#^/api/banques/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1646.                     if ('PATCH' !== $canonicalMethod) {
  1647.                         $allow[] = 'PATCH';
  1648.                         goto not_patch_banque;
  1649.                     }
  1650.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_banque')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\BanqueRestController::patchBanqueAction',  '_format' => 'json',));
  1651.                 }
  1652.                 not_patch_banque:
  1653.             }
  1654.             elseif (=== strpos($pathinfo'/api/d')) {
  1655.                 // get_commandes_by_customerget_commandes_by_lead
  1656.                 if (=== strpos($pathinfo'/api/dashboard/commercialapp/user') && preg_match('#^/api/dashboard/commercialapp/user/(?P<userId>[^/]++)/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1657.                     if ('GET' !== $canonicalMethod) {
  1658.                         $allow[] = 'GET';
  1659.                         goto not_get_commandes_by_customerget_commandes_by_lead;
  1660.                     }
  1661.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandes_by_customerget_commandes_by_lead')), array (  '_controller' => 'DashboardBundle\\Controller\\Rest\\CommandeRestController::getCommandesByCustomerAction',  '_format' => 'json',));
  1662.                 }
  1663.                 not_get_commandes_by_customerget_commandes_by_lead:
  1664.                 if (=== strpos($pathinfo'/api/dateconstructions')) {
  1665.                     // update_dateconstruction
  1666.                     if (preg_match('#^/api/dateconstructions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1667.                         if ('PUT' !== $canonicalMethod) {
  1668.                             $allow[] = 'PUT';
  1669.                             goto not_update_dateconstruction;
  1670.                         }
  1671.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_dateconstruction')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\DateConstructionRestController::updateDateconstructionAction',  '_format' => 'json',));
  1672.                     }
  1673.                     not_update_dateconstruction:
  1674.                     // remove_dateconstruction
  1675.                     if (preg_match('#^/api/dateconstructions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1676.                         if ('DELETE' !== $canonicalMethod) {
  1677.                             $allow[] = 'DELETE';
  1678.                             goto not_remove_dateconstruction;
  1679.                         }
  1680.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_dateconstruction')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\DateConstructionRestController::removeDateconstructionAction',  '_format' => 'json',));
  1681.                     }
  1682.                     not_remove_dateconstruction:
  1683.                     // get_dateconstructions
  1684.                     if (preg_match('#^/api/dateconstructions(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1685.                         if ('GET' !== $canonicalMethod) {
  1686.                             $allow[] = 'GET';
  1687.                             goto not_get_dateconstructions;
  1688.                         }
  1689.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_dateconstructions')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\DateConstructionRestController::getDateconstructionsAction',  '_format' => 'json',));
  1690.                     }
  1691.                     not_get_dateconstructions:
  1692.                     // get_dateconstruction
  1693.                     if (preg_match('#^/api/dateconstructions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1694.                         if ('GET' !== $canonicalMethod) {
  1695.                             $allow[] = 'GET';
  1696.                             goto not_get_dateconstruction;
  1697.                         }
  1698.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_dateconstruction')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\DateConstructionRestController::getDateconstructionAction',  '_format' => 'json',));
  1699.                     }
  1700.                     not_get_dateconstruction:
  1701.                     // post_dateconstructions
  1702.                     if (preg_match('#^/api/dateconstructions(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1703.                         if ('POST' !== $canonicalMethod) {
  1704.                             $allow[] = 'POST';
  1705.                             goto not_post_dateconstructions;
  1706.                         }
  1707.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_dateconstructions')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\DateConstructionRestController::postDateconstructionsAction',  '_format' => 'json',));
  1708.                     }
  1709.                     not_post_dateconstructions:
  1710.                     // patch_dateconstruction
  1711.                     if (preg_match('#^/api/dateconstructions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1712.                         if ('PATCH' !== $canonicalMethod) {
  1713.                             $allow[] = 'PATCH';
  1714.                             goto not_patch_dateconstruction;
  1715.                         }
  1716.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_dateconstruction')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\DateConstructionRestController::patchDateconstructionAction',  '_format' => 'json',));
  1717.                     }
  1718.                     not_patch_dateconstruction:
  1719.                 }
  1720.                 elseif (=== strpos($pathinfo'/api/diagnostic-immobilier')) {
  1721.                     if (=== strpos($pathinfo'/api/diagnostic-immobilier/commandes')) {
  1722.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/commandes-')) {
  1723.                             if (=== strpos($pathinfo'/api/diagnostic-immobilier/commandes-c')) {
  1724.                                 // diagnostic_rest_diag_commandes_list
  1725.                                 if (=== strpos($pathinfo'/api/diagnostic-immobilier/commandes-confirmees-list') && preg_match('#^/api/diagnostic\\-immobilier/commandes\\-confirmees\\-list(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1726.                                     if ('GET' !== $canonicalMethod) {
  1727.                                         $allow[] = 'GET';
  1728.                                         goto not_diagnostic_rest_diag_commandes_list;
  1729.                                     }
  1730.                                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_diag_commandes_list')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getCommandesListAction',  '_format' => 'json',));
  1731.                                 }
  1732.                                 not_diagnostic_rest_diag_commandes_list:
  1733.                                 // diagnostic_rest_ca_g
  1734.                                 if (=== strpos($pathinfo'/api/diagnostic-immobilier/commandes-ca-g') && preg_match('#^/api/diagnostic\\-immobilier/commandes\\-ca\\-g(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1735.                                     if ('GET' !== $canonicalMethod) {
  1736.                                         $allow[] = 'GET';
  1737.                                         goto not_diagnostic_rest_ca_g;
  1738.                                     }
  1739.                                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_ca_g')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getCaGlobalAction',  '_format' => 'json',));
  1740.                                 }
  1741.                                 not_diagnostic_rest_ca_g:
  1742.                                 // diagnostic_rest_ca_diag
  1743.                                 if (=== strpos($pathinfo'/api/diagnostic-immobilier/commandes-ca-diag') && preg_match('#^/api/diagnostic\\-immobilier/commandes\\-ca\\-diag(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1744.                                     if ('GET' !== $canonicalMethod) {
  1745.                                         $allow[] = 'GET';
  1746.                                         goto not_diagnostic_rest_ca_diag;
  1747.                                     }
  1748.                                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_ca_diag')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getCaDiagnosticAction',  '_format' => 'json',));
  1749.                                 }
  1750.                                 not_diagnostic_rest_ca_diag:
  1751.                             }
  1752.                             // diagnostic_rest_orders_treat_count
  1753.                             if (=== strpos($pathinfo'/api/diagnostic-immobilier/commandes-treat-count') && preg_match('#^/api/diagnostic\\-immobilier/commandes\\-treat\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1754.                                 if ('GET' !== $canonicalMethod) {
  1755.                                     $allow[] = 'GET';
  1756.                                     goto not_diagnostic_rest_orders_treat_count;
  1757.                                 }
  1758.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_orders_treat_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getCommandesTreatedCountAction',  '_format' => 'json',));
  1759.                             }
  1760.                             not_diagnostic_rest_orders_treat_count:
  1761.                             // diagnostic_rest_orders_progr_count
  1762.                             if (=== strpos($pathinfo'/api/diagnostic-immobilier/commandes-prog-count') && preg_match('#^/api/diagnostic\\-immobilier/commandes\\-prog\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1763.                                 if ('GET' !== $canonicalMethod) {
  1764.                                     $allow[] = 'GET';
  1765.                                     goto not_diagnostic_rest_orders_progr_count;
  1766.                                 }
  1767.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_orders_progr_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getCommandesProgressCountAction',  '_format' => 'json',));
  1768.                             }
  1769.                             not_diagnostic_rest_orders_progr_count:
  1770.                         }
  1771.                         // diagnostic_rest_send_commande_by_email
  1772.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/commandes/envoiemail') && preg_match('#^/api/diagnostic\\-immobilier/commandes/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1773.                             if ('POST' !== $canonicalMethod) {
  1774.                                 $allow[] = 'POST';
  1775.                                 goto not_diagnostic_rest_send_commande_by_email;
  1776.                             }
  1777.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_send_commande_by_email')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::sendCommandeByEmailAction',  '_format' => 'json',));
  1778.                         }
  1779.                         not_diagnostic_rest_send_commande_by_email:
  1780.                         // diagnostic_rest_send_test_email
  1781.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/commandes/testemail') && preg_match('#^/api/diagnostic\\-immobilier/commandes/testemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1782.                             if ('POST' !== $canonicalMethod) {
  1783.                                 $allow[] = 'POST';
  1784.                                 goto not_diagnostic_rest_send_test_email;
  1785.                             }
  1786.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_send_test_email')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::sendTestEmailAction',  '_format' => 'json',));
  1787.                         }
  1788.                         not_diagnostic_rest_send_test_email:
  1789.                         // diagnostic_rest_post_commande
  1790.                         if (preg_match('#^/api/diagnostic\\-immobilier/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1791.                             if ('POST' !== $canonicalMethod) {
  1792.                                 $allow[] = 'POST';
  1793.                                 goto not_diagnostic_rest_post_commande;
  1794.                             }
  1795.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_commande')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::postCommandesAction',  '_format' => 'json',));
  1796.                         }
  1797.                         not_diagnostic_rest_post_commande:
  1798.                         // diagnostic_rest_put_commande
  1799.                         if (preg_match('#^/api/diagnostic\\-immobilier/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1800.                             if ('PUT' !== $canonicalMethod) {
  1801.                                 $allow[] = 'PUT';
  1802.                                 goto not_diagnostic_rest_put_commande;
  1803.                             }
  1804.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_put_commande')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::putCommandeAction',  '_format' => 'json',));
  1805.                         }
  1806.                         not_diagnostic_rest_put_commande:
  1807.                         // diagnostic_rest_patch_commande
  1808.                         if (preg_match('#^/api/diagnostic\\-immobilier/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1809.                             if ('PATCH' !== $canonicalMethod) {
  1810.                                 $allow[] = 'PATCH';
  1811.                                 goto not_diagnostic_rest_patch_commande;
  1812.                             }
  1813.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_commande')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::patchCommandeAction',  '_format' => 'json',));
  1814.                         }
  1815.                         not_diagnostic_rest_patch_commande:
  1816.                         // diagnostic_rest_delete_commande
  1817.                         if (preg_match('#^/api/diagnostic\\-immobilier/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1818.                             if ('DELETE' !== $canonicalMethod) {
  1819.                                 $allow[] = 'DELETE';
  1820.                                 goto not_diagnostic_rest_delete_commande;
  1821.                             }
  1822.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_delete_commande')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::removeCommandeAction',  '_format' => 'json',));
  1823.                         }
  1824.                         not_diagnostic_rest_delete_commande:
  1825.                         // diagnostic_rest_post_commande_fichier
  1826.                         if (preg_match('#^/api/diagnostic\\-immobilier/commandes/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1827.                             if ('POST' !== $canonicalMethod) {
  1828.                                 $allow[] = 'POST';
  1829.                                 goto not_diagnostic_rest_post_commande_fichier;
  1830.                             }
  1831.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_commande_fichier')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::postCommandeFichierAction',  '_format' => 'json',));
  1832.                         }
  1833.                         not_diagnostic_rest_post_commande_fichier:
  1834.                         // diagnostic_rest_post_commande_front
  1835.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/commandes/front') && preg_match('#^/api/diagnostic\\-immobilier/commandes/front(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1836.                             if ('POST' !== $canonicalMethod) {
  1837.                                 $allow[] = 'POST';
  1838.                                 goto not_diagnostic_rest_post_commande_front;
  1839.                             }
  1840.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_commande_front')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::forntCommandeAction',  '_format' => 'json',));
  1841.                         }
  1842.                         not_diagnostic_rest_post_commande_front:
  1843.                         // diagnostic_rest_patch_commande_front
  1844.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/commandesfront') && preg_match('#^/api/diagnostic\\-immobilier/commandesfront/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1845.                             if ('PATCH' !== $canonicalMethod) {
  1846.                                 $allow[] = 'PATCH';
  1847.                                 goto not_diagnostic_rest_patch_commande_front;
  1848.                             }
  1849.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_commande_front')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::patchFrontCommandeAction',  '_format' => 'json',));
  1850.                         }
  1851.                         not_diagnostic_rest_patch_commande_front:
  1852.                         // diagnostic_rest_post_ajouter_diagnostic_optionnel
  1853.                         if (preg_match('#^/api/diagnostic\\-immobilier/commandes/(?P<id>[^/]++)/diagnosticOptionnel/(?P<diagnosticId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1854.                             if ('POST' !== $canonicalMethod) {
  1855.                                 $allow[] = 'POST';
  1856.                                 goto not_diagnostic_rest_post_ajouter_diagnostic_optionnel;
  1857.                             }
  1858.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_ajouter_diagnostic_optionnel')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::postdiagnosticOptionnelAction',  '_format' => 'json',));
  1859.                         }
  1860.                         not_diagnostic_rest_post_ajouter_diagnostic_optionnel:
  1861.                         // diagnostic_rest_delete_ajouter_diagnostic_optionnel
  1862.                         if (preg_match('#^/api/diagnostic\\-immobilier/commandes/(?P<id>[^/]++)/diagnosticOptionnel/(?P<diagnosticId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1863.                             if ('DELETE' !== $canonicalMethod) {
  1864.                                 $allow[] = 'DELETE';
  1865.                                 goto not_diagnostic_rest_delete_ajouter_diagnostic_optionnel;
  1866.                             }
  1867.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_delete_ajouter_diagnostic_optionnel')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::removediagnosticOptionnelAction',  '_format' => 'json',));
  1868.                         }
  1869.                         not_diagnostic_rest_delete_ajouter_diagnostic_optionnel:
  1870.                         // diagnostic_rest_get_verif_rdv
  1871.                         if (preg_match('#^/api/diagnostic\\-immobilier/commandes/(?P<id>[^/]++)/verifRDV(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1872.                             if ('POST' !== $canonicalMethod) {
  1873.                                 $allow[] = 'POST';
  1874.                                 goto not_diagnostic_rest_get_verif_rdv;
  1875.                             }
  1876.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_get_verif_rdv')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getVerifRDVAction',  '_format' => 'json',));
  1877.                         }
  1878.                         not_diagnostic_rest_get_verif_rdv:
  1879.                         // diagnostic_rest_get_prix_unite
  1880.                         if (preg_match('#^/api/diagnostic\\-immobilier/commandes/(?P<id>[^/]++)/prixunite(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1881.                             if ('POST' !== $canonicalMethod) {
  1882.                                 $allow[] = 'POST';
  1883.                                 goto not_diagnostic_rest_get_prix_unite;
  1884.                             }
  1885.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_get_prix_unite')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getPrixUniteAction',  '_format' => 'json',));
  1886.                         }
  1887.                         not_diagnostic_rest_get_prix_unite:
  1888.                     }
  1889.                     // diagnostic_rest_post_devis_front
  1890.                     if (=== strpos($pathinfo'/api/diagnostic-immobilier/commande') && preg_match('#^/api/diagnostic\\-immobilier/commande/(?P<commandeId>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1891.                         if ('GET' !== $canonicalMethod) {
  1892.                             $allow[] = 'GET';
  1893.                             goto not_diagnostic_rest_post_devis_front;
  1894.                         }
  1895.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_devis_front')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::frontDevisFromCommandeAction',  '_format' => 'json',));
  1896.                     }
  1897.                     not_diagnostic_rest_post_devis_front:
  1898.                     if (=== strpos($pathinfo'/api/diagnostic-immobilier/f')) {
  1899.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/filiale')) {
  1900.                             // diagnostic_rest_orders_by_filiale_count
  1901.                             if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/commandes\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1902.                                 if ('GET' !== $canonicalMethod) {
  1903.                                     $allow[] = 'GET';
  1904.                                     goto not_diagnostic_rest_orders_by_filiale_count;
  1905.                                 }
  1906.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_orders_by_filiale_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getCommandesByFilialeCountAction',  '_format' => 'json',));
  1907.                             }
  1908.                             not_diagnostic_rest_orders_by_filiale_count:
  1909.                             // diagnostic_rest_orders_treat_by_filiale_count
  1910.                             if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/commandes\\-treat\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1911.                                 if ('GET' !== $canonicalMethod) {
  1912.                                     $allow[] = 'GET';
  1913.                                     goto not_diagnostic_rest_orders_treat_by_filiale_count;
  1914.                                 }
  1915.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_orders_treat_by_filiale_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getCommandesTreatedByFilialeCountAction',  '_format' => 'json',));
  1916.                             }
  1917.                             not_diagnostic_rest_orders_treat_by_filiale_count:
  1918.                             // diagnostic_rest_orders_progr_by_filiale_count
  1919.                             if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/commandes\\-prog\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1920.                                 if ('GET' !== $canonicalMethod) {
  1921.                                     $allow[] = 'GET';
  1922.                                     goto not_diagnostic_rest_orders_progr_by_filiale_count;
  1923.                                 }
  1924.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_orders_progr_by_filiale_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getCommandesProgressByFilialeCountAction',  '_format' => 'json',));
  1925.                             }
  1926.                             not_diagnostic_rest_orders_progr_by_filiale_count:
  1927.                             // diagnostic_rest_ca_g_by_filiale
  1928.                             if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/commandes\\-ca\\-g(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1929.                                 if ('GET' !== $canonicalMethod) {
  1930.                                     $allow[] = 'GET';
  1931.                                     goto not_diagnostic_rest_ca_g_by_filiale;
  1932.                                 }
  1933.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_ca_g_by_filiale')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getCaGlobalByFilialeAction',  '_format' => 'json',));
  1934.                             }
  1935.                             not_diagnostic_rest_ca_g_by_filiale:
  1936.                             // diagnostic_rest_ca_diag_by_filiale
  1937.                             if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/commandes\\-ca\\-diag(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1938.                                 if ('GET' !== $canonicalMethod) {
  1939.                                     $allow[] = 'GET';
  1940.                                     goto not_diagnostic_rest_ca_diag_by_filiale;
  1941.                                 }
  1942.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_ca_diag_by_filiale')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getCaDiagnosticByFilialeAction',  '_format' => 'json',));
  1943.                             }
  1944.                             not_diagnostic_rest_ca_diag_by_filiale:
  1945.                             // get_ajax_commandes_by_filiale
  1946.                             if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/ajax\\-commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1947.                                 if ('POST' !== $canonicalMethod) {
  1948.                                     $allow[] = 'POST';
  1949.                                     goto not_get_ajax_commandes_by_filiale;
  1950.                                 }
  1951.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_ajax_commandes_by_filiale')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getAjaxCommandesByFilialeAction',  '_format' => 'json',));
  1952.                             }
  1953.                             not_get_ajax_commandes_by_filiale:
  1954.                             // diagnostic_rest_actualisations_by_filiale_count
  1955.                             if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/actualisations\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1956.                                 if ('GET' !== $canonicalMethod) {
  1957.                                     $allow[] = 'GET';
  1958.                                     goto not_diagnostic_rest_actualisations_by_filiale_count;
  1959.                                 }
  1960.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_actualisations_by_filiale_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::getActualisationsByFilialeCountAction',  '_format' => 'json',));
  1961.                             }
  1962.                             not_diagnostic_rest_actualisations_by_filiale_count:
  1963.                             // get_actualisations_by_filiale
  1964.                             if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/actualisations(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1965.                                 if ('GET' !== $canonicalMethod) {
  1966.                                     $allow[] = 'GET';
  1967.                                     goto not_get_actualisations_by_filiale;
  1968.                                 }
  1969.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_actualisations_by_filiale')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::getActualisationsByFilialeAction',  '_format' => 'json',));
  1970.                             }
  1971.                             not_get_actualisations_by_filiale:
  1972.                             // get_facture_actualisations_by_filiale
  1973.                             if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/factureActualisations(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1974.                                 if ('GET' !== $canonicalMethod) {
  1975.                                     $allow[] = 'GET';
  1976.                                     goto not_get_facture_actualisations_by_filiale;
  1977.                                 }
  1978.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_facture_actualisations_by_filiale')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::getFactureActualisationsByFilialeAction',  '_format' => 'json',));
  1979.                             }
  1980.                             not_get_facture_actualisations_by_filiale:
  1981.                             // diagnostic_rest_questions_by_filiale_count
  1982.                             if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/questions\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1983.                                 if ('GET' !== $canonicalMethod) {
  1984.                                     $allow[] = 'GET';
  1985.                                     goto not_diagnostic_rest_questions_by_filiale_count;
  1986.                                 }
  1987.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_questions_by_filiale_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\QuestionRestController::getQuestionsByFilialeCountAction',  '_format' => 'json',));
  1988.                             }
  1989.                             not_diagnostic_rest_questions_by_filiale_count:
  1990.                             // diagnostic_rest_partnerpayments_by_filiale_items
  1991.                             if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/paiements(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  1992.                                 if ('GET' !== $canonicalMethod) {
  1993.                                     $allow[] = 'GET';
  1994.                                     goto not_diagnostic_rest_partnerpayments_by_filiale_items;
  1995.                                 }
  1996.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_partnerpayments_by_filiale_items')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\PartnerPaymentRestController::getPartnerPaymentsByFilialeAction',  '_format' => 'json',));
  1997.                             }
  1998.                             not_diagnostic_rest_partnerpayments_by_filiale_items:
  1999.                             // diagnostic_rest_lienPaiements_by_filiale_count
  2000.                             if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/lienPaiements\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2001.                                 if ('GET' !== $canonicalMethod) {
  2002.                                     $allow[] = 'GET';
  2003.                                     goto not_diagnostic_rest_lienPaiements_by_filiale_count;
  2004.                                 }
  2005.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_lienPaiements_by_filiale_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::getLienPaiementsByFilialeCountAction',  '_format' => 'json',));
  2006.                             }
  2007.                             not_diagnostic_rest_lienPaiements_by_filiale_count:
  2008.                             // get_lienPaiements_by_filiale
  2009.                             if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/lienPaiements(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2010.                                 if ('GET' !== $canonicalMethod) {
  2011.                                     $allow[] = 'GET';
  2012.                                     goto not_get_lienPaiements_by_filiale;
  2013.                                 }
  2014.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_lienPaiements_by_filiale')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::getLienPaiementsByFilialeAction',  '_format' => 'json',));
  2015.                             }
  2016.                             not_get_lienPaiements_by_filiale:
  2017.                             // rappel_rest_orders_by_filiale_count
  2018.                             if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/rappels\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2019.                                 if ('GET' !== $canonicalMethod) {
  2020.                                     $allow[] = 'GET';
  2021.                                     goto not_rappel_rest_orders_by_filiale_count;
  2022.                                 }
  2023.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rest_orders_by_filiale_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getRappelsByFilialeCountAction',  '_format' => 'json',));
  2024.                             }
  2025.                             not_rappel_rest_orders_by_filiale_count:
  2026.                             // rappel_rest_orders_treat_by_filiale_count
  2027.                             if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/rappels\\-treat\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2028.                                 if ('GET' !== $canonicalMethod) {
  2029.                                     $allow[] = 'GET';
  2030.                                     goto not_rappel_rest_orders_treat_by_filiale_count;
  2031.                                 }
  2032.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rest_orders_treat_by_filiale_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getRappelsTreatedByFilialeCountAction',  '_format' => 'json',));
  2033.                             }
  2034.                             not_rappel_rest_orders_treat_by_filiale_count:
  2035.                             // get_rappels_by_filiale
  2036.                             if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/rappels(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2037.                                 if ('GET' !== $canonicalMethod) {
  2038.                                     $allow[] = 'GET';
  2039.                                     goto not_get_rappels_by_filiale;
  2040.                                 }
  2041.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_rappels_by_filiale')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getRappelsByFilialeAction',  '_format' => 'json',));
  2042.                             }
  2043.                             not_get_rappels_by_filiale:
  2044.                             // get_rdvdpes_by_filiale
  2045.                             if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/rdvDpes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2046.                                 if ('GET' !== $canonicalMethod) {
  2047.                                     $allow[] = 'GET';
  2048.                                     goto not_get_rdvdpes_by_filiale;
  2049.                                 }
  2050.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_rdvdpes_by_filiale')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getRdvDpesByFilialeAction',  '_format' => 'json',));
  2051.                             }
  2052.                             not_get_rdvdpes_by_filiale:
  2053.                         }
  2054.                         elseif (=== strpos($pathinfo'/api/diagnostic-immobilier/factures')) {
  2055.                             // diagnostic_ajax_factures
  2056.                             if (=== strpos($pathinfo'/api/diagnostic-immobilier/factures-ajax') && preg_match('#^/api/diagnostic\\-immobilier/factures\\-ajax/(?P<type>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2057.                                 if ('POST' !== $canonicalMethod) {
  2058.                                     $allow[] = 'POST';
  2059.                                     goto not_diagnostic_ajax_factures;
  2060.                                 }
  2061.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_ajax_factures')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::getFacturesAction',  '_format' => 'json',));
  2062.                             }
  2063.                             not_diagnostic_ajax_factures:
  2064.                             // diagnostic_rest_facture_by_id
  2065.                             if (preg_match('#^/api/diagnostic\\-immobilier/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2066.                                 if ('GET' !== $canonicalMethod) {
  2067.                                     $allow[] = 'GET';
  2068.                                     goto not_diagnostic_rest_facture_by_id;
  2069.                                 }
  2070.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_facture_by_id')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::getFactureAction',  '_format' => 'json',));
  2071.                             }
  2072.                             not_diagnostic_rest_facture_by_id:
  2073.                             // diagnostic_rest_send_facture_by_mail
  2074.                             if (=== strpos($pathinfo'/api/diagnostic-immobilier/factures/envoiemail') && preg_match('#^/api/diagnostic\\-immobilier/factures/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2075.                                 if ('POST' !== $canonicalMethod) {
  2076.                                     $allow[] = 'POST';
  2077.                                     goto not_diagnostic_rest_send_facture_by_mail;
  2078.                                 }
  2079.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_send_facture_by_mail')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::sendFactureByEmailAction',  '_format' => 'json',));
  2080.                             }
  2081.                             not_diagnostic_rest_send_facture_by_mail:
  2082.                             // diagnostic_rest_post_facture
  2083.                             if (preg_match('#^/api/diagnostic\\-immobilier/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2084.                                 if ('POST' !== $canonicalMethod) {
  2085.                                     $allow[] = 'POST';
  2086.                                     goto not_diagnostic_rest_post_facture;
  2087.                                 }
  2088.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_facture')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::postFacturesAction',  '_format' => 'json',));
  2089.                             }
  2090.                             not_diagnostic_rest_post_facture:
  2091.                             // diagnostic_rest_post_facture_by_commande
  2092.                             if (=== strpos($pathinfo'/api/diagnostic-immobilier/facturesbycommande') && preg_match('#^/api/diagnostic\\-immobilier/facturesbycommande(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2093.                                 if ('POST' !== $canonicalMethod) {
  2094.                                     $allow[] = 'POST';
  2095.                                     goto not_diagnostic_rest_post_facture_by_commande;
  2096.                                 }
  2097.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_facture_by_commande')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::postFacturesByCommandeAction',  '_format' => 'json',));
  2098.                             }
  2099.                             not_diagnostic_rest_post_facture_by_commande:
  2100.                             // diagnostic_rest_put_facture
  2101.                             if (preg_match('#^/api/diagnostic\\-immobilier/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2102.                                 if ('PUT' !== $canonicalMethod) {
  2103.                                     $allow[] = 'PUT';
  2104.                                     goto not_diagnostic_rest_put_facture;
  2105.                                 }
  2106.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_put_facture')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::updateFactureAction',  '_format' => 'json',));
  2107.                             }
  2108.                             not_diagnostic_rest_put_facture:
  2109.                             // diagnostic_rest_patch_facture
  2110.                             if (preg_match('#^/api/diagnostic\\-immobilier/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2111.                                 if ('PATCH' !== $canonicalMethod) {
  2112.                                     $allow[] = 'PATCH';
  2113.                                     goto not_diagnostic_rest_patch_facture;
  2114.                                 }
  2115.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_facture')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::patchFactureAction',  '_format' => 'json',));
  2116.                             }
  2117.                             not_diagnostic_rest_patch_facture:
  2118.                             // diagnostic_rest_delete_facture
  2119.                             if (preg_match('#^/api/diagnostic\\-immobilier/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2120.                                 if ('DELETE' !== $canonicalMethod) {
  2121.                                     $allow[] = 'DELETE';
  2122.                                     goto not_diagnostic_rest_delete_facture;
  2123.                                 }
  2124.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_delete_facture')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::removeFactureAction',  '_format' => 'json',));
  2125.                             }
  2126.                             not_diagnostic_rest_delete_facture:
  2127.                             // diagnostic_rest_post_facture_fichier
  2128.                             if (preg_match('#^/api/diagnostic\\-immobilier/factures/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2129.                                 if ('POST' !== $canonicalMethod) {
  2130.                                     $allow[] = 'POST';
  2131.                                     goto not_diagnostic_rest_post_facture_fichier;
  2132.                                 }
  2133.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_facture_fichier')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::postFactureFichierAction',  '_format' => 'json',));
  2134.                             }
  2135.                             not_diagnostic_rest_post_facture_fichier:
  2136.                             // diagnostic_ajax_factures_actualisations
  2137.                             if (=== strpos($pathinfo'/api/diagnostic-immobilier/factures-actualisations-ajax') && preg_match('#^/api/diagnostic\\-immobilier/factures\\-actualisations\\-ajax(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2138.                                 if ('POST' !== $canonicalMethod) {
  2139.                                     $allow[] = 'POST';
  2140.                                     goto not_diagnostic_ajax_factures_actualisations;
  2141.                                 }
  2142.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_ajax_factures_actualisations')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::getFacturesActualisationsAction',  '_format' => 'json',));
  2143.                             }
  2144.                             not_diagnostic_ajax_factures_actualisations:
  2145.                             // diagnostic_rest_post_factureactualisation
  2146.                             if (=== strpos($pathinfo'/api/diagnostic-immobilier/facturesActualisation') && preg_match('#^/api/diagnostic\\-immobilier/facturesActualisation(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2147.                                 if ('POST' !== $canonicalMethod) {
  2148.                                     $allow[] = 'POST';
  2149.                                     goto not_diagnostic_rest_post_factureactualisation;
  2150.                                 }
  2151.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_factureactualisation')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::postFactureActualisationsAction',  '_format' => 'json',));
  2152.                             }
  2153.                             not_diagnostic_rest_post_factureactualisation:
  2154.                         }
  2155.                         elseif (=== strpos($pathinfo'/api/diagnostic-immobilier/factureActualisations')) {
  2156.                             // diagnostic_rest_factureactualisation_by_id
  2157.                             if (preg_match('#^/api/diagnostic\\-immobilier/factureActualisations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2158.                                 if ('GET' !== $canonicalMethod) {
  2159.                                     $allow[] = 'GET';
  2160.                                     goto not_diagnostic_rest_factureactualisation_by_id;
  2161.                                 }
  2162.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_factureactualisation_by_id')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::getFactureActualisationAction',  '_format' => 'json',));
  2163.                             }
  2164.                             not_diagnostic_rest_factureactualisation_by_id:
  2165.                             // diagnostic_rest_send_factureactualisation_by_mail
  2166.                             if (=== strpos($pathinfo'/api/diagnostic-immobilier/factureActualisations/envoiemail') && preg_match('#^/api/diagnostic\\-immobilier/factureActualisations/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2167.                                 if ('POST' !== $canonicalMethod) {
  2168.                                     $allow[] = 'POST';
  2169.                                     goto not_diagnostic_rest_send_factureactualisation_by_mail;
  2170.                                 }
  2171.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_send_factureactualisation_by_mail')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::sendFactureActualisationByEmailAction',  '_format' => 'json',));
  2172.                             }
  2173.                             not_diagnostic_rest_send_factureactualisation_by_mail:
  2174.                             // get_facture_actualisations
  2175.                             if (preg_match('#^/api/diagnostic\\-immobilier/factureActualisations(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2176.                                 if ('GET' !== $canonicalMethod) {
  2177.                                     $allow[] = 'GET';
  2178.                                     goto not_get_facture_actualisations;
  2179.                                 }
  2180.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_facture_actualisations')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::getFactureActualisationsAction',  '_format' => 'json',));
  2181.                             }
  2182.                             not_get_facture_actualisations:
  2183.                             // diagnostic_rest_post_factureactualisation_by_actualisation
  2184.                             if (=== strpos($pathinfo'/api/diagnostic-immobilier/factureActualisationsbyactualisation') && preg_match('#^/api/diagnostic\\-immobilier/factureActualisationsbyactualisation(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2185.                                 if ('POST' !== $canonicalMethod) {
  2186.                                     $allow[] = 'POST';
  2187.                                     goto not_diagnostic_rest_post_factureactualisation_by_actualisation;
  2188.                                 }
  2189.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_factureactualisation_by_actualisation')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::postFactureActualisationsByActualisationAction',  '_format' => 'json',));
  2190.                             }
  2191.                             not_diagnostic_rest_post_factureactualisation_by_actualisation:
  2192.                             // diagnostic_rest_put_factureactualisation
  2193.                             if (preg_match('#^/api/diagnostic\\-immobilier/factureActualisations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2194.                                 if ('PUT' !== $canonicalMethod) {
  2195.                                     $allow[] = 'PUT';
  2196.                                     goto not_diagnostic_rest_put_factureactualisation;
  2197.                                 }
  2198.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_put_factureactualisation')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::updateFactureActualisationAction',  '_format' => 'json',));
  2199.                             }
  2200.                             not_diagnostic_rest_put_factureactualisation:
  2201.                             // diagnostic_rest_patch_factureactualisation
  2202.                             if (preg_match('#^/api/diagnostic\\-immobilier/factureActualisations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2203.                                 if ('PATCH' !== $canonicalMethod) {
  2204.                                     $allow[] = 'PATCH';
  2205.                                     goto not_diagnostic_rest_patch_factureactualisation;
  2206.                                 }
  2207.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_factureactualisation')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::patchFactureActualisationAction',  '_format' => 'json',));
  2208.                             }
  2209.                             not_diagnostic_rest_patch_factureactualisation:
  2210.                             // diagnostic_rest_delete_factureactualisation
  2211.                             if (preg_match('#^/api/diagnostic\\-immobilier/factureActualisations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2212.                                 if ('DELETE' !== $canonicalMethod) {
  2213.                                     $allow[] = 'DELETE';
  2214.                                     goto not_diagnostic_rest_delete_factureactualisation;
  2215.                                 }
  2216.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_delete_factureactualisation')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::removeFactureActualisationAction',  '_format' => 'json',));
  2217.                             }
  2218.                             not_diagnostic_rest_delete_factureactualisation:
  2219.                             // diagnostic_rest_post_factureactualisation_fichier
  2220.                             if (preg_match('#^/api/diagnostic\\-immobilier/factureActualisations/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2221.                                 if ('POST' !== $canonicalMethod) {
  2222.                                     $allow[] = 'POST';
  2223.                                     goto not_diagnostic_rest_post_factureactualisation_fichier;
  2224.                                 }
  2225.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_factureactualisation_fichier')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::postFactureActualisationFichierAction',  '_format' => 'json',));
  2226.                             }
  2227.                             not_diagnostic_rest_post_factureactualisation_fichier:
  2228.                         }
  2229.                         // diagnostic_rest_post_front_actualisation
  2230.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/frontactualisations') && preg_match('#^/api/diagnostic\\-immobilier/frontactualisations(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2231.                             if ('POST' !== $canonicalMethod) {
  2232.                                 $allow[] = 'POST';
  2233.                                 goto not_diagnostic_rest_post_front_actualisation;
  2234.                             }
  2235.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_front_actualisation')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::postFrontActualisationsAction',  '_format' => 'json',));
  2236.                         }
  2237.                         not_diagnostic_rest_post_front_actualisation:
  2238.                         // rappel_rest_post_rappel_front
  2239.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/front/rappels') && preg_match('#^/api/diagnostic\\-immobilier/front/rappels/(?P<id>[^/]++)/client(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2240.                             if ('POST' !== $canonicalMethod) {
  2241.                                 $allow[] = 'POST';
  2242.                                 goto not_rappel_rest_post_rappel_front;
  2243.                             }
  2244.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rest_post_rappel_front')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::forntRappelAction',  '_format' => 'json',));
  2245.                         }
  2246.                         not_rappel_rest_post_rappel_front:
  2247.                     }
  2248.                     elseif (=== strpos($pathinfo'/api/diagnostic-immobilier/telecharger-')) {
  2249.                         // diagnostic_rest_telechargerCommande
  2250.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/telecharger-commande') && preg_match('#^/api/diagnostic\\-immobilier/telecharger\\-commande/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2251.                             if ('GET' !== $canonicalMethod) {
  2252.                                 $allow[] = 'GET';
  2253.                                 goto not_diagnostic_rest_telechargerCommande;
  2254.                             }
  2255.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_telechargerCommande')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::telechargerCommandeAction',  '_format' => 'json',));
  2256.                         }
  2257.                         not_diagnostic_rest_telechargerCommande:
  2258.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/telecharger-fichier')) {
  2259.                             // diagnostic_rest_telechargerFichier
  2260.                             if (preg_match('#^/api/diagnostic\\-immobilier/telecharger\\-fichier/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2261.                                 if ('GET' !== $canonicalMethod) {
  2262.                                     $allow[] = 'GET';
  2263.                                     goto not_diagnostic_rest_telechargerFichier;
  2264.                                 }
  2265.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_telechargerFichier')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::telechargerFichierAction',  '_format' => 'json',));
  2266.                             }
  2267.                             not_diagnostic_rest_telechargerFichier:
  2268.                             // diagnostic_actualisation_rest_telechargerFichier
  2269.                             if (=== strpos($pathinfo'/api/diagnostic-immobilier/telecharger-fichier-actualisation') && preg_match('#^/api/diagnostic\\-immobilier/telecharger\\-fichier\\-actualisation/(?P<actualisationId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2270.                                 if ('GET' !== $canonicalMethod) {
  2271.                                     $allow[] = 'GET';
  2272.                                     goto not_diagnostic_actualisation_rest_telechargerFichier;
  2273.                                 }
  2274.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_actualisation_rest_telechargerFichier')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::telechargerFichierAction',  '_format' => 'json',));
  2275.                             }
  2276.                             not_diagnostic_actualisation_rest_telechargerFichier:
  2277.                         }
  2278.                         elseif (=== strpos($pathinfo'/api/diagnostic-immobilier/telecharger-facture')) {
  2279.                             // diagnostic_rest_telechargerFacture_front
  2280.                             if (preg_match('#^/api/diagnostic\\-immobilier/telecharger\\-facture/(?P<factureId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2281.                                 if ('GET' !== $canonicalMethod) {
  2282.                                     $allow[] = 'GET';
  2283.                                     goto not_diagnostic_rest_telechargerFacture_front;
  2284.                                 }
  2285.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_telechargerFacture_front')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::telechargerFactureAction',  '_format' => 'json',));
  2286.                             }
  2287.                             not_diagnostic_rest_telechargerFacture_front:
  2288.                             // diagnostic_rest_telechargerFactureActualisation_front
  2289.                             if (=== strpos($pathinfo'/api/diagnostic-immobilier/telecharger-factureActualisation') && preg_match('#^/api/diagnostic\\-immobilier/telecharger\\-factureActualisation/(?P<factureActualisationId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2290.                                 if ('GET' !== $canonicalMethod) {
  2291.                                     $allow[] = 'GET';
  2292.                                     goto not_diagnostic_rest_telechargerFactureActualisation_front;
  2293.                                 }
  2294.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_telechargerFactureActualisation_front')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::telechargerFactureActualisationAction',  '_format' => 'json',));
  2295.                             }
  2296.                             not_diagnostic_rest_telechargerFactureActualisation_front:
  2297.                         }
  2298.                         // diagnostic_rest_telechargeDPE
  2299.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/telecharger-dpe') && preg_match('#^/api/diagnostic\\-immobilier/telecharger\\-dpe/(?P<reference>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2300.                             if ('GET' !== $canonicalMethod) {
  2301.                                 $allow[] = 'GET';
  2302.                                 goto not_diagnostic_rest_telechargeDPE;
  2303.                             }
  2304.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_telechargeDPE')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::telechargerDPEAction',  '_format' => 'json',));
  2305.                         }
  2306.                         not_diagnostic_rest_telechargeDPE:
  2307.                         // diagnostic_rest_telechargerDevis_front
  2308.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/telecharger-devis') && preg_match('#^/api/diagnostic\\-immobilier/telecharger\\-devis/(?P<devisId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2309.                             if ('GET' !== $canonicalMethod) {
  2310.                                 $allow[] = 'GET';
  2311.                                 goto not_diagnostic_rest_telechargerDevis_front;
  2312.                             }
  2313.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_telechargerDevis_front')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::telechargerDevisAction',  '_format' => 'json',));
  2314.                         }
  2315.                         not_diagnostic_rest_telechargerDevis_front:
  2316.                     }
  2317.                     // diagnostic_rest_test
  2318.                     if (=== strpos($pathinfo'/api/diagnostic-immobilier/test') && preg_match('#^/api/diagnostic\\-immobilier/test(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2319.                         if ('GET' !== $canonicalMethod) {
  2320.                             $allow[] = 'GET';
  2321.                             goto not_diagnostic_rest_test;
  2322.                         }
  2323.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_test')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::testAction',  '_format' => 'json',));
  2324.                     }
  2325.                     not_diagnostic_rest_test:
  2326.                     // diagnostic_rest_simulationDPE
  2327.                     if (=== strpos($pathinfo'/api/diagnostic-immobilier/simulation-dpe') && preg_match('#^/api/diagnostic\\-immobilier/simulation\\-dpe(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2328.                         if ('POST' !== $canonicalMethod) {
  2329.                             $allow[] = 'POST';
  2330.                             goto not_diagnostic_rest_simulationDPE;
  2331.                         }
  2332.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_simulationDPE')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::simulationDpeAction',  '_format' => 'json',));
  2333.                     }
  2334.                     not_diagnostic_rest_simulationDPE:
  2335.                     if (=== strpos($pathinfo'/api/diagnostic-immobilier/secteur')) {
  2336.                         // get_actualisations_by_secteur
  2337.                         if (preg_match('#^/api/diagnostic\\-immobilier/secteur/(?P<id>[^/]++)/actualisations(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2338.                             if ('GET' !== $canonicalMethod) {
  2339.                                 $allow[] = 'GET';
  2340.                                 goto not_get_actualisations_by_secteur;
  2341.                             }
  2342.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_actualisations_by_secteur')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::getActualisationsBySecteurAction',  '_format' => 'json',));
  2343.                         }
  2344.                         not_get_actualisations_by_secteur:
  2345.                         // get_facture_actualisations_by_secteur
  2346.                         if (preg_match('#^/api/diagnostic\\-immobilier/secteur/(?P<id>[^/]++)/factureActualisations(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2347.                             if ('GET' !== $canonicalMethod) {
  2348.                                 $allow[] = 'GET';
  2349.                                 goto not_get_facture_actualisations_by_secteur;
  2350.                             }
  2351.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_facture_actualisations_by_secteur')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::getFactureActualisationsBySecteurAction',  '_format' => 'json',));
  2352.                         }
  2353.                         not_get_facture_actualisations_by_secteur:
  2354.                         // get_lien_paiements_by_secteur
  2355.                         if (preg_match('#^/api/diagnostic\\-immobilier/secteur/(?P<id>[^/]++)/lienPaiements(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2356.                             if ('GET' !== $canonicalMethod) {
  2357.                                 $allow[] = 'GET';
  2358.                                 goto not_get_lien_paiements_by_secteur;
  2359.                             }
  2360.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_lien_paiements_by_secteur')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::getLienPaiementsBySecteurAction',  '_format' => 'json',));
  2361.                         }
  2362.                         not_get_lien_paiements_by_secteur:
  2363.                         // get_rappels_by_secteur
  2364.                         if (preg_match('#^/api/diagnostic\\-immobilier/secteur/(?P<id>[^/]++)/rappels(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2365.                             if ('GET' !== $canonicalMethod) {
  2366.                                 $allow[] = 'GET';
  2367.                                 goto not_get_rappels_by_secteur;
  2368.                             }
  2369.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_rappels_by_secteur')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getRappelsBySecteurAction',  '_format' => 'json',));
  2370.                         }
  2371.                         not_get_rappels_by_secteur:
  2372.                         // get_count_rappels_by_user_and_secteur
  2373.                         if (preg_match('#^/api/diagnostic\\-immobilier/secteur/(?P<secteurId>[^/]++)/rappels/count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2374.                             if ('GET' !== $canonicalMethod) {
  2375.                                 $allow[] = 'GET';
  2376.                                 goto not_get_count_rappels_by_user_and_secteur;
  2377.                             }
  2378.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_count_rappels_by_user_and_secteur')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getCountRappelsByUserAndSecteurAction',  '_format' => 'json',));
  2379.                         }
  2380.                         not_get_count_rappels_by_user_and_secteur:
  2381.                         // get_rdv_dpes_by_secteur
  2382.                         if (preg_match('#^/api/diagnostic\\-immobilier/secteur/(?P<id>[^/]++)/rdvDpes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2383.                             if ('GET' !== $canonicalMethod) {
  2384.                                 $allow[] = 'GET';
  2385.                                 goto not_get_rdv_dpes_by_secteur;
  2386.                             }
  2387.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_rdv_dpes_by_secteur')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getRdvDpesBySecteurAction',  '_format' => 'json',));
  2388.                         }
  2389.                         not_get_rdv_dpes_by_secteur:
  2390.                         // get_count_rdv_dpes_by_user_and_secteur
  2391.                         if (preg_match('#^/api/diagnostic\\-immobilier/secteur/(?P<secteurId>[^/]++)/rdvDpes/count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2392.                             if ('GET' !== $canonicalMethod) {
  2393.                                 $allow[] = 'GET';
  2394.                                 goto not_get_count_rdv_dpes_by_user_and_secteur;
  2395.                             }
  2396.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_count_rdv_dpes_by_user_and_secteur')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getCountRdvDpesByUserAndSecteurAction',  '_format' => 'json',));
  2397.                         }
  2398.                         not_get_count_rdv_dpes_by_user_and_secteur:
  2399.                     }
  2400.                     // diagnostic_rest_envoyeravisclient
  2401.                     if (=== strpos($pathinfo'/api/diagnostic-immobilier/envoyeravisclient') && preg_match('#^/api/diagnostic\\-immobilier/envoyeravisclient/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2402.                         if ('GET' !== $canonicalMethod) {
  2403.                             $allow[] = 'GET';
  2404.                             goto not_diagnostic_rest_envoyeravisclient;
  2405.                         }
  2406.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_envoyeravisclient')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::envoyerAvisClientAction',  '_format' => 'json',));
  2407.                     }
  2408.                     not_diagnostic_rest_envoyeravisclient:
  2409.                     if (=== strpos($pathinfo'/api/diagnostic-immobilier/devis')) {
  2410.                         // diagnostic_rest_post_commande_from_devis
  2411.                         if (preg_match('#^/api/diagnostic\\-immobilier/devis/(?P<devisId>[^/]++)/commande(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2412.                             if ('GET' !== $canonicalMethod) {
  2413.                                 $allow[] = 'GET';
  2414.                                 goto not_diagnostic_rest_post_commande_from_devis;
  2415.                             }
  2416.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_commande_from_devis')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::postCommandeFromDevisAction',  '_format' => 'json',));
  2417.                         }
  2418.                         not_diagnostic_rest_post_commande_from_devis:
  2419.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/devis-count')) {
  2420.                             // diagnostic_rest_devis_by_filiale_count
  2421.                             if (preg_match('#^/api/diagnostic\\-immobilier/devis\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2422.                                 if ('GET' !== $canonicalMethod) {
  2423.                                     $allow[] = 'GET';
  2424.                                     goto not_diagnostic_rest_devis_by_filiale_count;
  2425.                                 }
  2426.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_devis_by_filiale_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::getDevisByFilialeCountAction',  '_format' => 'json',));
  2427.                             }
  2428.                             not_diagnostic_rest_devis_by_filiale_count:
  2429.                             // diagnostic_rest_devis_count
  2430.                             if (preg_match('#^/api/diagnostic\\-immobilier/devis\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2431.                                 if ('GET' !== $canonicalMethod) {
  2432.                                     $allow[] = 'GET';
  2433.                                     goto not_diagnostic_rest_devis_count;
  2434.                                 }
  2435.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_devis_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::getDevisCountAction',  '_format' => 'json',));
  2436.                             }
  2437.                             not_diagnostic_rest_devis_count:
  2438.                         }
  2439.                         // get_ajax_devis_by_filiale
  2440.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/devis-ajax') && preg_match('#^/api/diagnostic\\-immobilier/devis\\-ajax(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2441.                             if ('POST' !== $canonicalMethod) {
  2442.                                 $allow[] = 'POST';
  2443.                                 goto not_get_ajax_devis_by_filiale;
  2444.                             }
  2445.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_ajax_devis_by_filiale')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::getAjaxDevisByFilialeAction',  '_format' => 'json',));
  2446.                         }
  2447.                         not_get_ajax_devis_by_filiale:
  2448.                         // diagnostic_rest_send_devis_by_email
  2449.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/devis/envoiemail') && preg_match('#^/api/diagnostic\\-immobilier/devis/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2450.                             if ('POST' !== $canonicalMethod) {
  2451.                                 $allow[] = 'POST';
  2452.                                 goto not_diagnostic_rest_send_devis_by_email;
  2453.                             }
  2454.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_send_devis_by_email')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::sendDevisByEmailAction',  '_format' => 'json',));
  2455.                         }
  2456.                         not_diagnostic_rest_send_devis_by_email:
  2457.                         // diagnostic_rest_post_devis
  2458.                         if (preg_match('#^/api/diagnostic\\-immobilier/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2459.                             if ('POST' !== $canonicalMethod) {
  2460.                                 $allow[] = 'POST';
  2461.                                 goto not_diagnostic_rest_post_devis;
  2462.                             }
  2463.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_devis')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::postDevisAction',  '_format' => 'json',));
  2464.                         }
  2465.                         not_diagnostic_rest_post_devis:
  2466.                         // diagnostic_rest_put_devis
  2467.                         if (preg_match('#^/api/diagnostic\\-immobilier/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2468.                             if ('PUT' !== $canonicalMethod) {
  2469.                                 $allow[] = 'PUT';
  2470.                                 goto not_diagnostic_rest_put_devis;
  2471.                             }
  2472.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_put_devis')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::updateDevisAction',  '_format' => 'json',));
  2473.                         }
  2474.                         not_diagnostic_rest_put_devis:
  2475.                         // diagnostic_rest_patch_devis
  2476.                         if (preg_match('#^/api/diagnostic\\-immobilier/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2477.                             if ('PATCH' !== $canonicalMethod) {
  2478.                                 $allow[] = 'PATCH';
  2479.                                 goto not_diagnostic_rest_patch_devis;
  2480.                             }
  2481.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_devis')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::patchDevisAction',  '_format' => 'json',));
  2482.                         }
  2483.                         not_diagnostic_rest_patch_devis:
  2484.                         // diagnostic_rest_delete_devis
  2485.                         if (preg_match('#^/api/diagnostic\\-immobilier/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2486.                             if ('DELETE' !== $canonicalMethod) {
  2487.                                 $allow[] = 'DELETE';
  2488.                                 goto not_diagnostic_rest_delete_devis;
  2489.                             }
  2490.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_delete_devis')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::removeDevisAction',  '_format' => 'json',));
  2491.                         }
  2492.                         not_diagnostic_rest_delete_devis:
  2493.                         // diagnostic_rest_post_devis_fichier
  2494.                         if (preg_match('#^/api/diagnostic\\-immobilier/devis/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2495.                             if ('POST' !== $canonicalMethod) {
  2496.                                 $allow[] = 'POST';
  2497.                                 goto not_diagnostic_rest_post_devis_fichier;
  2498.                             }
  2499.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_devis_fichier')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::postDevisFichierAction',  '_format' => 'json',));
  2500.                         }
  2501.                         not_diagnostic_rest_post_devis_fichier:
  2502.                     }
  2503.                     // diagnostic_rest_day_calendar
  2504.                     if (=== strpos($pathinfo'/api/diagnostic-immobilier/day-calender') && preg_match('#^/api/diagnostic\\-immobilier/day\\-calender(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2505.                         if ('POST' !== $canonicalMethod) {
  2506.                             $allow[] = 'POST';
  2507.                             goto not_diagnostic_rest_day_calendar;
  2508.                         }
  2509.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_day_calendar')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getDayCalenderAction',  '_format' => 'json',));
  2510.                     }
  2511.                     not_diagnostic_rest_day_calendar:
  2512.                     if (=== strpos($pathinfo'/api/diagnostic-immobilier/u')) {
  2513.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/user')) {
  2514.                             // diagnostic_get_devis_by_customer
  2515.                             if (preg_match('#^/api/diagnostic\\-immobilier/user/(?P<userId>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2516.                                 if ('GET' !== $canonicalMethod) {
  2517.                                     $allow[] = 'GET';
  2518.                                     goto not_diagnostic_get_devis_by_customer;
  2519.                                 }
  2520.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_get_devis_by_customer')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::getDevisByCustomerAction',  '_format' => 'json',));
  2521.                             }
  2522.                             not_diagnostic_get_devis_by_customer:
  2523.                             // get_actualisations_by_customer
  2524.                             if (preg_match('#^/api/diagnostic\\-immobilier/user/(?P<userId>[^/]++)/actualisations(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2525.                                 if ('GET' !== $canonicalMethod) {
  2526.                                     $allow[] = 'GET';
  2527.                                     goto not_get_actualisations_by_customer;
  2528.                                 }
  2529.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_actualisations_by_customer')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::getActualisationsByCustomerAction',  '_format' => 'json',));
  2530.                             }
  2531.                             not_get_actualisations_by_customer:
  2532.                             // get_facture_actualisations_by_customer
  2533.                             if (preg_match('#^/api/diagnostic\\-immobilier/user/(?P<userId>[^/]++)/factureActualisations(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2534.                                 if ('GET' !== $canonicalMethod) {
  2535.                                     $allow[] = 'GET';
  2536.                                     goto not_get_facture_actualisations_by_customer;
  2537.                                 }
  2538.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_facture_actualisations_by_customer')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::getFactureActualisationsByCustomerAction',  '_format' => 'json',));
  2539.                             }
  2540.                             not_get_facture_actualisations_by_customer:
  2541.                             // get_lien_paiements_by_customer
  2542.                             if (preg_match('#^/api/diagnostic\\-immobilier/user/(?P<userId>[^/]++)/lienPaiements(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2543.                                 if ('GET' !== $canonicalMethod) {
  2544.                                     $allow[] = 'GET';
  2545.                                     goto not_get_lien_paiements_by_customer;
  2546.                                 }
  2547.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_lien_paiements_by_customer')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::getLienPaiementsByCustomerAction',  '_format' => 'json',));
  2548.                             }
  2549.                             not_get_lien_paiements_by_customer:
  2550.                             // get_rappels_by_user_and_secteur
  2551.                             if (preg_match('#^/api/diagnostic\\-immobilier/user/(?P<userId>[^/]++)/secteur/(?P<secteurId>[^/]++)/rappels(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2552.                                 if ('GET' !== $canonicalMethod) {
  2553.                                     $allow[] = 'GET';
  2554.                                     goto not_get_rappels_by_user_and_secteur;
  2555.                                 }
  2556.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_rappels_by_user_and_secteur')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getRappelsByUserAndSecteurAction',  '_format' => 'json',));
  2557.                             }
  2558.                             not_get_rappels_by_user_and_secteur:
  2559.                             // get_rappels_by_customer
  2560.                             if (preg_match('#^/api/diagnostic\\-immobilier/user/(?P<userId>[^/]++)/rappels(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2561.                                 if ('GET' !== $canonicalMethod) {
  2562.                                     $allow[] = 'GET';
  2563.                                     goto not_get_rappels_by_customer;
  2564.                                 }
  2565.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_rappels_by_customer')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getRappelsByCustomerAction',  '_format' => 'json',));
  2566.                             }
  2567.                             not_get_rappels_by_customer:
  2568.                             // get_rdv_dpes_by_user_and_secteur
  2569.                             if (preg_match('#^/api/diagnostic\\-immobilier/user/(?P<userId>[^/]++)/secteur/(?P<secteurId>[^/]++)/rdvDpes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2570.                                 if ('GET' !== $canonicalMethod) {
  2571.                                     $allow[] = 'GET';
  2572.                                     goto not_get_rdv_dpes_by_user_and_secteur;
  2573.                                 }
  2574.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_rdv_dpes_by_user_and_secteur')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getRdvDpesByUserAndSecteurAction',  '_format' => 'json',));
  2575.                             }
  2576.                             not_get_rdv_dpes_by_user_and_secteur:
  2577.                             // get_rdv_dpes_by_customer
  2578.                             if (preg_match('#^/api/diagnostic\\-immobilier/user/(?P<userId>[^/]++)/rdvDpes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2579.                                 if ('GET' !== $canonicalMethod) {
  2580.                                     $allow[] = 'GET';
  2581.                                     goto not_get_rdv_dpes_by_customer;
  2582.                                 }
  2583.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_rdv_dpes_by_customer')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getRdvDpesByCustomerAction',  '_format' => 'json',));
  2584.                             }
  2585.                             not_get_rdv_dpes_by_customer:
  2586.                         }
  2587.                         // diagnostic_rest_unpaid_invoices_count
  2588.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/unpaidinvoices-count') && preg_match('#^/api/diagnostic\\-immobilier/unpaidinvoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2589.                             if ('GET' !== $canonicalMethod) {
  2590.                                 $allow[] = 'GET';
  2591.                                 goto not_diagnostic_rest_unpaid_invoices_count;
  2592.                             }
  2593.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_unpaid_invoices_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::getUnpaidInvoicesCountAction',  '_format' => 'json',));
  2594.                         }
  2595.                         not_diagnostic_rest_unpaid_invoices_count:
  2596.                         // diagnostic_rest_unpaidpartnerpayment_count
  2597.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/unpaidpaiementcount') && preg_match('#^/api/diagnostic\\-immobilier/unpaidpaiementcount(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2598.                             if ('GET' !== $canonicalMethod) {
  2599.                                 $allow[] = 'GET';
  2600.                                 goto not_diagnostic_rest_unpaidpartnerpayment_count;
  2601.                             }
  2602.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_unpaidpartnerpayment_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\PartnerPaymentRestController::getCountUnpaidPartnerPaymentsAction',  '_format' => 'json',));
  2603.                         }
  2604.                         not_diagnostic_rest_unpaidpartnerpayment_count:
  2605.                     }
  2606.                     elseif (=== strpos($pathinfo'/api/diagnostic-immobilier/pa')) {
  2607.                         // diagnostic_rest_paid_invoices_count
  2608.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/paidinvoices-count') && preg_match('#^/api/diagnostic\\-immobilier/paidinvoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2609.                             if ('GET' !== $canonicalMethod) {
  2610.                                 $allow[] = 'GET';
  2611.                                 goto not_diagnostic_rest_paid_invoices_count;
  2612.                             }
  2613.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_paid_invoices_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::getPaidInvoicesCountAction',  '_format' => 'json',));
  2614.                         }
  2615.                         not_diagnostic_rest_paid_invoices_count:
  2616.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/paiement')) {
  2617.                             // diagnostic_rest_partnerpayments_items
  2618.                             if (=== strpos($pathinfo'/api/diagnostic-immobilier/paiements') && preg_match('#^/api/diagnostic\\-immobilier/paiements(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2619.                                 if ('GET' !== $canonicalMethod) {
  2620.                                     $allow[] = 'GET';
  2621.                                     goto not_diagnostic_rest_partnerpayments_items;
  2622.                                 }
  2623.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_partnerpayments_items')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\PartnerPaymentRestController::getPartnerPaymentsAction',  '_format' => 'json',));
  2624.                             }
  2625.                             not_diagnostic_rest_partnerpayments_items:
  2626.                             // diagnostic_rest_partnerpayment_item
  2627.                             if (preg_match('#^/api/diagnostic\\-immobilier/paiement/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2628.                                 if ('GET' !== $canonicalMethod) {
  2629.                                     $allow[] = 'GET';
  2630.                                     goto not_diagnostic_rest_partnerpayment_item;
  2631.                                 }
  2632.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_partnerpayment_item')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\PartnerPaymentRestController::getPartnerPaymentAction',  '_format' => 'json',));
  2633.                             }
  2634.                             not_diagnostic_rest_partnerpayment_item:
  2635.                             // diagnostic_rest_partnerpayment_count
  2636.                             if (=== strpos($pathinfo'/api/diagnostic-immobilier/paiementcount') && preg_match('#^/api/diagnostic\\-immobilier/paiementcount(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2637.                                 if ('GET' !== $canonicalMethod) {
  2638.                                     $allow[] = 'GET';
  2639.                                     goto not_diagnostic_rest_partnerpayment_count;
  2640.                                 }
  2641.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_partnerpayment_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\PartnerPaymentRestController::getCountPartnerPaymentsAction',  '_format' => 'json',));
  2642.                             }
  2643.                             not_diagnostic_rest_partnerpayment_count:
  2644.                             // diagnostic_rest_partnerpayment_post_items
  2645.                             if (=== strpos($pathinfo'/api/diagnostic-immobilier/paiements') && preg_match('#^/api/diagnostic\\-immobilier/paiements(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2646.                                 if ('POST' !== $canonicalMethod) {
  2647.                                     $allow[] = 'POST';
  2648.                                     goto not_diagnostic_rest_partnerpayment_post_items;
  2649.                                 }
  2650.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_partnerpayment_post_items')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\PartnerPaymentRestController::postPartnerPaymentsAction',  '_format' => 'json',));
  2651.                             }
  2652.                             not_diagnostic_rest_partnerpayment_post_items:
  2653.                             // diagnostic_rest_partnerpayment_put_item
  2654.                             if (preg_match('#^/api/diagnostic\\-immobilier/paiement/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2655.                                 if ('PUT' !== $canonicalMethod) {
  2656.                                     $allow[] = 'PUT';
  2657.                                     goto not_diagnostic_rest_partnerpayment_put_item;
  2658.                                 }
  2659.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_partnerpayment_put_item')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\PartnerPaymentRestController::updatePartnerPaymentAction',  '_format' => 'json',));
  2660.                             }
  2661.                             not_diagnostic_rest_partnerpayment_put_item:
  2662.                             // diagnostic_rest_partnerpayment_patch_item
  2663.                             if (preg_match('#^/api/diagnostic\\-immobilier/paiement/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2664.                                 if ('PATCH' !== $canonicalMethod) {
  2665.                                     $allow[] = 'PATCH';
  2666.                                     goto not_diagnostic_rest_partnerpayment_patch_item;
  2667.                                 }
  2668.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_partnerpayment_patch_item')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\PartnerPaymentRestController::patchPartnerPaymentAction',  '_format' => 'json',));
  2669.                             }
  2670.                             not_diagnostic_rest_partnerpayment_patch_item:
  2671.                             // diagnostic_rest_partnerpayment_delete_item
  2672.                             if (preg_match('#^/api/diagnostic\\-immobilier/paiement/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2673.                                 if ('DELETE' !== $canonicalMethod) {
  2674.                                     $allow[] = 'DELETE';
  2675.                                     goto not_diagnostic_rest_partnerpayment_delete_item;
  2676.                                 }
  2677.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_partnerpayment_delete_item')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\PartnerPaymentRestController::removePartnerPaymentAction',  '_format' => 'json',));
  2678.                             }
  2679.                             not_diagnostic_rest_partnerpayment_delete_item:
  2680.                         }
  2681.                         // diagnostic_rest_patch_payer_rdvdpe
  2682.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/payer-rdvpde') && preg_match('#^/api/diagnostic\\-immobilier/payer\\-rdvpde/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2683.                             if ('PATCH' !== $canonicalMethod) {
  2684.                                 $allow[] = 'PATCH';
  2685.                                 goto not_diagnostic_rest_patch_payer_rdvdpe;
  2686.                             }
  2687.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_payer_rdvdpe')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::payerRdvDpeAction',  '_format' => 'json',));
  2688.                         }
  2689.                         not_diagnostic_rest_patch_payer_rdvdpe:
  2690.                     }
  2691.                     elseif (=== strpos($pathinfo'/api/diagnostic-immobilier/r')) {
  2692.                         // diagnostic_rest_relance
  2693.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/relancefacturesimpayees') && preg_match('#^/api/diagnostic\\-immobilier/relancefacturesimpayees(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2694.                             if ('GET' !== $canonicalMethod) {
  2695.                                 $allow[] = 'GET';
  2696.                                 goto not_diagnostic_rest_relance;
  2697.                             }
  2698.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_relance')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::relanceFacturesImpayeesAction',  '_format' => 'json',));
  2699.                         }
  2700.                         not_diagnostic_rest_relance:
  2701.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/reserver-rdvpde')) {
  2702.                             // diagnostic_rest_reserver-rdvpde
  2703.                             if (preg_match('#^/api/diagnostic\\-immobilier/reserver\\-rdvpde(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2704.                                 if ('POST' !== $canonicalMethod) {
  2705.                                     $allow[] = 'POST';
  2706.                                     goto not_diagnostic_rest_reserverrdvpde;
  2707.                                 }
  2708.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_reserver-rdvpde')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::reserverRdvDpeAction',  '_format' => 'json',));
  2709.                             }
  2710.                             not_diagnostic_rest_reserverrdvpde:
  2711.                             // diagnostic_rest_put_rdvdpe
  2712.                             if (preg_match('#^/api/diagnostic\\-immobilier/reserver\\-rdvpde/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2713.                                 if ('PUT' !== $canonicalMethod) {
  2714.                                     $allow[] = 'PUT';
  2715.                                     goto not_diagnostic_rest_put_rdvdpe;
  2716.                                 }
  2717.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_put_rdvdpe')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::putRdvDpeAction',  '_format' => 'json',));
  2718.                             }
  2719.                             not_diagnostic_rest_put_rdvdpe:
  2720.                             // diagnostic_rest_patch_rdvdpe
  2721.                             if (preg_match('#^/api/diagnostic\\-immobilier/reserver\\-rdvpde/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2722.                                 if ('PATCH' !== $canonicalMethod) {
  2723.                                     $allow[] = 'PATCH';
  2724.                                     goto not_diagnostic_rest_patch_rdvdpe;
  2725.                                 }
  2726.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_rdvdpe')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::patchRdvDpeAction',  '_format' => 'json',));
  2727.                             }
  2728.                             not_diagnostic_rest_patch_rdvdpe:
  2729.                         }
  2730.                         elseif (=== strpos($pathinfo'/api/diagnostic-immobilier/rappels')) {
  2731.                             if (=== strpos($pathinfo'/api/diagnostic-immobilier/rappels-')) {
  2732.                                 // rappel_rest_diag_orders
  2733.                                 if (=== strpos($pathinfo'/api/diagnostic-immobilier/rappels-diag') && preg_match('#^/api/diagnostic\\-immobilier/rappels\\-diag(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2734.                                     if ('GET' !== $canonicalMethod) {
  2735.                                         $allow[] = 'GET';
  2736.                                         goto not_rappel_rest_diag_orders;
  2737.                                     }
  2738.                                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rest_diag_orders')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getRappelsAction',  '_format' => 'json',));
  2739.                                 }
  2740.                                 not_rappel_rest_diag_orders:
  2741.                                 // diagnostic_ajax_rappels
  2742.                                 if (=== strpos($pathinfo'/api/diagnostic-immobilier/rappels-ajax') && preg_match('#^/api/diagnostic\\-immobilier/rappels\\-ajax/(?P<pole>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2743.                                     if ('POST' !== $canonicalMethod) {
  2744.                                         $allow[] = 'POST';
  2745.                                         goto not_diagnostic_ajax_rappels;
  2746.                                     }
  2747.                                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_ajax_rappels')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getAjaxRappelsAction',  '_format' => 'json',));
  2748.                                 }
  2749.                                 not_diagnostic_ajax_rappels:
  2750.                                 // rappel_rest_orders_count
  2751.                                 if (=== strpos($pathinfo'/api/diagnostic-immobilier/rappels-count') && preg_match('#^/api/diagnostic\\-immobilier/rappels\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2752.                                     if ('GET' !== $canonicalMethod) {
  2753.                                         $allow[] = 'GET';
  2754.                                         goto not_rappel_rest_orders_count;
  2755.                                     }
  2756.                                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rest_orders_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getRappelsCountAction',  '_format' => 'json',));
  2757.                                 }
  2758.                                 not_rappel_rest_orders_count:
  2759.                                 // rappel_rest_orders_treat_count
  2760.                                 if (=== strpos($pathinfo'/api/diagnostic-immobilier/rappels-treat-count') && preg_match('#^/api/diagnostic\\-immobilier/rappels\\-treat\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2761.                                     if ('GET' !== $canonicalMethod) {
  2762.                                         $allow[] = 'GET';
  2763.                                         goto not_rappel_rest_orders_treat_count;
  2764.                                     }
  2765.                                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rest_orders_treat_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getRappelsTreatedCountAction',  '_format' => 'json',));
  2766.                                 }
  2767.                                 not_rappel_rest_orders_treat_count:
  2768.                             }
  2769.                             // get_rappel
  2770.                             if (preg_match('#^/api/diagnostic\\-immobilier/rappels/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2771.                                 if ('GET' !== $canonicalMethod) {
  2772.                                     $allow[] = 'GET';
  2773.                                     goto not_get_rappel;
  2774.                                 }
  2775.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_rappel')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getRappelAction',  '_format' => 'json',));
  2776.                             }
  2777.                             not_get_rappel:
  2778.                             // rappel_rest_post_rappel
  2779.                             if (preg_match('#^/api/diagnostic\\-immobilier/rappels(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2780.                                 if ('POST' !== $canonicalMethod) {
  2781.                                     $allow[] = 'POST';
  2782.                                     goto not_rappel_rest_post_rappel;
  2783.                                 }
  2784.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rest_post_rappel')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::postRappelsAction',  '_format' => 'json',));
  2785.                             }
  2786.                             not_rappel_rest_post_rappel:
  2787.                             // rappel_rest_put_rappel
  2788.                             if (preg_match('#^/api/diagnostic\\-immobilier/rappels/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2789.                                 if ('PUT' !== $canonicalMethod) {
  2790.                                     $allow[] = 'PUT';
  2791.                                     goto not_rappel_rest_put_rappel;
  2792.                                 }
  2793.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rest_put_rappel')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::putRappelAction',  '_format' => 'json',));
  2794.                             }
  2795.                             not_rappel_rest_put_rappel:
  2796.                             // rappel_rest_patch_rappel
  2797.                             if (preg_match('#^/api/diagnostic\\-immobilier/rappels/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2798.                                 if ('PATCH' !== $canonicalMethod) {
  2799.                                     $allow[] = 'PATCH';
  2800.                                     goto not_rappel_rest_patch_rappel;
  2801.                                 }
  2802.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rest_patch_rappel')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::patchRappelAction',  '_format' => 'json',));
  2803.                             }
  2804.                             not_rappel_rest_patch_rappel:
  2805.                             // rappel_rest_delete_rappel
  2806.                             if (preg_match('#^/api/diagnostic\\-immobilier/rappels/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2807.                                 if ('DELETE' !== $canonicalMethod) {
  2808.                                     $allow[] = 'DELETE';
  2809.                                     goto not_rappel_rest_delete_rappel;
  2810.                                 }
  2811.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rest_delete_rappel')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::removeRappelAction',  '_format' => 'json',));
  2812.                             }
  2813.                             not_rappel_rest_delete_rappel:
  2814.                             // rappel_rest_patch_rappel_front
  2815.                             if (=== strpos($pathinfo'/api/diagnostic-immobilier/rappelsfront') && preg_match('#^/api/diagnostic\\-immobilier/rappelsfront/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2816.                                 if ('PATCH' !== $canonicalMethod) {
  2817.                                     $allow[] = 'PATCH';
  2818.                                     goto not_rappel_rest_patch_rappel_front;
  2819.                                 }
  2820.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rest_patch_rappel_front')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::patchFrontRappelAction',  '_format' => 'json',));
  2821.                             }
  2822.                             not_rappel_rest_patch_rappel_front:
  2823.                         }
  2824.                         elseif (=== strpos($pathinfo'/api/diagnostic-immobilier/rdvDpes')) {
  2825.                             if (=== strpos($pathinfo'/api/diagnostic-immobilier/rdvDpes-')) {
  2826.                                 // diagnostic_rest_diag_orders
  2827.                                 if (=== strpos($pathinfo'/api/diagnostic-immobilier/rdvDpes-diag') && preg_match('#^/api/diagnostic\\-immobilier/rdvDpes\\-diag(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2828.                                     if ('GET' !== $canonicalMethod) {
  2829.                                         $allow[] = 'GET';
  2830.                                         goto not_diagnostic_rest_diag_orders;
  2831.                                     }
  2832.                                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_diag_orders')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getRdvDpesAction',  '_format' => 'json',));
  2833.                                 }
  2834.                                 not_diagnostic_rest_diag_orders:
  2835.                                 // diagnostic_rest_diag_rdvdpes_list
  2836.                                 if (=== strpos($pathinfo'/api/diagnostic-immobilier/rdvDpes-confirmees-list') && preg_match('#^/api/diagnostic\\-immobilier/rdvDpes\\-confirmees\\-list(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2837.                                     if ('GET' !== $canonicalMethod) {
  2838.                                         $allow[] = 'GET';
  2839.                                         goto not_diagnostic_rest_diag_rdvdpes_list;
  2840.                                     }
  2841.                                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_diag_rdvdpes_list')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getRdvDpesListAction',  '_format' => 'json',));
  2842.                                 }
  2843.                                 not_diagnostic_rest_diag_rdvdpes_list:
  2844.                                 // diagnostic_rest_orders_count
  2845.                                 if (=== strpos($pathinfo'/api/diagnostic-immobilier/rdvDpes-count') && preg_match('#^/api/diagnostic\\-immobilier/rdvDpes\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2846.                                     if ('GET' !== $canonicalMethod) {
  2847.                                         $allow[] = 'GET';
  2848.                                         goto not_diagnostic_rest_orders_count;
  2849.                                     }
  2850.                                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_orders_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getRdvDpesCountAction',  '_format' => 'json',));
  2851.                                 }
  2852.                                 not_diagnostic_rest_orders_count:
  2853.                             }
  2854.                             // get_rdv_dpe
  2855.                             if (preg_match('#^/api/diagnostic\\-immobilier/rdvDpes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2856.                                 if ('GET' !== $canonicalMethod) {
  2857.                                     $allow[] = 'GET';
  2858.                                     goto not_get_rdv_dpe;
  2859.                                 }
  2860.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_rdv_dpe')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getRdvDpeAction',  '_format' => 'json',));
  2861.                             }
  2862.                             not_get_rdv_dpe:
  2863.                             // diagnostic_rest_post_rdvdpe
  2864.                             if (preg_match('#^/api/diagnostic\\-immobilier/rdvDpes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2865.                                 if ('POST' !== $canonicalMethod) {
  2866.                                     $allow[] = 'POST';
  2867.                                     goto not_diagnostic_rest_post_rdvdpe;
  2868.                                 }
  2869.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_rdvdpe')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::postRdvDpesAction',  '_format' => 'json',));
  2870.                             }
  2871.                             not_diagnostic_rest_post_rdvdpe:
  2872.                             // diagnostic_rest_delete_rdvdpe
  2873.                             if (preg_match('#^/api/diagnostic\\-immobilier/rdvDpes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2874.                                 if ('DELETE' !== $canonicalMethod) {
  2875.                                     $allow[] = 'DELETE';
  2876.                                     goto not_diagnostic_rest_delete_rdvdpe;
  2877.                                 }
  2878.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_delete_rdvdpe')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::removeRdvDpeAction',  '_format' => 'json',));
  2879.                             }
  2880.                             not_diagnostic_rest_delete_rdvdpe:
  2881.                             // diagnostic_rest_patch_rdvdpe_front
  2882.                             if (=== strpos($pathinfo'/api/diagnostic-immobilier/rdvDpesfront') && preg_match('#^/api/diagnostic\\-immobilier/rdvDpesfront/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2883.                                 if ('PATCH' !== $canonicalMethod) {
  2884.                                     $allow[] = 'PATCH';
  2885.                                     goto not_diagnostic_rest_patch_rdvdpe_front;
  2886.                                 }
  2887.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_rdvdpe_front')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::patchFrontRdvDpeAction',  '_format' => 'json',));
  2888.                             }
  2889.                             not_diagnostic_rest_patch_rdvdpe_front:
  2890.                         }
  2891.                     }
  2892.                     elseif (=== strpos($pathinfo'/api/diagnostic-immobilier/a')) {
  2893.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/actualisations')) {
  2894.                             // diagnostic_rest_actualisations
  2895.                             if (preg_match('#^/api/diagnostic\\-immobilier/actualisations(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2896.                                 if ('GET' !== $canonicalMethod) {
  2897.                                     $allow[] = 'GET';
  2898.                                     goto not_diagnostic_rest_actualisations;
  2899.                                 }
  2900.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_actualisations')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::getActualisationsAction',  '_format' => 'json',));
  2901.                             }
  2902.                             not_diagnostic_rest_actualisations:
  2903.                             // diagnostic_rest_actualisations_count
  2904.                             if (=== strpos($pathinfo'/api/diagnostic-immobilier/actualisations-count') && preg_match('#^/api/diagnostic\\-immobilier/actualisations\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2905.                                 if ('GET' !== $canonicalMethod) {
  2906.                                     $allow[] = 'GET';
  2907.                                     goto not_diagnostic_rest_actualisations_count;
  2908.                                 }
  2909.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_actualisations_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::getActualisationsCountAction',  '_format' => 'json',));
  2910.                             }
  2911.                             not_diagnostic_rest_actualisations_count:
  2912.                             // get_actualisation
  2913.                             if (preg_match('#^/api/diagnostic\\-immobilier/actualisations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2914.                                 if ('GET' !== $canonicalMethod) {
  2915.                                     $allow[] = 'GET';
  2916.                                     goto not_get_actualisation;
  2917.                                 }
  2918.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_actualisation')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::getActualisationAction',  '_format' => 'json',));
  2919.                             }
  2920.                             not_get_actualisation:
  2921.                             // diagnostic_rest_post_actualisation
  2922.                             if (preg_match('#^/api/diagnostic\\-immobilier/actualisations(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2923.                                 if ('POST' !== $canonicalMethod) {
  2924.                                     $allow[] = 'POST';
  2925.                                     goto not_diagnostic_rest_post_actualisation;
  2926.                                 }
  2927.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_actualisation')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::postActualisationsAction',  '_format' => 'json',));
  2928.                             }
  2929.                             not_diagnostic_rest_post_actualisation:
  2930.                             // diagnostic_rest_put_actualisation
  2931.                             if (preg_match('#^/api/diagnostic\\-immobilier/actualisations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2932.                                 if ('PUT' !== $canonicalMethod) {
  2933.                                     $allow[] = 'PUT';
  2934.                                     goto not_diagnostic_rest_put_actualisation;
  2935.                                 }
  2936.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_put_actualisation')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::updateActualisationAction',  '_format' => 'json',));
  2937.                             }
  2938.                             not_diagnostic_rest_put_actualisation:
  2939.                             // diagnostic_rest_patch_actualisation
  2940.                             if (preg_match('#^/api/diagnostic\\-immobilier/actualisations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2941.                                 if ('PATCH' !== $canonicalMethod) {
  2942.                                     $allow[] = 'PATCH';
  2943.                                     goto not_diagnostic_rest_patch_actualisation;
  2944.                                 }
  2945.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_actualisation')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::patchActualisationAction',  '_format' => 'json',));
  2946.                             }
  2947.                             not_diagnostic_rest_patch_actualisation:
  2948.                             // diagnostic_rest_delete_actualisation
  2949.                             if (preg_match('#^/api/diagnostic\\-immobilier/actualisations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2950.                                 if ('DELETE' !== $canonicalMethod) {
  2951.                                     $allow[] = 'DELETE';
  2952.                                     goto not_diagnostic_rest_delete_actualisation;
  2953.                                 }
  2954.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_delete_actualisation')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::removeActualisationAction',  '_format' => 'json',));
  2955.                             }
  2956.                             not_diagnostic_rest_delete_actualisation:
  2957.                             // diagnostic_rest_post_actualisation_fichier
  2958.                             if (preg_match('#^/api/diagnostic\\-immobilier/actualisations/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2959.                                 if ('POST' !== $canonicalMethod) {
  2960.                                     $allow[] = 'POST';
  2961.                                     goto not_diagnostic_rest_post_actualisation_fichier;
  2962.                                 }
  2963.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_actualisation_fichier')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::postActualisationFichierAction',  '_format' => 'json',));
  2964.                             }
  2965.                             not_diagnostic_rest_post_actualisation_fichier:
  2966.                         }
  2967.                         // get_ajax_actualisations
  2968.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/ajax-actualisation') && preg_match('#^/api/diagnostic\\-immobilier/ajax\\-actualisation(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2969.                             if ('POST' !== $canonicalMethod) {
  2970.                                 $allow[] = 'POST';
  2971.                                 goto not_get_ajax_actualisations;
  2972.                             }
  2973.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_ajax_actualisations')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::getAjaxActualisationsAction',  '_format' => 'json',));
  2974.                         }
  2975.                         not_get_ajax_actualisations:
  2976.                         // get_ajax_rdvdpes
  2977.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/ajax-rdvdpes') && preg_match('#^/api/diagnostic\\-immobilier/ajax\\-rdvdpes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2978.                             if ('POST' !== $canonicalMethod) {
  2979.                                 $allow[] = 'POST';
  2980.                                 goto not_get_ajax_rdvdpes;
  2981.                             }
  2982.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_ajax_rdvdpes')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getAjaxRdvDpesAction',  '_format' => 'json',));
  2983.                         }
  2984.                         not_get_ajax_rdvdpes:
  2985.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/availables-rdv-dpes-by-day')) {
  2986.                             // diagnostic_rest_availables_rdv_dpes_by_day
  2987.                             if (preg_match('#^/api/diagnostic\\-immobilier/availables\\-rdv\\-dpes\\-by\\-day(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2988.                                 if ('GET' !== $canonicalMethod) {
  2989.                                     $allow[] = 'GET';
  2990.                                     goto not_diagnostic_rest_availables_rdv_dpes_by_day;
  2991.                                 }
  2992.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_availables_rdv_dpes_by_day')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getAvailablesRdvDpesByDayAction',  '_format' => 'json',));
  2993.                             }
  2994.                             not_diagnostic_rest_availables_rdv_dpes_by_day:
  2995.                             // diagnostic_rest_availables_rdv_dpes_by_day_count
  2996.                             if (=== strpos($pathinfo'/api/diagnostic-immobilier/availables-rdv-dpes-by-day-count') && preg_match('#^/api/diagnostic\\-immobilier/availables\\-rdv\\-dpes\\-by\\-day\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  2997.                                 if ('GET' !== $canonicalMethod) {
  2998.                                     $allow[] = 'GET';
  2999.                                     goto not_diagnostic_rest_availables_rdv_dpes_by_day_count;
  3000.                                 }
  3001.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_availables_rdv_dpes_by_day_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getAvailablesRdvDpesByDayCountAction',  '_format' => 'json',));
  3002.                             }
  3003.                             not_diagnostic_rest_availables_rdv_dpes_by_day_count:
  3004.                         }
  3005.                     }
  3006.                     elseif (=== strpos($pathinfo'/api/diagnostic-immobilier/invoices-count')) {
  3007.                         // diagnostic_rest_invoices_by_filiale_count
  3008.                         if (preg_match('#^/api/diagnostic\\-immobilier/invoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3009.                             if ('GET' !== $canonicalMethod) {
  3010.                                 $allow[] = 'GET';
  3011.                                 goto not_diagnostic_rest_invoices_by_filiale_count;
  3012.                             }
  3013.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_invoices_by_filiale_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::getInvoicesByFilialeCountAction',  '_format' => 'json',));
  3014.                         }
  3015.                         not_diagnostic_rest_invoices_by_filiale_count:
  3016.                         // diagnostic_rest_invoices_count
  3017.                         if (preg_match('#^/api/diagnostic\\-immobilier/invoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3018.                             if ('GET' !== $canonicalMethod) {
  3019.                                 $allow[] = 'GET';
  3020.                                 goto not_diagnostic_rest_invoices_count;
  3021.                             }
  3022.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_invoices_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::getInvoicesCountAction',  '_format' => 'json',));
  3023.                         }
  3024.                         not_diagnostic_rest_invoices_count:
  3025.                     }
  3026.                     elseif (=== strpos($pathinfo'/api/diagnostic-immobilier/questions')) {
  3027.                         // diagnostic_rest_questions
  3028.                         if (preg_match('#^/api/diagnostic\\-immobilier/questions(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3029.                             if ('GET' !== $canonicalMethod) {
  3030.                                 $allow[] = 'GET';
  3031.                                 goto not_diagnostic_rest_questions;
  3032.                             }
  3033.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_questions')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\QuestionRestController::getQuestionsAction',  '_format' => 'json',));
  3034.                         }
  3035.                         not_diagnostic_rest_questions:
  3036.                         // diagnostic_rest_questions_count
  3037.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/questions-count') && preg_match('#^/api/diagnostic\\-immobilier/questions\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3038.                             if ('GET' !== $canonicalMethod) {
  3039.                                 $allow[] = 'GET';
  3040.                                 goto not_diagnostic_rest_questions_count;
  3041.                             }
  3042.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_questions_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\QuestionRestController::getQuestionsCountAction',  '_format' => 'json',));
  3043.                         }
  3044.                         not_diagnostic_rest_questions_count:
  3045.                         // diagnostic_rest_post_question
  3046.                         if (preg_match('#^/api/diagnostic\\-immobilier/questions(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3047.                             if ('POST' !== $canonicalMethod) {
  3048.                                 $allow[] = 'POST';
  3049.                                 goto not_diagnostic_rest_post_question;
  3050.                             }
  3051.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_question')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\QuestionRestController::postQuestionsAction',  '_format' => 'json',));
  3052.                         }
  3053.                         not_diagnostic_rest_post_question:
  3054.                         // diagnostic_rest_put_question
  3055.                         if (preg_match('#^/api/diagnostic\\-immobilier/questions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3056.                             if ('PUT' !== $canonicalMethod) {
  3057.                                 $allow[] = 'PUT';
  3058.                                 goto not_diagnostic_rest_put_question;
  3059.                             }
  3060.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_put_question')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\QuestionRestController::updateQuestionAction',  '_format' => 'json',));
  3061.                         }
  3062.                         not_diagnostic_rest_put_question:
  3063.                         // diagnostic_rest_patch_question
  3064.                         if (preg_match('#^/api/diagnostic\\-immobilier/questions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3065.                             if ('PATCH' !== $canonicalMethod) {
  3066.                                 $allow[] = 'PATCH';
  3067.                                 goto not_diagnostic_rest_patch_question;
  3068.                             }
  3069.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_question')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\QuestionRestController::patchQuestionAction',  '_format' => 'json',));
  3070.                         }
  3071.                         not_diagnostic_rest_patch_question:
  3072.                         // diagnostic_rest_delete_question
  3073.                         if (preg_match('#^/api/diagnostic\\-immobilier/questions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3074.                             if ('DELETE' !== $canonicalMethod) {
  3075.                                 $allow[] = 'DELETE';
  3076.                                 goto not_diagnostic_rest_delete_question;
  3077.                             }
  3078.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_delete_question')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\QuestionRestController::removeQuestionAction',  '_format' => 'json',));
  3079.                         }
  3080.                         not_diagnostic_rest_delete_question:
  3081.                         // post_question_fichier
  3082.                         if (preg_match('#^/api/diagnostic\\-immobilier/questions/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3083.                             if ('POST' !== $canonicalMethod) {
  3084.                                 $allow[] = 'POST';
  3085.                                 goto not_post_question_fichier;
  3086.                             }
  3087.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_question_fichier')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\QuestionRestController::postQuestionFichierAction',  '_format' => 'json',));
  3088.                         }
  3089.                         not_post_question_fichier:
  3090.                     }
  3091.                     elseif (=== strpos($pathinfo'/api/diagnostic-immobilier/lienPaiements')) {
  3092.                         // diagnostic_rest_lienPaiements
  3093.                         if (preg_match('#^/api/diagnostic\\-immobilier/lienPaiements(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3094.                             if ('GET' !== $canonicalMethod) {
  3095.                                 $allow[] = 'GET';
  3096.                                 goto not_diagnostic_rest_lienPaiements;
  3097.                             }
  3098.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_lienPaiements')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::getLienPaiementsAction',  '_format' => 'json',));
  3099.                         }
  3100.                         not_diagnostic_rest_lienPaiements:
  3101.                         // diagnostic_rest_lienPaiements_count
  3102.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/lienPaiements-count') && preg_match('#^/api/diagnostic\\-immobilier/lienPaiements\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3103.                             if ('GET' !== $canonicalMethod) {
  3104.                                 $allow[] = 'GET';
  3105.                                 goto not_diagnostic_rest_lienPaiements_count;
  3106.                             }
  3107.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_lienPaiements_count')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::getLienPaiementsCountAction',  '_format' => 'json',));
  3108.                         }
  3109.                         not_diagnostic_rest_lienPaiements_count:
  3110.                         // get_lien_paiement
  3111.                         if (=== strpos($pathinfo'/api/diagnostic-immobilier/lienPaiements/factures') && preg_match('#^/api/diagnostic\\-immobilier/lienPaiements/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3112.                             if ('GET' !== $canonicalMethod) {
  3113.                                 $allow[] = 'GET';
  3114.                                 goto not_get_lien_paiement;
  3115.                             }
  3116.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_lien_paiement')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::getLienPaiementAction',  '_format' => 'json',));
  3117.                         }
  3118.                         not_get_lien_paiement:
  3119.                         // diagnostic_rest_post_lienPaiement
  3120.                         if (preg_match('#^/api/diagnostic\\-immobilier/lienPaiements(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3121.                             if ('POST' !== $canonicalMethod) {
  3122.                                 $allow[] = 'POST';
  3123.                                 goto not_diagnostic_rest_post_lienPaiement;
  3124.                             }
  3125.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_lienPaiement')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::postLienPaiementsAction',  '_format' => 'json',));
  3126.                         }
  3127.                         not_diagnostic_rest_post_lienPaiement:
  3128.                         // diagnostic_rest_put_lienPaiement
  3129.                         if (preg_match('#^/api/diagnostic\\-immobilier/lienPaiements/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3130.                             if ('PUT' !== $canonicalMethod) {
  3131.                                 $allow[] = 'PUT';
  3132.                                 goto not_diagnostic_rest_put_lienPaiement;
  3133.                             }
  3134.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_put_lienPaiement')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::updateLienPaiementAction',  '_format' => 'json',));
  3135.                         }
  3136.                         not_diagnostic_rest_put_lienPaiement:
  3137.                         // diagnostic_rest_patch_lienPaiement
  3138.                         if (preg_match('#^/api/diagnostic\\-immobilier/lienPaiements/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3139.                             if ('PATCH' !== $canonicalMethod) {
  3140.                                 $allow[] = 'PATCH';
  3141.                                 goto not_diagnostic_rest_patch_lienPaiement;
  3142.                             }
  3143.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_lienPaiement')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::patchLienPaiementAction',  '_format' => 'json',));
  3144.                         }
  3145.                         not_diagnostic_rest_patch_lienPaiement:
  3146.                         // diagnostic_rest_delete_lienPaiement
  3147.                         if (preg_match('#^/api/diagnostic\\-immobilier/lienPaiements/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3148.                             if ('DELETE' !== $canonicalMethod) {
  3149.                                 $allow[] = 'DELETE';
  3150.                                 goto not_diagnostic_rest_delete_lienPaiement;
  3151.                             }
  3152.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_delete_lienPaiement')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::removeLienPaiementAction',  '_format' => 'json',));
  3153.                         }
  3154.                         not_diagnostic_rest_delete_lienPaiement:
  3155.                         // post_lien_paiement_fichier
  3156.                         if (preg_match('#^/api/diagnostic\\-immobilier/lienPaiements/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3157.                             if ('POST' !== $canonicalMethod) {
  3158.                                 $allow[] = 'POST';
  3159.                                 goto not_post_lien_paiement_fichier;
  3160.                             }
  3161.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_lien_paiement_fichier')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::postLienPaiementFichierAction',  '_format' => 'json',));
  3162.                         }
  3163.                         not_post_lien_paiement_fichier:
  3164.                     }
  3165.                     // diagnostic_ajax_liens_paiements
  3166.                     if (=== strpos($pathinfo'/api/diagnostic-immobilier/leins-paiements-ajax') && preg_match('#^/api/diagnostic\\-immobilier/leins\\-paiements\\-ajax(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3167.                         if ('POST' !== $canonicalMethod) {
  3168.                             $allow[] = 'POST';
  3169.                             goto not_diagnostic_ajax_liens_paiements;
  3170.                         }
  3171.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_ajax_liens_paiements')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::getAjaxLiensPaiementsAction',  '_format' => 'json',));
  3172.                     }
  3173.                     not_diagnostic_ajax_liens_paiements:
  3174.                     // diagnostic_rest_month_calendar
  3175.                     if (=== strpos($pathinfo'/api/diagnostic-immobilier/month-calender') && preg_match('#^/api/diagnostic\\-immobilier/month\\-calender(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3176.                         if ('POST' !== $canonicalMethod) {
  3177.                             $allow[] = 'POST';
  3178.                             goto not_diagnostic_rest_month_calendar;
  3179.                         }
  3180.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_month_calendar')), array (  '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getMonthCalenderAction',  '_format' => 'json',));
  3181.                     }
  3182.                     not_diagnostic_rest_month_calendar:
  3183.                 }
  3184.                 elseif (=== strpos($pathinfo'/api/diagnostics')) {
  3185.                     // update_diagnistic
  3186.                     if (preg_match('#^/api/diagnostics/(?P<id>[^/]++)/edit(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3187.                         if ('POST' !== $canonicalMethod) {
  3188.                             $allow[] = 'POST';
  3189.                             goto not_update_diagnistic;
  3190.                         }
  3191.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_diagnistic')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\DiagnosticRestController::updateDiagnisticAction',  '_format' => 'json',));
  3192.                     }
  3193.                     not_update_diagnistic:
  3194.                     // remove_diagnistic
  3195.                     if (preg_match('#^/api/diagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3196.                         if ('DELETE' !== $canonicalMethod) {
  3197.                             $allow[] = 'DELETE';
  3198.                             goto not_remove_diagnistic;
  3199.                         }
  3200.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_diagnistic')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\DiagnosticRestController::removeDiagnisticAction',  '_format' => 'json',));
  3201.                     }
  3202.                     not_remove_diagnistic:
  3203.                     // get_diagnistics
  3204.                     if (preg_match('#^/api/diagnostics(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3205.                         if ('GET' !== $canonicalMethod) {
  3206.                             $allow[] = 'GET';
  3207.                             goto not_get_diagnistics;
  3208.                         }
  3209.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_diagnistics')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\DiagnosticRestController::getDiagnisticsAction',  '_format' => 'json',));
  3210.                     }
  3211.                     not_get_diagnistics:
  3212.                     // get_diagnistic
  3213.                     if (preg_match('#^/api/diagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3214.                         if ('GET' !== $canonicalMethod) {
  3215.                             $allow[] = 'GET';
  3216.                             goto not_get_diagnistic;
  3217.                         }
  3218.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_diagnistic')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\DiagnosticRestController::getDiagnisticAction',  '_format' => 'json',));
  3219.                     }
  3220.                     not_get_diagnistic:
  3221.                     // post_diagnistics
  3222.                     if (preg_match('#^/api/diagnostics(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3223.                         if ('POST' !== $canonicalMethod) {
  3224.                             $allow[] = 'POST';
  3225.                             goto not_post_diagnistics;
  3226.                         }
  3227.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_diagnistics')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\DiagnosticRestController::postDiagnisticsAction',  '_format' => 'json',));
  3228.                     }
  3229.                     not_post_diagnistics:
  3230.                     // patch_diagnistic
  3231.                     if (preg_match('#^/api/diagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3232.                         if ('PATCH' !== $canonicalMethod) {
  3233.                             $allow[] = 'PATCH';
  3234.                             goto not_patch_diagnistic;
  3235.                         }
  3236.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_diagnistic')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\DiagnosticRestController::patchDiagnisticAction',  '_format' => 'json',));
  3237.                     }
  3238.                     not_patch_diagnistic:
  3239.                 }
  3240.             }
  3241.             elseif (=== strpos($pathinfo'/api/e')) {
  3242.                 if (=== strpos($pathinfo'/api/esris')) {
  3243.                     if (=== strpos($pathinfo'/api/esris/offres')) {
  3244.                         // esris_rest_orders_count
  3245.                         if (=== strpos($pathinfo'/api/esris/offres-count') && preg_match('#^/api/esris/offres\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3246.                             if ('GET' !== $canonicalMethod) {
  3247.                                 $allow[] = 'GET';
  3248.                                 goto not_esris_rest_orders_count;
  3249.                             }
  3250.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_orders_count')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\OffreRestController::getOffresCountAction',  '_format' => 'json',));
  3251.                         }
  3252.                         not_esris_rest_orders_count:
  3253.                         // esris_rest_get_offres
  3254.                         if (preg_match('#^/api/esris/offres(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3255.                             if ('GET' !== $canonicalMethod) {
  3256.                                 $allow[] = 'GET';
  3257.                                 goto not_esris_rest_get_offres;
  3258.                             }
  3259.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_get_offres')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\OffreRestController::getOffresAction',  '_format' => 'json',));
  3260.                         }
  3261.                         not_esris_rest_get_offres:
  3262.                         // esris_rest_get_all_offre_dipro
  3263.                         if (=== strpos($pathinfo'/api/esris/offresdipro') && preg_match('#^/api/esris/offresdipro(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3264.                             if ('GET' !== $canonicalMethod) {
  3265.                                 $allow[] = 'GET';
  3266.                                 goto not_esris_rest_get_all_offre_dipro;
  3267.                             }
  3268.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_get_all_offre_dipro')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\OffreRestController::getOffresDiProAction',  '_format' => 'json',));
  3269.                         }
  3270.                         not_esris_rest_get_all_offre_dipro:
  3271.                         // esris_rest_post_offre
  3272.                         if (preg_match('#^/api/esris/offres(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3273.                             if ('POST' !== $canonicalMethod) {
  3274.                                 $allow[] = 'POST';
  3275.                                 goto not_esris_rest_post_offre;
  3276.                             }
  3277.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_post_offre')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\OffreRestController::postOffresAction',  '_format' => 'json',));
  3278.                         }
  3279.                         not_esris_rest_post_offre:
  3280.                         // esris_rest_put_offre
  3281.                         if (preg_match('#^/api/esris/offres/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3282.                             if ('PUT' !== $canonicalMethod) {
  3283.                                 $allow[] = 'PUT';
  3284.                                 goto not_esris_rest_put_offre;
  3285.                             }
  3286.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_put_offre')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\OffreRestController::updateOffreAction',  '_format' => 'json',));
  3287.                         }
  3288.                         not_esris_rest_put_offre:
  3289.                         // esris_rest_patch_offre
  3290.                         if (preg_match('#^/api/esris/offres/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3291.                             if ('PATCH' !== $canonicalMethod) {
  3292.                                 $allow[] = 'PATCH';
  3293.                                 goto not_esris_rest_patch_offre;
  3294.                             }
  3295.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_patch_offre')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\OffreRestController::patchOffreAction',  '_format' => 'json',));
  3296.                         }
  3297.                         not_esris_rest_patch_offre:
  3298.                         // esris_rest_delete_offre
  3299.                         if (preg_match('#^/api/esris/offres/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3300.                             if ('DELETE' !== $canonicalMethod) {
  3301.                                 $allow[] = 'DELETE';
  3302.                                 goto not_esris_rest_delete_offre;
  3303.                             }
  3304.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_delete_offre')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\OffreRestController::removeOffreAction',  '_format' => 'json',));
  3305.                         }
  3306.                         not_esris_rest_delete_offre:
  3307.                     }
  3308.                     // esris_rest_get_all_offre
  3309.                     if (=== strpos($pathinfo'/api/esris/alloffres') && preg_match('#^/api/esris/alloffres(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3310.                         if ('GET' !== $canonicalMethod) {
  3311.                             $allow[] = 'GET';
  3312.                             goto not_esris_rest_get_all_offre;
  3313.                         }
  3314.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_get_all_offre')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\OffreRestController::getAllOffresAction',  '_format' => 'json',));
  3315.                     }
  3316.                     not_esris_rest_get_all_offre:
  3317.                     // get_offre
  3318.                     if (=== strpos($pathinfo'/api/esris/Offres') && preg_match('#^/api/esris/Offres/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3319.                         if ('GET' !== $canonicalMethod) {
  3320.                             $allow[] = 'GET';
  3321.                             goto not_get_offre;
  3322.                         }
  3323.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_offre')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\OffreRestController::getOffreAction',  '_format' => 'json',));
  3324.                     }
  3325.                     not_get_offre:
  3326.                     if (=== strpos($pathinfo'/api/esris/user')) {
  3327.                         // esris_rest_get_offres_by_customer
  3328.                         if (preg_match('#^/api/esris/user/(?P<userId>[^/]++)/offres(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3329.                             if ('GET' !== $canonicalMethod) {
  3330.                                 $allow[] = 'GET';
  3331.                                 goto not_esris_rest_get_offres_by_customer;
  3332.                             }
  3333.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_get_offres_by_customer')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\OffreRestController::getOffresByCustomerAction',  '_format' => 'json',));
  3334.                         }
  3335.                         not_esris_rest_get_offres_by_customer:
  3336.                         // esris_rest_get_commandes_offres_by_customer
  3337.                         if (preg_match('#^/api/esris/user/(?P<userId>[^/]++)/commandesoffres(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3338.                             if ('GET' !== $canonicalMethod) {
  3339.                                 $allow[] = 'GET';
  3340.                                 goto not_esris_rest_get_commandes_offres_by_customer;
  3341.                             }
  3342.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_get_commandes_offres_by_customer')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeOffreRestController::getCommandesOffresByCustomerAction',  '_format' => 'json',));
  3343.                         }
  3344.                         not_esris_rest_get_commandes_offres_by_customer:
  3345.                         // esris_rest_get_commandes_by_customer
  3346.                         if (preg_match('#^/api/esris/user/(?P<userId>[^/]++)/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3347.                             if ('GET' !== $canonicalMethod) {
  3348.                                 $allow[] = 'GET';
  3349.                                 goto not_esris_rest_get_commandes_by_customer;
  3350.                             }
  3351.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_get_commandes_by_customer')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeRestController::getCommandesByCustomerAction',  '_format' => 'json',));
  3352.                         }
  3353.                         not_esris_rest_get_commandes_by_customer:
  3354.                         // esris_rest_get_factures_by_customer
  3355.                         if (preg_match('#^/api/esris/user/(?P<userId>[^/]++)/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3356.                             if ('GET' !== $canonicalMethod) {
  3357.                                 $allow[] = 'GET';
  3358.                                 goto not_esris_rest_get_factures_by_customer;
  3359.                             }
  3360.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_get_factures_by_customer')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::getFacturesByCustomerAction',  '_format' => 'json',));
  3361.                         }
  3362.                         not_esris_rest_get_factures_by_customer:
  3363.                     }
  3364.                     elseif (=== strpos($pathinfo'/api/esris/telecharger-fichier')) {
  3365.                         // diagnostic_rest_telechargerFichierOffre
  3366.                         if (=== strpos($pathinfo'/api/esris/telecharger-fichieroffre') && preg_match('#^/api/esris/telecharger\\-fichieroffre/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3367.                             if ('GET' !== $canonicalMethod) {
  3368.                                 $allow[] = 'GET';
  3369.                                 goto not_diagnostic_rest_telechargerFichierOffre;
  3370.                             }
  3371.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_telechargerFichierOffre')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeOffreRestController::telechargerFichierAction',  '_format' => 'json',));
  3372.                         }
  3373.                         not_diagnostic_rest_telechargerFichierOffre:
  3374.                         // esris_rest_telechargerFichier
  3375.                         if (preg_match('#^/api/esris/telecharger\\-fichier/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3376.                             if ('GET' !== $canonicalMethod) {
  3377.                                 $allow[] = 'GET';
  3378.                                 goto not_esris_rest_telechargerFichier;
  3379.                             }
  3380.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_telechargerFichier')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeRestController::telechargerFichierAction',  '_format' => 'json',));
  3381.                         }
  3382.                         not_esris_rest_telechargerFichier:
  3383.                     }
  3384.                     // esis_rest_telechargerFacture
  3385.                     if (=== strpos($pathinfo'/api/esris/telecharger-facture') && preg_match('#^/api/esris/telecharger\\-facture/(?P<factureId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3386.                         if ('GET' !== $canonicalMethod) {
  3387.                             $allow[] = 'GET';
  3388.                             goto not_esis_rest_telechargerFacture;
  3389.                         }
  3390.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'esis_rest_telechargerFacture')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::telechargerFactureAction',  '_format' => 'json',));
  3391.                     }
  3392.                     not_esis_rest_telechargerFacture:
  3393.                     if (=== strpos($pathinfo'/api/esris/commandeoffres')) {
  3394.                         // esris_rest_get_commandeoffre
  3395.                         if (preg_match('#^/api/esris/commandeoffres(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3396.                             if ('GET' !== $canonicalMethod) {
  3397.                                 $allow[] = 'GET';
  3398.                                 goto not_esris_rest_get_commandeoffre;
  3399.                             }
  3400.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_get_commandeoffre')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeOffreRestController::getCommandeOffresAction',  '_format' => 'json',));
  3401.                         }
  3402.                         not_esris_rest_get_commandeoffre:
  3403.                         // esris_rest_post_commandeoffre
  3404.                         if (preg_match('#^/api/esris/commandeoffres(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3405.                             if ('POST' !== $canonicalMethod) {
  3406.                                 $allow[] = 'POST';
  3407.                                 goto not_esris_rest_post_commandeoffre;
  3408.                             }
  3409.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_post_commandeoffre')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeOffreRestController::postCommandeOffresAction',  '_format' => 'json',));
  3410.                         }
  3411.                         not_esris_rest_post_commandeoffre:
  3412.                         // esris_rest_put_commandeoffre
  3413.                         if (preg_match('#^/api/esris/commandeoffres/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3414.                             if ('PUT' !== $canonicalMethod) {
  3415.                                 $allow[] = 'PUT';
  3416.                                 goto not_esris_rest_put_commandeoffre;
  3417.                             }
  3418.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_put_commandeoffre')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeOffreRestController::updateCommandeOffreAction',  '_format' => 'json',));
  3419.                         }
  3420.                         not_esris_rest_put_commandeoffre:
  3421.                         // esris_rest_patch_commandeoffre
  3422.                         if (preg_match('#^/api/esris/commandeoffres/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3423.                             if ('PATCH' !== $canonicalMethod) {
  3424.                                 $allow[] = 'PATCH';
  3425.                                 goto not_esris_rest_patch_commandeoffre;
  3426.                             }
  3427.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_patch_commandeoffre')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeOffreRestController::patchCommandeOffreAction',  '_format' => 'json',));
  3428.                         }
  3429.                         not_esris_rest_patch_commandeoffre:
  3430.                         // esris_rest_delete_commandeoffre
  3431.                         if (preg_match('#^/api/esris/commandeoffres/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3432.                             if ('DELETE' !== $canonicalMethod) {
  3433.                                 $allow[] = 'DELETE';
  3434.                                 goto not_esris_rest_delete_commandeoffre;
  3435.                             }
  3436.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_delete_commandeoffre')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeOffreRestController::removeCommandeOffreAction',  '_format' => 'json',));
  3437.                         }
  3438.                         not_esris_rest_delete_commandeoffre:
  3439.                     }
  3440.                     elseif (=== strpos($pathinfo'/api/esris/commandes')) {
  3441.                         // esris_rest_get_commandes
  3442.                         if (preg_match('#^/api/esris/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3443.                             if ('GET' !== $canonicalMethod) {
  3444.                                 $allow[] = 'GET';
  3445.                                 goto not_esris_rest_get_commandes;
  3446.                             }
  3447.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_get_commandes')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeRestController::getCommandesAction',  '_format' => 'json',));
  3448.                         }
  3449.                         not_esris_rest_get_commandes:
  3450.                         // esris_rest_get_commande
  3451.                         if (preg_match('#^/api/esris/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3452.                             if ('GET' !== $canonicalMethod) {
  3453.                                 $allow[] = 'GET';
  3454.                                 goto not_esris_rest_get_commande;
  3455.                             }
  3456.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_get_commande')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeRestController::getCommandeAction',  '_format' => 'json',));
  3457.                         }
  3458.                         not_esris_rest_get_commande:
  3459.                         // esris_rest_post_commande
  3460.                         if (preg_match('#^/api/esris/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3461.                             if ('POST' !== $canonicalMethod) {
  3462.                                 $allow[] = 'POST';
  3463.                                 goto not_esris_rest_post_commande;
  3464.                             }
  3465.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_post_commande')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeRestController::postCommandesAction',  '_format' => 'json',));
  3466.                         }
  3467.                         not_esris_rest_post_commande:
  3468.                         // esris_rest_put_commande
  3469.                         if (preg_match('#^/api/esris/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3470.                             if ('PUT' !== $canonicalMethod) {
  3471.                                 $allow[] = 'PUT';
  3472.                                 goto not_esris_rest_put_commande;
  3473.                             }
  3474.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_put_commande')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeRestController::updateCommandeAction',  '_format' => 'json',));
  3475.                         }
  3476.                         not_esris_rest_put_commande:
  3477.                         // esris_rest_patch_commande
  3478.                         if (preg_match('#^/api/esris/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3479.                             if ('PATCH' !== $canonicalMethod) {
  3480.                                 $allow[] = 'PATCH';
  3481.                                 goto not_esris_rest_patch_commande;
  3482.                             }
  3483.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_patch_commande')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeRestController::patchCommandeAction',  '_format' => 'json',));
  3484.                         }
  3485.                         not_esris_rest_patch_commande:
  3486.                         // esris_rest_post_commande_fichier
  3487.                         if (preg_match('#^/api/esris/commandes/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3488.                             if ('POST' !== $canonicalMethod) {
  3489.                                 $allow[] = 'POST';
  3490.                                 goto not_esris_rest_post_commande_fichier;
  3491.                             }
  3492.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_post_commande_fichier')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeRestController::postCommandeFichierAction',  '_format' => 'json',));
  3493.                         }
  3494.                         not_esris_rest_post_commande_fichier:
  3495.                         // esris_rest_delete_commande
  3496.                         if (preg_match('#^/api/esris/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3497.                             if ('DELETE' !== $canonicalMethod) {
  3498.                                 $allow[] = 'DELETE';
  3499.                                 goto not_esris_rest_delete_commande;
  3500.                             }
  3501.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_delete_commande')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeRestController::removeCommandeAction',  '_format' => 'json',));
  3502.                         }
  3503.                         not_esris_rest_delete_commande:
  3504.                     }
  3505.                     // get_commande_offre
  3506.                     if (=== strpos($pathinfo'/api/esris/CommandeOffres') && preg_match('#^/api/esris/CommandeOffres/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3507.                         if ('GET' !== $canonicalMethod) {
  3508.                             $allow[] = 'GET';
  3509.                             goto not_get_commande_offre;
  3510.                         }
  3511.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commande_offre')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeOffreRestController::getCommandeOffreAction',  '_format' => 'json',));
  3512.                     }
  3513.                     not_get_commande_offre:
  3514.                     if (=== strpos($pathinfo'/api/esris/factures')) {
  3515.                         // esris_rest_invoices_count
  3516.                         if (=== strpos($pathinfo'/api/esris/factures-count') && preg_match('#^/api/esris/factures\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3517.                             if ('GET' !== $canonicalMethod) {
  3518.                                 $allow[] = 'GET';
  3519.                                 goto not_esris_rest_invoices_count;
  3520.                             }
  3521.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_invoices_count')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::getFacturesCountAction',  '_format' => 'json',));
  3522.                         }
  3523.                         not_esris_rest_invoices_count:
  3524.                         // esris_rest_paidinvoices_count
  3525.                         if (=== strpos($pathinfo'/api/esris/facturespayes-count') && preg_match('#^/api/esris/facturespayes\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3526.                             if ('GET' !== $canonicalMethod) {
  3527.                                 $allow[] = 'GET';
  3528.                                 goto not_esris_rest_paidinvoices_count;
  3529.                             }
  3530.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_paidinvoices_count')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::getFacturesPayesCountAction',  '_format' => 'json',));
  3531.                         }
  3532.                         not_esris_rest_paidinvoices_count:
  3533.                         // esris_rest_unpaidinvoices_count
  3534.                         if (=== strpos($pathinfo'/api/esris/facturesimpayes-count') && preg_match('#^/api/esris/facturesimpayes\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3535.                             if ('GET' !== $canonicalMethod) {
  3536.                                 $allow[] = 'GET';
  3537.                                 goto not_esris_rest_unpaidinvoices_count;
  3538.                             }
  3539.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_unpaidinvoices_count')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::getFacturesImpayesCountAction',  '_format' => 'json',));
  3540.                         }
  3541.                         not_esris_rest_unpaidinvoices_count:
  3542.                         // esris_rest_ca
  3543.                         if (=== strpos($pathinfo'/api/esris/factures/ca') && preg_match('#^/api/esris/factures/ca(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3544.                             if ('GET' !== $canonicalMethod) {
  3545.                                 $allow[] = 'GET';
  3546.                                 goto not_esris_rest_ca;
  3547.                             }
  3548.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_ca')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::getCaAction',  '_format' => 'json',));
  3549.                         }
  3550.                         not_esris_rest_ca:
  3551.                         // esris_rest_get_factures
  3552.                         if (preg_match('#^/api/esris/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3553.                             if ('GET' !== $canonicalMethod) {
  3554.                                 $allow[] = 'GET';
  3555.                                 goto not_esris_rest_get_factures;
  3556.                             }
  3557.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_get_factures')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::getFacturesAction',  '_format' => 'json',));
  3558.                         }
  3559.                         not_esris_rest_get_factures:
  3560.                         // esris_rest_post_facture
  3561.                         if (preg_match('#^/api/esris/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3562.                             if ('POST' !== $canonicalMethod) {
  3563.                                 $allow[] = 'POST';
  3564.                                 goto not_esris_rest_post_facture;
  3565.                             }
  3566.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_post_facture')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::postFacturesAction',  '_format' => 'json',));
  3567.                         }
  3568.                         not_esris_rest_post_facture:
  3569.                         if (=== strpos($pathinfo'/api/esris/facturesbycommande')) {
  3570.                             // esris_rest_post_facture_by_commande
  3571.                             if (preg_match('#^/api/esris/facturesbycommande(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3572.                                 if ('POST' !== $canonicalMethod) {
  3573.                                     $allow[] = 'POST';
  3574.                                     goto not_esris_rest_post_facture_by_commande;
  3575.                                 }
  3576.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_post_facture_by_commande')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::postFacturesByCommandeAction',  '_format' => 'json',));
  3577.                             }
  3578.                             not_esris_rest_post_facture_by_commande:
  3579.                             // esris_rest_post_facture_by_commande_offre
  3580.                             if (=== strpos($pathinfo'/api/esris/facturesbycommandeoffre') && preg_match('#^/api/esris/facturesbycommandeoffre(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3581.                                 if ('POST' !== $canonicalMethod) {
  3582.                                     $allow[] = 'POST';
  3583.                                     goto not_esris_rest_post_facture_by_commande_offre;
  3584.                                 }
  3585.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_post_facture_by_commande_offre')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::postFacturesByCommandeOffreAction',  '_format' => 'json',));
  3586.                             }
  3587.                             not_esris_rest_post_facture_by_commande_offre:
  3588.                         }
  3589.                         // esris_rest_put_facture
  3590.                         if (preg_match('#^/api/esris/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3591.                             if ('PUT' !== $canonicalMethod) {
  3592.                                 $allow[] = 'PUT';
  3593.                                 goto not_esris_rest_put_facture;
  3594.                             }
  3595.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_put_facture')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::updateFactureAction',  '_format' => 'json',));
  3596.                         }
  3597.                         not_esris_rest_put_facture:
  3598.                         // esris_rest_patch_facture
  3599.                         if (preg_match('#^/api/esris/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3600.                             if ('PATCH' !== $canonicalMethod) {
  3601.                                 $allow[] = 'PATCH';
  3602.                                 goto not_esris_rest_patch_facture;
  3603.                             }
  3604.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_patch_facture')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::patchFactureAction',  '_format' => 'json',));
  3605.                         }
  3606.                         not_esris_rest_patch_facture:
  3607.                         // esris_rest_post_facture_fichier
  3608.                         if (preg_match('#^/api/esris/factures/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3609.                             if ('POST' !== $canonicalMethod) {
  3610.                                 $allow[] = 'POST';
  3611.                                 goto not_esris_rest_post_facture_fichier;
  3612.                             }
  3613.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_post_facture_fichier')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::postFactureFichierAction',  '_format' => 'json',));
  3614.                         }
  3615.                         not_esris_rest_post_facture_fichier:
  3616.                         // esris_rest_delete_facture
  3617.                         if (preg_match('#^/api/esris/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3618.                             if ('DELETE' !== $canonicalMethod) {
  3619.                                 $allow[] = 'DELETE';
  3620.                                 goto not_esris_rest_delete_facture;
  3621.                             }
  3622.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_delete_facture')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::removeFactureAction',  '_format' => 'json',));
  3623.                         }
  3624.                         not_esris_rest_delete_facture:
  3625.                     }
  3626.                     // esris_rest_ca_by_filiale
  3627.                     if (=== strpos($pathinfo'/api/esris/filiale') && preg_match('#^/api/esris/filiale/(?P<filialeId>[^/]++)/factures/ca(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3628.                         if ('GET' !== $canonicalMethod) {
  3629.                             $allow[] = 'GET';
  3630.                             goto not_esris_rest_ca_by_filiale;
  3631.                         }
  3632.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_ca_by_filiale')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::getCaByFilialeAction',  '_format' => 'json',));
  3633.                     }
  3634.                     not_esris_rest_ca_by_filiale:
  3635.                     // get_facture
  3636.                     if (=== strpos($pathinfo'/api/esris/Factures') && preg_match('#^/api/esris/Factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3637.                         if ('GET' !== $canonicalMethod) {
  3638.                             $allow[] = 'GET';
  3639.                             goto not_get_facture;
  3640.                         }
  3641.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_facture')), array (  '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::getFactureAction',  '_format' => 'json',));
  3642.                     }
  3643.                     not_get_facture:
  3644.                 }
  3645.                 elseif (=== strpos($pathinfo'/api/edl')) {
  3646.                     if (=== strpos($pathinfo'/api/edl/commandes')) {
  3647.                         if (=== strpos($pathinfo'/api/edl/commandes-')) {
  3648.                             if (=== strpos($pathinfo'/api/edl/commandes-c')) {
  3649.                                 // edl_rest_commandes_list
  3650.                                 if (=== strpos($pathinfo'/api/edl/commandes-confirmees-list') && preg_match('#^/api/edl/commandes\\-confirmees\\-list(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3651.                                     if ('GET' !== $canonicalMethod) {
  3652.                                         $allow[] = 'GET';
  3653.                                         goto not_edl_rest_commandes_list;
  3654.                                     }
  3655.                                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_commandes_list')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandesListAction',  '_format' => 'json',));
  3656.                                 }
  3657.                                 not_edl_rest_commandes_list:
  3658.                                 // edl_rest_orders_count
  3659.                                 if (=== strpos($pathinfo'/api/edl/commandes-count') && preg_match('#^/api/edl/commandes\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3660.                                     if ('GET' !== $canonicalMethod) {
  3661.                                         $allow[] = 'GET';
  3662.                                         goto not_edl_rest_orders_count;
  3663.                                     }
  3664.                                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_orders_count')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandesCountAction',  '_format' => 'json',));
  3665.                                 }
  3666.                                 not_edl_rest_orders_count:
  3667.                                 // edl_rest_ca_edl
  3668.                                 if (=== strpos($pathinfo'/api/edl/commandes-ca-edl') && preg_match('#^/api/edl/commandes\\-ca\\-edl(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3669.                                     if ('GET' !== $canonicalMethod) {
  3670.                                         $allow[] = 'GET';
  3671.                                         goto not_edl_rest_ca_edl;
  3672.                                     }
  3673.                                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_ca_edl')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCaEdlAction',  '_format' => 'json',));
  3674.                                 }
  3675.                                 not_edl_rest_ca_edl:
  3676.                             }
  3677.                             // edl_rest_orders_treat_count
  3678.                             if (=== strpos($pathinfo'/api/edl/commandes-treat-count') && preg_match('#^/api/edl/commandes\\-treat\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3679.                                 if ('GET' !== $canonicalMethod) {
  3680.                                     $allow[] = 'GET';
  3681.                                     goto not_edl_rest_orders_treat_count;
  3682.                                 }
  3683.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_orders_treat_count')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandesTreatedCountAction',  '_format' => 'json',));
  3684.                             }
  3685.                             not_edl_rest_orders_treat_count:
  3686.                             // edl_rest_orders_progr_count
  3687.                             if (=== strpos($pathinfo'/api/edl/commandes-prog-count') && preg_match('#^/api/edl/commandes\\-prog\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3688.                                 if ('GET' !== $canonicalMethod) {
  3689.                                     $allow[] = 'GET';
  3690.                                     goto not_edl_rest_orders_progr_count;
  3691.                                 }
  3692.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_orders_progr_count')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandesProgressCountAction',  '_format' => 'json',));
  3693.                             }
  3694.                             not_edl_rest_orders_progr_count:
  3695.                         }
  3696.                         // edl_rest_send_commande_by_email
  3697.                         if (=== strpos($pathinfo'/api/edl/commandes/envoiemail') && preg_match('#^/api/edl/commandes/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3698.                             if ('POST' !== $canonicalMethod) {
  3699.                                 $allow[] = 'POST';
  3700.                                 goto not_edl_rest_send_commande_by_email;
  3701.                             }
  3702.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_send_commande_by_email')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::sendCommandeByEmailAction',  '_format' => 'json',));
  3703.                         }
  3704.                         not_edl_rest_send_commande_by_email:
  3705.                         // get_commandeedl
  3706.                         if (preg_match('#^/api/edl/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3707.                             if ('GET' !== $canonicalMethod) {
  3708.                                 $allow[] = 'GET';
  3709.                                 goto not_get_commandeedl;
  3710.                             }
  3711.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandeedl')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandeAction',  '_format' => 'json',));
  3712.                         }
  3713.                         not_get_commandeedl:
  3714.                         // edl_rest_post_commande
  3715.                         if (preg_match('#^/api/edl/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3716.                             if ('POST' !== $canonicalMethod) {
  3717.                                 $allow[] = 'POST';
  3718.                                 goto not_edl_rest_post_commande;
  3719.                             }
  3720.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_post_commande')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::postCommandesAction',  '_format' => 'json',));
  3721.                         }
  3722.                         not_edl_rest_post_commande:
  3723.                         // edl_rest_put_commande
  3724.                         if (preg_match('#^/api/edl/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3725.                             if ('PUT' !== $canonicalMethod) {
  3726.                                 $allow[] = 'PUT';
  3727.                                 goto not_edl_rest_put_commande;
  3728.                             }
  3729.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_put_commande')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::updateCommandeAction',  '_format' => 'json',));
  3730.                         }
  3731.                         not_edl_rest_put_commande:
  3732.                         // edl_rest_patch_commande
  3733.                         if (preg_match('#^/api/edl/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3734.                             if ('PATCH' !== $canonicalMethod) {
  3735.                                 $allow[] = 'PATCH';
  3736.                                 goto not_edl_rest_patch_commande;
  3737.                             }
  3738.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_patch_commande')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::patchCommandeAction',  '_format' => 'json',));
  3739.                         }
  3740.                         not_edl_rest_patch_commande:
  3741.                         // edl_rest_delete_commande
  3742.                         if (preg_match('#^/api/edl/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3743.                             if ('DELETE' !== $canonicalMethod) {
  3744.                                 $allow[] = 'DELETE';
  3745.                                 goto not_edl_rest_delete_commande;
  3746.                             }
  3747.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_delete_commande')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::removeCommandeAction',  '_format' => 'json',));
  3748.                         }
  3749.                         not_edl_rest_delete_commande:
  3750.                         // edl_rest_post_commande_fichier
  3751.                         if (preg_match('#^/api/edl/commandes/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3752.                             if ('POST' !== $canonicalMethod) {
  3753.                                 $allow[] = 'POST';
  3754.                                 goto not_edl_rest_post_commande_fichier;
  3755.                             }
  3756.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_post_commande_fichier')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::postCommandeFichierAction',  '_format' => 'json',));
  3757.                         }
  3758.                         not_edl_rest_post_commande_fichier:
  3759.                         // edl_rest_post_commande_front
  3760.                         if (=== strpos($pathinfo'/api/edl/commandes/front') && preg_match('#^/api/edl/commandes/front(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3761.                             if ('POST' !== $canonicalMethod) {
  3762.                                 $allow[] = 'POST';
  3763.                                 goto not_edl_rest_post_commande_front;
  3764.                             }
  3765.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_post_commande_front')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::forntCommandeAction',  '_format' => 'json',));
  3766.                         }
  3767.                         not_edl_rest_post_commande_front:
  3768.                         // edl_rest_patch_commande_front
  3769.                         if (=== strpos($pathinfo'/api/edl/commandesfront') && preg_match('#^/api/edl/commandesfront/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3770.                             if ('PATCH' !== $canonicalMethod) {
  3771.                                 $allow[] = 'PATCH';
  3772.                                 goto not_edl_rest_patch_commande_front;
  3773.                             }
  3774.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_patch_commande_front')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::patchFrontCommandeAction',  '_format' => 'json',));
  3775.                         }
  3776.                         not_edl_rest_patch_commande_front:
  3777.                         // edl_rest_get_verif_rdv
  3778.                         if (preg_match('#^/api/edl/commandes/(?P<id>[^/]++)/verifRDV(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3779.                             if ('POST' !== $canonicalMethod) {
  3780.                                 $allow[] = 'POST';
  3781.                                 goto not_edl_rest_get_verif_rdv;
  3782.                             }
  3783.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_get_verif_rdv')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getVerifRDVAction',  '_format' => 'json',));
  3784.                         }
  3785.                         not_edl_rest_get_verif_rdv:
  3786.                     }
  3787.                     // edl_rest_post_devis_front
  3788.                     if (=== strpos($pathinfo'/api/edl/commande') && preg_match('#^/api/edl/commande/(?P<commandeId>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3789.                         if ('GET' !== $canonicalMethod) {
  3790.                             $allow[] = 'GET';
  3791.                             goto not_edl_rest_post_devis_front;
  3792.                         }
  3793.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_post_devis_front')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::frontDevisFromCommandeAction',  '_format' => 'json',));
  3794.                     }
  3795.                     not_edl_rest_post_devis_front:
  3796.                     if (=== strpos($pathinfo'/api/edl/filiale')) {
  3797.                         // edl_rest_orders_by_filiale_count
  3798.                         if (preg_match('#^/api/edl/filiale/(?P<filialeId>[^/]++)/commandes\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3799.                             if ('GET' !== $canonicalMethod) {
  3800.                                 $allow[] = 'GET';
  3801.                                 goto not_edl_rest_orders_by_filiale_count;
  3802.                             }
  3803.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_orders_by_filiale_count')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandesByFilialeCountAction',  '_format' => 'json',));
  3804.                         }
  3805.                         not_edl_rest_orders_by_filiale_count:
  3806.                         // edl_rest_orders_treat_by_filiale_count
  3807.                         if (preg_match('#^/api/edl/filiale/(?P<filialeId>[^/]++)/commandes\\-treat\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3808.                             if ('GET' !== $canonicalMethod) {
  3809.                                 $allow[] = 'GET';
  3810.                                 goto not_edl_rest_orders_treat_by_filiale_count;
  3811.                             }
  3812.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_orders_treat_by_filiale_count')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandesTreatedByFilialeCountAction',  '_format' => 'json',));
  3813.                         }
  3814.                         not_edl_rest_orders_treat_by_filiale_count:
  3815.                         // edl_rest_orders_progr_by_filiale_count
  3816.                         if (preg_match('#^/api/edl/filiale/(?P<filialeId>[^/]++)/commandes\\-prog\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3817.                             if ('GET' !== $canonicalMethod) {
  3818.                                 $allow[] = 'GET';
  3819.                                 goto not_edl_rest_orders_progr_by_filiale_count;
  3820.                             }
  3821.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_orders_progr_by_filiale_count')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandesProgressByFilialeCountAction',  '_format' => 'json',));
  3822.                         }
  3823.                         not_edl_rest_orders_progr_by_filiale_count:
  3824.                         // edl_rest_ca_edl_by_filiale
  3825.                         if (preg_match('#^/api/edl/filiale/(?P<filialeId>[^/]++)/commandes\\-ca\\-edl(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3826.                             if ('GET' !== $canonicalMethod) {
  3827.                                 $allow[] = 'GET';
  3828.                                 goto not_edl_rest_ca_edl_by_filiale;
  3829.                             }
  3830.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_ca_edl_by_filiale')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCaEdlByFilialeAction',  '_format' => 'json',));
  3831.                         }
  3832.                         not_edl_rest_ca_edl_by_filiale:
  3833.                         // get_ajax_commandesEDL_by_filiale
  3834.                         if (preg_match('#^/api/edl/filiale/(?P<filialeId>[^/]++)/ajax\\-commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3835.                             if ('POST' !== $canonicalMethod) {
  3836.                                 $allow[] = 'POST';
  3837.                                 goto not_get_ajax_commandesEDL_by_filiale;
  3838.                             }
  3839.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_ajax_commandesEDL_by_filiale')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getAjaxCommandesByFilialeAction',  '_format' => 'json',));
  3840.                         }
  3841.                         not_get_ajax_commandesEDL_by_filiale:
  3842.                         // get_commandeedlByFiliale
  3843.                         if (preg_match('#^/api/edl/filiale/(?P<filialeId>[^/]++)/edl_commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3844.                             if ('GET' !== $canonicalMethod) {
  3845.                                 $allow[] = 'GET';
  3846.                                 goto not_get_commandeedlByFiliale;
  3847.                             }
  3848.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandeedlByFiliale')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandesByFilialeAction',  '_format' => 'json',));
  3849.                         }
  3850.                         not_get_commandeedlByFiliale:
  3851.                         // get_ajax_devisEDL_by_filiale
  3852.                         if (preg_match('#^/api/edl/filiale/(?P<filialeId>[^/]++)/ajax\\-devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3853.                             if ('POST' !== $canonicalMethod) {
  3854.                                 $allow[] = 'POST';
  3855.                                 goto not_get_ajax_devisEDL_by_filiale;
  3856.                             }
  3857.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_ajax_devisEDL_by_filiale')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::getAjaxDevisByFilialeAction',  '_format' => 'json',));
  3858.                         }
  3859.                         not_get_ajax_devisEDL_by_filiale:
  3860.                         // get_devisedlByFiliale
  3861.                         if (preg_match('#^/api/edl/filiale/(?P<filialeId>[^/]++)/devisedl(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3862.                             if ('GET' !== $canonicalMethod) {
  3863.                                 $allow[] = 'GET';
  3864.                                 goto not_get_devisedlByFiliale;
  3865.                             }
  3866.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devisedlByFiliale')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::getDevisByFilialeAction',  '_format' => 'json',));
  3867.                         }
  3868.                         not_get_devisedlByFiliale:
  3869.                         // get_facturesedlByFiliale
  3870.                         if (preg_match('#^/api/edl/filiale/(?P<filialeId>[^/]++)/facturesedl(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3871.                             if ('GET' !== $canonicalMethod) {
  3872.                                 $allow[] = 'GET';
  3873.                                 goto not_get_facturesedlByFiliale;
  3874.                             }
  3875.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_facturesedlByFiliale')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::getFacturesByFilialeAction',  '_format' => 'json',));
  3876.                         }
  3877.                         not_get_facturesedlByFiliale:
  3878.                     }
  3879.                     elseif (=== strpos($pathinfo'/api/edl/facture')) {
  3880.                         if (=== strpos($pathinfo'/api/edl/factures')) {
  3881.                             // edl_ajax_factures
  3882.                             if (=== strpos($pathinfo'/api/edl/factures-ajax') && preg_match('#^/api/edl/factures\\-ajax/(?P<type>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3883.                                 if ('POST' !== $canonicalMethod) {
  3884.                                     $allow[] = 'POST';
  3885.                                     goto not_edl_ajax_factures;
  3886.                                 }
  3887.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_ajax_factures')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::getFacturesAjaxAction',  '_format' => 'json',));
  3888.                             }
  3889.                             not_edl_ajax_factures:
  3890.                             // edl_rest_send_facture_by_email
  3891.                             if (=== strpos($pathinfo'/api/edl/factures/envoiemail') && preg_match('#^/api/edl/factures/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3892.                                 if ('POST' !== $canonicalMethod) {
  3893.                                     $allow[] = 'POST';
  3894.                                     goto not_edl_rest_send_facture_by_email;
  3895.                                 }
  3896.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_send_facture_by_email')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::sendFactureByEmailAction',  '_format' => 'json',));
  3897.                             }
  3898.                             not_edl_rest_send_facture_by_email:
  3899.                             // get_facturesget_facturesedl
  3900.                             if (=== strpos($pathinfo'/api/edl/facturesedl') && preg_match('#^/api/edl/facturesedl(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3901.                                 if ('GET' !== $canonicalMethod) {
  3902.                                     $allow[] = 'GET';
  3903.                                     goto not_get_facturesget_facturesedl;
  3904.                                 }
  3905.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_facturesget_facturesedl')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::getFacturesAction',  '_format' => 'json',));
  3906.                             }
  3907.                             not_get_facturesget_facturesedl:
  3908.                             // get_factureget_factureedl
  3909.                             if (preg_match('#^/api/edl/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3910.                                 if ('GET' !== $canonicalMethod) {
  3911.                                     $allow[] = 'GET';
  3912.                                     goto not_get_factureget_factureedl;
  3913.                                 }
  3914.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_factureget_factureedl')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::getFactureAction',  '_format' => 'json',));
  3915.                             }
  3916.                             not_get_factureget_factureedl:
  3917.                             // edl_rest_post_facture
  3918.                             if (preg_match('#^/api/edl/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3919.                                 if ('POST' !== $canonicalMethod) {
  3920.                                     $allow[] = 'POST';
  3921.                                     goto not_edl_rest_post_facture;
  3922.                                 }
  3923.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_post_facture')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::postFacturesAction',  '_format' => 'json',));
  3924.                             }
  3925.                             not_edl_rest_post_facture:
  3926.                             // edl_rest_post_facture_by_commande
  3927.                             if (=== strpos($pathinfo'/api/edl/facturesbycommande') && preg_match('#^/api/edl/facturesbycommande(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3928.                                 if ('POST' !== $canonicalMethod) {
  3929.                                     $allow[] = 'POST';
  3930.                                     goto not_edl_rest_post_facture_by_commande;
  3931.                                 }
  3932.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_post_facture_by_commande')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::postFacturesByCommandeAction',  '_format' => 'json',));
  3933.                             }
  3934.                             not_edl_rest_post_facture_by_commande:
  3935.                         }
  3936.                         // edl_rest_put_facture
  3937.                         if (=== strpos($pathinfo'/api/edl/facturetest') && preg_match('#^/api/edl/facturetest/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3938.                             if ('GET' !== $canonicalMethod) {
  3939.                                 $allow[] = 'GET';
  3940.                                 goto not_edl_rest_put_facture;
  3941.                             }
  3942.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_put_facture')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::updateFactureAction',  '_format' => 'json',));
  3943.                         }
  3944.                         not_edl_rest_put_facture:
  3945.                         // edl_rest_patch_facture
  3946.                         if (preg_match('#^/api/edl/facture/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3947.                             if ('PATCH' !== $canonicalMethod) {
  3948.                                 $allow[] = 'PATCH';
  3949.                                 goto not_edl_rest_patch_facture;
  3950.                             }
  3951.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_patch_facture')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::patchFactureAction',  '_format' => 'json',));
  3952.                         }
  3953.                         not_edl_rest_patch_facture:
  3954.                         // edl_rest_delete_facture
  3955.                         if (preg_match('#^/api/edl/facture/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3956.                             if ('DELETE' !== $canonicalMethod) {
  3957.                                 $allow[] = 'DELETE';
  3958.                                 goto not_edl_rest_delete_facture;
  3959.                             }
  3960.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_delete_facture')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::removeFactureAction',  '_format' => 'json',));
  3961.                         }
  3962.                         not_edl_rest_delete_facture:
  3963.                         // edl_rest_post_facture_fichier
  3964.                         if (preg_match('#^/api/edl/facture/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3965.                             if ('POST' !== $canonicalMethod) {
  3966.                                 $allow[] = 'POST';
  3967.                                 goto not_edl_rest_post_facture_fichier;
  3968.                             }
  3969.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_post_facture_fichier')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::postFactureFichierAction',  '_format' => 'json',));
  3970.                         }
  3971.                         not_edl_rest_post_facture_fichier:
  3972.                     }
  3973.                     // edl_rest_getuser
  3974.                     if (=== strpos($pathinfo'/api/edl/getuser') && preg_match('#^/api/edl/getuser/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3975.                         if ('GET' !== $canonicalMethod) {
  3976.                             $allow[] = 'GET';
  3977.                             goto not_edl_rest_getuser;
  3978.                         }
  3979.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_getuser')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getUserAction',  '_format' => 'json',));
  3980.                     }
  3981.                     not_edl_rest_getuser:
  3982.                     if (=== strpos($pathinfo'/api/edl/telecharger-')) {
  3983.                         // edl_rest_telechargerCommande
  3984.                         if (=== strpos($pathinfo'/api/edl/telecharger-commande') && preg_match('#^/api/edl/telecharger\\-commande/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3985.                             if ('GET' !== $canonicalMethod) {
  3986.                                 $allow[] = 'GET';
  3987.                                 goto not_edl_rest_telechargerCommande;
  3988.                             }
  3989.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_telechargerCommande')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::telechargerCommandeAction',  '_format' => 'json',));
  3990.                         }
  3991.                         not_edl_rest_telechargerCommande:
  3992.                         // edl_rest_telechargerFichier
  3993.                         if (=== strpos($pathinfo'/api/edl/telecharger-fichier') && preg_match('#^/api/edl/telecharger\\-fichier/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  3994.                             if ('GET' !== $canonicalMethod) {
  3995.                                 $allow[] = 'GET';
  3996.                                 goto not_edl_rest_telechargerFichier;
  3997.                             }
  3998.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_telechargerFichier')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::telechargerFichierAction',  '_format' => 'json',));
  3999.                         }
  4000.                         not_edl_rest_telechargerFichier:
  4001.                         // edl_rest_telechargerFacture
  4002.                         if (=== strpos($pathinfo'/api/edl/telecharger-facture') && preg_match('#^/api/edl/telecharger\\-facture/(?P<factureId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4003.                             if ('GET' !== $canonicalMethod) {
  4004.                                 $allow[] = 'GET';
  4005.                                 goto not_edl_rest_telechargerFacture;
  4006.                             }
  4007.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_telechargerFacture')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::telechargerFactureAction',  '_format' => 'json',));
  4008.                         }
  4009.                         not_edl_rest_telechargerFacture:
  4010.                         // edl_rest_telechargerDevis_front
  4011.                         if (=== strpos($pathinfo'/api/edl/telecharger-devis') && preg_match('#^/api/edl/telecharger\\-devis/(?P<devisId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4012.                             if ('GET' !== $canonicalMethod) {
  4013.                                 $allow[] = 'GET';
  4014.                                 goto not_edl_rest_telechargerDevis_front;
  4015.                             }
  4016.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_telechargerDevis_front')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::telechargerDevisAction',  '_format' => 'json',));
  4017.                         }
  4018.                         not_edl_rest_telechargerDevis_front:
  4019.                     }
  4020.                     // edl_rest_envoyeravisclient
  4021.                     if (=== strpos($pathinfo'/api/edl/envoyeravisclient') && preg_match('#^/api/edl/envoyeravisclient/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4022.                         if ('GET' !== $canonicalMethod) {
  4023.                             $allow[] = 'GET';
  4024.                             goto not_edl_rest_envoyeravisclient;
  4025.                         }
  4026.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_envoyeravisclient')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::envoyerAvisClientAction',  '_format' => 'json',));
  4027.                     }
  4028.                     not_edl_rest_envoyeravisclient:
  4029.                     if (=== strpos($pathinfo'/api/edl/secteur')) {
  4030.                         // get_commandeedlBySecteur
  4031.                         if (preg_match('#^/api/edl/secteur/(?P<id>[^/]++)/edl_commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4032.                             if ('GET' !== $canonicalMethod) {
  4033.                                 $allow[] = 'GET';
  4034.                                 goto not_get_commandeedlBySecteur;
  4035.                             }
  4036.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandeedlBySecteur')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandesBySecteurAction',  '_format' => 'json',));
  4037.                         }
  4038.                         not_get_commandeedlBySecteur:
  4039.                         // get_countcommandeedlByUserAndSecteur
  4040.                         if (preg_match('#^/api/edl/secteur/(?P<secteurId>[^/]++)/edl_commandes/count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4041.                             if ('GET' !== $canonicalMethod) {
  4042.                                 $allow[] = 'GET';
  4043.                                 goto not_get_countcommandeedlByUserAndSecteur;
  4044.                             }
  4045.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_countcommandeedlByUserAndSecteur')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCountCommandesByUserAndSecteurAction',  '_format' => 'json',));
  4046.                         }
  4047.                         not_get_countcommandeedlByUserAndSecteur:
  4048.                         // get_devis_by_secteurget_devisedlBySecteur
  4049.                         if (preg_match('#^/api/edl/secteur/(?P<id>[^/]++)/devisedl(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4050.                             if ('GET' !== $canonicalMethod) {
  4051.                                 $allow[] = 'GET';
  4052.                                 goto not_get_devis_by_secteurget_devisedlBySecteur;
  4053.                             }
  4054.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devis_by_secteurget_devisedlBySecteur')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::getDevisBySecteurAction',  '_format' => 'json',));
  4055.                         }
  4056.                         not_get_devis_by_secteurget_devisedlBySecteur:
  4057.                         // get_count_devis_by_user_and_secteurget_countdevisedlByUserAndSecteur
  4058.                         if (preg_match('#^/api/edl/secteur/(?P<secteurId>[^/]++)/devisedl/count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4059.                             if ('GET' !== $canonicalMethod) {
  4060.                                 $allow[] = 'GET';
  4061.                                 goto not_get_count_devis_by_user_and_secteurget_countdevisedlByUserAndSecteur;
  4062.                             }
  4063.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_count_devis_by_user_and_secteurget_countdevisedlByUserAndSecteur')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::getCountDevisByUserAndSecteurAction',  '_format' => 'json',));
  4064.                         }
  4065.                         not_get_count_devis_by_user_and_secteurget_countdevisedlByUserAndSecteur:
  4066.                         // get_factures_by_secteurget_facturesedlBySecteur
  4067.                         if (preg_match('#^/api/edl/secteur/(?P<id>[^/]++)/facturesedl(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4068.                             if ('GET' !== $canonicalMethod) {
  4069.                                 $allow[] = 'GET';
  4070.                                 goto not_get_factures_by_secteurget_facturesedlBySecteur;
  4071.                             }
  4072.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_factures_by_secteurget_facturesedlBySecteur')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::getFacturesBySecteurAction',  '_format' => 'json',));
  4073.                         }
  4074.                         not_get_factures_by_secteurget_facturesedlBySecteur:
  4075.                     }
  4076.                     elseif (=== strpos($pathinfo'/api/edl/user')) {
  4077.                         // get_commandeedlByUserAndSecteur
  4078.                         if (preg_match('#^/api/edl/user/(?P<userId>[^/]++)/secteur/(?P<secteurId>[^/]++)/edl_commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4079.                             if ('GET' !== $canonicalMethod) {
  4080.                                 $allow[] = 'GET';
  4081.                                 goto not_get_commandeedlByUserAndSecteur;
  4082.                             }
  4083.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandeedlByUserAndSecteur')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandesByUserAndSecteurAction',  '_format' => 'json',));
  4084.                         }
  4085.                         not_get_commandeedlByUserAndSecteur:
  4086.                         // get_commandeedlByCustomer
  4087.                         if (preg_match('#^/api/edl/user/(?P<userId>[^/]++)/edl_commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4088.                             if ('GET' !== $canonicalMethod) {
  4089.                                 $allow[] = 'GET';
  4090.                                 goto not_get_commandeedlByCustomer;
  4091.                             }
  4092.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandeedlByCustomer')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandesByCustomerAction',  '_format' => 'json',));
  4093.                         }
  4094.                         not_get_commandeedlByCustomer:
  4095.                         // get_devis_by_user_and_secteurget_devisedlByUserAndSecteur
  4096.                         if (preg_match('#^/api/edl/user/(?P<userId>[^/]++)/secteur/(?P<secteurId>[^/]++)/devisedl(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4097.                             if ('GET' !== $canonicalMethod) {
  4098.                                 $allow[] = 'GET';
  4099.                                 goto not_get_devis_by_user_and_secteurget_devisedlByUserAndSecteur;
  4100.                             }
  4101.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devis_by_user_and_secteurget_devisedlByUserAndSecteur')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::getDevisByUserAndSecteurAction',  '_format' => 'json',));
  4102.                         }
  4103.                         not_get_devis_by_user_and_secteurget_devisedlByUserAndSecteur:
  4104.                         // get_devisedlByCustomer
  4105.                         if (preg_match('#^/api/edl/user/(?P<userId>[^/]++)/devisedl(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4106.                             if ('GET' !== $canonicalMethod) {
  4107.                                 $allow[] = 'GET';
  4108.                                 goto not_get_devisedlByCustomer;
  4109.                             }
  4110.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devisedlByCustomer')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::getDevisByCustomerAction',  '_format' => 'json',));
  4111.                         }
  4112.                         not_get_devisedlByCustomer:
  4113.                         // get_facturesedlByCustomer
  4114.                         if (preg_match('#^/api/edl/user/(?P<userId>[^/]++)/facturesedl(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4115.                             if ('GET' !== $canonicalMethod) {
  4116.                                 $allow[] = 'GET';
  4117.                                 goto not_get_facturesedlByCustomer;
  4118.                             }
  4119.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_facturesedlByCustomer')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::getFacturesByCustomerAction',  '_format' => 'json',));
  4120.                         }
  4121.                         not_get_facturesedlByCustomer:
  4122.                     }
  4123.                     // edl_rest_unpaid_invoices_count
  4124.                     if (=== strpos($pathinfo'/api/edl/unpaidinvoices-count') && preg_match('#^/api/edl/unpaidinvoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4125.                         if ('GET' !== $canonicalMethod) {
  4126.                             $allow[] = 'GET';
  4127.                             goto not_edl_rest_unpaid_invoices_count;
  4128.                         }
  4129.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_unpaid_invoices_count')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::getUnpaidInvoicesCountAction',  '_format' => 'json',));
  4130.                     }
  4131.                     not_edl_rest_unpaid_invoices_count:
  4132.                     if (=== strpos($pathinfo'/api/edl/devis')) {
  4133.                         // edl_rest_post_commande_from_devis
  4134.                         if (preg_match('#^/api/edl/devis/(?P<devisId>[^/]++)/commande(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4135.                             if ('GET' !== $canonicalMethod) {
  4136.                                 $allow[] = 'GET';
  4137.                                 goto not_edl_rest_post_commande_from_devis;
  4138.                             }
  4139.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_post_commande_from_devis')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::postCommandeFromDevisAction',  '_format' => 'json',));
  4140.                         }
  4141.                         not_edl_rest_post_commande_from_devis:
  4142.                         // edl_rest_send_devis_by_email
  4143.                         if (=== strpos($pathinfo'/api/edl/devis/envoiemail') && preg_match('#^/api/edl/devis/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4144.                             if ('POST' !== $canonicalMethod) {
  4145.                                 $allow[] = 'POST';
  4146.                                 goto not_edl_rest_send_devis_by_email;
  4147.                             }
  4148.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_send_devis_by_email')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::sendDevisByEmailAction',  '_format' => 'json',));
  4149.                         }
  4150.                         not_edl_rest_send_devis_by_email:
  4151.                         if (=== strpos($pathinfo'/api/edl/devisedl')) {
  4152.                             // get_devisget_devisedls
  4153.                             if (preg_match('#^/api/edl/devisedl(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4154.                                 if ('GET' !== $canonicalMethod) {
  4155.                                     $allow[] = 'GET';
  4156.                                     goto not_get_devisget_devisedls;
  4157.                                 }
  4158.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devisget_devisedls')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::getDevisAction',  '_format' => 'json',));
  4159.                             }
  4160.                             not_get_devisget_devisedls:
  4161.                             // get_un_devisget_devisedl
  4162.                             if (=== strpos($pathinfo'/api/edl/devisedledl') && preg_match('#^/api/edl/devisedledl/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4163.                                 if ('GET' !== $canonicalMethod) {
  4164.                                     $allow[] = 'GET';
  4165.                                     goto not_get_un_devisget_devisedl;
  4166.                                 }
  4167.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_un_devisget_devisedl')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::getUnDevisAction',  '_format' => 'json',));
  4168.                             }
  4169.                             not_get_un_devisget_devisedl:
  4170.                         }
  4171.                         // edl_rest_post_devis
  4172.                         if (preg_match('#^/api/edl/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4173.                             if ('POST' !== $canonicalMethod) {
  4174.                                 $allow[] = 'POST';
  4175.                                 goto not_edl_rest_post_devis;
  4176.                             }
  4177.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_post_devis')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::postDevisAction',  '_format' => 'json',));
  4178.                         }
  4179.                         not_edl_rest_post_devis:
  4180.                         // edl_rest_put_devis
  4181.                         if (preg_match('#^/api/edl/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4182.                             if ('PUT' !== $canonicalMethod) {
  4183.                                 $allow[] = 'PUT';
  4184.                                 goto not_edl_rest_put_devis;
  4185.                             }
  4186.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_put_devis')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::updateDevisAction',  '_format' => 'json',));
  4187.                         }
  4188.                         not_edl_rest_put_devis:
  4189.                         // edl_rest_patch_devis
  4190.                         if (preg_match('#^/api/edl/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4191.                             if ('PATCH' !== $canonicalMethod) {
  4192.                                 $allow[] = 'PATCH';
  4193.                                 goto not_edl_rest_patch_devis;
  4194.                             }
  4195.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_patch_devis')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::patchDevisAction',  '_format' => 'json',));
  4196.                         }
  4197.                         not_edl_rest_patch_devis:
  4198.                         // edl_rest_delete_devis
  4199.                         if (preg_match('#^/api/edl/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4200.                             if ('DELETE' !== $canonicalMethod) {
  4201.                                 $allow[] = 'DELETE';
  4202.                                 goto not_edl_rest_delete_devis;
  4203.                             }
  4204.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_delete_devis')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::removeDevisAction',  '_format' => 'json',));
  4205.                         }
  4206.                         not_edl_rest_delete_devis:
  4207.                         // edl_rest_post_devis_fichier
  4208.                         if (preg_match('#^/api/edl/devis/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4209.                             if ('POST' !== $canonicalMethod) {
  4210.                                 $allow[] = 'POST';
  4211.                                 goto not_edl_rest_post_devis_fichier;
  4212.                             }
  4213.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_post_devis_fichier')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::postDevisFichierAction',  '_format' => 'json',));
  4214.                         }
  4215.                         not_edl_rest_post_devis_fichier:
  4216.                     }
  4217.                     // edl_rest_invoices_count
  4218.                     if (=== strpos($pathinfo'/api/edl/invoices-count') && preg_match('#^/api/edl/invoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4219.                         if ('GET' !== $canonicalMethod) {
  4220.                             $allow[] = 'GET';
  4221.                             goto not_edl_rest_invoices_count;
  4222.                         }
  4223.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_invoices_count')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::getInvoicesCountAction',  '_format' => 'json',));
  4224.                     }
  4225.                     not_edl_rest_invoices_count:
  4226.                     // edl_rest_paid_invoices_count
  4227.                     if (=== strpos($pathinfo'/api/edl/paidinvoices-count') && preg_match('#^/api/edl/paidinvoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4228.                         if ('GET' !== $canonicalMethod) {
  4229.                             $allow[] = 'GET';
  4230.                             goto not_edl_rest_paid_invoices_count;
  4231.                         }
  4232.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_paid_invoices_count')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::getPaidInvoicesCountAction',  '_format' => 'json',));
  4233.                     }
  4234.                     not_edl_rest_paid_invoices_count:
  4235.                     // edl_rest_relance
  4236.                     if (=== strpos($pathinfo'/api/edl/relancefacturesimpayees') && preg_match('#^/api/edl/relancefacturesimpayees(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4237.                         if ('GET' !== $canonicalMethod) {
  4238.                             $allow[] = 'GET';
  4239.                             goto not_edl_rest_relance;
  4240.                         }
  4241.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_relance')), array (  '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::relanceFacturesImpayeesAction',  '_format' => 'json',));
  4242.                     }
  4243.                     not_edl_rest_relance:
  4244.                 }
  4245.                 elseif (=== strpos($pathinfo'/api/em')) {
  4246.                     // get_all_job_postingsget_rest_jobpostings
  4247.                     if (=== strpos($pathinfo'/api/emplois/jobpostings') && preg_match('#^/api/emplois/jobpostings(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4248.                         if ('GET' !== $canonicalMethod) {
  4249.                             $allow[] = 'GET';
  4250.                             goto not_get_all_job_postingsget_rest_jobpostings;
  4251.                         }
  4252.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_all_job_postingsget_rest_jobpostings')), array (  '_controller' => 'JobsBundle\\Controller\\Rest\\JobPostingRestController::getAllJobPostingsAction',  '_format' => 'json',));
  4253.                     }
  4254.                     not_get_all_job_postingsget_rest_jobpostings:
  4255.                     if (=== strpos($pathinfo'/api/emplois/application')) {
  4256.                         // get_applicationget_Applications
  4257.                         if (=== strpos($pathinfo'/api/emplois/applications') && preg_match('#^/api/emplois/applications(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4258.                             if ('GET' !== $canonicalMethod) {
  4259.                                 $allow[] = 'GET';
  4260.                                 goto not_get_applicationget_Applications;
  4261.                             }
  4262.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_applicationget_Applications')), array (  '_controller' => 'JobsBundle\\Controller\\Rest\\ApplicationRestController::getApplicationAction',  '_format' => 'json',));
  4263.                         }
  4264.                         not_get_applicationget_Applications:
  4265.                         // jobs_rest_post_Application
  4266.                         if (preg_match('#^/api/emplois/application(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4267.                             if ('POST' !== $canonicalMethod) {
  4268.                                 $allow[] = 'POST';
  4269.                                 goto not_jobs_rest_post_Application;
  4270.                             }
  4271.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'jobs_rest_post_Application')), array (  '_controller' => 'JobsBundle\\Controller\\Rest\\ApplicationRestController::postApplicationAction',  '_format' => 'json',));
  4272.                         }
  4273.                         not_jobs_rest_post_Application:
  4274.                     }
  4275.                     elseif (=== strpos($pathinfo'/api/emails')) {
  4276.                         // update_email
  4277.                         if (preg_match('#^/api/emails/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4278.                             if ('PUT' !== $canonicalMethod) {
  4279.                                 $allow[] = 'PUT';
  4280.                                 goto not_update_email;
  4281.                             }
  4282.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_email')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\EmailRestController::updateEmailAction',  '_format' => 'json',));
  4283.                         }
  4284.                         not_update_email:
  4285.                         // remove_email
  4286.                         if (preg_match('#^/api/emails/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4287.                             if ('DELETE' !== $canonicalMethod) {
  4288.                                 $allow[] = 'DELETE';
  4289.                                 goto not_remove_email;
  4290.                             }
  4291.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_email')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\EmailRestController::removeEmailAction',  '_format' => 'json',));
  4292.                         }
  4293.                         not_remove_email:
  4294.                         // get_emails
  4295.                         if (preg_match('#^/api/emails(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4296.                             if ('GET' !== $canonicalMethod) {
  4297.                                 $allow[] = 'GET';
  4298.                                 goto not_get_emails;
  4299.                             }
  4300.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_emails')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\EmailRestController::getEmailsAction',  '_format' => 'json',));
  4301.                         }
  4302.                         not_get_emails:
  4303.                         // get_email
  4304.                         if (preg_match('#^/api/emails/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4305.                             if ('GET' !== $canonicalMethod) {
  4306.                                 $allow[] = 'GET';
  4307.                                 goto not_get_email;
  4308.                             }
  4309.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_email')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\EmailRestController::getEmailAction',  '_format' => 'json',));
  4310.                         }
  4311.                         not_get_email:
  4312.                         // post_emails
  4313.                         if (preg_match('#^/api/emails(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4314.                             if ('POST' !== $canonicalMethod) {
  4315.                                 $allow[] = 'POST';
  4316.                                 goto not_post_emails;
  4317.                             }
  4318.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_emails')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\EmailRestController::postEmailsAction',  '_format' => 'json',));
  4319.                         }
  4320.                         not_post_emails:
  4321.                         // patch_email
  4322.                         if (preg_match('#^/api/emails/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4323.                             if ('PATCH' !== $canonicalMethod) {
  4324.                                 $allow[] = 'PATCH';
  4325.                                 goto not_patch_email;
  4326.                             }
  4327.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_email')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\EmailRestController::patchEmailAction',  '_format' => 'json',));
  4328.                         }
  4329.                         not_patch_email:
  4330.                     }
  4331.                 }
  4332.             }
  4333.             elseif (=== strpos($pathinfo'/api/risques-amiante')) {
  4334.                 if (=== strpos($pathinfo'/api/risques-amiante/commandes')) {
  4335.                     if (=== strpos($pathinfo'/api/risques-amiante/commandes-')) {
  4336.                         if (=== strpos($pathinfo'/api/risques-amiante/commandes-c')) {
  4337.                             // ra_rest_commandes_list
  4338.                             if (=== strpos($pathinfo'/api/risques-amiante/commandes-confirmees-list') && preg_match('#^/api/risques\\-amiante/commandes\\-confirmees\\-list(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4339.                                 if ('GET' !== $canonicalMethod) {
  4340.                                     $allow[] = 'GET';
  4341.                                     goto not_ra_rest_commandes_list;
  4342.                                 }
  4343.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'ra_rest_commandes_list')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCommandesListAction',  '_format' => 'json',));
  4344.                             }
  4345.                             not_ra_rest_commandes_list:
  4346.                             // risques_amiante_rest_orders_count
  4347.                             if (=== strpos($pathinfo'/api/risques-amiante/commandes-count') && preg_match('#^/api/risques\\-amiante/commandes\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4348.                                 if ('GET' !== $canonicalMethod) {
  4349.                                     $allow[] = 'GET';
  4350.                                     goto not_risques_amiante_rest_orders_count;
  4351.                                 }
  4352.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_orders_count')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCommandesCountAction',  '_format' => 'json',));
  4353.                             }
  4354.                             not_risques_amiante_rest_orders_count:
  4355.                             // risques_amiante_rest_ca_diag
  4356.                             if (=== strpos($pathinfo'/api/risques-amiante/commandes-ca-diag') && preg_match('#^/api/risques\\-amiante/commandes\\-ca\\-diag(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4357.                                 if ('GET' !== $canonicalMethod) {
  4358.                                     $allow[] = 'GET';
  4359.                                     goto not_risques_amiante_rest_ca_diag;
  4360.                                 }
  4361.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_ca_diag')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCaAmianteAction',  '_format' => 'json',));
  4362.                             }
  4363.                             not_risques_amiante_rest_ca_diag:
  4364.                         }
  4365.                         // risques_amiante_rest_diag_orders
  4366.                         if (=== strpos($pathinfo'/api/risques-amiante/commandes-diag') && preg_match('#^/api/risques\\-amiante/commandes\\-diag(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4367.                             if ('GET' !== $canonicalMethod) {
  4368.                                 $allow[] = 'GET';
  4369.                                 goto not_risques_amiante_rest_diag_orders;
  4370.                             }
  4371.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_diag_orders')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCommandesAction',  '_format' => 'json',));
  4372.                         }
  4373.                         not_risques_amiante_rest_diag_orders:
  4374.                         // risques_amiante_rest_orders_treat_count
  4375.                         if (=== strpos($pathinfo'/api/risques-amiante/commandes-treat-count') && preg_match('#^/api/risques\\-amiante/commandes\\-treat\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4376.                             if ('GET' !== $canonicalMethod) {
  4377.                                 $allow[] = 'GET';
  4378.                                 goto not_risques_amiante_rest_orders_treat_count;
  4379.                             }
  4380.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_orders_treat_count')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCommandesTreatedCountAction',  '_format' => 'json',));
  4381.                         }
  4382.                         not_risques_amiante_rest_orders_treat_count:
  4383.                         // risques_amiante_rest_orders_progr_count
  4384.                         if (=== strpos($pathinfo'/api/risques-amiante/commandes-prog-count') && preg_match('#^/api/risques\\-amiante/commandes\\-prog\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4385.                             if ('GET' !== $canonicalMethod) {
  4386.                                 $allow[] = 'GET';
  4387.                                 goto not_risques_amiante_rest_orders_progr_count;
  4388.                             }
  4389.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_orders_progr_count')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCommandesProgressCountAction',  '_format' => 'json',));
  4390.                         }
  4391.                         not_risques_amiante_rest_orders_progr_count:
  4392.                     }
  4393.                     // risques_amiante_rest_send_commande_by_email
  4394.                     if (=== strpos($pathinfo'/api/risques-amiante/commandes/envoiemail') && preg_match('#^/api/risques\\-amiante/commandes/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4395.                         if ('POST' !== $canonicalMethod) {
  4396.                             $allow[] = 'POST';
  4397.                             goto not_risques_amiante_rest_send_commande_by_email;
  4398.                         }
  4399.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_send_commande_by_email')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::sendCommandeByEmailAction',  '_format' => 'json',));
  4400.                     }
  4401.                     not_risques_amiante_rest_send_commande_by_email:
  4402.                     // risques_amiante_rest_send_test_email
  4403.                     if (=== strpos($pathinfo'/api/risques-amiante/commandes/testemail') && preg_match('#^/api/risques\\-amiante/commandes/testemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4404.                         if ('POST' !== $canonicalMethod) {
  4405.                             $allow[] = 'POST';
  4406.                             goto not_risques_amiante_rest_send_test_email;
  4407.                         }
  4408.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_send_test_email')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::sendTestEmailAction',  '_format' => 'json',));
  4409.                     }
  4410.                     not_risques_amiante_rest_send_test_email:
  4411.                     // risques_amiante_rest_post_commande
  4412.                     if (preg_match('#^/api/risques\\-amiante/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4413.                         if ('POST' !== $canonicalMethod) {
  4414.                             $allow[] = 'POST';
  4415.                             goto not_risques_amiante_rest_post_commande;
  4416.                         }
  4417.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_post_commande')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::postCommandesAction',  '_format' => 'json',));
  4418.                     }
  4419.                     not_risques_amiante_rest_post_commande:
  4420.                     // risques_amiante_rest_put_commande
  4421.                     if (preg_match('#^/api/risques\\-amiante/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4422.                         if ('PUT' !== $canonicalMethod) {
  4423.                             $allow[] = 'PUT';
  4424.                             goto not_risques_amiante_rest_put_commande;
  4425.                         }
  4426.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_put_commande')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::putCommandeAction',  '_format' => 'json',));
  4427.                     }
  4428.                     not_risques_amiante_rest_put_commande:
  4429.                     // risques_amiante_rest_patch_commande
  4430.                     if (preg_match('#^/api/risques\\-amiante/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4431.                         if ('PATCH' !== $canonicalMethod) {
  4432.                             $allow[] = 'PATCH';
  4433.                             goto not_risques_amiante_rest_patch_commande;
  4434.                         }
  4435.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_patch_commande')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::patchCommandeAction',  '_format' => 'json',));
  4436.                     }
  4437.                     not_risques_amiante_rest_patch_commande:
  4438.                     // risques_amiante_rest_delete_commande
  4439.                     if (preg_match('#^/api/risques\\-amiante/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4440.                         if ('DELETE' !== $canonicalMethod) {
  4441.                             $allow[] = 'DELETE';
  4442.                             goto not_risques_amiante_rest_delete_commande;
  4443.                         }
  4444.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_delete_commande')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::removeCommandeAction',  '_format' => 'json',));
  4445.                     }
  4446.                     not_risques_amiante_rest_delete_commande:
  4447.                     // risques_amiante_rest_post_commande_fichier
  4448.                     if (preg_match('#^/api/risques\\-amiante/commandes/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4449.                         if ('POST' !== $canonicalMethod) {
  4450.                             $allow[] = 'POST';
  4451.                             goto not_risques_amiante_rest_post_commande_fichier;
  4452.                         }
  4453.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_post_commande_fichier')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::postCommandeFichierAction',  '_format' => 'json',));
  4454.                     }
  4455.                     not_risques_amiante_rest_post_commande_fichier:
  4456.                     // risques_amiante_rest_post_commande_front
  4457.                     if (=== strpos($pathinfo'/api/risques-amiante/commandes/front') && preg_match('#^/api/risques\\-amiante/commandes/front(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4458.                         if ('POST' !== $canonicalMethod) {
  4459.                             $allow[] = 'POST';
  4460.                             goto not_risques_amiante_rest_post_commande_front;
  4461.                         }
  4462.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_post_commande_front')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::forntCommandeAction',  '_format' => 'json',));
  4463.                     }
  4464.                     not_risques_amiante_rest_post_commande_front:
  4465.                     // risques_amiante_rest_patch_commande_front
  4466.                     if (=== strpos($pathinfo'/api/risques-amiante/commandesfront') && preg_match('#^/api/risques\\-amiante/commandesfront/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4467.                         if ('PATCH' !== $canonicalMethod) {
  4468.                             $allow[] = 'PATCH';
  4469.                             goto not_risques_amiante_rest_patch_commande_front;
  4470.                         }
  4471.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_patch_commande_front')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::patchFrontCommandeAction',  '_format' => 'json',));
  4472.                     }
  4473.                     not_risques_amiante_rest_patch_commande_front:
  4474.                     // risques_amiante_rest_get_verif_rdv
  4475.                     if (preg_match('#^/api/risques\\-amiante/commandes/(?P<id>[^/]++)/verifRDV(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4476.                         if ('POST' !== $canonicalMethod) {
  4477.                             $allow[] = 'POST';
  4478.                             goto not_risques_amiante_rest_get_verif_rdv;
  4479.                         }
  4480.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_get_verif_rdv')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getVerifRDVAction',  '_format' => 'json',));
  4481.                     }
  4482.                     not_risques_amiante_rest_get_verif_rdv:
  4483.                     // risques_amiante_rest_get_prix_unite
  4484.                     if (preg_match('#^/api/risques\\-amiante/commandes/(?P<id>[^/]++)/prixunite(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4485.                         if ('POST' !== $canonicalMethod) {
  4486.                             $allow[] = 'POST';
  4487.                             goto not_risques_amiante_rest_get_prix_unite;
  4488.                         }
  4489.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_get_prix_unite')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getPrixUniteAction',  '_format' => 'json',));
  4490.                     }
  4491.                     not_risques_amiante_rest_get_prix_unite:
  4492.                 }
  4493.                 // risques_amiante_rest_post_devis_front
  4494.                 if (=== strpos($pathinfo'/api/risques-amiante/commande') && preg_match('#^/api/risques\\-amiante/commande/(?P<commandeId>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4495.                     if ('GET' !== $canonicalMethod) {
  4496.                         $allow[] = 'GET';
  4497.                         goto not_risques_amiante_rest_post_devis_front;
  4498.                     }
  4499.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_post_devis_front')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::frontDevisFromCommandeAction',  '_format' => 'json',));
  4500.                 }
  4501.                 not_risques_amiante_rest_post_devis_front:
  4502.                 if (=== strpos($pathinfo'/api/risques-amiante/filiale')) {
  4503.                     // risques_amiante_rest_orders_by_filiale_count
  4504.                     if (preg_match('#^/api/risques\\-amiante/filiale/(?P<filialeId>[^/]++)/commandes\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4505.                         if ('GET' !== $canonicalMethod) {
  4506.                             $allow[] = 'GET';
  4507.                             goto not_risques_amiante_rest_orders_by_filiale_count;
  4508.                         }
  4509.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_orders_by_filiale_count')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCommandesByFilialeCountAction',  '_format' => 'json',));
  4510.                     }
  4511.                     not_risques_amiante_rest_orders_by_filiale_count:
  4512.                     // risques_amiante_rest_orders_treat_by_filiale_count
  4513.                     if (preg_match('#^/api/risques\\-amiante/filiale/(?P<filialeId>[^/]++)/commandes\\-treat\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4514.                         if ('GET' !== $canonicalMethod) {
  4515.                             $allow[] = 'GET';
  4516.                             goto not_risques_amiante_rest_orders_treat_by_filiale_count;
  4517.                         }
  4518.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_orders_treat_by_filiale_count')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCommandesTreatedByFilialeCountAction',  '_format' => 'json',));
  4519.                     }
  4520.                     not_risques_amiante_rest_orders_treat_by_filiale_count:
  4521.                     // risques_amiante_rest_orders_progr_by_filiale_count
  4522.                     if (preg_match('#^/api/risques\\-amiante/filiale/(?P<filialeId>[^/]++)/commandes\\-prog\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4523.                         if ('GET' !== $canonicalMethod) {
  4524.                             $allow[] = 'GET';
  4525.                             goto not_risques_amiante_rest_orders_progr_by_filiale_count;
  4526.                         }
  4527.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_orders_progr_by_filiale_count')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCommandesProgressByFilialeCountAction',  '_format' => 'json',));
  4528.                     }
  4529.                     not_risques_amiante_rest_orders_progr_by_filiale_count:
  4530.                     // get_ajax_commandesRA_by_filiale
  4531.                     if (preg_match('#^/api/risques\\-amiante/filiale/(?P<filialeId>[^/]++)/ajax\\-commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4532.                         if ('POST' !== $canonicalMethod) {
  4533.                             $allow[] = 'POST';
  4534.                             goto not_get_ajax_commandesRA_by_filiale;
  4535.                         }
  4536.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_ajax_commandesRA_by_filiale')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getAjaxCommandesByFilialeAction',  '_format' => 'json',));
  4537.                     }
  4538.                     not_get_ajax_commandesRA_by_filiale:
  4539.                     // get_commandes_by_filiale
  4540.                     if (preg_match('#^/api/risques\\-amiante/filiale/(?P<filialeId>[^/]++)/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4541.                         if ('GET' !== $canonicalMethod) {
  4542.                             $allow[] = 'GET';
  4543.                             goto not_get_commandes_by_filiale;
  4544.                         }
  4545.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandes_by_filiale')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCommandesByFilialeAction',  '_format' => 'json',));
  4546.                     }
  4547.                     not_get_commandes_by_filiale:
  4548.                     // get_ajax_devisRA_by_filiale
  4549.                     if (preg_match('#^/api/risques\\-amiante/filiale/(?P<filialeId>[^/]++)/ajax\\-devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4550.                         if ('POST' !== $canonicalMethod) {
  4551.                             $allow[] = 'POST';
  4552.                             goto not_get_ajax_devisRA_by_filiale;
  4553.                         }
  4554.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_ajax_devisRA_by_filiale')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::getAjaxDevisByFilialeAction',  '_format' => 'json',));
  4555.                     }
  4556.                     not_get_ajax_devisRA_by_filiale:
  4557.                     // get_devis_by_filiale
  4558.                     if (preg_match('#^/api/risques\\-amiante/filiale/(?P<filialeId>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4559.                         if ('GET' !== $canonicalMethod) {
  4560.                             $allow[] = 'GET';
  4561.                             goto not_get_devis_by_filiale;
  4562.                         }
  4563.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devis_by_filiale')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::getDevisByFilialeAction',  '_format' => 'json',));
  4564.                     }
  4565.                     not_get_devis_by_filiale:
  4566.                     // risques_amiante_rest_invoices_by_filiale_count
  4567.                     if (preg_match('#^/api/risques\\-amiante/filiale/(?P<filialeId>[^/]++)/invoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4568.                         if ('GET' !== $canonicalMethod) {
  4569.                             $allow[] = 'GET';
  4570.                             goto not_risques_amiante_rest_invoices_by_filiale_count;
  4571.                         }
  4572.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_invoices_by_filiale_count')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::getInvoicesByFilialeCountAction',  '_format' => 'json',));
  4573.                     }
  4574.                     not_risques_amiante_rest_invoices_by_filiale_count:
  4575.                     // get_factures_by_filiale
  4576.                     if (preg_match('#^/api/risques\\-amiante/filiale/(?P<filialeId>[^/]++)/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4577.                         if ('GET' !== $canonicalMethod) {
  4578.                             $allow[] = 'GET';
  4579.                             goto not_get_factures_by_filiale;
  4580.                         }
  4581.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_factures_by_filiale')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::getFacturesByFilialeAction',  '_format' => 'json',));
  4582.                     }
  4583.                     not_get_factures_by_filiale:
  4584.                 }
  4585.                 elseif (=== strpos($pathinfo'/api/risques-amiante/factures')) {
  4586.                     // ra_ajax_factures
  4587.                     if (=== strpos($pathinfo'/api/risques-amiante/factures-ajax') && preg_match('#^/api/risques\\-amiante/factures\\-ajax/(?P<type>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4588.                         if ('POST' !== $canonicalMethod) {
  4589.                             $allow[] = 'POST';
  4590.                             goto not_ra_ajax_factures;
  4591.                         }
  4592.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'ra_ajax_factures')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::getFacturesAjaxAction',  '_format' => 'json',));
  4593.                     }
  4594.                     not_ra_ajax_factures:
  4595.                     // risques_amiante_rest_facture_by_id
  4596.                     if (preg_match('#^/api/risques\\-amiante/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4597.                         if ('GET' !== $canonicalMethod) {
  4598.                             $allow[] = 'GET';
  4599.                             goto not_risques_amiante_rest_facture_by_id;
  4600.                         }
  4601.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_facture_by_id')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::getFactureAction',  '_format' => 'json',));
  4602.                     }
  4603.                     not_risques_amiante_rest_facture_by_id:
  4604.                     // risques_amiante_rest_send_facture_by_mail
  4605.                     if (=== strpos($pathinfo'/api/risques-amiante/factures/envoiemail') && preg_match('#^/api/risques\\-amiante/factures/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4606.                         if ('POST' !== $canonicalMethod) {
  4607.                             $allow[] = 'POST';
  4608.                             goto not_risques_amiante_rest_send_facture_by_mail;
  4609.                         }
  4610.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_send_facture_by_mail')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::sendFactureByEmailAction',  '_format' => 'json',));
  4611.                     }
  4612.                     not_risques_amiante_rest_send_facture_by_mail:
  4613.                     // get_factures
  4614.                     if (preg_match('#^/api/risques\\-amiante/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4615.                         if ('GET' !== $canonicalMethod) {
  4616.                             $allow[] = 'GET';
  4617.                             goto not_get_factures;
  4618.                         }
  4619.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_factures')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::getFacturesAction',  '_format' => 'json',));
  4620.                     }
  4621.                     not_get_factures:
  4622.                     // risques_amiante_rest_post_facture
  4623.                     if (preg_match('#^/api/risques\\-amiante/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4624.                         if ('POST' !== $canonicalMethod) {
  4625.                             $allow[] = 'POST';
  4626.                             goto not_risques_amiante_rest_post_facture;
  4627.                         }
  4628.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_post_facture')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::postFacturesAction',  '_format' => 'json',));
  4629.                     }
  4630.                     not_risques_amiante_rest_post_facture:
  4631.                     // risques_amiante_rest_post_facture_by_commande
  4632.                     if (=== strpos($pathinfo'/api/risques-amiante/facturesbycommande') && preg_match('#^/api/risques\\-amiante/facturesbycommande(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4633.                         if ('POST' !== $canonicalMethod) {
  4634.                             $allow[] = 'POST';
  4635.                             goto not_risques_amiante_rest_post_facture_by_commande;
  4636.                         }
  4637.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_post_facture_by_commande')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::postFacturesByCommandeAction',  '_format' => 'json',));
  4638.                     }
  4639.                     not_risques_amiante_rest_post_facture_by_commande:
  4640.                     // risques_amiante_rest_put_facture
  4641.                     if (preg_match('#^/api/risques\\-amiante/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4642.                         if ('PUT' !== $canonicalMethod) {
  4643.                             $allow[] = 'PUT';
  4644.                             goto not_risques_amiante_rest_put_facture;
  4645.                         }
  4646.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_put_facture')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::updateFactureAction',  '_format' => 'json',));
  4647.                     }
  4648.                     not_risques_amiante_rest_put_facture:
  4649.                     // risques_amiante_rest_patch_facture
  4650.                     if (preg_match('#^/api/risques\\-amiante/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4651.                         if ('PATCH' !== $canonicalMethod) {
  4652.                             $allow[] = 'PATCH';
  4653.                             goto not_risques_amiante_rest_patch_facture;
  4654.                         }
  4655.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_patch_facture')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::patchFactureAction',  '_format' => 'json',));
  4656.                     }
  4657.                     not_risques_amiante_rest_patch_facture:
  4658.                     // risques_amiante_rest_delete_facture
  4659.                     if (preg_match('#^/api/risques\\-amiante/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4660.                         if ('DELETE' !== $canonicalMethod) {
  4661.                             $allow[] = 'DELETE';
  4662.                             goto not_risques_amiante_rest_delete_facture;
  4663.                         }
  4664.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_delete_facture')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::removeFactureAction',  '_format' => 'json',));
  4665.                     }
  4666.                     not_risques_amiante_rest_delete_facture:
  4667.                     // risques_amiante_rest_post_facture_fichier
  4668.                     if (preg_match('#^/api/risques\\-amiante/factures/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4669.                         if ('POST' !== $canonicalMethod) {
  4670.                             $allow[] = 'POST';
  4671.                             goto not_risques_amiante_rest_post_facture_fichier;
  4672.                         }
  4673.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_post_facture_fichier')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::postFactureFichierAction',  '_format' => 'json',));
  4674.                     }
  4675.                     not_risques_amiante_rest_post_facture_fichier:
  4676.                 }
  4677.                 elseif (=== strpos($pathinfo'/api/risques-amiante/telecharger-')) {
  4678.                     // risques_amiante_rest_telechargerCommande
  4679.                     if (=== strpos($pathinfo'/api/risques-amiante/telecharger-commande') && preg_match('#^/api/risques\\-amiante/telecharger\\-commande/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4680.                         if ('GET' !== $canonicalMethod) {
  4681.                             $allow[] = 'GET';
  4682.                             goto not_risques_amiante_rest_telechargerCommande;
  4683.                         }
  4684.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_telechargerCommande')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::telechargerCommandeAction',  '_format' => 'json',));
  4685.                     }
  4686.                     not_risques_amiante_rest_telechargerCommande:
  4687.                     // risques_amiante_rest_telechargerFichier
  4688.                     if (=== strpos($pathinfo'/api/risques-amiante/telecharger-fichier') && preg_match('#^/api/risques\\-amiante/telecharger\\-fichier/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4689.                         if ('GET' !== $canonicalMethod) {
  4690.                             $allow[] = 'GET';
  4691.                             goto not_risques_amiante_rest_telechargerFichier;
  4692.                         }
  4693.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_telechargerFichier')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::telechargerFichierAction',  '_format' => 'json',));
  4694.                     }
  4695.                     not_risques_amiante_rest_telechargerFichier:
  4696.                     // risques_amiante_rest_telechargerFacture_front
  4697.                     if (=== strpos($pathinfo'/api/risques-amiante/telecharger-facture') && preg_match('#^/api/risques\\-amiante/telecharger\\-facture/(?P<factureId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4698.                         if ('GET' !== $canonicalMethod) {
  4699.                             $allow[] = 'GET';
  4700.                             goto not_risques_amiante_rest_telechargerFacture_front;
  4701.                         }
  4702.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_telechargerFacture_front')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::telechargerFactureAction',  '_format' => 'json',));
  4703.                     }
  4704.                     not_risques_amiante_rest_telechargerFacture_front:
  4705.                     // risques_amiante_rest_telechargerDevis_front
  4706.                     if (=== strpos($pathinfo'/api/risques-amiante/telecharger-devis') && preg_match('#^/api/risques\\-amiante/telecharger\\-devis/(?P<devisId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4707.                         if ('GET' !== $canonicalMethod) {
  4708.                             $allow[] = 'GET';
  4709.                             goto not_risques_amiante_rest_telechargerDevis_front;
  4710.                         }
  4711.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_telechargerDevis_front')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::telechargerDevisAction',  '_format' => 'json',));
  4712.                     }
  4713.                     not_risques_amiante_rest_telechargerDevis_front:
  4714.                 }
  4715.                 // risques_amiante_rest_testnbfacturespayees
  4716.                 if (=== strpos($pathinfo'/api/risques-amiante/testnbfacturespayees') && preg_match('#^/api/risques\\-amiante/testnbfacturespayees/(?P<userId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4717.                     if ('GET' !== $canonicalMethod) {
  4718.                         $allow[] = 'GET';
  4719.                         goto not_risques_amiante_rest_testnbfacturespayees;
  4720.                     }
  4721.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_testnbfacturespayees')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::testnbfacturespayeesAction',  '_format' => 'json',));
  4722.                 }
  4723.                 not_risques_amiante_rest_testnbfacturespayees:
  4724.                 if (=== strpos($pathinfo'/api/risques-amiante/secteur')) {
  4725.                     // get_commandes_by_secteur
  4726.                     if (preg_match('#^/api/risques\\-amiante/secteur/(?P<id>[^/]++)/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4727.                         if ('GET' !== $canonicalMethod) {
  4728.                             $allow[] = 'GET';
  4729.                             goto not_get_commandes_by_secteur;
  4730.                         }
  4731.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandes_by_secteur')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCommandesBySecteurAction',  '_format' => 'json',));
  4732.                     }
  4733.                     not_get_commandes_by_secteur:
  4734.                     // get_devis_by_secteur
  4735.                     if (preg_match('#^/api/risques\\-amiante/secteur/(?P<id>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4736.                         if ('GET' !== $canonicalMethod) {
  4737.                             $allow[] = 'GET';
  4738.                             goto not_get_devis_by_secteur;
  4739.                         }
  4740.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devis_by_secteur')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::getDevisBySecteurAction',  '_format' => 'json',));
  4741.                     }
  4742.                     not_get_devis_by_secteur:
  4743.                     // get_factures_by_secteur
  4744.                     if (preg_match('#^/api/risques\\-amiante/secteur/(?P<id>[^/]++)/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4745.                         if ('GET' !== $canonicalMethod) {
  4746.                             $allow[] = 'GET';
  4747.                             goto not_get_factures_by_secteur;
  4748.                         }
  4749.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_factures_by_secteur')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::getFacturesBySecteurAction',  '_format' => 'json',));
  4750.                     }
  4751.                     not_get_factures_by_secteur:
  4752.                 }
  4753.                 elseif (=== strpos($pathinfo'/api/risques-amiante/user')) {
  4754.                     // get_commandes_by_customer
  4755.                     if (preg_match('#^/api/risques\\-amiante/user/(?P<userId>[^/]++)/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4756.                         if ('GET' !== $canonicalMethod) {
  4757.                             $allow[] = 'GET';
  4758.                             goto not_get_commandes_by_customer;
  4759.                         }
  4760.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandes_by_customer')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCommandesByCustomerAction',  '_format' => 'json',));
  4761.                     }
  4762.                     not_get_commandes_by_customer:
  4763.                     // get_devis_by_user_and_secteur
  4764.                     if (preg_match('#^/api/risques\\-amiante/user/(?P<userId>[^/]++)/secteur/(?P<secteurId>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4765.                         if ('GET' !== $canonicalMethod) {
  4766.                             $allow[] = 'GET';
  4767.                             goto not_get_devis_by_user_and_secteur;
  4768.                         }
  4769.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devis_by_user_and_secteur')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::getDevisByUserAndSecteurAction',  '_format' => 'json',));
  4770.                     }
  4771.                     not_get_devis_by_user_and_secteur:
  4772.                     // risques_amiante_get_devis_by_customer
  4773.                     if (preg_match('#^/api/risques\\-amiante/user/(?P<userId>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4774.                         if ('GET' !== $canonicalMethod) {
  4775.                             $allow[] = 'GET';
  4776.                             goto not_risques_amiante_get_devis_by_customer;
  4777.                         }
  4778.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_get_devis_by_customer')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::getDevisByCustomerAction',  '_format' => 'json',));
  4779.                     }
  4780.                     not_risques_amiante_get_devis_by_customer:
  4781.                     // get_factures_by_customer
  4782.                     if (preg_match('#^/api/risques\\-amiante/user/(?P<userId>[^/]++)/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4783.                         if ('GET' !== $canonicalMethod) {
  4784.                             $allow[] = 'GET';
  4785.                             goto not_get_factures_by_customer;
  4786.                         }
  4787.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_factures_by_customer')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::getFacturesByCustomerAction',  '_format' => 'json',));
  4788.                     }
  4789.                     not_get_factures_by_customer:
  4790.                 }
  4791.                 // risques_amiante_rest_unpaid_invoices_count
  4792.                 if (=== strpos($pathinfo'/api/risques-amiante/unpaidinvoices-count') && preg_match('#^/api/risques\\-amiante/unpaidinvoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4793.                     if ('GET' !== $canonicalMethod) {
  4794.                         $allow[] = 'GET';
  4795.                         goto not_risques_amiante_rest_unpaid_invoices_count;
  4796.                     }
  4797.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_unpaid_invoices_count')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::getUnpaidInvoicesCountAction',  '_format' => 'json',));
  4798.                 }
  4799.                 not_risques_amiante_rest_unpaid_invoices_count:
  4800.                 if (=== strpos($pathinfo'/api/risques-amiante/devis')) {
  4801.                     // risques_amiante_rest_post_commande_from_devis
  4802.                     if (preg_match('#^/api/risques\\-amiante/devis/(?P<devisId>[^/]++)/commande(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4803.                         if ('GET' !== $canonicalMethod) {
  4804.                             $allow[] = 'GET';
  4805.                             goto not_risques_amiante_rest_post_commande_from_devis;
  4806.                         }
  4807.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_post_commande_from_devis')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::postCommandeFromDevisAction',  '_format' => 'json',));
  4808.                     }
  4809.                     not_risques_amiante_rest_post_commande_from_devis:
  4810.                     if (=== strpos($pathinfo'/api/risques-amiante/devis-count')) {
  4811.                         // risques_amiante_rest_devis_by_filiale_count
  4812.                         if (preg_match('#^/api/risques\\-amiante/devis\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4813.                             if ('GET' !== $canonicalMethod) {
  4814.                                 $allow[] = 'GET';
  4815.                                 goto not_risques_amiante_rest_devis_by_filiale_count;
  4816.                             }
  4817.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_devis_by_filiale_count')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::getDevisByFilialeCountAction',  '_format' => 'json',));
  4818.                         }
  4819.                         not_risques_amiante_rest_devis_by_filiale_count:
  4820.                         // risques_amiante_rest_devis_count
  4821.                         if (preg_match('#^/api/risques\\-amiante/devis\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4822.                             if ('GET' !== $canonicalMethod) {
  4823.                                 $allow[] = 'GET';
  4824.                                 goto not_risques_amiante_rest_devis_count;
  4825.                             }
  4826.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_devis_count')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::getDevisCountAction',  '_format' => 'json',));
  4827.                         }
  4828.                         not_risques_amiante_rest_devis_count:
  4829.                     }
  4830.                     // risques_amiante_rest_send_devis_by_email
  4831.                     if (=== strpos($pathinfo'/api/risques-amiante/devis/envoiemail') && preg_match('#^/api/risques\\-amiante/devis/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4832.                         if ('POST' !== $canonicalMethod) {
  4833.                             $allow[] = 'POST';
  4834.                             goto not_risques_amiante_rest_send_devis_by_email;
  4835.                         }
  4836.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_send_devis_by_email')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::sendDevisByEmailAction',  '_format' => 'json',));
  4837.                     }
  4838.                     not_risques_amiante_rest_send_devis_by_email:
  4839.                     // get_devis
  4840.                     if (preg_match('#^/api/risques\\-amiante/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4841.                         if ('GET' !== $canonicalMethod) {
  4842.                             $allow[] = 'GET';
  4843.                             goto not_get_devis;
  4844.                         }
  4845.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devis')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::getDevisAction',  '_format' => 'json',));
  4846.                     }
  4847.                     not_get_devis:
  4848.                     // risques_amiante_rest_post_devis
  4849.                     if (preg_match('#^/api/risques\\-amiante/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4850.                         if ('POST' !== $canonicalMethod) {
  4851.                             $allow[] = 'POST';
  4852.                             goto not_risques_amiante_rest_post_devis;
  4853.                         }
  4854.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_post_devis')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::postDevisAction',  '_format' => 'json',));
  4855.                     }
  4856.                     not_risques_amiante_rest_post_devis:
  4857.                     // risques_amiante_rest_put_devis
  4858.                     if (preg_match('#^/api/risques\\-amiante/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4859.                         if ('PUT' !== $canonicalMethod) {
  4860.                             $allow[] = 'PUT';
  4861.                             goto not_risques_amiante_rest_put_devis;
  4862.                         }
  4863.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_put_devis')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::updateDevisAction',  '_format' => 'json',));
  4864.                     }
  4865.                     not_risques_amiante_rest_put_devis:
  4866.                     // risques_amiante_rest_patch_devis
  4867.                     if (preg_match('#^/api/risques\\-amiante/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4868.                         if ('PATCH' !== $canonicalMethod) {
  4869.                             $allow[] = 'PATCH';
  4870.                             goto not_risques_amiante_rest_patch_devis;
  4871.                         }
  4872.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_patch_devis')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::patchDevisAction',  '_format' => 'json',));
  4873.                     }
  4874.                     not_risques_amiante_rest_patch_devis:
  4875.                     // risques_amiante_rest_delete_devis
  4876.                     if (preg_match('#^/api/risques\\-amiante/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4877.                         if ('DELETE' !== $canonicalMethod) {
  4878.                             $allow[] = 'DELETE';
  4879.                             goto not_risques_amiante_rest_delete_devis;
  4880.                         }
  4881.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_delete_devis')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::removeDevisAction',  '_format' => 'json',));
  4882.                     }
  4883.                     not_risques_amiante_rest_delete_devis:
  4884.                     // risques_amiante_rest_post_devis_fichier
  4885.                     if (preg_match('#^/api/risques\\-amiante/devis/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4886.                         if ('POST' !== $canonicalMethod) {
  4887.                             $allow[] = 'POST';
  4888.                             goto not_risques_amiante_rest_post_devis_fichier;
  4889.                         }
  4890.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_post_devis_fichier')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::postDevisFichierAction',  '_format' => 'json',));
  4891.                     }
  4892.                     not_risques_amiante_rest_post_devis_fichier:
  4893.                 }
  4894.                 // risques_amiante_rest_invoices_count
  4895.                 if (=== strpos($pathinfo'/api/risques-amiante/invoices-count') && preg_match('#^/api/risques\\-amiante/invoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4896.                     if ('GET' !== $canonicalMethod) {
  4897.                         $allow[] = 'GET';
  4898.                         goto not_risques_amiante_rest_invoices_count;
  4899.                     }
  4900.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_invoices_count')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::getInvoicesCountAction',  '_format' => 'json',));
  4901.                 }
  4902.                 not_risques_amiante_rest_invoices_count:
  4903.                 // risques_amiante_rest_paid_invoices_count
  4904.                 if (=== strpos($pathinfo'/api/risques-amiante/paidinvoices-count') && preg_match('#^/api/risques\\-amiante/paidinvoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4905.                     if ('GET' !== $canonicalMethod) {
  4906.                         $allow[] = 'GET';
  4907.                         goto not_risques_amiante_rest_paid_invoices_count;
  4908.                     }
  4909.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_paid_invoices_count')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::getPaidInvoicesCountAction',  '_format' => 'json',));
  4910.                 }
  4911.                 not_risques_amiante_rest_paid_invoices_count:
  4912.                 // risques_amiante_rest_relance
  4913.                 if (=== strpos($pathinfo'/api/risques-amiante/relancefacturesimpayees') && preg_match('#^/api/risques\\-amiante/relancefacturesimpayees(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4914.                     if ('GET' !== $canonicalMethod) {
  4915.                         $allow[] = 'GET';
  4916.                         goto not_risques_amiante_rest_relance;
  4917.                     }
  4918.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_relance')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::relanceFacturesImpayeesAction',  '_format' => 'json',));
  4919.                 }
  4920.                 not_risques_amiante_rest_relance:
  4921.             }
  4922.             elseif (=== strpos($pathinfo'/api/regions')) {
  4923.                 // update_region
  4924.                 if (preg_match('#^/api/regions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4925.                     if ('PUT' !== $canonicalMethod) {
  4926.                         $allow[] = 'PUT';
  4927.                         goto not_update_region;
  4928.                     }
  4929.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_region')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\RegionRestController::updateRegionAction',  '_format' => 'json',));
  4930.                 }
  4931.                 not_update_region:
  4932.                 // remove_region
  4933.                 if (preg_match('#^/api/regions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4934.                     if ('DELETE' !== $canonicalMethod) {
  4935.                         $allow[] = 'DELETE';
  4936.                         goto not_remove_region;
  4937.                     }
  4938.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_region')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\RegionRestController::removeRegionAction',  '_format' => 'json',));
  4939.                 }
  4940.                 not_remove_region:
  4941.                 // get_regions
  4942.                 if (preg_match('#^/api/regions(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4943.                     if ('GET' !== $canonicalMethod) {
  4944.                         $allow[] = 'GET';
  4945.                         goto not_get_regions;
  4946.                     }
  4947.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_regions')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\RegionRestController::getRegionsAction',  '_format' => 'json',));
  4948.                 }
  4949.                 not_get_regions:
  4950.                 // get_region
  4951.                 if (preg_match('#^/api/regions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4952.                     if ('GET' !== $canonicalMethod) {
  4953.                         $allow[] = 'GET';
  4954.                         goto not_get_region;
  4955.                     }
  4956.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_region')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\RegionRestController::getRegionAction',  '_format' => 'json',));
  4957.                 }
  4958.                 not_get_region:
  4959.                 // post_regions
  4960.                 if (preg_match('#^/api/regions(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4961.                     if ('POST' !== $canonicalMethod) {
  4962.                         $allow[] = 'POST';
  4963.                         goto not_post_regions;
  4964.                     }
  4965.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_regions')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\RegionRestController::postRegionsAction',  '_format' => 'json',));
  4966.                 }
  4967.                 not_post_regions:
  4968.                 // patch_region
  4969.                 if (preg_match('#^/api/regions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4970.                     if ('PATCH' !== $canonicalMethod) {
  4971.                         $allow[] = 'PATCH';
  4972.                         goto not_patch_region;
  4973.                     }
  4974.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_region')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\RegionRestController::patchRegionAction',  '_format' => 'json',));
  4975.                 }
  4976.                 not_patch_region:
  4977.             }
  4978.             elseif (=== strpos($pathinfo'/api/typebiens')) {
  4979.                 // update_typebien
  4980.                 if (preg_match('#^/api/typebiens/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4981.                     if ('PUT' !== $canonicalMethod) {
  4982.                         $allow[] = 'PUT';
  4983.                         goto not_update_typebien;
  4984.                     }
  4985.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_typebien')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\TypeBienRestController::updateTypebienAction',  '_format' => 'json',));
  4986.                 }
  4987.                 not_update_typebien:
  4988.                 // remove_typebien
  4989.                 if (preg_match('#^/api/typebiens/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4990.                     if ('DELETE' !== $canonicalMethod) {
  4991.                         $allow[] = 'DELETE';
  4992.                         goto not_remove_typebien;
  4993.                     }
  4994.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_typebien')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\TypeBienRestController::removeTypebienAction',  '_format' => 'json',));
  4995.                 }
  4996.                 not_remove_typebien:
  4997.                 // get_typebiens
  4998.                 if (preg_match('#^/api/typebiens(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  4999.                     if ('GET' !== $canonicalMethod) {
  5000.                         $allow[] = 'GET';
  5001.                         goto not_get_typebiens;
  5002.                     }
  5003.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_typebiens')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\TypeBienRestController::getTypebiensAction',  '_format' => 'json',));
  5004.                 }
  5005.                 not_get_typebiens:
  5006.                 // get_typebien
  5007.                 if (preg_match('#^/api/typebiens/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5008.                     if ('GET' !== $canonicalMethod) {
  5009.                         $allow[] = 'GET';
  5010.                         goto not_get_typebien;
  5011.                     }
  5012.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_typebien')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\TypeBienRestController::getTypebienAction',  '_format' => 'json',));
  5013.                 }
  5014.                 not_get_typebien:
  5015.                 // post_typebiens
  5016.                 if (preg_match('#^/api/typebiens(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5017.                     if ('POST' !== $canonicalMethod) {
  5018.                         $allow[] = 'POST';
  5019.                         goto not_post_typebiens;
  5020.                     }
  5021.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_typebiens')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\TypeBienRestController::postTypebiensAction',  '_format' => 'json',));
  5022.                 }
  5023.                 not_post_typebiens:
  5024.                 // patch_typebien
  5025.                 if (preg_match('#^/api/typebiens/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5026.                     if ('PATCH' !== $canonicalMethod) {
  5027.                         $allow[] = 'PATCH';
  5028.                         goto not_patch_typebien;
  5029.                     }
  5030.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_typebien')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\TypeBienRestController::patchTypebienAction',  '_format' => 'json',));
  5031.                 }
  5032.                 not_patch_typebien:
  5033.             }
  5034.             elseif (=== strpos($pathinfo'/api/transactions')) {
  5035.                 // update_transaction
  5036.                 if (preg_match('#^/api/transactions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5037.                     if ('PUT' !== $canonicalMethod) {
  5038.                         $allow[] = 'PUT';
  5039.                         goto not_update_transaction;
  5040.                     }
  5041.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_transaction')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\TransactionRestController::updateTransactionAction',  '_format' => 'json',));
  5042.                 }
  5043.                 not_update_transaction:
  5044.                 // remove_transaction
  5045.                 if (preg_match('#^/api/transactions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5046.                     if ('DELETE' !== $canonicalMethod) {
  5047.                         $allow[] = 'DELETE';
  5048.                         goto not_remove_transaction;
  5049.                     }
  5050.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_transaction')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\TransactionRestController::removeTransactionAction',  '_format' => 'json',));
  5051.                 }
  5052.                 not_remove_transaction:
  5053.                 // get_transactions
  5054.                 if (preg_match('#^/api/transactions(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5055.                     if ('GET' !== $canonicalMethod) {
  5056.                         $allow[] = 'GET';
  5057.                         goto not_get_transactions;
  5058.                     }
  5059.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_transactions')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\TransactionRestController::getTransactionsAction',  '_format' => 'json',));
  5060.                 }
  5061.                 not_get_transactions:
  5062.                 // get_transaction
  5063.                 if (preg_match('#^/api/transactions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5064.                     if ('GET' !== $canonicalMethod) {
  5065.                         $allow[] = 'GET';
  5066.                         goto not_get_transaction;
  5067.                     }
  5068.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_transaction')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\TransactionRestController::getTransactionAction',  '_format' => 'json',));
  5069.                 }
  5070.                 not_get_transaction:
  5071.                 // post_transactions
  5072.                 if (preg_match('#^/api/transactions(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5073.                     if ('POST' !== $canonicalMethod) {
  5074.                         $allow[] = 'POST';
  5075.                         goto not_post_transactions;
  5076.                     }
  5077.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_transactions')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\TransactionRestController::postTransactionsAction',  '_format' => 'json',));
  5078.                 }
  5079.                 not_post_transactions:
  5080.                 // patch_transaction
  5081.                 if (preg_match('#^/api/transactions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5082.                     if ('PATCH' !== $canonicalMethod) {
  5083.                         $allow[] = 'PATCH';
  5084.                         goto not_patch_transaction;
  5085.                     }
  5086.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_transaction')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\TransactionRestController::patchTransactionAction',  '_format' => 'json',));
  5087.                 }
  5088.                 not_patch_transaction:
  5089.             }
  5090.             elseif (=== strpos($pathinfo'/api/naturebiens')) {
  5091.                 // update_naturebien
  5092.                 if (preg_match('#^/api/naturebiens/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5093.                     if ('PUT' !== $canonicalMethod) {
  5094.                         $allow[] = 'PUT';
  5095.                         goto not_update_naturebien;
  5096.                     }
  5097.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_naturebien')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\NatureBienRestController::updateNaturebienAction',  '_format' => 'json',));
  5098.                 }
  5099.                 not_update_naturebien:
  5100.                 // remove_naturebien
  5101.                 if (preg_match('#^/api/naturebiens/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5102.                     if ('DELETE' !== $canonicalMethod) {
  5103.                         $allow[] = 'DELETE';
  5104.                         goto not_remove_naturebien;
  5105.                     }
  5106.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_naturebien')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\NatureBienRestController::removeNaturebienAction',  '_format' => 'json',));
  5107.                 }
  5108.                 not_remove_naturebien:
  5109.                 // get_naturebiens
  5110.                 if (preg_match('#^/api/naturebiens(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5111.                     if ('GET' !== $canonicalMethod) {
  5112.                         $allow[] = 'GET';
  5113.                         goto not_get_naturebiens;
  5114.                     }
  5115.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_naturebiens')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\NatureBienRestController::getNaturebiensAction',  '_format' => 'json',));
  5116.                 }
  5117.                 not_get_naturebiens:
  5118.                 // get_naturebien
  5119.                 if (preg_match('#^/api/naturebiens/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5120.                     if ('GET' !== $canonicalMethod) {
  5121.                         $allow[] = 'GET';
  5122.                         goto not_get_naturebien;
  5123.                     }
  5124.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_naturebien')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\NatureBienRestController::getNaturebienAction',  '_format' => 'json',));
  5125.                 }
  5126.                 not_get_naturebien:
  5127.                 // post_naturebiens
  5128.                 if (preg_match('#^/api/naturebiens(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5129.                     if ('POST' !== $canonicalMethod) {
  5130.                         $allow[] = 'POST';
  5131.                         goto not_post_naturebiens;
  5132.                     }
  5133.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_naturebiens')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\NatureBienRestController::postNaturebiensAction',  '_format' => 'json',));
  5134.                 }
  5135.                 not_post_naturebiens:
  5136.                 // patch_naturebien
  5137.                 if (preg_match('#^/api/naturebiens/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5138.                     if ('PATCH' !== $canonicalMethod) {
  5139.                         $allow[] = 'PATCH';
  5140.                         goto not_patch_naturebien;
  5141.                     }
  5142.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_naturebien')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\NatureBienRestController::patchNaturebienAction',  '_format' => 'json',));
  5143.                 }
  5144.                 not_patch_naturebien:
  5145.             }
  5146.             elseif (=== strpos($pathinfo'/api/pack')) {
  5147.                 if (=== strpos($pathinfo'/api/packcontroles')) {
  5148.                     // update_pack_controle
  5149.                     if (preg_match('#^/api/packcontroles/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5150.                         if ('PUT' !== $canonicalMethod) {
  5151.                             $allow[] = 'PUT';
  5152.                             goto not_update_pack_controle;
  5153.                         }
  5154.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_pack_controle')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PackControleRestController::updatePackControleAction',  '_format' => 'json',));
  5155.                     }
  5156.                     not_update_pack_controle:
  5157.                     // remove_pack_controle
  5158.                     if (preg_match('#^/api/packcontroles/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5159.                         if ('DELETE' !== $canonicalMethod) {
  5160.                             $allow[] = 'DELETE';
  5161.                             goto not_remove_pack_controle;
  5162.                         }
  5163.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_pack_controle')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PackControleRestController::removePackControleAction',  '_format' => 'json',));
  5164.                     }
  5165.                     not_remove_pack_controle:
  5166.                     // get_pack_controles
  5167.                     if (preg_match('#^/api/packcontroles(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5168.                         if ('GET' !== $canonicalMethod) {
  5169.                             $allow[] = 'GET';
  5170.                             goto not_get_pack_controles;
  5171.                         }
  5172.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_pack_controles')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PackControleRestController::getPackControlesAction',  '_format' => 'json',));
  5173.                     }
  5174.                     not_get_pack_controles:
  5175.                     // get_pack_controle
  5176.                     if (preg_match('#^/api/packcontroles/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5177.                         if ('GET' !== $canonicalMethod) {
  5178.                             $allow[] = 'GET';
  5179.                             goto not_get_pack_controle;
  5180.                         }
  5181.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_pack_controle')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PackControleRestController::getPackControleAction',  '_format' => 'json',));
  5182.                     }
  5183.                     not_get_pack_controle:
  5184.                     // post_pack_controles
  5185.                     if (preg_match('#^/api/packcontroles(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5186.                         if ('POST' !== $canonicalMethod) {
  5187.                             $allow[] = 'POST';
  5188.                             goto not_post_pack_controles;
  5189.                         }
  5190.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_pack_controles')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PackControleRestController::postPackControlesAction',  '_format' => 'json',));
  5191.                     }
  5192.                     not_post_pack_controles:
  5193.                     // patch_pack_controle
  5194.                     if (preg_match('#^/api/packcontroles/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5195.                         if ('PATCH' !== $canonicalMethod) {
  5196.                             $allow[] = 'PATCH';
  5197.                             goto not_patch_pack_controle;
  5198.                         }
  5199.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_pack_controle')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PackControleRestController::patchPackControleAction',  '_format' => 'json',));
  5200.                     }
  5201.                     not_patch_pack_controle:
  5202.                 }
  5203.                 elseif (=== strpos($pathinfo'/api/packdiagnostics')) {
  5204.                     // update_pack_diagnostic
  5205.                     if (preg_match('#^/api/packdiagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5206.                         if ('PUT' !== $canonicalMethod) {
  5207.                             $allow[] = 'PUT';
  5208.                             goto not_update_pack_diagnostic;
  5209.                         }
  5210.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_pack_diagnostic')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PackDiagnosticRestController::updatePackDiagnosticAction',  '_format' => 'json',));
  5211.                     }
  5212.                     not_update_pack_diagnostic:
  5213.                     // remove_pack_diagnostic
  5214.                     if (preg_match('#^/api/packdiagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5215.                         if ('DELETE' !== $canonicalMethod) {
  5216.                             $allow[] = 'DELETE';
  5217.                             goto not_remove_pack_diagnostic;
  5218.                         }
  5219.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_pack_diagnostic')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PackDiagnosticRestController::removePackDiagnosticAction',  '_format' => 'json',));
  5220.                     }
  5221.                     not_remove_pack_diagnostic:
  5222.                     // get_pack_diagnostics
  5223.                     if (preg_match('#^/api/packdiagnostics(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5224.                         if ('GET' !== $canonicalMethod) {
  5225.                             $allow[] = 'GET';
  5226.                             goto not_get_pack_diagnostics;
  5227.                         }
  5228.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_pack_diagnostics')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PackDiagnosticRestController::getPackDiagnosticsAction',  '_format' => 'json',));
  5229.                     }
  5230.                     not_get_pack_diagnostics:
  5231.                     // get_pack_diagnostic
  5232.                     if (preg_match('#^/api/packdiagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5233.                         if ('GET' !== $canonicalMethod) {
  5234.                             $allow[] = 'GET';
  5235.                             goto not_get_pack_diagnostic;
  5236.                         }
  5237.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_pack_diagnostic')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PackDiagnosticRestController::getPackDiagnosticAction',  '_format' => 'json',));
  5238.                     }
  5239.                     not_get_pack_diagnostic:
  5240.                     // post_pack_diagnostics
  5241.                     if (preg_match('#^/api/packdiagnostics(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5242.                         if ('POST' !== $canonicalMethod) {
  5243.                             $allow[] = 'POST';
  5244.                             goto not_post_pack_diagnostics;
  5245.                         }
  5246.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_pack_diagnostics')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PackDiagnosticRestController::postPackDiagnosticsAction',  '_format' => 'json',));
  5247.                     }
  5248.                     not_post_pack_diagnostics:
  5249.                     // patch_pack_diagnostic
  5250.                     if (preg_match('#^/api/packdiagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5251.                         if ('PATCH' !== $canonicalMethod) {
  5252.                             $allow[] = 'PATCH';
  5253.                             goto not_patch_pack_diagnostic;
  5254.                         }
  5255.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_pack_diagnostic')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PackDiagnosticRestController::patchPackDiagnosticAction',  '_format' => 'json',));
  5256.                     }
  5257.                     not_patch_pack_diagnostic:
  5258.                 }
  5259.                 elseif (=== strpos($pathinfo'/api/packedls')) {
  5260.                     // update_pack_edl
  5261.                     if (preg_match('#^/api/packedls/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5262.                         if ('PUT' !== $canonicalMethod) {
  5263.                             $allow[] = 'PUT';
  5264.                             goto not_update_pack_edl;
  5265.                         }
  5266.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_pack_edl')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PackEdlRestController::updatePackEdlAction',  '_format' => 'json',));
  5267.                     }
  5268.                     not_update_pack_edl:
  5269.                     // remove_pack_edl
  5270.                     if (preg_match('#^/api/packedls/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5271.                         if ('DELETE' !== $canonicalMethod) {
  5272.                             $allow[] = 'DELETE';
  5273.                             goto not_remove_pack_edl;
  5274.                         }
  5275.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_pack_edl')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PackEdlRestController::removePackEdlAction',  '_format' => 'json',));
  5276.                     }
  5277.                     not_remove_pack_edl:
  5278.                     // get_pack_edls
  5279.                     if (preg_match('#^/api/packedls(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5280.                         if ('GET' !== $canonicalMethod) {
  5281.                             $allow[] = 'GET';
  5282.                             goto not_get_pack_edls;
  5283.                         }
  5284.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_pack_edls')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PackEdlRestController::getPackEdlsAction',  '_format' => 'json',));
  5285.                     }
  5286.                     not_get_pack_edls:
  5287.                     // get_pack_edl
  5288.                     if (preg_match('#^/api/packedls/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5289.                         if ('GET' !== $canonicalMethod) {
  5290.                             $allow[] = 'GET';
  5291.                             goto not_get_pack_edl;
  5292.                         }
  5293.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_pack_edl')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PackEdlRestController::getPackEdlAction',  '_format' => 'json',));
  5294.                     }
  5295.                     not_get_pack_edl:
  5296.                     // post_pack_edls
  5297.                     if (preg_match('#^/api/packedls(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5298.                         if ('POST' !== $canonicalMethod) {
  5299.                             $allow[] = 'POST';
  5300.                             goto not_post_pack_edls;
  5301.                         }
  5302.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_pack_edls')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PackEdlRestController::postPackEdlsAction',  '_format' => 'json',));
  5303.                     }
  5304.                     not_post_pack_edls:
  5305.                     // patch_pack_edl
  5306.                     if (preg_match('#^/api/packedls/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5307.                         if ('PATCH' !== $canonicalMethod) {
  5308.                             $allow[] = 'PATCH';
  5309.                             goto not_patch_pack_edl;
  5310.                         }
  5311.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_pack_edl')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PackEdlRestController::patchPackEdlAction',  '_format' => 'json',));
  5312.                     }
  5313.                     not_patch_pack_edl:
  5314.                 }
  5315.             }
  5316.             elseif (=== strpos($pathinfo'/api/pr')) {
  5317.                 if (=== strpos($pathinfo'/api/produitcontroles')) {
  5318.                     // update_produit_controle
  5319.                     if (preg_match('#^/api/produitcontroles/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5320.                         if ('PUT' !== $canonicalMethod) {
  5321.                             $allow[] = 'PUT';
  5322.                             goto not_update_produit_controle;
  5323.                         }
  5324.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_produit_controle')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\ProduitControleRestController::updateProduitControleAction',  '_format' => 'json',));
  5325.                     }
  5326.                     not_update_produit_controle:
  5327.                     // remove_produit_controle
  5328.                     if (preg_match('#^/api/produitcontroles/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5329.                         if ('DELETE' !== $canonicalMethod) {
  5330.                             $allow[] = 'DELETE';
  5331.                             goto not_remove_produit_controle;
  5332.                         }
  5333.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_produit_controle')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\ProduitControleRestController::removeProduitControleAction',  '_format' => 'json',));
  5334.                     }
  5335.                     not_remove_produit_controle:
  5336.                     // get_produit_controles
  5337.                     if (preg_match('#^/api/produitcontroles(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5338.                         if ('GET' !== $canonicalMethod) {
  5339.                             $allow[] = 'GET';
  5340.                             goto not_get_produit_controles;
  5341.                         }
  5342.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_produit_controles')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\ProduitControleRestController::getProduitControlesAction',  '_format' => 'json',));
  5343.                     }
  5344.                     not_get_produit_controles:
  5345.                     // get_produit_controle
  5346.                     if (preg_match('#^/api/produitcontroles/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5347.                         if ('GET' !== $canonicalMethod) {
  5348.                             $allow[] = 'GET';
  5349.                             goto not_get_produit_controle;
  5350.                         }
  5351.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_produit_controle')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\ProduitControleRestController::getProduitControleAction',  '_format' => 'json',));
  5352.                     }
  5353.                     not_get_produit_controle:
  5354.                     // post_produit_controles
  5355.                     if (preg_match('#^/api/produitcontroles(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5356.                         if ('POST' !== $canonicalMethod) {
  5357.                             $allow[] = 'POST';
  5358.                             goto not_post_produit_controles;
  5359.                         }
  5360.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_produit_controles')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\ProduitControleRestController::postProduitControlesAction',  '_format' => 'json',));
  5361.                     }
  5362.                     not_post_produit_controles:
  5363.                     // patch_produit_controle
  5364.                     if (preg_match('#^/api/produitcontroles/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5365.                         if ('PATCH' !== $canonicalMethod) {
  5366.                             $allow[] = 'PATCH';
  5367.                             goto not_patch_produit_controle;
  5368.                         }
  5369.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_produit_controle')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\ProduitControleRestController::patchProduitControleAction',  '_format' => 'json',));
  5370.                     }
  5371.                     not_patch_produit_controle:
  5372.                 }
  5373.                 elseif (=== strpos($pathinfo'/api/prestations')) {
  5374.                     // update_prestation
  5375.                     if (preg_match('#^/api/prestations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5376.                         if ('PUT' !== $canonicalMethod) {
  5377.                             $allow[] = 'PUT';
  5378.                             goto not_update_prestation;
  5379.                         }
  5380.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_prestation')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrestationRestController::updatePrestationAction',  '_format' => 'json',));
  5381.                     }
  5382.                     not_update_prestation:
  5383.                     // remove_prestation
  5384.                     if (preg_match('#^/api/prestations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5385.                         if ('DELETE' !== $canonicalMethod) {
  5386.                             $allow[] = 'DELETE';
  5387.                             goto not_remove_prestation;
  5388.                         }
  5389.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_prestation')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrestationRestController::removePrestationAction',  '_format' => 'json',));
  5390.                     }
  5391.                     not_remove_prestation:
  5392.                     // get_prestations
  5393.                     if (preg_match('#^/api/prestations(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5394.                         if ('GET' !== $canonicalMethod) {
  5395.                             $allow[] = 'GET';
  5396.                             goto not_get_prestations;
  5397.                         }
  5398.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_prestations')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrestationRestController::getPrestationsAction',  '_format' => 'json',));
  5399.                     }
  5400.                     not_get_prestations:
  5401.                     // get_prestation
  5402.                     if (preg_match('#^/api/prestations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5403.                         if ('GET' !== $canonicalMethod) {
  5404.                             $allow[] = 'GET';
  5405.                             goto not_get_prestation;
  5406.                         }
  5407.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_prestation')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrestationRestController::getPrestationAction',  '_format' => 'json',));
  5408.                     }
  5409.                     not_get_prestation:
  5410.                     // post_prestations
  5411.                     if (preg_match('#^/api/prestations(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5412.                         if ('POST' !== $canonicalMethod) {
  5413.                             $allow[] = 'POST';
  5414.                             goto not_post_prestations;
  5415.                         }
  5416.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_prestations')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrestationRestController::postPrestationsAction',  '_format' => 'json',));
  5417.                     }
  5418.                     not_post_prestations:
  5419.                     // patch_prestation
  5420.                     if (preg_match('#^/api/prestations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5421.                         if ('PATCH' !== $canonicalMethod) {
  5422.                             $allow[] = 'PATCH';
  5423.                             goto not_patch_prestation;
  5424.                         }
  5425.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_prestation')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrestationRestController::patchPrestationAction',  '_format' => 'json',));
  5426.                     }
  5427.                     not_patch_prestation:
  5428.                 }
  5429.                 elseif (=== strpos($pathinfo'/api/prix')) {
  5430.                     if (=== strpos($pathinfo'/api/prixpackdiagnostics')) {
  5431.                         // update_prix_pack_diagnostic
  5432.                         if (preg_match('#^/api/prixpackdiagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5433.                             if ('PUT' !== $canonicalMethod) {
  5434.                                 $allow[] = 'PUT';
  5435.                                 goto not_update_prix_pack_diagnostic;
  5436.                             }
  5437.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_prix_pack_diagnostic')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackDiagnosticRestController::updatePrixPackDiagnosticAction',  '_format' => 'json',));
  5438.                         }
  5439.                         not_update_prix_pack_diagnostic:
  5440.                         // remove_prix_pack_diagnostic
  5441.                         if (preg_match('#^/api/prixpackdiagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5442.                             if ('DELETE' !== $canonicalMethod) {
  5443.                                 $allow[] = 'DELETE';
  5444.                                 goto not_remove_prix_pack_diagnostic;
  5445.                             }
  5446.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_prix_pack_diagnostic')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackDiagnosticRestController::removePrixPackDiagnosticAction',  '_format' => 'json',));
  5447.                         }
  5448.                         not_remove_prix_pack_diagnostic:
  5449.                         // get_prix_pack_diagnostics
  5450.                         if (preg_match('#^/api/prixpackdiagnostics(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5451.                             if ('GET' !== $canonicalMethod) {
  5452.                                 $allow[] = 'GET';
  5453.                                 goto not_get_prix_pack_diagnostics;
  5454.                             }
  5455.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_prix_pack_diagnostics')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackDiagnosticRestController::getPrixPackDiagnosticsAction',  '_format' => 'json',));
  5456.                         }
  5457.                         not_get_prix_pack_diagnostics:
  5458.                         // get_prix_pack_diagnostic
  5459.                         if (preg_match('#^/api/prixpackdiagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5460.                             if ('GET' !== $canonicalMethod) {
  5461.                                 $allow[] = 'GET';
  5462.                                 goto not_get_prix_pack_diagnostic;
  5463.                             }
  5464.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_prix_pack_diagnostic')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackDiagnosticRestController::getPrixPackDiagnosticAction',  '_format' => 'json',));
  5465.                         }
  5466.                         not_get_prix_pack_diagnostic:
  5467.                         // post_prix_pack_diagnostics
  5468.                         if (preg_match('#^/api/prixpackdiagnostics(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5469.                             if ('POST' !== $canonicalMethod) {
  5470.                                 $allow[] = 'POST';
  5471.                                 goto not_post_prix_pack_diagnostics;
  5472.                             }
  5473.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_prix_pack_diagnostics')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackDiagnosticRestController::postPrixPackDiagnosticsAction',  '_format' => 'json',));
  5474.                         }
  5475.                         not_post_prix_pack_diagnostics:
  5476.                         // patch_prix_pack_diagnostic
  5477.                         if (preg_match('#^/api/prixpackdiagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5478.                             if ('PATCH' !== $canonicalMethod) {
  5479.                                 $allow[] = 'PATCH';
  5480.                                 goto not_patch_prix_pack_diagnostic;
  5481.                             }
  5482.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_prix_pack_diagnostic')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackDiagnosticRestController::patchPrixPackDiagnosticAction',  '_format' => 'json',));
  5483.                         }
  5484.                         not_patch_prix_pack_diagnostic:
  5485.                     }
  5486.                     elseif (=== strpos($pathinfo'/api/prixpackedls')) {
  5487.                         // update_prix_pack_edl
  5488.                         if (preg_match('#^/api/prixpackedls/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5489.                             if ('PUT' !== $canonicalMethod) {
  5490.                                 $allow[] = 'PUT';
  5491.                                 goto not_update_prix_pack_edl;
  5492.                             }
  5493.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_prix_pack_edl')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackEdlRestController::updatePrixPackEdlAction',  '_format' => 'json',));
  5494.                         }
  5495.                         not_update_prix_pack_edl:
  5496.                         // remove_prix_pack_edl
  5497.                         if (preg_match('#^/api/prixpackedls/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5498.                             if ('DELETE' !== $canonicalMethod) {
  5499.                                 $allow[] = 'DELETE';
  5500.                                 goto not_remove_prix_pack_edl;
  5501.                             }
  5502.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_prix_pack_edl')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackEdlRestController::removePrixPackEdlAction',  '_format' => 'json',));
  5503.                         }
  5504.                         not_remove_prix_pack_edl:
  5505.                         // get_prix_pack_edls
  5506.                         if (preg_match('#^/api/prixpackedls(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5507.                             if ('GET' !== $canonicalMethod) {
  5508.                                 $allow[] = 'GET';
  5509.                                 goto not_get_prix_pack_edls;
  5510.                             }
  5511.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_prix_pack_edls')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackEdlRestController::getPrixPackEdlsAction',  '_format' => 'json',));
  5512.                         }
  5513.                         not_get_prix_pack_edls:
  5514.                         // get_prix_pack_edl
  5515.                         if (preg_match('#^/api/prixpackedls/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5516.                             if ('GET' !== $canonicalMethod) {
  5517.                                 $allow[] = 'GET';
  5518.                                 goto not_get_prix_pack_edl;
  5519.                             }
  5520.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_prix_pack_edl')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackEdlRestController::getPrixPackEdlAction',  '_format' => 'json',));
  5521.                         }
  5522.                         not_get_prix_pack_edl:
  5523.                         // post_prix_pack_edls
  5524.                         if (preg_match('#^/api/prixpackedls(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5525.                             if ('POST' !== $canonicalMethod) {
  5526.                                 $allow[] = 'POST';
  5527.                                 goto not_post_prix_pack_edls;
  5528.                             }
  5529.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_prix_pack_edls')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackEdlRestController::postPrixPackEdlsAction',  '_format' => 'json',));
  5530.                         }
  5531.                         not_post_prix_pack_edls:
  5532.                         // patch_prix_pack_edl
  5533.                         if (preg_match('#^/api/prixpackedls/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5534.                             if ('PATCH' !== $canonicalMethod) {
  5535.                                 $allow[] = 'PATCH';
  5536.                                 goto not_patch_prix_pack_edl;
  5537.                             }
  5538.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_prix_pack_edl')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackEdlRestController::patchPrixPackEdlAction',  '_format' => 'json',));
  5539.                         }
  5540.                         not_patch_prix_pack_edl:
  5541.                     }
  5542.                     elseif (=== strpos($pathinfo'/api/prixunitediagnostics')) {
  5543.                         // update_prix_unite_diagnostic
  5544.                         if (preg_match('#^/api/prixunitediagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5545.                             if ('PUT' !== $canonicalMethod) {
  5546.                                 $allow[] = 'PUT';
  5547.                                 goto not_update_prix_unite_diagnostic;
  5548.                             }
  5549.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_prix_unite_diagnostic')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteDiagnosticRestController::updatePrixUniteDiagnosticAction',  '_format' => 'json',));
  5550.                         }
  5551.                         not_update_prix_unite_diagnostic:
  5552.                         // remove_prix_unite_diagnostic
  5553.                         if (preg_match('#^/api/prixunitediagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5554.                             if ('DELETE' !== $canonicalMethod) {
  5555.                                 $allow[] = 'DELETE';
  5556.                                 goto not_remove_prix_unite_diagnostic;
  5557.                             }
  5558.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_prix_unite_diagnostic')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteDiagnosticRestController::removePrixUniteDiagnosticAction',  '_format' => 'json',));
  5559.                         }
  5560.                         not_remove_prix_unite_diagnostic:
  5561.                         // get_prix_unite_diagnostics
  5562.                         if (preg_match('#^/api/prixunitediagnostics(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5563.                             if ('GET' !== $canonicalMethod) {
  5564.                                 $allow[] = 'GET';
  5565.                                 goto not_get_prix_unite_diagnostics;
  5566.                             }
  5567.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_prix_unite_diagnostics')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteDiagnosticRestController::getPrixUniteDiagnosticsAction',  '_format' => 'json',));
  5568.                         }
  5569.                         not_get_prix_unite_diagnostics:
  5570.                         // get_prix_unite_diagnostic
  5571.                         if (preg_match('#^/api/prixunitediagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5572.                             if ('GET' !== $canonicalMethod) {
  5573.                                 $allow[] = 'GET';
  5574.                                 goto not_get_prix_unite_diagnostic;
  5575.                             }
  5576.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_prix_unite_diagnostic')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteDiagnosticRestController::getPrixUniteDiagnosticAction',  '_format' => 'json',));
  5577.                         }
  5578.                         not_get_prix_unite_diagnostic:
  5579.                         // post_prix_unite_diagnostics
  5580.                         if (preg_match('#^/api/prixunitediagnostics(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5581.                             if ('POST' !== $canonicalMethod) {
  5582.                                 $allow[] = 'POST';
  5583.                                 goto not_post_prix_unite_diagnostics;
  5584.                             }
  5585.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_prix_unite_diagnostics')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteDiagnosticRestController::postPrixUniteDiagnosticsAction',  '_format' => 'json',));
  5586.                         }
  5587.                         not_post_prix_unite_diagnostics:
  5588.                         // patch_prix_unite_diagnostic
  5589.                         if (preg_match('#^/api/prixunitediagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5590.                             if ('PATCH' !== $canonicalMethod) {
  5591.                                 $allow[] = 'PATCH';
  5592.                                 goto not_patch_prix_unite_diagnostic;
  5593.                             }
  5594.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_prix_unite_diagnostic')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteDiagnosticRestController::patchPrixUniteDiagnosticAction',  '_format' => 'json',));
  5595.                         }
  5596.                         not_patch_prix_unite_diagnostic:
  5597.                     }
  5598.                     elseif (=== strpos($pathinfo'/api/prixuniteamiantes')) {
  5599.                         // update_prix_unite_amiante
  5600.                         if (preg_match('#^/api/prixuniteamiantes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5601.                             if ('PUT' !== $canonicalMethod) {
  5602.                                 $allow[] = 'PUT';
  5603.                                 goto not_update_prix_unite_amiante;
  5604.                             }
  5605.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_prix_unite_amiante')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteAmianteRestController::updatePrixUniteAmianteAction',  '_format' => 'json',));
  5606.                         }
  5607.                         not_update_prix_unite_amiante:
  5608.                         // remove_prix_unite_amiante
  5609.                         if (preg_match('#^/api/prixuniteamiantes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5610.                             if ('DELETE' !== $canonicalMethod) {
  5611.                                 $allow[] = 'DELETE';
  5612.                                 goto not_remove_prix_unite_amiante;
  5613.                             }
  5614.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_prix_unite_amiante')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteAmianteRestController::removePrixUniteAmianteAction',  '_format' => 'json',));
  5615.                         }
  5616.                         not_remove_prix_unite_amiante:
  5617.                         // get_prix_unite_amiantes
  5618.                         if (preg_match('#^/api/prixuniteamiantes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5619.                             if ('GET' !== $canonicalMethod) {
  5620.                                 $allow[] = 'GET';
  5621.                                 goto not_get_prix_unite_amiantes;
  5622.                             }
  5623.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_prix_unite_amiantes')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteAmianteRestController::getPrixUniteAmiantesAction',  '_format' => 'json',));
  5624.                         }
  5625.                         not_get_prix_unite_amiantes:
  5626.                         // get_prix_unite_amiante
  5627.                         if (preg_match('#^/api/prixuniteamiantes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5628.                             if ('GET' !== $canonicalMethod) {
  5629.                                 $allow[] = 'GET';
  5630.                                 goto not_get_prix_unite_amiante;
  5631.                             }
  5632.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_prix_unite_amiante')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteAmianteRestController::getPrixUniteAmianteAction',  '_format' => 'json',));
  5633.                         }
  5634.                         not_get_prix_unite_amiante:
  5635.                         // post_prix_unite_amiantes
  5636.                         if (preg_match('#^/api/prixuniteamiantes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5637.                             if ('POST' !== $canonicalMethod) {
  5638.                                 $allow[] = 'POST';
  5639.                                 goto not_post_prix_unite_amiantes;
  5640.                             }
  5641.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_prix_unite_amiantes')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteAmianteRestController::postPrixUniteAmiantesAction',  '_format' => 'json',));
  5642.                         }
  5643.                         not_post_prix_unite_amiantes:
  5644.                         // patch_prix_unite_amiante
  5645.                         if (preg_match('#^/api/prixuniteamiantes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5646.                             if ('PATCH' !== $canonicalMethod) {
  5647.                                 $allow[] = 'PATCH';
  5648.                                 goto not_patch_prix_unite_amiante;
  5649.                             }
  5650.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_prix_unite_amiante')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteAmianteRestController::patchPrixUniteAmianteAction',  '_format' => 'json',));
  5651.                         }
  5652.                         not_patch_prix_unite_amiante:
  5653.                     }
  5654.                 }
  5655.             }
  5656.             elseif (=== strpos($pathinfo'/api/activites')) {
  5657.                 // update_activite
  5658.                 if (preg_match('#^/api/activites/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5659.                     if ('PUT' !== $canonicalMethod) {
  5660.                         $allow[] = 'PUT';
  5661.                         goto not_update_activite;
  5662.                     }
  5663.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_activite')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\ActiviteRestController::updateActiviteAction',  '_format' => 'json',));
  5664.                 }
  5665.                 not_update_activite:
  5666.                 // remove_activite
  5667.                 if (preg_match('#^/api/activites/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5668.                     if ('DELETE' !== $canonicalMethod) {
  5669.                         $allow[] = 'DELETE';
  5670.                         goto not_remove_activite;
  5671.                     }
  5672.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_activite')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\ActiviteRestController::removeActiviteAction',  '_format' => 'json',));
  5673.                 }
  5674.                 not_remove_activite:
  5675.                 // get_activites
  5676.                 if (preg_match('#^/api/activites(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5677.                     if ('GET' !== $canonicalMethod) {
  5678.                         $allow[] = 'GET';
  5679.                         goto not_get_activites;
  5680.                     }
  5681.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_activites')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\ActiviteRestController::getActivitesAction',  '_format' => 'json',));
  5682.                 }
  5683.                 not_get_activites:
  5684.                 // get_activite
  5685.                 if (preg_match('#^/api/activites/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5686.                     if ('GET' !== $canonicalMethod) {
  5687.                         $allow[] = 'GET';
  5688.                         goto not_get_activite;
  5689.                     }
  5690.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_activite')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\ActiviteRestController::getActiviteAction',  '_format' => 'json',));
  5691.                 }
  5692.                 not_get_activite:
  5693.                 // post_activites
  5694.                 if (preg_match('#^/api/activites(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5695.                     if ('POST' !== $canonicalMethod) {
  5696.                         $allow[] = 'POST';
  5697.                         goto not_post_activites;
  5698.                     }
  5699.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_activites')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\ActiviteRestController::postActivitesAction',  '_format' => 'json',));
  5700.                 }
  5701.                 not_post_activites:
  5702.                 // patch_activite
  5703.                 if (preg_match('#^/api/activites/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5704.                     if ('PATCH' !== $canonicalMethod) {
  5705.                         $allow[] = 'PATCH';
  5706.                         goto not_patch_activite;
  5707.                     }
  5708.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_activite')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\ActiviteRestController::patchActiviteAction',  '_format' => 'json',));
  5709.                 }
  5710.                 not_patch_activite:
  5711.             }
  5712.             elseif (=== strpos($pathinfo'/api/interventions')) {
  5713.                 // update_intervention
  5714.                 if (preg_match('#^/api/interventions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5715.                     if ('PUT' !== $canonicalMethod) {
  5716.                         $allow[] = 'PUT';
  5717.                         goto not_update_intervention;
  5718.                     }
  5719.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_intervention')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\InterventionRestController::updateInterventionAction',  '_format' => 'json',));
  5720.                 }
  5721.                 not_update_intervention:
  5722.                 // remove_intervention
  5723.                 if (preg_match('#^/api/interventions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5724.                     if ('DELETE' !== $canonicalMethod) {
  5725.                         $allow[] = 'DELETE';
  5726.                         goto not_remove_intervention;
  5727.                     }
  5728.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_intervention')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\InterventionRestController::removeInterventionAction',  '_format' => 'json',));
  5729.                 }
  5730.                 not_remove_intervention:
  5731.                 // get_interventions
  5732.                 if (preg_match('#^/api/interventions(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5733.                     if ('GET' !== $canonicalMethod) {
  5734.                         $allow[] = 'GET';
  5735.                         goto not_get_interventions;
  5736.                     }
  5737.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_interventions')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\InterventionRestController::getInterventionsAction',  '_format' => 'json',));
  5738.                 }
  5739.                 not_get_interventions:
  5740.                 // get_intervention
  5741.                 if (preg_match('#^/api/interventions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5742.                     if ('GET' !== $canonicalMethod) {
  5743.                         $allow[] = 'GET';
  5744.                         goto not_get_intervention;
  5745.                     }
  5746.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_intervention')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\InterventionRestController::getInterventionAction',  '_format' => 'json',));
  5747.                 }
  5748.                 not_get_intervention:
  5749.                 // post_interventions
  5750.                 if (preg_match('#^/api/interventions(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5751.                     if ('POST' !== $canonicalMethod) {
  5752.                         $allow[] = 'POST';
  5753.                         goto not_post_interventions;
  5754.                     }
  5755.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_interventions')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\InterventionRestController::postInterventionsAction',  '_format' => 'json',));
  5756.                 }
  5757.                 not_post_interventions:
  5758.                 // patch_intervention
  5759.                 if (preg_match('#^/api/interventions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5760.                     if ('PATCH' !== $canonicalMethod) {
  5761.                         $allow[] = 'PATCH';
  5762.                         goto not_patch_intervention;
  5763.                     }
  5764.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_intervention')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\InterventionRestController::patchInterventionAction',  '_format' => 'json',));
  5765.                 }
  5766.                 not_patch_intervention:
  5767.             }
  5768.             elseif (=== strpos($pathinfo'/api/filiales')) {
  5769.                 // update_filiale
  5770.                 if (preg_match('#^/api/filiales/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5771.                     if ('PUT' !== $canonicalMethod) {
  5772.                         $allow[] = 'PUT';
  5773.                         goto not_update_filiale;
  5774.                     }
  5775.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_filiale')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\FilialeRestController::updateFilialeAction',  '_format' => 'json',));
  5776.                 }
  5777.                 not_update_filiale:
  5778.                 // remove_filiale
  5779.                 if (preg_match('#^/api/filiales/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5780.                     if ('DELETE' !== $canonicalMethod) {
  5781.                         $allow[] = 'DELETE';
  5782.                         goto not_remove_filiale;
  5783.                     }
  5784.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_filiale')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\FilialeRestController::removeFilialeAction',  '_format' => 'json',));
  5785.                 }
  5786.                 not_remove_filiale:
  5787.                 // get_filiales
  5788.                 if (preg_match('#^/api/filiales(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5789.                     if ('GET' !== $canonicalMethod) {
  5790.                         $allow[] = 'GET';
  5791.                         goto not_get_filiales;
  5792.                     }
  5793.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_filiales')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\FilialeRestController::getFilialesAction',  '_format' => 'json',));
  5794.                 }
  5795.                 not_get_filiales:
  5796.                 // get_filiale
  5797.                 if (preg_match('#^/api/filiales/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5798.                     if ('GET' !== $canonicalMethod) {
  5799.                         $allow[] = 'GET';
  5800.                         goto not_get_filiale;
  5801.                     }
  5802.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_filiale')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\FilialeRestController::getFilialeAction',  '_format' => 'json',));
  5803.                 }
  5804.                 not_get_filiale:
  5805.                 // post_filiales
  5806.                 if (preg_match('#^/api/filiales(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5807.                     if ('POST' !== $canonicalMethod) {
  5808.                         $allow[] = 'POST';
  5809.                         goto not_post_filiales;
  5810.                     }
  5811.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_filiales')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\FilialeRestController::postFilialesAction',  '_format' => 'json',));
  5812.                 }
  5813.                 not_post_filiales:
  5814.                 // patch_filiale
  5815.                 if (preg_match('#^/api/filiales/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5816.                     if ('PATCH' !== $canonicalMethod) {
  5817.                         $allow[] = 'PATCH';
  5818.                         goto not_patch_filiale;
  5819.                     }
  5820.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_filiale')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\FilialeRestController::patchFilialeAction',  '_format' => 'json',));
  5821.                 }
  5822.                 not_patch_filiale:
  5823.                 // get_secteurs_by_filiale
  5824.                 if (preg_match('#^/api/filiales/(?P<id>[^/]++)/secteurs(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5825.                     if ('GET' !== $canonicalMethod) {
  5826.                         $allow[] = 'GET';
  5827.                         goto not_get_secteurs_by_filiale;
  5828.                     }
  5829.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_secteurs_by_filiale')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\SecteurRestController::getSecteursByFilialeAction',  '_format' => 'json',));
  5830.                 }
  5831.                 not_get_secteurs_by_filiale:
  5832.             }
  5833.             elseif (=== strpos($pathinfo'/api/secteurs')) {
  5834.                 // update_secteur
  5835.                 if (preg_match('#^/api/secteurs/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5836.                     if ('PUT' !== $canonicalMethod) {
  5837.                         $allow[] = 'PUT';
  5838.                         goto not_update_secteur;
  5839.                     }
  5840.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_secteur')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\SecteurRestController::updateSecteurAction',  '_format' => 'json',));
  5841.                 }
  5842.                 not_update_secteur:
  5843.                 // remove_secteur
  5844.                 if (preg_match('#^/api/secteurs/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5845.                     if ('DELETE' !== $canonicalMethod) {
  5846.                         $allow[] = 'DELETE';
  5847.                         goto not_remove_secteur;
  5848.                     }
  5849.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_secteur')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\SecteurRestController::removeSecteurAction',  '_format' => 'json',));
  5850.                 }
  5851.                 not_remove_secteur:
  5852.                 // get_secteurs
  5853.                 if (preg_match('#^/api/secteurs(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5854.                     if ('GET' !== $canonicalMethod) {
  5855.                         $allow[] = 'GET';
  5856.                         goto not_get_secteurs;
  5857.                     }
  5858.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_secteurs')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\SecteurRestController::getSecteursAction',  '_format' => 'json',));
  5859.                 }
  5860.                 not_get_secteurs:
  5861.                 // get_secteur
  5862.                 if (preg_match('#^/api/secteurs/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5863.                     if ('GET' !== $canonicalMethod) {
  5864.                         $allow[] = 'GET';
  5865.                         goto not_get_secteur;
  5866.                     }
  5867.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_secteur')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\SecteurRestController::getSecteurAction',  '_format' => 'json',));
  5868.                 }
  5869.                 not_get_secteur:
  5870.                 // post_secteurs
  5871.                 if (preg_match('#^/api/secteurs(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5872.                     if ('POST' !== $canonicalMethod) {
  5873.                         $allow[] = 'POST';
  5874.                         goto not_post_secteurs;
  5875.                     }
  5876.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_secteurs')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\SecteurRestController::postSecteursAction',  '_format' => 'json',));
  5877.                 }
  5878.                 not_post_secteurs:
  5879.                 // patch_secteur
  5880.                 if (preg_match('#^/api/secteurs/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5881.                     if ('PATCH' !== $canonicalMethod) {
  5882.                         $allow[] = 'PATCH';
  5883.                         goto not_patch_secteur;
  5884.                     }
  5885.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_secteur')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\SecteurRestController::patchSecteurAction',  '_format' => 'json',));
  5886.                 }
  5887.                 not_patch_secteur:
  5888.             }
  5889.             elseif (=== strpos($pathinfo'/api/unitediagnostics')) {
  5890.                 // update_unite_diagnostic
  5891.                 if (preg_match('#^/api/unitediagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5892.                     if ('PUT' !== $canonicalMethod) {
  5893.                         $allow[] = 'PUT';
  5894.                         goto not_update_unite_diagnostic;
  5895.                     }
  5896.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_unite_diagnostic')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteDiagnosticRestController::updateUniteDiagnosticAction',  '_format' => 'json',));
  5897.                 }
  5898.                 not_update_unite_diagnostic:
  5899.                 // remove_unite_diagnostic
  5900.                 if (preg_match('#^/api/unitediagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5901.                     if ('DELETE' !== $canonicalMethod) {
  5902.                         $allow[] = 'DELETE';
  5903.                         goto not_remove_unite_diagnostic;
  5904.                     }
  5905.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_unite_diagnostic')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteDiagnosticRestController::removeUniteDiagnosticAction',  '_format' => 'json',));
  5906.                 }
  5907.                 not_remove_unite_diagnostic:
  5908.                 // get_unite_diagnostics
  5909.                 if (preg_match('#^/api/unitediagnostics(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5910.                     if ('GET' !== $canonicalMethod) {
  5911.                         $allow[] = 'GET';
  5912.                         goto not_get_unite_diagnostics;
  5913.                     }
  5914.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_unite_diagnostics')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteDiagnosticRestController::getUniteDiagnosticsAction',  '_format' => 'json',));
  5915.                 }
  5916.                 not_get_unite_diagnostics:
  5917.                 // get_unite_diagnostic
  5918.                 if (preg_match('#^/api/unitediagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5919.                     if ('GET' !== $canonicalMethod) {
  5920.                         $allow[] = 'GET';
  5921.                         goto not_get_unite_diagnostic;
  5922.                     }
  5923.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_unite_diagnostic')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteDiagnosticRestController::getUniteDiagnosticAction',  '_format' => 'json',));
  5924.                 }
  5925.                 not_get_unite_diagnostic:
  5926.                 // post_unite_diagnostics
  5927.                 if (preg_match('#^/api/unitediagnostics(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5928.                     if ('POST' !== $canonicalMethod) {
  5929.                         $allow[] = 'POST';
  5930.                         goto not_post_unite_diagnostics;
  5931.                     }
  5932.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_unite_diagnostics')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteDiagnosticRestController::postUniteDiagnosticsAction',  '_format' => 'json',));
  5933.                 }
  5934.                 not_post_unite_diagnostics:
  5935.                 // patch_unite_diagnostic
  5936.                 if (preg_match('#^/api/unitediagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5937.                     if ('PATCH' !== $canonicalMethod) {
  5938.                         $allow[] = 'PATCH';
  5939.                         goto not_patch_unite_diagnostic;
  5940.                     }
  5941.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_unite_diagnostic')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteDiagnosticRestController::patchUniteDiagnosticAction',  '_format' => 'json',));
  5942.                 }
  5943.                 not_patch_unite_diagnostic:
  5944.             }
  5945.             elseif (=== strpos($pathinfo'/api/uniteamiantes')) {
  5946.                 // update_unite_amiante
  5947.                 if (preg_match('#^/api/uniteamiantes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5948.                     if ('PUT' !== $canonicalMethod) {
  5949.                         $allow[] = 'PUT';
  5950.                         goto not_update_unite_amiante;
  5951.                     }
  5952.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_unite_amiante')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteAmianteRestController::updateUniteAmianteAction',  '_format' => 'json',));
  5953.                 }
  5954.                 not_update_unite_amiante:
  5955.                 // remove_unite_amiante
  5956.                 if (preg_match('#^/api/uniteamiantes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5957.                     if ('DELETE' !== $canonicalMethod) {
  5958.                         $allow[] = 'DELETE';
  5959.                         goto not_remove_unite_amiante;
  5960.                     }
  5961.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_unite_amiante')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteAmianteRestController::removeUniteAmianteAction',  '_format' => 'json',));
  5962.                 }
  5963.                 not_remove_unite_amiante:
  5964.                 // get_unite_amiantes
  5965.                 if (preg_match('#^/api/uniteamiantes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5966.                     if ('GET' !== $canonicalMethod) {
  5967.                         $allow[] = 'GET';
  5968.                         goto not_get_unite_amiantes;
  5969.                     }
  5970.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_unite_amiantes')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteAmianteRestController::getUniteAmiantesAction',  '_format' => 'json',));
  5971.                 }
  5972.                 not_get_unite_amiantes:
  5973.                 // get_unite_amiante
  5974.                 if (preg_match('#^/api/uniteamiantes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5975.                     if ('GET' !== $canonicalMethod) {
  5976.                         $allow[] = 'GET';
  5977.                         goto not_get_unite_amiante;
  5978.                     }
  5979.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_unite_amiante')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteAmianteRestController::getUniteAmianteAction',  '_format' => 'json',));
  5980.                 }
  5981.                 not_get_unite_amiante:
  5982.                 // post_unite_amiantes
  5983.                 if (preg_match('#^/api/uniteamiantes(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5984.                     if ('POST' !== $canonicalMethod) {
  5985.                         $allow[] = 'POST';
  5986.                         goto not_post_unite_amiantes;
  5987.                     }
  5988.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_unite_amiantes')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteAmianteRestController::postUniteAmiantesAction',  '_format' => 'json',));
  5989.                 }
  5990.                 not_post_unite_amiantes:
  5991.                 // patch_unite_amiante
  5992.                 if (preg_match('#^/api/uniteamiantes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  5993.                     if ('PATCH' !== $canonicalMethod) {
  5994.                         $allow[] = 'PATCH';
  5995.                         goto not_patch_unite_amiante;
  5996.                     }
  5997.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_unite_amiante')), array (  '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteAmianteRestController::patchUniteAmianteAction',  '_format' => 'json',));
  5998.                 }
  5999.                 not_patch_unite_amiante:
  6000.             }
  6001.         }
  6002.         elseif (=== strpos($pathinfo'/amiante')) {
  6003.             // config_amiante_index
  6004.             if ('/amiante' === $trimmedPathinfo) {
  6005.                 if ('GET' !== $canonicalMethod) {
  6006.                     $allow[] = 'GET';
  6007.                     goto not_config_amiante_index;
  6008.                 }
  6009.                 if (substr($pathinfo, -1) !== '/') {
  6010.                     return $this->redirect($rawPathinfo.'/''config_amiante_index');
  6011.                 }
  6012.                 return array (  '_controller' => 'ConfigBundle:Amiante:index',  '_route' => 'config_amiante_index',);
  6013.             }
  6014.             not_config_amiante_index:
  6015.             // config_amiante_show
  6016.             if (preg_match('#^/amiante/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6017.                 if ('GET' !== $canonicalMethod) {
  6018.                     $allow[] = 'GET';
  6019.                     goto not_config_amiante_show;
  6020.                 }
  6021.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_amiante_show')), array (  '_controller' => 'ConfigBundle:Amiante:show',));
  6022.             }
  6023.             not_config_amiante_show:
  6024.         }
  6025.         elseif (=== strpos($pathinfo'/ba')) {
  6026.             if (=== strpos($pathinfo'/backup/config')) {
  6027.                 // backup_config_index
  6028.                 if ('/backup/config' === $trimmedPathinfo) {
  6029.                     if ('GET' !== $canonicalMethod) {
  6030.                         $allow[] = 'GET';
  6031.                         goto not_backup_config_index;
  6032.                     }
  6033.                     if (substr($pathinfo, -1) !== '/') {
  6034.                         return $this->redirect($rawPathinfo.'/''backup_config_index');
  6035.                     }
  6036.                     return array (  '_controller' => 'BackupBundle\\Controller\\ConfigController::indexAction',  '_route' => 'backup_config_index',);
  6037.                 }
  6038.                 not_backup_config_index:
  6039.                 // backup_config_show
  6040.                 if (preg_match('#^/backup/config/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6041.                     if ('GET' !== $canonicalMethod) {
  6042.                         $allow[] = 'GET';
  6043.                         goto not_backup_config_show;
  6044.                     }
  6045.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_config_show')), array (  '_controller' => 'BackupBundle\\Controller\\ConfigController::showAction',));
  6046.                 }
  6047.                 not_backup_config_show:
  6048.                 // backup_config_new
  6049.                 if ('/backup/config/new' === $pathinfo) {
  6050.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  6051.                         $allow array_merge($allow, array('GET''POST'));
  6052.                         goto not_backup_config_new;
  6053.                     }
  6054.                     return array (  '_controller' => 'BackupBundle\\Controller\\ConfigController::newAction',  '_route' => 'backup_config_new',);
  6055.                 }
  6056.                 not_backup_config_new:
  6057.                 // backup_config_edit
  6058.                 if (preg_match('#^/backup/config/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  6059.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  6060.                         $allow array_merge($allow, array('GET''POST'));
  6061.                         goto not_backup_config_edit;
  6062.                     }
  6063.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_config_edit')), array (  '_controller' => 'BackupBundle\\Controller\\ConfigController::editAction',));
  6064.                 }
  6065.                 not_backup_config_edit:
  6066.                 // backup_config_delete
  6067.                 if (preg_match('#^/backup/config/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  6068.                     if ('DELETE' !== $canonicalMethod) {
  6069.                         $allow[] = 'DELETE';
  6070.                         goto not_backup_config_delete;
  6071.                     }
  6072.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_config_delete')), array (  '_controller' => 'BackupBundle\\Controller\\ConfigController::deleteAction',));
  6073.                 }
  6074.                 not_backup_config_delete:
  6075.             }
  6076.             elseif (=== strpos($pathinfo'/backup/export')) {
  6077.                 // backup_export_index
  6078.                 if ('/backup/export' === $trimmedPathinfo) {
  6079.                     if ('GET' !== $canonicalMethod) {
  6080.                         $allow[] = 'GET';
  6081.                         goto not_backup_export_index;
  6082.                     }
  6083.                     if (substr($pathinfo, -1) !== '/') {
  6084.                         return $this->redirect($rawPathinfo.'/''backup_export_index');
  6085.                     }
  6086.                     return array (  '_controller' => 'BackupBundle\\Controller\\ExportController::indexAction',  '_route' => 'backup_export_index',);
  6087.                 }
  6088.                 not_backup_export_index:
  6089.                 // backup_export_show
  6090.                 if (preg_match('#^/backup/export/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6091.                     if ('GET' !== $canonicalMethod) {
  6092.                         $allow[] = 'GET';
  6093.                         goto not_backup_export_show;
  6094.                     }
  6095.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_export_show')), array (  '_controller' => 'BackupBundle\\Controller\\ExportController::showAction',));
  6096.                 }
  6097.                 not_backup_export_show:
  6098.                 // backup_export_new
  6099.                 if ('/backup/export/new' === $pathinfo) {
  6100.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  6101.                         $allow array_merge($allow, array('GET''POST'));
  6102.                         goto not_backup_export_new;
  6103.                     }
  6104.                     return array (  '_controller' => 'BackupBundle\\Controller\\ExportController::newAction',  '_route' => 'backup_export_new',);
  6105.                 }
  6106.                 not_backup_export_new:
  6107.                 // backup_export_edit
  6108.                 if (preg_match('#^/backup/export/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  6109.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  6110.                         $allow array_merge($allow, array('GET''POST'));
  6111.                         goto not_backup_export_edit;
  6112.                     }
  6113.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_export_edit')), array (  '_controller' => 'BackupBundle\\Controller\\ExportController::editAction',));
  6114.                 }
  6115.                 not_backup_export_edit:
  6116.                 // backup_export_delete
  6117.                 if (preg_match('#^/backup/export/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  6118.                     if ('DELETE' !== $canonicalMethod) {
  6119.                         $allow[] = 'DELETE';
  6120.                         goto not_backup_export_delete;
  6121.                     }
  6122.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_export_delete')), array (  '_controller' => 'BackupBundle\\Controller\\ExportController::deleteAction',));
  6123.                 }
  6124.                 not_backup_export_delete:
  6125.             }
  6126.             elseif (=== strpos($pathinfo'/banque')) {
  6127.                 // config_banque_index
  6128.                 if ('/banque' === $trimmedPathinfo) {
  6129.                     if ('GET' !== $canonicalMethod) {
  6130.                         $allow[] = 'GET';
  6131.                         goto not_config_banque_index;
  6132.                     }
  6133.                     if (substr($pathinfo, -1) !== '/') {
  6134.                         return $this->redirect($rawPathinfo.'/''config_banque_index');
  6135.                     }
  6136.                     return array (  '_controller' => 'ConfigBundle\\Controller\\BanqueController::indexAction',  '_route' => 'config_banque_index',);
  6137.                 }
  6138.                 not_config_banque_index:
  6139.                 // config_banque_show
  6140.                 if (preg_match('#^/banque/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6141.                     if ('GET' !== $canonicalMethod) {
  6142.                         $allow[] = 'GET';
  6143.                         goto not_config_banque_show;
  6144.                     }
  6145.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_banque_show')), array (  '_controller' => 'ConfigBundle\\Controller\\BanqueController::showAction',));
  6146.                 }
  6147.                 not_config_banque_show:
  6148.                 // config_banque_new
  6149.                 if ('/banque/new' === $pathinfo) {
  6150.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  6151.                         $allow array_merge($allow, array('GET''POST'));
  6152.                         goto not_config_banque_new;
  6153.                     }
  6154.                     return array (  '_controller' => 'ConfigBundle\\Controller\\BanqueController::newAction',  '_route' => 'config_banque_new',);
  6155.                 }
  6156.                 not_config_banque_new:
  6157.                 // config_banque_edit
  6158.                 if (preg_match('#^/banque/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  6159.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  6160.                         $allow array_merge($allow, array('GET''POST'));
  6161.                         goto not_config_banque_edit;
  6162.                     }
  6163.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_banque_edit')), array (  '_controller' => 'ConfigBundle\\Controller\\BanqueController::editAction',));
  6164.                 }
  6165.                 not_config_banque_edit:
  6166.                 // config_banque_delete
  6167.                 if (preg_match('#^/banque/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  6168.                     if ('DELETE' !== $canonicalMethod) {
  6169.                         $allow[] = 'DELETE';
  6170.                         goto not_config_banque_delete;
  6171.                     }
  6172.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_banque_delete')), array (  '_controller' => 'ConfigBundle\\Controller\\BanqueController::deleteAction',));
  6173.                 }
  6174.                 not_config_banque_delete:
  6175.             }
  6176.         }
  6177.         elseif (=== strpos($pathinfo'/d')) {
  6178.             if (=== strpos($pathinfo'/dashboard')) {
  6179.                 // dashboard_index
  6180.                 if ('/dashboard' === $trimmedPathinfo) {
  6181.                     if ('GET' !== $canonicalMethod) {
  6182.                         $allow[] = 'GET';
  6183.                         goto not_dashboard_index;
  6184.                     }
  6185.                     if (substr($pathinfo, -1) !== '/') {
  6186.                         return $this->redirect($rawPathinfo.'/''dashboard_index');
  6187.                     }
  6188.                     return array (  '_controller' => 'DashboardBundle\\Controller\\DashboardController::indexAction',  '_route' => 'dashboard_index',);
  6189.                 }
  6190.                 not_dashboard_index:
  6191.                 // dashboard_show
  6192.                 if (preg_match('#^/dashboard/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6193.                     if ('GET' !== $canonicalMethod) {
  6194.                         $allow[] = 'GET';
  6195.                         goto not_dashboard_show;
  6196.                     }
  6197.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'dashboard_show')), array (  '_controller' => 'DashboardBundle\\Controller\\DashboardController::showAction',));
  6198.                 }
  6199.                 not_dashboard_show:
  6200.                 // dashboard_new
  6201.                 if ('/dashboard/new' === $pathinfo) {
  6202.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  6203.                         $allow array_merge($allow, array('GET''POST'));
  6204.                         goto not_dashboard_new;
  6205.                     }
  6206.                     return array (  '_controller' => 'DashboardBundle\\Controller\\DashboardController::newAction',  '_route' => 'dashboard_new',);
  6207.                 }
  6208.                 not_dashboard_new:
  6209.                 // dashboard_edit
  6210.                 if (preg_match('#^/dashboard/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  6211.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  6212.                         $allow array_merge($allow, array('GET''POST'));
  6213.                         goto not_dashboard_edit;
  6214.                     }
  6215.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'dashboard_edit')), array (  '_controller' => 'DashboardBundle\\Controller\\DashboardController::editAction',));
  6216.                 }
  6217.                 not_dashboard_edit:
  6218.                 // dashboard_delete
  6219.                 if (preg_match('#^/dashboard/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  6220.                     if ('DELETE' !== $canonicalMethod) {
  6221.                         $allow[] = 'DELETE';
  6222.                         goto not_dashboard_delete;
  6223.                     }
  6224.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'dashboard_delete')), array (  '_controller' => 'DashboardBundle\\Controller\\DashboardController::deleteAction',));
  6225.                 }
  6226.                 not_dashboard_delete:
  6227.             }
  6228.             elseif (=== strpos($pathinfo'/dateconstruction')) {
  6229.                 // config_dateconstruction_index
  6230.                 if ('/dateconstruction' === $trimmedPathinfo) {
  6231.                     if ('GET' !== $canonicalMethod) {
  6232.                         $allow[] = 'GET';
  6233.                         goto not_config_dateconstruction_index;
  6234.                     }
  6235.                     if (substr($pathinfo, -1) !== '/') {
  6236.                         return $this->redirect($rawPathinfo.'/''config_dateconstruction_index');
  6237.                     }
  6238.                     return array (  '_controller' => 'ConfigBundle\\Controller\\DateConstructionController::indexAction',  '_route' => 'config_dateconstruction_index',);
  6239.                 }
  6240.                 not_config_dateconstruction_index:
  6241.                 // config_dateconstruction_show
  6242.                 if (preg_match('#^/dateconstruction/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6243.                     if ('GET' !== $canonicalMethod) {
  6244.                         $allow[] = 'GET';
  6245.                         goto not_config_dateconstruction_show;
  6246.                     }
  6247.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_dateconstruction_show')), array (  '_controller' => 'ConfigBundle\\Controller\\DateConstructionController::showAction',));
  6248.                 }
  6249.                 not_config_dateconstruction_show:
  6250.             }
  6251.             elseif (=== strpos($pathinfo'/diagnostic')) {
  6252.                 if (=== strpos($pathinfo'/diagnostic-immobilier')) {
  6253.                     if (=== strpos($pathinfo'/diagnostic-immobilier/front')) {
  6254.                         // diagnostic_front_new
  6255.                         if ('/diagnostic-immobilier/front' === $pathinfo) {
  6256.                             if ('GET' !== $canonicalMethod) {
  6257.                                 $allow[] = 'GET';
  6258.                                 goto not_diagnostic_front_new;
  6259.                             }
  6260.                             return array (  '_controller' => 'DiagnosticBundle\\Controller\\CommandeController::forntFormAction',  '_route' => 'diagnostic_front_new',);
  6261.                         }
  6262.                         not_diagnostic_front_new:
  6263.                         // diagnostic_front_commande_show
  6264.                         if (=== strpos($pathinfo'/diagnostic-immobilier/front/commande') && preg_match('#^/diagnostic\\-immobilier/front/commande/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6265.                             if ('GET' !== $canonicalMethod) {
  6266.                                 $allow[] = 'GET';
  6267.                                 goto not_diagnostic_front_commande_show;
  6268.                             }
  6269.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_front_commande_show')), array (  '_controller' => 'DiagnosticBundle\\Controller\\CommandeController::frontShowAction',));
  6270.                         }
  6271.                         not_diagnostic_front_commande_show:
  6272.                         // diagnostic_front_devis_show
  6273.                         if (=== strpos($pathinfo'/diagnostic-immobilier/front/devis') && preg_match('#^/diagnostic\\-immobilier/front/devis/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6274.                             if ('GET' !== $canonicalMethod) {
  6275.                                 $allow[] = 'GET';
  6276.                                 goto not_diagnostic_front_devis_show;
  6277.                             }
  6278.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_front_devis_show')), array (  '_controller' => 'DiagnosticBundle\\Controller\\DevisController::frontShowAction',));
  6279.                         }
  6280.                         not_diagnostic_front_devis_show:
  6281.                         if (=== strpos($pathinfo'/diagnostic-immobilier/front/facture')) {
  6282.                             // diagnostic_front_facture_show
  6283.                             if (preg_match('#^/diagnostic\\-immobilier/front/facture/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6284.                                 if ('GET' !== $canonicalMethod) {
  6285.                                     $allow[] = 'GET';
  6286.                                     goto not_diagnostic_front_facture_show;
  6287.                                 }
  6288.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_front_facture_show')), array (  '_controller' => 'DiagnosticBundle\\Controller\\FactureController::frontShowAction',));
  6289.                             }
  6290.                             not_diagnostic_front_facture_show:
  6291.                             // diagnostic_front_facture_actualisation_show
  6292.                             if (=== strpos($pathinfo'/diagnostic-immobilier/front/factureactualisation') && preg_match('#^/diagnostic\\-immobilier/front/factureactualisation/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6293.                                 if ('GET' !== $canonicalMethod) {
  6294.                                     $allow[] = 'GET';
  6295.                                     goto not_diagnostic_front_facture_actualisation_show;
  6296.                                 }
  6297.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_front_facture_actualisation_show')), array (  '_controller' => 'DiagnosticBundle\\Controller\\FactureActualisationController::frontShowAction',));
  6298.                             }
  6299.                             not_diagnostic_front_facture_actualisation_show:
  6300.                         }
  6301.                         // diagnostic_front_question_show
  6302.                         if (=== strpos($pathinfo'/diagnostic-immobilier/front/question') && preg_match('#^/diagnostic\\-immobilier/front/question/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6303.                             if ('GET' !== $canonicalMethod) {
  6304.                                 $allow[] = 'GET';
  6305.                                 goto not_diagnostic_front_question_show;
  6306.                             }
  6307.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_front_question_show')), array (  '_controller' => 'DiagnosticBundle\\Controller\\QuestionController::frontShowAction',));
  6308.                         }
  6309.                         not_diagnostic_front_question_show:
  6310.                     }
  6311.                     elseif (=== strpos($pathinfo'/diagnostic-immobilier/facture')) {
  6312.                         // diagnostic_facture_index
  6313.                         if ('/diagnostic-immobilier/facture' === $trimmedPathinfo) {
  6314.                             if ('GET' !== $canonicalMethod) {
  6315.                                 $allow[] = 'GET';
  6316.                                 goto not_diagnostic_facture_index;
  6317.                             }
  6318.                             if (substr($pathinfo, -1) !== '/') {
  6319.                                 return $this->redirect($rawPathinfo.'/''diagnostic_facture_index');
  6320.                             }
  6321.                             return array (  '_controller' => 'DiagnosticBundle\\Controller\\FactureController::indexAction',  '_route' => 'diagnostic_facture_index',);
  6322.                         }
  6323.                         not_diagnostic_facture_index:
  6324.                         // diagnostic_facture_index_differe
  6325.                         if ('/diagnostic-immobilier/facture/differe' === $pathinfo) {
  6326.                             if ('GET' !== $canonicalMethod) {
  6327.                                 $allow[] = 'GET';
  6328.                                 goto not_diagnostic_facture_index_differe;
  6329.                             }
  6330.                             return array (  '_controller' => 'DiagnosticBundle\\Controller\\FactureController::indexDiffereAction',  '_route' => 'diagnostic_facture_index_differe',);
  6331.                         }
  6332.                         not_diagnostic_facture_index_differe:
  6333.                         // diagnostic_facture_index_web
  6334.                         if ('/diagnostic-immobilier/facture/web' === $pathinfo) {
  6335.                             if ('GET' !== $canonicalMethod) {
  6336.                                 $allow[] = 'GET';
  6337.                                 goto not_diagnostic_facture_index_web;
  6338.                             }
  6339.                             return array (  '_controller' => 'DiagnosticBundle\\Controller\\FactureController::indexWebAction',  '_route' => 'diagnostic_facture_index_web',);
  6340.                         }
  6341.                         not_diagnostic_facture_index_web:
  6342.                         // diagnostic_facture_index_liciel
  6343.                         if ('/diagnostic-immobilier/facture/liciel' === $pathinfo) {
  6344.                             if ('GET' !== $canonicalMethod) {
  6345.                                 $allow[] = 'GET';
  6346.                                 goto not_diagnostic_facture_index_liciel;
  6347.                             }
  6348.                             return array (  '_controller' => 'DiagnosticBundle\\Controller\\FactureController::indexlicielAction',  '_route' => 'diagnostic_facture_index_liciel',);
  6349.                         }
  6350.                         not_diagnostic_facture_index_liciel:
  6351.                         // diagnostic_facture_show
  6352.                         if (preg_match('#^/diagnostic\\-immobilier/facture/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6353.                             if ('GET' !== $canonicalMethod) {
  6354.                                 $allow[] = 'GET';
  6355.                                 goto not_diagnostic_facture_show;
  6356.                             }
  6357.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_facture_show')), array (  '_controller' => 'DiagnosticBundle\\Controller\\FactureController::showAction',));
  6358.                         }
  6359.                         not_diagnostic_facture_show:
  6360.                         // diagnostic_facture_new
  6361.                         if ('/diagnostic-immobilier/facture/new' === $pathinfo) {
  6362.                             if (!in_array($canonicalMethod, array('GET''POST'))) {
  6363.                                 $allow array_merge($allow, array('GET''POST'));
  6364.                                 goto not_diagnostic_facture_new;
  6365.                             }
  6366.                             return array (  '_controller' => 'DiagnosticBundle\\Controller\\FactureController::newAction',  '_route' => 'diagnostic_facture_new',);
  6367.                         }
  6368.                         not_diagnostic_facture_new:
  6369.                         // diagnostic_facture_edit
  6370.                         if (preg_match('#^/diagnostic\\-immobilier/facture/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  6371.                             if (!in_array($canonicalMethod, array('GET''POST'))) {
  6372.                                 $allow array_merge($allow, array('GET''POST'));
  6373.                                 goto not_diagnostic_facture_edit;
  6374.                             }
  6375.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_facture_edit')), array (  '_controller' => 'DiagnosticBundle\\Controller\\FactureController::editAction',));
  6376.                         }
  6377.                         not_diagnostic_facture_edit:
  6378.                         // diagnostic_facture_delete
  6379.                         if (preg_match('#^/diagnostic\\-immobilier/facture/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  6380.                             if ('DELETE' !== $canonicalMethod) {
  6381.                                 $allow[] = 'DELETE';
  6382.                                 goto not_diagnostic_facture_delete;
  6383.                             }
  6384.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_facture_delete')), array (  '_controller' => 'DiagnosticBundle\\Controller\\FactureController::deleteAction',));
  6385.                         }
  6386.                         not_diagnostic_facture_delete:
  6387.                         if (=== strpos($pathinfo'/diagnostic-immobilier/factureactualisation')) {
  6388.                             // diagnostic_factureactualisation_index
  6389.                             if ('/diagnostic-immobilier/factureactualisation' === $trimmedPathinfo) {
  6390.                                 if ('GET' !== $canonicalMethod) {
  6391.                                     $allow[] = 'GET';
  6392.                                     goto not_diagnostic_factureactualisation_index;
  6393.                                 }
  6394.                                 if (substr($pathinfo, -1) !== '/') {
  6395.                                     return $this->redirect($rawPathinfo.'/''diagnostic_factureactualisation_index');
  6396.                                 }
  6397.                                 return array (  '_controller' => 'DiagnosticBundle\\Controller\\FactureActualisationController::indexAction',  '_route' => 'diagnostic_factureactualisation_index',);
  6398.                             }
  6399.                             not_diagnostic_factureactualisation_index:
  6400.                             // diagnostic_factureactualisation_show
  6401.                             if (preg_match('#^/diagnostic\\-immobilier/factureactualisation/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6402.                                 if ('GET' !== $canonicalMethod) {
  6403.                                     $allow[] = 'GET';
  6404.                                     goto not_diagnostic_factureactualisation_show;
  6405.                                 }
  6406.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_factureactualisation_show')), array (  '_controller' => 'DiagnosticBundle\\Controller\\FactureActualisationController::showAction',));
  6407.                             }
  6408.                             not_diagnostic_factureactualisation_show:
  6409.                             // diagnostic_factureactualisation_new
  6410.                             if ('/diagnostic-immobilier/factureactualisation/new' === $pathinfo) {
  6411.                                 if (!in_array($canonicalMethod, array('GET''POST'))) {
  6412.                                     $allow array_merge($allow, array('GET''POST'));
  6413.                                     goto not_diagnostic_factureactualisation_new;
  6414.                                 }
  6415.                                 return array (  '_controller' => 'DiagnosticBundle\\Controller\\FactureActualisationController::newAction',  '_route' => 'diagnostic_factureactualisation_new',);
  6416.                             }
  6417.                             not_diagnostic_factureactualisation_new:
  6418.                             // diagnostic_factureactualisation_edit
  6419.                             if (preg_match('#^/diagnostic\\-immobilier/factureactualisation/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  6420.                                 if (!in_array($canonicalMethod, array('GET''POST'))) {
  6421.                                     $allow array_merge($allow, array('GET''POST'));
  6422.                                     goto not_diagnostic_factureactualisation_edit;
  6423.                                 }
  6424.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_factureactualisation_edit')), array (  '_controller' => 'DiagnosticBundle\\Controller\\FactureActualisationController::editAction',));
  6425.                             }
  6426.                             not_diagnostic_factureactualisation_edit:
  6427.                             // diagnostic_factureactualisation_delete
  6428.                             if (preg_match('#^/diagnostic\\-immobilier/factureactualisation/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  6429.                                 if ('DELETE' !== $canonicalMethod) {
  6430.                                     $allow[] = 'DELETE';
  6431.                                     goto not_diagnostic_factureactualisation_delete;
  6432.                                 }
  6433.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_factureactualisation_delete')), array (  '_controller' => 'DiagnosticBundle\\Controller\\FactureActualisationController::deleteAction',));
  6434.                             }
  6435.                             not_diagnostic_factureactualisation_delete:
  6436.                         }
  6437.                     }
  6438.                     elseif (=== strpos($pathinfo'/diagnostic-immobilier/commande')) {
  6439.                         // diagnostic_commande_index
  6440.                         if ('/diagnostic-immobilier/commande' === $trimmedPathinfo) {
  6441.                             if ('GET' !== $canonicalMethod) {
  6442.                                 $allow[] = 'GET';
  6443.                                 goto not_diagnostic_commande_index;
  6444.                             }
  6445.                             if (substr($pathinfo, -1) !== '/') {
  6446.                                 return $this->redirect($rawPathinfo.'/''diagnostic_commande_index');
  6447.                             }
  6448.                             return array (  '_controller' => 'DiagnosticBundle\\Controller\\CommandeController::indexAction',  '_route' => 'diagnostic_commande_index',);
  6449.                         }
  6450.                         not_diagnostic_commande_index:
  6451.                         // diagnostic_commande_list_by_filiale
  6452.                         if (preg_match('#^/diagnostic\\-immobilier/commande/(?P<filialeId>[^/]++)/filiale$#s'$pathinfo$matches)) {
  6453.                             if ('GET' !== $canonicalMethod) {
  6454.                                 $allow[] = 'GET';
  6455.                                 goto not_diagnostic_commande_list_by_filiale;
  6456.                             }
  6457.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_commande_list_by_filiale')), array (  '_controller' => 'DiagnosticBundle\\Controller\\CommandeController::listCommandeByFilialeAction',));
  6458.                         }
  6459.                         not_diagnostic_commande_list_by_filiale:
  6460.                         // diagnostic_commande_show
  6461.                         if (preg_match('#^/diagnostic\\-immobilier/commande/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6462.                             if ('GET' !== $canonicalMethod) {
  6463.                                 $allow[] = 'GET';
  6464.                                 goto not_diagnostic_commande_show;
  6465.                             }
  6466.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_commande_show')), array (  '_controller' => 'DiagnosticBundle\\Controller\\CommandeController::showAction',));
  6467.                         }
  6468.                         not_diagnostic_commande_show:
  6469.                         // diagnostic_commande_new
  6470.                         if ('/diagnostic-immobilier/commande/new' === $pathinfo) {
  6471.                             if (!in_array($canonicalMethod, array('GET''POST'))) {
  6472.                                 $allow array_merge($allow, array('GET''POST'));
  6473.                                 goto not_diagnostic_commande_new;
  6474.                             }
  6475.                             return array (  '_controller' => 'DiagnosticBundle\\Controller\\CommandeController::newAction',  '_route' => 'diagnostic_commande_new',);
  6476.                         }
  6477.                         not_diagnostic_commande_new:
  6478.                         // diagnostic_commande_edit
  6479.                         if (preg_match('#^/diagnostic\\-immobilier/commande/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  6480.                             if (!in_array($canonicalMethod, array('GET''POST'))) {
  6481.                                 $allow array_merge($allow, array('GET''POST'));
  6482.                                 goto not_diagnostic_commande_edit;
  6483.                             }
  6484.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_commande_edit')), array (  '_controller' => 'DiagnosticBundle\\Controller\\CommandeController::editAction',));
  6485.                         }
  6486.                         not_diagnostic_commande_edit:
  6487.                         // diagnostic_commande_delete
  6488.                         if (preg_match('#^/diagnostic\\-immobilier/commande/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  6489.                             if ('DELETE' !== $canonicalMethod) {
  6490.                                 $allow[] = 'DELETE';
  6491.                                 goto not_diagnostic_commande_delete;
  6492.                             }
  6493.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_commande_delete')), array (  '_controller' => 'DiagnosticBundle\\Controller\\CommandeController::deleteAction',));
  6494.                         }
  6495.                         not_diagnostic_commande_delete:
  6496.                     }
  6497.                     elseif (=== strpos($pathinfo'/diagnostic-immobilier/devis')) {
  6498.                         // diagnostic_devis_index
  6499.                         if ('/diagnostic-immobilier/devis' === $trimmedPathinfo) {
  6500.                             if ('GET' !== $canonicalMethod) {
  6501.                                 $allow[] = 'GET';
  6502.                                 goto not_diagnostic_devis_index;
  6503.                             }
  6504.                             if (substr($pathinfo, -1) !== '/') {
  6505.                                 return $this->redirect($rawPathinfo.'/''diagnostic_devis_index');
  6506.                             }
  6507.                             return array (  '_controller' => 'DiagnosticBundle\\Controller\\DevisController::indexAction',  '_route' => 'diagnostic_devis_index',);
  6508.                         }
  6509.                         not_diagnostic_devis_index:
  6510.                         // diagnostic_devis_show
  6511.                         if (preg_match('#^/diagnostic\\-immobilier/devis/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6512.                             if ('GET' !== $canonicalMethod) {
  6513.                                 $allow[] = 'GET';
  6514.                                 goto not_diagnostic_devis_show;
  6515.                             }
  6516.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_devis_show')), array (  '_controller' => 'DiagnosticBundle\\Controller\\DevisController::showAction',));
  6517.                         }
  6518.                         not_diagnostic_devis_show:
  6519.                         // diagnostic_devis_new
  6520.                         if ('/diagnostic-immobilier/devis/new' === $pathinfo) {
  6521.                             if (!in_array($canonicalMethod, array('GET''POST'))) {
  6522.                                 $allow array_merge($allow, array('GET''POST'));
  6523.                                 goto not_diagnostic_devis_new;
  6524.                             }
  6525.                             return array (  '_controller' => 'DiagnosticBundle\\Controller\\DevisController::newAction',  '_route' => 'diagnostic_devis_new',);
  6526.                         }
  6527.                         not_diagnostic_devis_new:
  6528.                         // diagnostic_devis_edit
  6529.                         if (preg_match('#^/diagnostic\\-immobilier/devis/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  6530.                             if (!in_array($canonicalMethod, array('GET''POST'))) {
  6531.                                 $allow array_merge($allow, array('GET''POST'));
  6532.                                 goto not_diagnostic_devis_edit;
  6533.                             }
  6534.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_devis_edit')), array (  '_controller' => 'DiagnosticBundle\\Controller\\DevisController::editAction',));
  6535.                         }
  6536.                         not_diagnostic_devis_edit:
  6537.                         // diagnostic_devis_delete
  6538.                         if (preg_match('#^/diagnostic\\-immobilier/devis/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  6539.                             if ('DELETE' !== $canonicalMethod) {
  6540.                                 $allow[] = 'DELETE';
  6541.                                 goto not_diagnostic_devis_delete;
  6542.                             }
  6543.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_devis_delete')), array (  '_controller' => 'DiagnosticBundle\\Controller\\DevisController::deleteAction',));
  6544.                         }
  6545.                         not_diagnostic_devis_delete:
  6546.                     }
  6547.                     elseif (=== strpos($pathinfo'/diagnostic-immobilier/actualisation')) {
  6548.                         // diagnostic_actualisation_index
  6549.                         if ('/diagnostic-immobilier/actualisation' === $trimmedPathinfo) {
  6550.                             if ('GET' !== $canonicalMethod) {
  6551.                                 $allow[] = 'GET';
  6552.                                 goto not_diagnostic_actualisation_index;
  6553.                             }
  6554.                             if (substr($pathinfo, -1) !== '/') {
  6555.                                 return $this->redirect($rawPathinfo.'/''diagnostic_actualisation_index');
  6556.                             }
  6557.                             return array (  '_controller' => 'DiagnosticBundle\\Controller\\ActualisationController::indexAction',  '_route' => 'diagnostic_actualisation_index',);
  6558.                         }
  6559.                         not_diagnostic_actualisation_index:
  6560.                         // diagnostic_actualisation_show
  6561.                         if (preg_match('#^/diagnostic\\-immobilier/actualisation/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6562.                             if ('GET' !== $canonicalMethod) {
  6563.                                 $allow[] = 'GET';
  6564.                                 goto not_diagnostic_actualisation_show;
  6565.                             }
  6566.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_actualisation_show')), array (  '_controller' => 'DiagnosticBundle\\Controller\\ActualisationController::showAction',));
  6567.                         }
  6568.                         not_diagnostic_actualisation_show:
  6569.                         // diagnostic_actualisation_new
  6570.                         if ('/diagnostic-immobilier/actualisation/new' === $pathinfo) {
  6571.                             if (!in_array($canonicalMethod, array('GET''POST'))) {
  6572.                                 $allow array_merge($allow, array('GET''POST'));
  6573.                                 goto not_diagnostic_actualisation_new;
  6574.                             }
  6575.                             return array (  '_controller' => 'DiagnosticBundle\\Controller\\ActualisationController::newAction',  '_route' => 'diagnostic_actualisation_new',);
  6576.                         }
  6577.                         not_diagnostic_actualisation_new:
  6578.                         // diagnostic_actualisation_edit
  6579.                         if (preg_match('#^/diagnostic\\-immobilier/actualisation/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  6580.                             if (!in_array($canonicalMethod, array('GET''POST'))) {
  6581.                                 $allow array_merge($allow, array('GET''POST'));
  6582.                                 goto not_diagnostic_actualisation_edit;
  6583.                             }
  6584.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_actualisation_edit')), array (  '_controller' => 'DiagnosticBundle\\Controller\\ActualisationController::editAction',));
  6585.                         }
  6586.                         not_diagnostic_actualisation_edit:
  6587.                         // diagnostic_actualisation_delete
  6588.                         if (preg_match('#^/diagnostic\\-immobilier/actualisation/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  6589.                             if ('DELETE' !== $canonicalMethod) {
  6590.                                 $allow[] = 'DELETE';
  6591.                                 goto not_diagnostic_actualisation_delete;
  6592.                             }
  6593.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_actualisation_delete')), array (  '_controller' => 'DiagnosticBundle\\Controller\\ActualisationController::deleteAction',));
  6594.                         }
  6595.                         not_diagnostic_actualisation_delete:
  6596.                     }
  6597.                     elseif (=== strpos($pathinfo'/diagnostic-immobilier/question')) {
  6598.                         // diagnostic_question_index
  6599.                         if ('/diagnostic-immobilier/question' === $trimmedPathinfo) {
  6600.                             if ('GET' !== $canonicalMethod) {
  6601.                                 $allow[] = 'GET';
  6602.                                 goto not_diagnostic_question_index;
  6603.                             }
  6604.                             if (substr($pathinfo, -1) !== '/') {
  6605.                                 return $this->redirect($rawPathinfo.'/''diagnostic_question_index');
  6606.                             }
  6607.                             return array (  '_controller' => 'DiagnosticBundle\\Controller\\QuestionController::indexAction',  '_route' => 'diagnostic_question_index',);
  6608.                         }
  6609.                         not_diagnostic_question_index:
  6610.                         // diagnostic_question_show
  6611.                         if (preg_match('#^/diagnostic\\-immobilier/question/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6612.                             if ('GET' !== $canonicalMethod) {
  6613.                                 $allow[] = 'GET';
  6614.                                 goto not_diagnostic_question_show;
  6615.                             }
  6616.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_question_show')), array (  '_controller' => 'DiagnosticBundle\\Controller\\QuestionController::showAction',));
  6617.                         }
  6618.                         not_diagnostic_question_show:
  6619.                         // diagnostic_question_new
  6620.                         if ('/diagnostic-immobilier/question/new' === $pathinfo) {
  6621.                             if (!in_array($canonicalMethod, array('GET''POST'))) {
  6622.                                 $allow array_merge($allow, array('GET''POST'));
  6623.                                 goto not_diagnostic_question_new;
  6624.                             }
  6625.                             return array (  '_controller' => 'DiagnosticBundle\\Controller\\QuestionController::newAction',  '_route' => 'diagnostic_question_new',);
  6626.                         }
  6627.                         not_diagnostic_question_new:
  6628.                         // diagnostic_question_edit
  6629.                         if (preg_match('#^/diagnostic\\-immobilier/question/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  6630.                             if (!in_array($canonicalMethod, array('GET''POST'))) {
  6631.                                 $allow array_merge($allow, array('GET''POST'));
  6632.                                 goto not_diagnostic_question_edit;
  6633.                             }
  6634.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_question_edit')), array (  '_controller' => 'DiagnosticBundle\\Controller\\QuestionController::editAction',));
  6635.                         }
  6636.                         not_diagnostic_question_edit:
  6637.                         // diagnostic_question_delete
  6638.                         if (preg_match('#^/diagnostic\\-immobilier/question/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  6639.                             if ('DELETE' !== $canonicalMethod) {
  6640.                                 $allow[] = 'DELETE';
  6641.                                 goto not_diagnostic_question_delete;
  6642.                             }
  6643.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_question_delete')), array (  '_controller' => 'DiagnosticBundle\\Controller\\QuestionController::deleteAction',));
  6644.                         }
  6645.                         not_diagnostic_question_delete:
  6646.                     }
  6647.                     elseif (=== strpos($pathinfo'/diagnostic-immobilier/lienpaiement')) {
  6648.                         // diagnostic_lienPaiement_index
  6649.                         if ('/diagnostic-immobilier/lienpaiement' === $trimmedPathinfo) {
  6650.                             if ('GET' !== $canonicalMethod) {
  6651.                                 $allow[] = 'GET';
  6652.                                 goto not_diagnostic_lienPaiement_index;
  6653.                             }
  6654.                             if (substr($pathinfo, -1) !== '/') {
  6655.                                 return $this->redirect($rawPathinfo.'/''diagnostic_lienPaiement_index');
  6656.                             }
  6657.                             return array (  '_controller' => 'DiagnosticBundle\\Controller\\LienPaiementController::indexAction',  '_route' => 'diagnostic_lienPaiement_index',);
  6658.                         }
  6659.                         not_diagnostic_lienPaiement_index:
  6660.                         // diagnostic_lienPaiement_show
  6661.                         if (preg_match('#^/diagnostic\\-immobilier/lienpaiement/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6662.                             if ('GET' !== $canonicalMethod) {
  6663.                                 $allow[] = 'GET';
  6664.                                 goto not_diagnostic_lienPaiement_show;
  6665.                             }
  6666.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_lienPaiement_show')), array (  '_controller' => 'DiagnosticBundle\\Controller\\LienPaiementController::showAction',));
  6667.                         }
  6668.                         not_diagnostic_lienPaiement_show:
  6669.                         // diagnostic_lienPaiement_new
  6670.                         if ('/diagnostic-immobilier/lienpaiement/new' === $pathinfo) {
  6671.                             if (!in_array($canonicalMethod, array('GET''POST'))) {
  6672.                                 $allow array_merge($allow, array('GET''POST'));
  6673.                                 goto not_diagnostic_lienPaiement_new;
  6674.                             }
  6675.                             return array (  '_controller' => 'DiagnosticBundle\\Controller\\LienPaiementController::newAction',  '_route' => 'diagnostic_lienPaiement_new',);
  6676.                         }
  6677.                         not_diagnostic_lienPaiement_new:
  6678.                         // diagnostic_lienPaiement_edit
  6679.                         if (preg_match('#^/diagnostic\\-immobilier/lienpaiement/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  6680.                             if (!in_array($canonicalMethod, array('GET''POST'))) {
  6681.                                 $allow array_merge($allow, array('GET''POST'));
  6682.                                 goto not_diagnostic_lienPaiement_edit;
  6683.                             }
  6684.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_lienPaiement_edit')), array (  '_controller' => 'DiagnosticBundle\\Controller\\LienPaiementController::editAction',));
  6685.                         }
  6686.                         not_diagnostic_lienPaiement_edit:
  6687.                         // diagnostic_lienPaiement_delete
  6688.                         if (preg_match('#^/diagnostic\\-immobilier/lienpaiement/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  6689.                             if ('DELETE' !== $canonicalMethod) {
  6690.                                 $allow[] = 'DELETE';
  6691.                                 goto not_diagnostic_lienPaiement_delete;
  6692.                             }
  6693.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_lienPaiement_delete')), array (  '_controller' => 'DiagnosticBundle\\Controller\\LienPaiementController::deleteAction',));
  6694.                         }
  6695.                         not_diagnostic_lienPaiement_delete:
  6696.                     }
  6697.                     elseif (=== strpos($pathinfo'/diagnostic-immobilier/rappel')) {
  6698.                         // rappel_di_index
  6699.                         if ('/diagnostic-immobilier/rappel/di' === $pathinfo) {
  6700.                             if ('GET' !== $canonicalMethod) {
  6701.                                 $allow[] = 'GET';
  6702.                                 goto not_rappel_di_index;
  6703.                             }
  6704.                             return array (  '_controller' => 'DiagnosticBundle\\Controller\\RappelController::listeRappelDIAction',  '_route' => 'rappel_di_index',);
  6705.                         }
  6706.                         not_rappel_di_index:
  6707.                         // rappel_edl_index
  6708.                         if ('/diagnostic-immobilier/rappel/edl' === $pathinfo) {
  6709.                             if ('GET' !== $canonicalMethod) {
  6710.                                 $allow[] = 'GET';
  6711.                                 goto not_rappel_edl_index;
  6712.                             }
  6713.                             return array (  '_controller' => 'DiagnosticBundle\\Controller\\RappelController::listeRappelEDLAction',  '_route' => 'rappel_edl_index',);
  6714.                         }
  6715.                         not_rappel_edl_index:
  6716.                         // rappel_ra_index
  6717.                         if ('/diagnostic-immobilier/rappel/ra' === $pathinfo) {
  6718.                             if ('GET' !== $canonicalMethod) {
  6719.                                 $allow[] = 'GET';
  6720.                                 goto not_rappel_ra_index;
  6721.                             }
  6722.                             return array (  '_controller' => 'DiagnosticBundle\\Controller\\RappelController::listeRappelRAAction',  '_route' => 'rappel_ra_index',);
  6723.                         }
  6724.                         not_rappel_ra_index:
  6725.                         // rappel_rappel_list_by_filiale
  6726.                         if (preg_match('#^/diagnostic\\-immobilier/rappel/(?P<filialeId>[^/]++)/filiale$#s'$pathinfo$matches)) {
  6727.                             if ('GET' !== $canonicalMethod) {
  6728.                                 $allow[] = 'GET';
  6729.                                 goto not_rappel_rappel_list_by_filiale;
  6730.                             }
  6731.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rappel_list_by_filiale')), array (  '_controller' => 'DiagnosticBundle\\Controller\\RappelController::listRappelByFilialeAction',));
  6732.                         }
  6733.                         not_rappel_rappel_list_by_filiale:
  6734.                         // rappel_rappel_show
  6735.                         if (preg_match('#^/diagnostic\\-immobilier/rappel/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6736.                             if ('GET' !== $canonicalMethod) {
  6737.                                 $allow[] = 'GET';
  6738.                                 goto not_rappel_rappel_show;
  6739.                             }
  6740.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rappel_show')), array (  '_controller' => 'DiagnosticBundle\\Controller\\RappelController::showAction',));
  6741.                         }
  6742.                         not_rappel_rappel_show:
  6743.                         // rappel_rappel_new
  6744.                         if ('/diagnostic-immobilier/rappel/new' === $pathinfo) {
  6745.                             if (!in_array($canonicalMethod, array('GET''POST'))) {
  6746.                                 $allow array_merge($allow, array('GET''POST'));
  6747.                                 goto not_rappel_rappel_new;
  6748.                             }
  6749.                             return array (  '_controller' => 'DiagnosticBundle:CoRappelmmande:new',  '_route' => 'rappel_rappel_new',);
  6750.                         }
  6751.                         not_rappel_rappel_new:
  6752.                         // rappel_rappel_edit
  6753.                         if (preg_match('#^/diagnostic\\-immobilier/rappel/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  6754.                             if (!in_array($canonicalMethod, array('GET''POST'))) {
  6755.                                 $allow array_merge($allow, array('GET''POST'));
  6756.                                 goto not_rappel_rappel_edit;
  6757.                             }
  6758.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rappel_edit')), array (  '_controller' => 'DiagnosticBundle\\Controller\\RappelController::editAction',));
  6759.                         }
  6760.                         not_rappel_rappel_edit:
  6761.                         // rappel_rappel_delete
  6762.                         if (preg_match('#^/diagnostic\\-immobilier/rappel/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  6763.                             if ('DELETE' !== $canonicalMethod) {
  6764.                                 $allow[] = 'DELETE';
  6765.                                 goto not_rappel_rappel_delete;
  6766.                             }
  6767.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rappel_delete')), array (  '_controller' => 'DiagnosticBundle\\Controller\\RappelController::deleteAction',));
  6768.                         }
  6769.                         not_rappel_rappel_delete:
  6770.                     }
  6771.                     elseif (=== strpos($pathinfo'/diagnostic-immobilier/rdvdpe')) {
  6772.                         // diagnostic_rdvdpe_index
  6773.                         if ('/diagnostic-immobilier/rdvdpe' === $trimmedPathinfo) {
  6774.                             if ('GET' !== $canonicalMethod) {
  6775.                                 $allow[] = 'GET';
  6776.                                 goto not_diagnostic_rdvdpe_index;
  6777.                             }
  6778.                             if (substr($pathinfo, -1) !== '/') {
  6779.                                 return $this->redirect($rawPathinfo.'/''diagnostic_rdvdpe_index');
  6780.                             }
  6781.                             return array (  '_controller' => 'DiagnosticBundle\\Controller\\RdvDpeController::indexAction',  '_route' => 'diagnostic_rdvdpe_index',);
  6782.                         }
  6783.                         not_diagnostic_rdvdpe_index:
  6784.                         // diagnostic_rdvdpe_show
  6785.                         if (preg_match('#^/diagnostic\\-immobilier/rdvdpe/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6786.                             if ('GET' !== $canonicalMethod) {
  6787.                                 $allow[] = 'GET';
  6788.                                 goto not_diagnostic_rdvdpe_show;
  6789.                             }
  6790.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rdvdpe_show')), array (  '_controller' => 'DiagnosticBundle\\Controller\\RdvDpeController::showAction',));
  6791.                         }
  6792.                         not_diagnostic_rdvdpe_show:
  6793.                         // diagnostic_rdvdpe_new
  6794.                         if ('/diagnostic-immobilier/rdvdpe/new' === $pathinfo) {
  6795.                             if (!in_array($canonicalMethod, array('GET''POST'))) {
  6796.                                 $allow array_merge($allow, array('GET''POST'));
  6797.                                 goto not_diagnostic_rdvdpe_new;
  6798.                             }
  6799.                             return array (  '_controller' => 'DiagnosticBundle\\Controller\\RdvDpeController::newAction',  '_route' => 'diagnostic_rdvdpe_new',);
  6800.                         }
  6801.                         not_diagnostic_rdvdpe_new:
  6802.                         // diagnostic_rdvdpe_edit
  6803.                         if (preg_match('#^/diagnostic\\-immobilier/rdvdpe/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  6804.                             if (!in_array($canonicalMethod, array('GET''POST'))) {
  6805.                                 $allow array_merge($allow, array('GET''POST'));
  6806.                                 goto not_diagnostic_rdvdpe_edit;
  6807.                             }
  6808.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rdvdpe_edit')), array (  '_controller' => 'DiagnosticBundle\\Controller\\RdvDpeController::editAction',));
  6809.                         }
  6810.                         not_diagnostic_rdvdpe_edit:
  6811.                         // diagnostic_rdvdpe_delete
  6812.                         if (preg_match('#^/diagnostic\\-immobilier/rdvdpe/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  6813.                             if ('DELETE' !== $canonicalMethod) {
  6814.                                 $allow[] = 'DELETE';
  6815.                                 goto not_diagnostic_rdvdpe_delete;
  6816.                             }
  6817.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rdvdpe_delete')), array (  '_controller' => 'DiagnosticBundle\\Controller\\RdvDpeController::deleteAction',));
  6818.                         }
  6819.                         not_diagnostic_rdvdpe_delete:
  6820.                     }
  6821.                 }
  6822.                 // config_diagnostic_index
  6823.                 if ('/diagnostic' === $trimmedPathinfo) {
  6824.                     if ('GET' !== $canonicalMethod) {
  6825.                         $allow[] = 'GET';
  6826.                         goto not_config_diagnostic_index;
  6827.                     }
  6828.                     if (substr($pathinfo, -1) !== '/') {
  6829.                         return $this->redirect($rawPathinfo.'/''config_diagnostic_index');
  6830.                     }
  6831.                     return array (  '_controller' => 'ConfigBundle\\Controller\\DiagnosticController::indexAction',  '_route' => 'config_diagnostic_index',);
  6832.                 }
  6833.                 not_config_diagnostic_index:
  6834.                 // config_diagnostic_show
  6835.                 if (preg_match('#^/diagnostic/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6836.                     if ('GET' !== $canonicalMethod) {
  6837.                         $allow[] = 'GET';
  6838.                         goto not_config_diagnostic_show;
  6839.                     }
  6840.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_diagnostic_show')), array (  '_controller' => 'ConfigBundle\\Controller\\DiagnosticController::showAction',));
  6841.                 }
  6842.                 not_config_diagnostic_show:
  6843.             }
  6844.         }
  6845.         // dashboard_homepage
  6846.         if ('' === $trimmedPathinfo) {
  6847.             if (substr($pathinfo, -1) !== '/') {
  6848.                 return $this->redirect($rawPathinfo.'/''dashboard_homepage');
  6849.             }
  6850.             return array (  '_controller' => 'DashboardBundle\\Controller\\DefaultController::indexAction',  '_route' => 'dashboard_homepage',);
  6851.         }
  6852.         if (=== strpos($pathinfo'/e')) {
  6853.             if (=== strpos($pathinfo'/esris')) {
  6854.                 if (=== strpos($pathinfo'/esris/offre')) {
  6855.                     // offre_index
  6856.                     if ('/esris/offre' === $trimmedPathinfo) {
  6857.                         if ('GET' !== $canonicalMethod) {
  6858.                             $allow[] = 'GET';
  6859.                             goto not_offre_index;
  6860.                         }
  6861.                         if (substr($pathinfo, -1) !== '/') {
  6862.                             return $this->redirect($rawPathinfo.'/''offre_index');
  6863.                         }
  6864.                         return array (  '_controller' => 'ESRISBundle\\Controller\\OffreController::indexAction',  '_route' => 'offre_index',);
  6865.                     }
  6866.                     not_offre_index:
  6867.                     // offrespersonnalisees_index
  6868.                     if ('/esris/offre/offrespersonnalisees' === $pathinfo) {
  6869.                         if ('GET' !== $canonicalMethod) {
  6870.                             $allow[] = 'GET';
  6871.                             goto not_offrespersonnalisees_index;
  6872.                         }
  6873.                         return array (  '_controller' => 'ESRISBundle\\Controller\\OffreController::indexoffresPersonnaliseesAction',  '_route' => 'offrespersonnalisees_index',);
  6874.                     }
  6875.                     not_offrespersonnalisees_index:
  6876.                     // offresdipro_index
  6877.                     if ('/esris/offre/offresdipro' === $pathinfo) {
  6878.                         if ('GET' !== $canonicalMethod) {
  6879.                             $allow[] = 'GET';
  6880.                             goto not_offresdipro_index;
  6881.                         }
  6882.                         return array (  '_controller' => 'ESRISBundle\\Controller\\OffreController::indexOffresAction',  '_route' => 'offresdipro_index',);
  6883.                     }
  6884.                     not_offresdipro_index:
  6885.                     // offre_show
  6886.                     if (preg_match('#^/esris/offre/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6887.                         if ('GET' !== $canonicalMethod) {
  6888.                             $allow[] = 'GET';
  6889.                             goto not_offre_show;
  6890.                         }
  6891.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'offre_show')), array (  '_controller' => 'ESRISBundle\\Controller\\OffreController::showAction',));
  6892.                     }
  6893.                     not_offre_show:
  6894.                     // offre_new
  6895.                     if ('/esris/offre/new' === $pathinfo) {
  6896.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  6897.                             $allow array_merge($allow, array('GET''POST'));
  6898.                             goto not_offre_new;
  6899.                         }
  6900.                         return array (  '_controller' => 'ESRISBundle\\Controller\\OffreController::newAction',  '_route' => 'offre_new',);
  6901.                     }
  6902.                     not_offre_new:
  6903.                     // offre_edit
  6904.                     if (preg_match('#^/esris/offre/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  6905.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  6906.                             $allow array_merge($allow, array('GET''POST'));
  6907.                             goto not_offre_edit;
  6908.                         }
  6909.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'offre_edit')), array (  '_controller' => 'ESRISBundle\\Controller\\OffreController::editAction',));
  6910.                     }
  6911.                     not_offre_edit:
  6912.                     // offre_delete
  6913.                     if (preg_match('#^/esris/offre/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  6914.                         if ('DELETE' !== $canonicalMethod) {
  6915.                             $allow[] = 'DELETE';
  6916.                             goto not_offre_delete;
  6917.                         }
  6918.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'offre_delete')), array (  '_controller' => 'ESRISBundle\\Controller\\OffreController::deleteAction',));
  6919.                     }
  6920.                     not_offre_delete:
  6921.                 }
  6922.                 elseif (=== strpos($pathinfo'/esris/commande')) {
  6923.                     if (=== strpos($pathinfo'/esris/commandeoffre')) {
  6924.                         // commandeoffre_index
  6925.                         if ('/esris/commandeoffre' === $trimmedPathinfo) {
  6926.                             if ('GET' !== $canonicalMethod) {
  6927.                                 $allow[] = 'GET';
  6928.                                 goto not_commandeoffre_index;
  6929.                             }
  6930.                             if (substr($pathinfo, -1) !== '/') {
  6931.                                 return $this->redirect($rawPathinfo.'/''commandeoffre_index');
  6932.                             }
  6933.                             return array (  '_controller' => 'ESRISBundle\\Controller\\CommandeOffreController::indexAction',  '_route' => 'commandeoffre_index',);
  6934.                         }
  6935.                         not_commandeoffre_index:
  6936.                         // commandeoffre_show
  6937.                         if (preg_match('#^/esris/commandeoffre/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6938.                             if ('GET' !== $canonicalMethod) {
  6939.                                 $allow[] = 'GET';
  6940.                                 goto not_commandeoffre_show;
  6941.                             }
  6942.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'commandeoffre_show')), array (  '_controller' => 'ESRISBundle\\Controller\\CommandeOffreController::showAction',));
  6943.                         }
  6944.                         not_commandeoffre_show:
  6945.                         // commandeoffre_new
  6946.                         if ('/esris/commandeoffre/new' === $pathinfo) {
  6947.                             if (!in_array($canonicalMethod, array('GET''POST'))) {
  6948.                                 $allow array_merge($allow, array('GET''POST'));
  6949.                                 goto not_commandeoffre_new;
  6950.                             }
  6951.                             return array (  '_controller' => 'ESRISBundle\\Controller\\CommandeOffreController::newAction',  '_route' => 'commandeoffre_new',);
  6952.                         }
  6953.                         not_commandeoffre_new:
  6954.                         // commandeoffre_edit
  6955.                         if (preg_match('#^/esris/commandeoffre/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  6956.                             if (!in_array($canonicalMethod, array('GET''POST'))) {
  6957.                                 $allow array_merge($allow, array('GET''POST'));
  6958.                                 goto not_commandeoffre_edit;
  6959.                             }
  6960.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'commandeoffre_edit')), array (  '_controller' => 'ESRISBundle\\Controller\\CommandeOffreController::editAction',));
  6961.                         }
  6962.                         not_commandeoffre_edit:
  6963.                         // commandeoffre_delete
  6964.                         if (preg_match('#^/esris/commandeoffre/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  6965.                             if ('DELETE' !== $canonicalMethod) {
  6966.                                 $allow[] = 'DELETE';
  6967.                                 goto not_commandeoffre_delete;
  6968.                             }
  6969.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'commandeoffre_delete')), array (  '_controller' => 'ESRISBundle\\Controller\\CommandeOffreController::deleteAction',));
  6970.                         }
  6971.                         not_commandeoffre_delete:
  6972.                     }
  6973.                     // esris_commande_index
  6974.                     if ('/esris/commande' === $trimmedPathinfo) {
  6975.                         if ('GET' !== $canonicalMethod) {
  6976.                             $allow[] = 'GET';
  6977.                             goto not_esris_commande_index;
  6978.                         }
  6979.                         if (substr($pathinfo, -1) !== '/') {
  6980.                             return $this->redirect($rawPathinfo.'/''esris_commande_index');
  6981.                         }
  6982.                         return array (  '_controller' => 'ESRISBundle\\Controller\\CommandeController::indexAction',  '_route' => 'esris_commande_index',);
  6983.                     }
  6984.                     not_esris_commande_index:
  6985.                     // esris_commande_show
  6986.                     if (preg_match('#^/esris/commande/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  6987.                         if ('GET' !== $canonicalMethod) {
  6988.                             $allow[] = 'GET';
  6989.                             goto not_esris_commande_show;
  6990.                         }
  6991.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_commande_show')), array (  '_controller' => 'ESRISBundle\\Controller\\CommandeController::showAction',));
  6992.                     }
  6993.                     not_esris_commande_show:
  6994.                     // esris_commande_new
  6995.                     if ('/esris/commande/new' === $pathinfo) {
  6996.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  6997.                             $allow array_merge($allow, array('GET''POST'));
  6998.                             goto not_esris_commande_new;
  6999.                         }
  7000.                         return array (  '_controller' => 'ESRISBundle\\Controller\\CommandeController::newAction',  '_route' => 'esris_commande_new',);
  7001.                     }
  7002.                     not_esris_commande_new:
  7003.                     // esris_commande_edit
  7004.                     if (preg_match('#^/esris/commande/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  7005.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  7006.                             $allow array_merge($allow, array('GET''POST'));
  7007.                             goto not_esris_commande_edit;
  7008.                         }
  7009.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_commande_edit')), array (  '_controller' => 'ESRISBundle\\Controller\\CommandeController::editAction',));
  7010.                     }
  7011.                     not_esris_commande_edit:
  7012.                     // esris_commande_delete
  7013.                     if (preg_match('#^/esris/commande/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  7014.                         if ('DELETE' !== $canonicalMethod) {
  7015.                             $allow[] = 'DELETE';
  7016.                             goto not_esris_commande_delete;
  7017.                         }
  7018.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_commande_delete')), array (  '_controller' => 'ESRISBundle\\Controller\\CommandeController::deleteAction',));
  7019.                     }
  7020.                     not_esris_commande_delete:
  7021.                 }
  7022.                 elseif (=== strpos($pathinfo'/esris/facture')) {
  7023.                     // esris_facture_index
  7024.                     if ('/esris/facture' === $trimmedPathinfo) {
  7025.                         if ('GET' !== $canonicalMethod) {
  7026.                             $allow[] = 'GET';
  7027.                             goto not_esris_facture_index;
  7028.                         }
  7029.                         if (substr($pathinfo, -1) !== '/') {
  7030.                             return $this->redirect($rawPathinfo.'/''esris_facture_index');
  7031.                         }
  7032.                         return array (  '_controller' => 'ESRISBundle\\Controller\\FactureController::indexAction',  '_route' => 'esris_facture_index',);
  7033.                     }
  7034.                     not_esris_facture_index:
  7035.                     // esris_facture_show
  7036.                     if (preg_match('#^/esris/facture/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7037.                         if ('GET' !== $canonicalMethod) {
  7038.                             $allow[] = 'GET';
  7039.                             goto not_esris_facture_show;
  7040.                         }
  7041.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_facture_show')), array (  '_controller' => 'ESRISBundle\\Controller\\FactureController::showAction',));
  7042.                     }
  7043.                     not_esris_facture_show:
  7044.                     // esris_facture_new
  7045.                     if ('/esris/facture/new' === $pathinfo) {
  7046.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  7047.                             $allow array_merge($allow, array('GET''POST'));
  7048.                             goto not_esris_facture_new;
  7049.                         }
  7050.                         return array (  '_controller' => 'ESRISBundle\\Controller\\FactureController::newAction',  '_route' => 'esris_facture_new',);
  7051.                     }
  7052.                     not_esris_facture_new:
  7053.                     // esris_facture_edit
  7054.                     if (preg_match('#^/esris/facture/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  7055.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  7056.                             $allow array_merge($allow, array('GET''POST'));
  7057.                             goto not_esris_facture_edit;
  7058.                         }
  7059.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_facture_edit')), array (  '_controller' => 'ESRISBundle\\Controller\\FactureController::editAction',));
  7060.                     }
  7061.                     not_esris_facture_edit:
  7062.                     // esris_facture_delete
  7063.                     if (preg_match('#^/esris/facture/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  7064.                         if ('DELETE' !== $canonicalMethod) {
  7065.                             $allow[] = 'DELETE';
  7066.                             goto not_esris_facture_delete;
  7067.                         }
  7068.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_facture_delete')), array (  '_controller' => 'ESRISBundle\\Controller\\FactureController::deleteAction',));
  7069.                     }
  7070.                     not_esris_facture_delete:
  7071.                 }
  7072.                 // esris_front_facture_show
  7073.                 if (=== strpos($pathinfo'/esris/front/facture') && preg_match('#^/esris/front/facture/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7074.                     if ('GET' !== $canonicalMethod) {
  7075.                         $allow[] = 'GET';
  7076.                         goto not_esris_front_facture_show;
  7077.                     }
  7078.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_front_facture_show')), array (  '_controller' => 'ESRISBundle\\Controller\\FactureController::frontShowAction',));
  7079.                 }
  7080.                 not_esris_front_facture_show:
  7081.             }
  7082.             elseif (=== strpos($pathinfo'/edl')) {
  7083.                 if (=== strpos($pathinfo'/edl/commande')) {
  7084.                     // edl_commande_index
  7085.                     if ('/edl/commande' === $trimmedPathinfo) {
  7086.                         if ('GET' !== $canonicalMethod) {
  7087.                             $allow[] = 'GET';
  7088.                             goto not_edl_commande_index;
  7089.                         }
  7090.                         if (substr($pathinfo, -1) !== '/') {
  7091.                             return $this->redirect($rawPathinfo.'/''edl_commande_index');
  7092.                         }
  7093.                         return array (  '_controller' => 'EDLBundle\\Controller\\CommandeController::indexAction',  '_route' => 'edl_commande_index',);
  7094.                     }
  7095.                     not_edl_commande_index:
  7096.                     // edl_commande_list_by_filiale
  7097.                     if (preg_match('#^/edl/commande/(?P<filialeId>[^/]++)/filiale$#s'$pathinfo$matches)) {
  7098.                         if ('GET' !== $canonicalMethod) {
  7099.                             $allow[] = 'GET';
  7100.                             goto not_edl_commande_list_by_filiale;
  7101.                         }
  7102.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_commande_list_by_filiale')), array (  '_controller' => 'EDLBundle\\Controller\\CommandeController::listCommandeByFilialeAction',));
  7103.                     }
  7104.                     not_edl_commande_list_by_filiale:
  7105.                     // edl_commande_show
  7106.                     if (preg_match('#^/edl/commande/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7107.                         if ('GET' !== $canonicalMethod) {
  7108.                             $allow[] = 'GET';
  7109.                             goto not_edl_commande_show;
  7110.                         }
  7111.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_commande_show')), array (  '_controller' => 'EDLBundle\\Controller\\CommandeController::showAction',));
  7112.                     }
  7113.                     not_edl_commande_show:
  7114.                     // edl_commande_new
  7115.                     if ('/edl/commande/new' === $pathinfo) {
  7116.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  7117.                             $allow array_merge($allow, array('GET''POST'));
  7118.                             goto not_edl_commande_new;
  7119.                         }
  7120.                         return array (  '_controller' => 'EDLBundle\\Controller\\CommandeController::newAction',  '_route' => 'edl_commande_new',);
  7121.                     }
  7122.                     not_edl_commande_new:
  7123.                     // edl_commande_edit
  7124.                     if (preg_match('#^/edl/commande/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  7125.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  7126.                             $allow array_merge($allow, array('GET''POST'));
  7127.                             goto not_edl_commande_edit;
  7128.                         }
  7129.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_commande_edit')), array (  '_controller' => 'EDLBundle\\Controller\\CommandeController::editAction',));
  7130.                     }
  7131.                     not_edl_commande_edit:
  7132.                     // edl_commande_delete
  7133.                     if (preg_match('#^/edl/commande/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  7134.                         if ('DELETE' !== $canonicalMethod) {
  7135.                             $allow[] = 'DELETE';
  7136.                             goto not_edl_commande_delete;
  7137.                         }
  7138.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_commande_delete')), array (  '_controller' => 'EDLBundle\\Controller\\CommandeController::deleteAction',));
  7139.                     }
  7140.                     not_edl_commande_delete:
  7141.                 }
  7142.                 elseif (=== strpos($pathinfo'/edl/devis')) {
  7143.                     // edl_devis_index
  7144.                     if ('/edl/devis' === $trimmedPathinfo) {
  7145.                         if ('GET' !== $canonicalMethod) {
  7146.                             $allow[] = 'GET';
  7147.                             goto not_edl_devis_index;
  7148.                         }
  7149.                         if (substr($pathinfo, -1) !== '/') {
  7150.                             return $this->redirect($rawPathinfo.'/''edl_devis_index');
  7151.                         }
  7152.                         return array (  '_controller' => 'EDLBundle\\Controller\\DevisController::indexAction',  '_route' => 'edl_devis_index',);
  7153.                     }
  7154.                     not_edl_devis_index:
  7155.                     // edl_devis_show
  7156.                     if (preg_match('#^/edl/devis/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7157.                         if ('GET' !== $canonicalMethod) {
  7158.                             $allow[] = 'GET';
  7159.                             goto not_edl_devis_show;
  7160.                         }
  7161.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_devis_show')), array (  '_controller' => 'EDLBundle\\Controller\\DevisController::showAction',));
  7162.                     }
  7163.                     not_edl_devis_show:
  7164.                     // edl_devis_new
  7165.                     if ('/edl/devis/new' === $pathinfo) {
  7166.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  7167.                             $allow array_merge($allow, array('GET''POST'));
  7168.                             goto not_edl_devis_new;
  7169.                         }
  7170.                         return array (  '_controller' => 'EDLBundle\\Controller\\DevisController::newAction',  '_route' => 'edl_devis_new',);
  7171.                     }
  7172.                     not_edl_devis_new:
  7173.                     // edl_devis_edit
  7174.                     if (preg_match('#^/edl/devis/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  7175.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  7176.                             $allow array_merge($allow, array('GET''POST'));
  7177.                             goto not_edl_devis_edit;
  7178.                         }
  7179.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_devis_edit')), array (  '_controller' => 'EDLBundle\\Controller\\DevisController::editAction',));
  7180.                     }
  7181.                     not_edl_devis_edit:
  7182.                     // edl_devis_delete
  7183.                     if (preg_match('#^/edl/devis/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  7184.                         if ('DELETE' !== $canonicalMethod) {
  7185.                             $allow[] = 'DELETE';
  7186.                             goto not_edl_devis_delete;
  7187.                         }
  7188.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_devis_delete')), array (  '_controller' => 'EDLBundle\\Controller\\DevisController::deleteAction',));
  7189.                     }
  7190.                     not_edl_devis_delete:
  7191.                 }
  7192.                 elseif (=== strpos($pathinfo'/edl/facture')) {
  7193.                     // edl_facture_index
  7194.                     if ('/edl/facture' === $trimmedPathinfo) {
  7195.                         if ('GET' !== $canonicalMethod) {
  7196.                             $allow[] = 'GET';
  7197.                             goto not_edl_facture_index;
  7198.                         }
  7199.                         if (substr($pathinfo, -1) !== '/') {
  7200.                             return $this->redirect($rawPathinfo.'/''edl_facture_index');
  7201.                         }
  7202.                         return array (  '_controller' => 'EDLBundle\\Controller\\FactureController::indexAction',  '_route' => 'edl_facture_index',);
  7203.                     }
  7204.                     not_edl_facture_index:
  7205.                     // edl_facture_index_differe
  7206.                     if ('/edl/facture/differe' === $pathinfo) {
  7207.                         if ('GET' !== $canonicalMethod) {
  7208.                             $allow[] = 'GET';
  7209.                             goto not_edl_facture_index_differe;
  7210.                         }
  7211.                         return array (  '_controller' => 'EDLBundle\\Controller\\FactureController::indexDiffereAction',  '_route' => 'edl_facture_index_differe',);
  7212.                     }
  7213.                     not_edl_facture_index_differe:
  7214.                     // edl_facture_index_web
  7215.                     if ('/edl/facture/web' === $pathinfo) {
  7216.                         if ('GET' !== $canonicalMethod) {
  7217.                             $allow[] = 'GET';
  7218.                             goto not_edl_facture_index_web;
  7219.                         }
  7220.                         return array (  '_controller' => 'EDLBundle\\Controller\\FactureController::indexWebAction',  '_route' => 'edl_facture_index_web',);
  7221.                     }
  7222.                     not_edl_facture_index_web:
  7223.                     // edl_facture_index_liciel
  7224.                     if ('/edl/facture/liciel' === $pathinfo) {
  7225.                         if ('GET' !== $canonicalMethod) {
  7226.                             $allow[] = 'GET';
  7227.                             goto not_edl_facture_index_liciel;
  7228.                         }
  7229.                         return array (  '_controller' => 'EDLBundle\\Controller\\FactureController::indexLicielAction',  '_route' => 'edl_facture_index_liciel',);
  7230.                     }
  7231.                     not_edl_facture_index_liciel:
  7232.                     // edl_facture_show
  7233.                     if (preg_match('#^/edl/facture/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7234.                         if ('GET' !== $canonicalMethod) {
  7235.                             $allow[] = 'GET';
  7236.                             goto not_edl_facture_show;
  7237.                         }
  7238.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_facture_show')), array (  '_controller' => 'EDLBundle\\Controller\\FactureController::showAction',));
  7239.                     }
  7240.                     not_edl_facture_show:
  7241.                     // edl_facture_new
  7242.                     if ('/edl/facture/new' === $pathinfo) {
  7243.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  7244.                             $allow array_merge($allow, array('GET''POST'));
  7245.                             goto not_edl_facture_new;
  7246.                         }
  7247.                         return array (  '_controller' => 'EDLBundle\\Controller\\FactureController::newAction',  '_route' => 'edl_facture_new',);
  7248.                     }
  7249.                     not_edl_facture_new:
  7250.                     // edl_facture_edit
  7251.                     if (preg_match('#^/edl/facture/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  7252.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  7253.                             $allow array_merge($allow, array('GET''POST'));
  7254.                             goto not_edl_facture_edit;
  7255.                         }
  7256.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_facture_edit')), array (  '_controller' => 'EDLBundle\\Controller\\FactureController::editAction',));
  7257.                     }
  7258.                     not_edl_facture_edit:
  7259.                     // edl_facture_delete
  7260.                     if (preg_match('#^/edl/facture/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  7261.                         if ('DELETE' !== $canonicalMethod) {
  7262.                             $allow[] = 'DELETE';
  7263.                             goto not_edl_facture_delete;
  7264.                         }
  7265.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_facture_delete')), array (  '_controller' => 'EDLBundle\\Controller\\FactureController::deleteAction',));
  7266.                     }
  7267.                     not_edl_facture_delete:
  7268.                 }
  7269.                 elseif (=== strpos($pathinfo'/edl/front')) {
  7270.                     // edl_front_commande_show
  7271.                     if (=== strpos($pathinfo'/edl/front/commande') && preg_match('#^/edl/front/commande/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7272.                         if ('GET' !== $canonicalMethod) {
  7273.                             $allow[] = 'GET';
  7274.                             goto not_edl_front_commande_show;
  7275.                         }
  7276.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_front_commande_show')), array (  '_controller' => 'EDLBundle\\Controller\\CommandeController::frontShowAction',));
  7277.                     }
  7278.                     not_edl_front_commande_show:
  7279.                     // edl_front_devis_show
  7280.                     if (=== strpos($pathinfo'/edl/front/devis') && preg_match('#^/edl/front/devis/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7281.                         if ('GET' !== $canonicalMethod) {
  7282.                             $allow[] = 'GET';
  7283.                             goto not_edl_front_devis_show;
  7284.                         }
  7285.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_front_devis_show')), array (  '_controller' => 'EDLBundle\\Controller\\DevisController::frontShowAction',));
  7286.                     }
  7287.                     not_edl_front_devis_show:
  7288.                     // edl_front_facture_show
  7289.                     if (=== strpos($pathinfo'/edl/front/facture') && preg_match('#^/edl/front/facture/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7290.                         if ('GET' !== $canonicalMethod) {
  7291.                             $allow[] = 'GET';
  7292.                             goto not_edl_front_facture_show;
  7293.                         }
  7294.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_front_facture_show')), array (  '_controller' => 'EDLBundle\\Controller\\FactureController::frontShowAction',));
  7295.                     }
  7296.                     not_edl_front_facture_show:
  7297.                 }
  7298.             }
  7299.             elseif (=== strpos($pathinfo'/em')) {
  7300.                 if (=== strpos($pathinfo'/emplois/jobposting')) {
  7301.                     // jobposting_index
  7302.                     if ('/emplois/jobposting' === $trimmedPathinfo) {
  7303.                         if ('GET' !== $canonicalMethod) {
  7304.                             $allow[] = 'GET';
  7305.                             goto not_jobposting_index;
  7306.                         }
  7307.                         if (substr($pathinfo, -1) !== '/') {
  7308.                             return $this->redirect($rawPathinfo.'/''jobposting_index');
  7309.                         }
  7310.                         return array (  '_controller' => 'JobsBundle\\Controller\\JobPostingController::indexAction',  '_route' => 'jobposting_index',);
  7311.                     }
  7312.                     not_jobposting_index:
  7313.                     // jobposting_show
  7314.                     if (preg_match('#^/emplois/jobposting/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7315.                         if ('GET' !== $canonicalMethod) {
  7316.                             $allow[] = 'GET';
  7317.                             goto not_jobposting_show;
  7318.                         }
  7319.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'jobposting_show')), array (  '_controller' => 'JobsBundle\\Controller\\JobPostingController::showAction',));
  7320.                     }
  7321.                     not_jobposting_show:
  7322.                     // jobposting_new
  7323.                     if ('/emplois/jobposting/new' === $pathinfo) {
  7324.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  7325.                             $allow array_merge($allow, array('GET''POST'));
  7326.                             goto not_jobposting_new;
  7327.                         }
  7328.                         return array (  '_controller' => 'JobsBundle\\Controller\\JobPostingController::newAction',  '_route' => 'jobposting_new',);
  7329.                     }
  7330.                     not_jobposting_new:
  7331.                     // jobposting_edit
  7332.                     if (preg_match('#^/emplois/jobposting/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  7333.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  7334.                             $allow array_merge($allow, array('GET''POST'));
  7335.                             goto not_jobposting_edit;
  7336.                         }
  7337.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'jobposting_edit')), array (  '_controller' => 'JobsBundle\\Controller\\JobPostingController::editAction',));
  7338.                     }
  7339.                     not_jobposting_edit:
  7340.                     // jobposting_delete
  7341.                     if (preg_match('#^/emplois/jobposting/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  7342.                         if (!in_array($canonicalMethod, array('GET''DELETE'))) {
  7343.                             $allow array_merge($allow, array('GET''DELETE'));
  7344.                             goto not_jobposting_delete;
  7345.                         }
  7346.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'jobposting_delete')), array (  '_controller' => 'JobsBundle\\Controller\\JobPostingController::deleteAction',));
  7347.                     }
  7348.                     not_jobposting_delete:
  7349.                 }
  7350.                 elseif (=== strpos($pathinfo'/emplois/application')) {
  7351.                     // application_index
  7352.                     if ('/emplois/application' === $trimmedPathinfo) {
  7353.                         if ('GET' !== $canonicalMethod) {
  7354.                             $allow[] = 'GET';
  7355.                             goto not_application_index;
  7356.                         }
  7357.                         if (substr($pathinfo, -1) !== '/') {
  7358.                             return $this->redirect($rawPathinfo.'/''application_index');
  7359.                         }
  7360.                         return array (  '_controller' => 'JobsBundle\\Controller\\ApplicationController::indexAction',  '_route' => 'application_index',);
  7361.                     }
  7362.                     not_application_index:
  7363.                     // application_show
  7364.                     if (preg_match('#^/emplois/application/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7365.                         if ('GET' !== $canonicalMethod) {
  7366.                             $allow[] = 'GET';
  7367.                             goto not_application_show;
  7368.                         }
  7369.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'application_show')), array (  '_controller' => 'JobsBundle\\Controller\\ApplicationController::showAction',));
  7370.                     }
  7371.                     not_application_show:
  7372.                     // application_new
  7373.                     if ('/emplois/application/new' === $pathinfo) {
  7374.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  7375.                             $allow array_merge($allow, array('GET''POST'));
  7376.                             goto not_application_new;
  7377.                         }
  7378.                         return array (  '_controller' => 'JobsBundle\\Controller\\ApplicationController::newAction',  '_route' => 'application_new',);
  7379.                     }
  7380.                     not_application_new:
  7381.                     // application_edit
  7382.                     if (preg_match('#^/emplois/application/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  7383.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  7384.                             $allow array_merge($allow, array('GET''POST'));
  7385.                             goto not_application_edit;
  7386.                         }
  7387.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'application_edit')), array (  '_controller' => 'JobsBundle\\Controller\\ApplicationController::editAction',));
  7388.                     }
  7389.                     not_application_edit:
  7390.                     // application_delete
  7391.                     if (preg_match('#^/emplois/application/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  7392.                         if ('DELETE' !== $canonicalMethod) {
  7393.                             $allow[] = 'DELETE';
  7394.                             goto not_application_delete;
  7395.                         }
  7396.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'application_delete')), array (  '_controller' => 'JobsBundle\\Controller\\ApplicationController::deleteAction',));
  7397.                     }
  7398.                     not_application_delete:
  7399.                 }
  7400.                 elseif (=== strpos($pathinfo'/email')) {
  7401.                     // config_email_index
  7402.                     if ('/email' === $trimmedPathinfo) {
  7403.                         if ('GET' !== $canonicalMethod) {
  7404.                             $allow[] = 'GET';
  7405.                             goto not_config_email_index;
  7406.                         }
  7407.                         if (substr($pathinfo, -1) !== '/') {
  7408.                             return $this->redirect($rawPathinfo.'/''config_email_index');
  7409.                         }
  7410.                         return array (  '_controller' => 'ConfigBundle\\Controller\\EmailController::indexAction',  '_route' => 'config_email_index',);
  7411.                     }
  7412.                     not_config_email_index:
  7413.                     // config_email_show
  7414.                     if (preg_match('#^/email/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7415.                         if ('GET' !== $canonicalMethod) {
  7416.                             $allow[] = 'GET';
  7417.                             goto not_config_email_show;
  7418.                         }
  7419.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_email_show')), array (  '_controller' => 'ConfigBundle\\Controller\\EmailController::showAction',));
  7420.                     }
  7421.                     not_config_email_show:
  7422.                     // config_email_new
  7423.                     if ('/email/new' === $pathinfo) {
  7424.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  7425.                             $allow array_merge($allow, array('GET''POST'));
  7426.                             goto not_config_email_new;
  7427.                         }
  7428.                         return array (  '_controller' => 'ConfigBundle\\Controller\\EmailController::newAction',  '_route' => 'config_email_new',);
  7429.                     }
  7430.                     not_config_email_new:
  7431.                     // config_email_edit
  7432.                     if (preg_match('#^/email/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  7433.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  7434.                             $allow array_merge($allow, array('GET''POST'));
  7435.                             goto not_config_email_edit;
  7436.                         }
  7437.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_email_edit')), array (  '_controller' => 'ConfigBundle\\Controller\\EmailController::editAction',));
  7438.                     }
  7439.                     not_config_email_edit:
  7440.                     // config_email_delete
  7441.                     if (preg_match('#^/email/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  7442.                         if ('DELETE' !== $canonicalMethod) {
  7443.                             $allow[] = 'DELETE';
  7444.                             goto not_config_email_delete;
  7445.                         }
  7446.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_email_delete')), array (  '_controller' => 'ConfigBundle\\Controller\\EmailController::deleteAction',));
  7447.                     }
  7448.                     not_config_email_delete:
  7449.                 }
  7450.             }
  7451.         }
  7452.         elseif (=== strpos($pathinfo'/risques-amiante')) {
  7453.             if (=== strpos($pathinfo'/risques-amiante/front')) {
  7454.                 // risques_amiante_front_new
  7455.                 if ('/risques-amiante/front' === $pathinfo) {
  7456.                     if ('GET' !== $canonicalMethod) {
  7457.                         $allow[] = 'GET';
  7458.                         goto not_risques_amiante_front_new;
  7459.                     }
  7460.                     return array (  '_controller' => 'RisquesAmianteBundle\\Controller\\CommandeController::forntFormAction',  '_route' => 'risques_amiante_front_new',);
  7461.                 }
  7462.                 not_risques_amiante_front_new:
  7463.                 // risques_amiante_front_commande_show
  7464.                 if (=== strpos($pathinfo'/risques-amiante/front/commande') && preg_match('#^/risques\\-amiante/front/commande/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7465.                     if ('GET' !== $canonicalMethod) {
  7466.                         $allow[] = 'GET';
  7467.                         goto not_risques_amiante_front_commande_show;
  7468.                     }
  7469.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_front_commande_show')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\CommandeController::frontShowAction',));
  7470.                 }
  7471.                 not_risques_amiante_front_commande_show:
  7472.                 // risques_amiante_front_devis_show
  7473.                 if (=== strpos($pathinfo'/risques-amiante/front/devis') && preg_match('#^/risques\\-amiante/front/devis/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7474.                     if ('GET' !== $canonicalMethod) {
  7475.                         $allow[] = 'GET';
  7476.                         goto not_risques_amiante_front_devis_show;
  7477.                     }
  7478.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_front_devis_show')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\DevisController::frontShowAction',));
  7479.                 }
  7480.                 not_risques_amiante_front_devis_show:
  7481.                 if (=== strpos($pathinfo'/risques-amiante/front/facture')) {
  7482.                     // risques_amiante_front_facture_show
  7483.                     if (preg_match('#^/risques\\-amiante/front/facture/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7484.                         if ('GET' !== $canonicalMethod) {
  7485.                             $allow[] = 'GET';
  7486.                             goto not_risques_amiante_front_facture_show;
  7487.                         }
  7488.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_front_facture_show')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\FactureController::frontShowAction',));
  7489.                     }
  7490.                     not_risques_amiante_front_facture_show:
  7491.                     // risques_amiante_front_facture_actualisation_show
  7492.                     if (=== strpos($pathinfo'/risques-amiante/front/factureactualisation') && preg_match('#^/risques\\-amiante/front/factureactualisation/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7493.                         if ('GET' !== $canonicalMethod) {
  7494.                             $allow[] = 'GET';
  7495.                             goto not_risques_amiante_front_facture_actualisation_show;
  7496.                         }
  7497.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_front_facture_actualisation_show')), array (  '_controller' => 'RisquesAmianteBundle:FactureActualisation:frontShow',));
  7498.                     }
  7499.                     not_risques_amiante_front_facture_actualisation_show:
  7500.                 }
  7501.             }
  7502.             elseif (=== strpos($pathinfo'/risques-amiante/facture')) {
  7503.                 // risques_amiante_facture_index
  7504.                 if ('/risques-amiante/facture' === $trimmedPathinfo) {
  7505.                     if ('GET' !== $canonicalMethod) {
  7506.                         $allow[] = 'GET';
  7507.                         goto not_risques_amiante_facture_index;
  7508.                     }
  7509.                     if (substr($pathinfo, -1) !== '/') {
  7510.                         return $this->redirect($rawPathinfo.'/''risques_amiante_facture_index');
  7511.                     }
  7512.                     return array (  '_controller' => 'RisquesAmianteBundle\\Controller\\FactureController::indexAction',  '_route' => 'risques_amiante_facture_index',);
  7513.                 }
  7514.                 not_risques_amiante_facture_index:
  7515.                 // risques_amiante_facture_index_differe
  7516.                 if ('/risques-amiante/facture/differe' === $pathinfo) {
  7517.                     if ('GET' !== $canonicalMethod) {
  7518.                         $allow[] = 'GET';
  7519.                         goto not_risques_amiante_facture_index_differe;
  7520.                     }
  7521.                     return array (  '_controller' => 'RisquesAmianteBundle\\Controller\\FactureController::indexDiffereAction',  '_route' => 'risques_amiante_facture_index_differe',);
  7522.                 }
  7523.                 not_risques_amiante_facture_index_differe:
  7524.                 // risques_amiante_facture_index_web
  7525.                 if ('/risques-amiante/facture/web' === $pathinfo) {
  7526.                     if ('GET' !== $canonicalMethod) {
  7527.                         $allow[] = 'GET';
  7528.                         goto not_risques_amiante_facture_index_web;
  7529.                     }
  7530.                     return array (  '_controller' => 'RisquesAmianteBundle\\Controller\\FactureController::indexWebAction',  '_route' => 'risques_amiante_facture_index_web',);
  7531.                 }
  7532.                 not_risques_amiante_facture_index_web:
  7533.                 // risques_amiante_facture_index_liciel
  7534.                 if ('/risques-amiante/facture/liciel' === $pathinfo) {
  7535.                     if ('GET' !== $canonicalMethod) {
  7536.                         $allow[] = 'GET';
  7537.                         goto not_risques_amiante_facture_index_liciel;
  7538.                     }
  7539.                     return array (  '_controller' => 'RisquesAmianteBundle\\Controller\\FactureController::indexlicielAction',  '_route' => 'risques_amiante_facture_index_liciel',);
  7540.                 }
  7541.                 not_risques_amiante_facture_index_liciel:
  7542.                 // risques_amiante_facture_show
  7543.                 if (preg_match('#^/risques\\-amiante/facture/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7544.                     if ('GET' !== $canonicalMethod) {
  7545.                         $allow[] = 'GET';
  7546.                         goto not_risques_amiante_facture_show;
  7547.                     }
  7548.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_facture_show')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\FactureController::showAction',));
  7549.                 }
  7550.                 not_risques_amiante_facture_show:
  7551.                 // risques_amiante_facture_new
  7552.                 if ('/risques-amiante/facture/new' === $pathinfo) {
  7553.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  7554.                         $allow array_merge($allow, array('GET''POST'));
  7555.                         goto not_risques_amiante_facture_new;
  7556.                     }
  7557.                     return array (  '_controller' => 'RisquesAmianteBundle\\Controller\\FactureController::newAction',  '_route' => 'risques_amiante_facture_new',);
  7558.                 }
  7559.                 not_risques_amiante_facture_new:
  7560.                 // risques_amiante_facture_edit
  7561.                 if (preg_match('#^/risques\\-amiante/facture/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  7562.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  7563.                         $allow array_merge($allow, array('GET''POST'));
  7564.                         goto not_risques_amiante_facture_edit;
  7565.                     }
  7566.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_facture_edit')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\FactureController::editAction',));
  7567.                 }
  7568.                 not_risques_amiante_facture_edit:
  7569.                 // risques_amiante_facture_delete
  7570.                 if (preg_match('#^/risques\\-amiante/facture/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  7571.                     if ('DELETE' !== $canonicalMethod) {
  7572.                         $allow[] = 'DELETE';
  7573.                         goto not_risques_amiante_facture_delete;
  7574.                     }
  7575.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_facture_delete')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\FactureController::deleteAction',));
  7576.                 }
  7577.                 not_risques_amiante_facture_delete:
  7578.             }
  7579.             elseif (=== strpos($pathinfo'/risques-amiante/commande')) {
  7580.                 // risques_amiante_commande_index
  7581.                 if ('/risques-amiante/commande' === $trimmedPathinfo) {
  7582.                     if ('GET' !== $canonicalMethod) {
  7583.                         $allow[] = 'GET';
  7584.                         goto not_risques_amiante_commande_index;
  7585.                     }
  7586.                     if (substr($pathinfo, -1) !== '/') {
  7587.                         return $this->redirect($rawPathinfo.'/''risques_amiante_commande_index');
  7588.                     }
  7589.                     return array (  '_controller' => 'RisquesAmianteBundle\\Controller\\CommandeController::indexAction',  '_route' => 'risques_amiante_commande_index',);
  7590.                 }
  7591.                 not_risques_amiante_commande_index:
  7592.                 // risques_amiante_commande_arappeler
  7593.                 if ('/risques-amiante/commande/arappeler' === $pathinfo) {
  7594.                     if ('GET' !== $canonicalMethod) {
  7595.                         $allow[] = 'GET';
  7596.                         goto not_risques_amiante_commande_arappeler;
  7597.                     }
  7598.                     return array (  '_controller' => 'RisquesAmianteBundle\\Controller\\CommandeController::listCommandeARappelerAction',  '_route' => 'risques_amiante_commande_arappeler',);
  7599.                 }
  7600.                 not_risques_amiante_commande_arappeler:
  7601.                 // risques_amiante_commande_list_by_filiale
  7602.                 if (preg_match('#^/risques\\-amiante/commande/(?P<filialeId>[^/]++)/filiale$#s'$pathinfo$matches)) {
  7603.                     if ('GET' !== $canonicalMethod) {
  7604.                         $allow[] = 'GET';
  7605.                         goto not_risques_amiante_commande_list_by_filiale;
  7606.                     }
  7607.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_commande_list_by_filiale')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\CommandeController::listCommandeByFilialeAction',));
  7608.                 }
  7609.                 not_risques_amiante_commande_list_by_filiale:
  7610.                 // risques_amiante_commande_show
  7611.                 if (preg_match('#^/risques\\-amiante/commande/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7612.                     if ('GET' !== $canonicalMethod) {
  7613.                         $allow[] = 'GET';
  7614.                         goto not_risques_amiante_commande_show;
  7615.                     }
  7616.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_commande_show')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\CommandeController::showAction',));
  7617.                 }
  7618.                 not_risques_amiante_commande_show:
  7619.                 // risques_amiante_commande_new
  7620.                 if ('/risques-amiante/commande/new' === $pathinfo) {
  7621.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  7622.                         $allow array_merge($allow, array('GET''POST'));
  7623.                         goto not_risques_amiante_commande_new;
  7624.                     }
  7625.                     return array (  '_controller' => 'RisquesAmianteBundle\\Controller\\CommandeController::newAction',  '_route' => 'risques_amiante_commande_new',);
  7626.                 }
  7627.                 not_risques_amiante_commande_new:
  7628.                 // risques_amiante_commande_edit
  7629.                 if (preg_match('#^/risques\\-amiante/commande/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  7630.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  7631.                         $allow array_merge($allow, array('GET''POST'));
  7632.                         goto not_risques_amiante_commande_edit;
  7633.                     }
  7634.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_commande_edit')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\CommandeController::editAction',));
  7635.                 }
  7636.                 not_risques_amiante_commande_edit:
  7637.                 // risques_amiante_commande_delete
  7638.                 if (preg_match('#^/risques\\-amiante/commande/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  7639.                     if ('DELETE' !== $canonicalMethod) {
  7640.                         $allow[] = 'DELETE';
  7641.                         goto not_risques_amiante_commande_delete;
  7642.                     }
  7643.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_commande_delete')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\CommandeController::deleteAction',));
  7644.                 }
  7645.                 not_risques_amiante_commande_delete:
  7646.             }
  7647.             elseif (=== strpos($pathinfo'/risques-amiante/devis')) {
  7648.                 // risques_amiante_devis_index
  7649.                 if ('/risques-amiante/devis' === $trimmedPathinfo) {
  7650.                     if ('GET' !== $canonicalMethod) {
  7651.                         $allow[] = 'GET';
  7652.                         goto not_risques_amiante_devis_index;
  7653.                     }
  7654.                     if (substr($pathinfo, -1) !== '/') {
  7655.                         return $this->redirect($rawPathinfo.'/''risques_amiante_devis_index');
  7656.                     }
  7657.                     return array (  '_controller' => 'RisquesAmianteBundle\\Controller\\DevisController::indexAction',  '_route' => 'risques_amiante_devis_index',);
  7658.                 }
  7659.                 not_risques_amiante_devis_index:
  7660.                 // risques_amiante_devis_show
  7661.                 if (preg_match('#^/risques\\-amiante/devis/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7662.                     if ('GET' !== $canonicalMethod) {
  7663.                         $allow[] = 'GET';
  7664.                         goto not_risques_amiante_devis_show;
  7665.                     }
  7666.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_devis_show')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\DevisController::showAction',));
  7667.                 }
  7668.                 not_risques_amiante_devis_show:
  7669.                 // risques_amiante_devis_new
  7670.                 if ('/risques-amiante/devis/new' === $pathinfo) {
  7671.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  7672.                         $allow array_merge($allow, array('GET''POST'));
  7673.                         goto not_risques_amiante_devis_new;
  7674.                     }
  7675.                     return array (  '_controller' => 'RisquesAmianteBundle\\Controller\\DevisController::newAction',  '_route' => 'risques_amiante_devis_new',);
  7676.                 }
  7677.                 not_risques_amiante_devis_new:
  7678.                 // risques_amiante_devis_edit
  7679.                 if (preg_match('#^/risques\\-amiante/devis/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  7680.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  7681.                         $allow array_merge($allow, array('GET''POST'));
  7682.                         goto not_risques_amiante_devis_edit;
  7683.                     }
  7684.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_devis_edit')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\DevisController::editAction',));
  7685.                 }
  7686.                 not_risques_amiante_devis_edit:
  7687.                 // risques_amiante_devis_delete
  7688.                 if (preg_match('#^/risques\\-amiante/devis/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  7689.                     if ('DELETE' !== $canonicalMethod) {
  7690.                         $allow[] = 'DELETE';
  7691.                         goto not_risques_amiante_devis_delete;
  7692.                     }
  7693.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_devis_delete')), array (  '_controller' => 'RisquesAmianteBundle\\Controller\\DevisController::deleteAction',));
  7694.                 }
  7695.                 not_risques_amiante_devis_delete:
  7696.             }
  7697.         }
  7698.         elseif (=== strpos($pathinfo'/region')) {
  7699.             // config_region_index
  7700.             if ('/region' === $trimmedPathinfo) {
  7701.                 if ('GET' !== $canonicalMethod) {
  7702.                     $allow[] = 'GET';
  7703.                     goto not_config_region_index;
  7704.                 }
  7705.                 if (substr($pathinfo, -1) !== '/') {
  7706.                     return $this->redirect($rawPathinfo.'/''config_region_index');
  7707.                 }
  7708.                 return array (  '_controller' => 'ConfigBundle\\Controller\\RegionController::indexAction',  '_route' => 'config_region_index',);
  7709.             }
  7710.             not_config_region_index:
  7711.             // config_region_show
  7712.             if (preg_match('#^/region/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7713.                 if ('GET' !== $canonicalMethod) {
  7714.                     $allow[] = 'GET';
  7715.                     goto not_config_region_show;
  7716.                 }
  7717.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_region_show')), array (  '_controller' => 'ConfigBundle\\Controller\\RegionController::showAction',));
  7718.             }
  7719.             not_config_region_show:
  7720.         }
  7721.         elseif (=== strpos($pathinfo'/pa')) {
  7722.             if (=== strpos($pathinfo'/paiement')) {
  7723.                 // partnerpayment_index
  7724.                 if ('/paiement' === $trimmedPathinfo) {
  7725.                     if ('GET' !== $canonicalMethod) {
  7726.                         $allow[] = 'GET';
  7727.                         goto not_partnerpayment_index;
  7728.                     }
  7729.                     if (substr($pathinfo, -1) !== '/') {
  7730.                         return $this->redirect($rawPathinfo.'/''partnerpayment_index');
  7731.                     }
  7732.                     return array (  '_controller' => 'DiagnosticBundle\\Controller\\PartnerPaymentController::indexAction',  '_route' => 'partnerpayment_index',);
  7733.                 }
  7734.                 not_partnerpayment_index:
  7735.                 // partnerpayment_show
  7736.                 if (preg_match('#^/paiement/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7737.                     if ('GET' !== $canonicalMethod) {
  7738.                         $allow[] = 'GET';
  7739.                         goto not_partnerpayment_show;
  7740.                     }
  7741.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'partnerpayment_show')), array (  '_controller' => 'DiagnosticBundle\\Controller\\PartnerPaymentController::showAction',));
  7742.                 }
  7743.                 not_partnerpayment_show:
  7744.                 // partnerpayment_new
  7745.                 if ('/paiement/new' === $pathinfo) {
  7746.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  7747.                         $allow array_merge($allow, array('GET''POST'));
  7748.                         goto not_partnerpayment_new;
  7749.                     }
  7750.                     return array (  '_controller' => 'DiagnosticBundle\\Controller\\PartnerPaymentController::newAction',  '_route' => 'partnerpayment_new',);
  7751.                 }
  7752.                 not_partnerpayment_new:
  7753.                 // paiement_partnerpayment_edit
  7754.                 if (preg_match('#^/paiement/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  7755.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  7756.                         $allow array_merge($allow, array('GET''POST'));
  7757.                         goto not_paiement_partnerpayment_edit;
  7758.                     }
  7759.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'paiement_partnerpayment_edit')), array (  '_controller' => 'DiagnosticBundle\\Controller\\PartnerPaymentController::editAction',));
  7760.                 }
  7761.                 not_paiement_partnerpayment_edit:
  7762.                 // partnerpayment_delete
  7763.                 if (preg_match('#^/paiement/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  7764.                     if ('DELETE' !== $canonicalMethod) {
  7765.                         $allow[] = 'DELETE';
  7766.                         goto not_partnerpayment_delete;
  7767.                     }
  7768.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'partnerpayment_delete')), array (  '_controller' => 'DiagnosticBundle\\Controller\\PartnerPaymentController::deleteAction',));
  7769.                 }
  7770.                 not_partnerpayment_delete:
  7771.             }
  7772.             elseif (=== strpos($pathinfo'/packdiagnostic')) {
  7773.                 // config_packdiagnostic_index
  7774.                 if ('/packdiagnostic' === $trimmedPathinfo) {
  7775.                     if ('GET' !== $canonicalMethod) {
  7776.                         $allow[] = 'GET';
  7777.                         goto not_config_packdiagnostic_index;
  7778.                     }
  7779.                     if (substr($pathinfo, -1) !== '/') {
  7780.                         return $this->redirect($rawPathinfo.'/''config_packdiagnostic_index');
  7781.                     }
  7782.                     return array (  '_controller' => 'ConfigBundle\\Controller\\PackDiagnosticController::indexAction',  '_route' => 'config_packdiagnostic_index',);
  7783.                 }
  7784.                 not_config_packdiagnostic_index:
  7785.                 // config_packdiagnostic_show
  7786.                 if (preg_match('#^/packdiagnostic/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7787.                     if ('GET' !== $canonicalMethod) {
  7788.                         $allow[] = 'GET';
  7789.                         goto not_config_packdiagnostic_show;
  7790.                     }
  7791.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_packdiagnostic_show')), array (  '_controller' => 'ConfigBundle\\Controller\\PackDiagnosticController::showAction',));
  7792.                 }
  7793.                 not_config_packdiagnostic_show:
  7794.                 // config_packdiagnostic_new
  7795.                 if ('/packdiagnostic/new' === $pathinfo) {
  7796.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  7797.                         $allow array_merge($allow, array('GET''POST'));
  7798.                         goto not_config_packdiagnostic_new;
  7799.                     }
  7800.                     return array (  '_controller' => 'ConfigBundle\\Controller\\PackDiagnosticController::newAction',  '_route' => 'config_packdiagnostic_new',);
  7801.                 }
  7802.                 not_config_packdiagnostic_new:
  7803.                 // config_packdiagnostic_edit
  7804.                 if (preg_match('#^/packdiagnostic/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  7805.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  7806.                         $allow array_merge($allow, array('GET''POST'));
  7807.                         goto not_config_packdiagnostic_edit;
  7808.                     }
  7809.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_packdiagnostic_edit')), array (  '_controller' => 'ConfigBundle\\Controller\\PackDiagnosticController::editAction',));
  7810.                 }
  7811.                 not_config_packdiagnostic_edit:
  7812.                 // config_packdiagnostic_delete
  7813.                 if (preg_match('#^/packdiagnostic/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  7814.                     if ('DELETE' !== $canonicalMethod) {
  7815.                         $allow[] = 'DELETE';
  7816.                         goto not_config_packdiagnostic_delete;
  7817.                     }
  7818.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_packdiagnostic_delete')), array (  '_controller' => 'ConfigBundle\\Controller\\PackDiagnosticController::deleteAction',));
  7819.                 }
  7820.                 not_config_packdiagnostic_delete:
  7821.             }
  7822.             elseif (=== strpos($pathinfo'/packedl')) {
  7823.                 // config_packedl_index
  7824.                 if ('/packedl' === $trimmedPathinfo) {
  7825.                     if ('GET' !== $canonicalMethod) {
  7826.                         $allow[] = 'GET';
  7827.                         goto not_config_packedl_index;
  7828.                     }
  7829.                     if (substr($pathinfo, -1) !== '/') {
  7830.                         return $this->redirect($rawPathinfo.'/''config_packedl_index');
  7831.                     }
  7832.                     return array (  '_controller' => 'ConfigBundle\\Controller\\PackEdlController::indexAction',  '_route' => 'config_packedl_index',);
  7833.                 }
  7834.                 not_config_packedl_index:
  7835.                 // config_packedl_show
  7836.                 if (preg_match('#^/packedl/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7837.                     if ('GET' !== $canonicalMethod) {
  7838.                         $allow[] = 'GET';
  7839.                         goto not_config_packedl_show;
  7840.                     }
  7841.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_packedl_show')), array (  '_controller' => 'ConfigBundle\\Controller\\PackEdlController::showAction',));
  7842.                 }
  7843.                 not_config_packedl_show:
  7844.                 // config_packedl_new
  7845.                 if ('/packedl/new' === $pathinfo) {
  7846.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  7847.                         $allow array_merge($allow, array('GET''POST'));
  7848.                         goto not_config_packedl_new;
  7849.                     }
  7850.                     return array (  '_controller' => 'ConfigBundle\\Controller\\PackEdlController::newAction',  '_route' => 'config_packedl_new',);
  7851.                 }
  7852.                 not_config_packedl_new:
  7853.                 // config_packedl_edit
  7854.                 if (preg_match('#^/packedl/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  7855.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  7856.                         $allow array_merge($allow, array('GET''POST'));
  7857.                         goto not_config_packedl_edit;
  7858.                     }
  7859.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_packedl_edit')), array (  '_controller' => 'ConfigBundle\\Controller\\PackEdlController::editAction',));
  7860.                 }
  7861.                 not_config_packedl_edit:
  7862.                 // config_packedl_delete
  7863.                 if (preg_match('#^/packedl/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  7864.                     if ('DELETE' !== $canonicalMethod) {
  7865.                         $allow[] = 'DELETE';
  7866.                         goto not_config_packedl_delete;
  7867.                     }
  7868.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_packedl_delete')), array (  '_controller' => 'ConfigBundle\\Controller\\PackEdlController::deleteAction',));
  7869.                 }
  7870.                 not_config_packedl_delete:
  7871.             }
  7872.         }
  7873.         elseif (=== strpos($pathinfo'/prix')) {
  7874.             if (=== strpos($pathinfo'/prixpackdiagnostic')) {
  7875.                 // config_prixpackdiagnostic_index
  7876.                 if ('/prixpackdiagnostic' === $trimmedPathinfo) {
  7877.                     if ('GET' !== $canonicalMethod) {
  7878.                         $allow[] = 'GET';
  7879.                         goto not_config_prixpackdiagnostic_index;
  7880.                     }
  7881.                     if (substr($pathinfo, -1) !== '/') {
  7882.                         return $this->redirect($rawPathinfo.'/''config_prixpackdiagnostic_index');
  7883.                     }
  7884.                     return array (  '_controller' => 'ConfigBundle\\Controller\\PrixPackDiagnosticController::indexAction',  '_route' => 'config_prixpackdiagnostic_index',);
  7885.                 }
  7886.                 not_config_prixpackdiagnostic_index:
  7887.                 // config_prixpackdiagnostic_show
  7888.                 if (preg_match('#^/prixpackdiagnostic/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7889.                     if ('GET' !== $canonicalMethod) {
  7890.                         $allow[] = 'GET';
  7891.                         goto not_config_prixpackdiagnostic_show;
  7892.                     }
  7893.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixpackdiagnostic_show')), array (  '_controller' => 'ConfigBundle\\Controller\\PrixPackDiagnosticController::showAction',));
  7894.                 }
  7895.                 not_config_prixpackdiagnostic_show:
  7896.                 // config_prixpackdiagnostic_new
  7897.                 if ('/prixpackdiagnostic/new' === $pathinfo) {
  7898.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  7899.                         $allow array_merge($allow, array('GET''POST'));
  7900.                         goto not_config_prixpackdiagnostic_new;
  7901.                     }
  7902.                     return array (  '_controller' => 'ConfigBundle\\Controller\\PrixPackDiagnosticController::newAction',  '_route' => 'config_prixpackdiagnostic_new',);
  7903.                 }
  7904.                 not_config_prixpackdiagnostic_new:
  7905.                 // config_prixpackdiagnostic_edit
  7906.                 if (preg_match('#^/prixpackdiagnostic/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  7907.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  7908.                         $allow array_merge($allow, array('GET''POST'));
  7909.                         goto not_config_prixpackdiagnostic_edit;
  7910.                     }
  7911.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixpackdiagnostic_edit')), array (  '_controller' => 'ConfigBundle\\Controller\\PrixPackDiagnosticController::editAction',));
  7912.                 }
  7913.                 not_config_prixpackdiagnostic_edit:
  7914.                 // config_prixpackdiagnostic_delete
  7915.                 if (preg_match('#^/prixpackdiagnostic/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  7916.                     if ('DELETE' !== $canonicalMethod) {
  7917.                         $allow[] = 'DELETE';
  7918.                         goto not_config_prixpackdiagnostic_delete;
  7919.                     }
  7920.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixpackdiagnostic_delete')), array (  '_controller' => 'ConfigBundle\\Controller\\PrixPackDiagnosticController::deleteAction',));
  7921.                 }
  7922.                 not_config_prixpackdiagnostic_delete:
  7923.             }
  7924.             elseif (=== strpos($pathinfo'/prixpackedl')) {
  7925.                 // config_prixpackedl_index
  7926.                 if ('/prixpackedl' === $trimmedPathinfo) {
  7927.                     if ('GET' !== $canonicalMethod) {
  7928.                         $allow[] = 'GET';
  7929.                         goto not_config_prixpackedl_index;
  7930.                     }
  7931.                     if (substr($pathinfo, -1) !== '/') {
  7932.                         return $this->redirect($rawPathinfo.'/''config_prixpackedl_index');
  7933.                     }
  7934.                     return array (  '_controller' => 'ConfigBundle\\Controller\\PrixPackEdlController::indexAction',  '_route' => 'config_prixpackedl_index',);
  7935.                 }
  7936.                 not_config_prixpackedl_index:
  7937.                 // config_prixpackedl_show
  7938.                 if (preg_match('#^/prixpackedl/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7939.                     if ('GET' !== $canonicalMethod) {
  7940.                         $allow[] = 'GET';
  7941.                         goto not_config_prixpackedl_show;
  7942.                     }
  7943.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixpackedl_show')), array (  '_controller' => 'ConfigBundle\\Controller\\PrixPackEdlController::showAction',));
  7944.                 }
  7945.                 not_config_prixpackedl_show:
  7946.                 // config_prixpackedl_new
  7947.                 if ('/prixpackedl/new' === $pathinfo) {
  7948.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  7949.                         $allow array_merge($allow, array('GET''POST'));
  7950.                         goto not_config_prixpackedl_new;
  7951.                     }
  7952.                     return array (  '_controller' => 'ConfigBundle\\Controller\\PrixPackEdlController::newAction',  '_route' => 'config_prixpackedl_new',);
  7953.                 }
  7954.                 not_config_prixpackedl_new:
  7955.                 // config_prixpackedl_edit
  7956.                 if (preg_match('#^/prixpackedl/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  7957.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  7958.                         $allow array_merge($allow, array('GET''POST'));
  7959.                         goto not_config_prixpackedl_edit;
  7960.                     }
  7961.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixpackedl_edit')), array (  '_controller' => 'ConfigBundle\\Controller\\PrixPackEdlController::editAction',));
  7962.                 }
  7963.                 not_config_prixpackedl_edit:
  7964.                 // config_prixpackedl_delete
  7965.                 if (preg_match('#^/prixpackedl/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  7966.                     if ('DELETE' !== $canonicalMethod) {
  7967.                         $allow[] = 'DELETE';
  7968.                         goto not_config_prixpackedl_delete;
  7969.                     }
  7970.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixpackedl_delete')), array (  '_controller' => 'ConfigBundle\\Controller\\PrixPackEdlController::deleteAction',));
  7971.                 }
  7972.                 not_config_prixpackedl_delete:
  7973.             }
  7974.             elseif (=== strpos($pathinfo'/prixunitediagnostic')) {
  7975.                 // config_prixunitediagnostic_index
  7976.                 if ('/prixunitediagnostic' === $trimmedPathinfo) {
  7977.                     if ('GET' !== $canonicalMethod) {
  7978.                         $allow[] = 'GET';
  7979.                         goto not_config_prixunitediagnostic_index;
  7980.                     }
  7981.                     if (substr($pathinfo, -1) !== '/') {
  7982.                         return $this->redirect($rawPathinfo.'/''config_prixunitediagnostic_index');
  7983.                     }
  7984.                     return array (  '_controller' => 'ConfigBundle\\Controller\\PrixUniteDiagnosticController::indexAction',  '_route' => 'config_prixunitediagnostic_index',);
  7985.                 }
  7986.                 not_config_prixunitediagnostic_index:
  7987.                 // config_prixunitediagnostic_show
  7988.                 if (preg_match('#^/prixunitediagnostic/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  7989.                     if ('GET' !== $canonicalMethod) {
  7990.                         $allow[] = 'GET';
  7991.                         goto not_config_prixunitediagnostic_show;
  7992.                     }
  7993.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixunitediagnostic_show')), array (  '_controller' => 'ConfigBundle\\Controller\\PrixUniteDiagnosticController::showAction',));
  7994.                 }
  7995.                 not_config_prixunitediagnostic_show:
  7996.                 // config_prixunitediagnostic_new
  7997.                 if ('/prixunitediagnostic/new' === $pathinfo) {
  7998.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  7999.                         $allow array_merge($allow, array('GET''POST'));
  8000.                         goto not_config_prixunitediagnostic_new;
  8001.                     }
  8002.                     return array (  '_controller' => 'ConfigBundle\\Controller\\PrixUniteDiagnosticController::newAction',  '_route' => 'config_prixunitediagnostic_new',);
  8003.                 }
  8004.                 not_config_prixunitediagnostic_new:
  8005.                 // config_prixunitediagnostic_edit
  8006.                 if (preg_match('#^/prixunitediagnostic/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  8007.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  8008.                         $allow array_merge($allow, array('GET''POST'));
  8009.                         goto not_config_prixunitediagnostic_edit;
  8010.                     }
  8011.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixunitediagnostic_edit')), array (  '_controller' => 'ConfigBundle\\Controller\\PrixUniteDiagnosticController::editAction',));
  8012.                 }
  8013.                 not_config_prixunitediagnostic_edit:
  8014.                 // config_prixunitediagnostic_delete
  8015.                 if (preg_match('#^/prixunitediagnostic/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  8016.                     if ('DELETE' !== $canonicalMethod) {
  8017.                         $allow[] = 'DELETE';
  8018.                         goto not_config_prixunitediagnostic_delete;
  8019.                     }
  8020.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixunitediagnostic_delete')), array (  '_controller' => 'ConfigBundle\\Controller\\PrixUniteDiagnosticController::deleteAction',));
  8021.                 }
  8022.                 not_config_prixunitediagnostic_delete:
  8023.             }
  8024.             elseif (=== strpos($pathinfo'/prixuniteamiante')) {
  8025.                 // config_prixuniteamiante_index
  8026.                 if ('/prixuniteamiante' === $trimmedPathinfo) {
  8027.                     if ('GET' !== $canonicalMethod) {
  8028.                         $allow[] = 'GET';
  8029.                         goto not_config_prixuniteamiante_index;
  8030.                     }
  8031.                     if (substr($pathinfo, -1) !== '/') {
  8032.                         return $this->redirect($rawPathinfo.'/''config_prixuniteamiante_index');
  8033.                     }
  8034.                     return array (  '_controller' => 'ConfigBundle\\Controller\\PrixUniteAmianteController::indexAction',  '_route' => 'config_prixuniteamiante_index',);
  8035.                 }
  8036.                 not_config_prixuniteamiante_index:
  8037.                 // config_prixuniteamiante_show
  8038.                 if (preg_match('#^/prixuniteamiante/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  8039.                     if ('GET' !== $canonicalMethod) {
  8040.                         $allow[] = 'GET';
  8041.                         goto not_config_prixuniteamiante_show;
  8042.                     }
  8043.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixuniteamiante_show')), array (  '_controller' => 'ConfigBundle\\Controller\\PrixUniteAmianteController::showAction',));
  8044.                 }
  8045.                 not_config_prixuniteamiante_show:
  8046.                 // config_prixuniteamiante_new
  8047.                 if ('/prixuniteamiante/new' === $pathinfo) {
  8048.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  8049.                         $allow array_merge($allow, array('GET''POST'));
  8050.                         goto not_config_prixuniteamiante_new;
  8051.                     }
  8052.                     return array (  '_controller' => 'ConfigBundle\\Controller\\PrixUniteAmianteController::newAction',  '_route' => 'config_prixuniteamiante_new',);
  8053.                 }
  8054.                 not_config_prixuniteamiante_new:
  8055.                 // config_prixuniteamiante_edit
  8056.                 if (preg_match('#^/prixuniteamiante/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  8057.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  8058.                         $allow array_merge($allow, array('GET''POST'));
  8059.                         goto not_config_prixuniteamiante_edit;
  8060.                     }
  8061.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixuniteamiante_edit')), array (  '_controller' => 'ConfigBundle\\Controller\\PrixUniteAmianteController::editAction',));
  8062.                 }
  8063.                 not_config_prixuniteamiante_edit:
  8064.                 // config_prixuniteamiante_delete
  8065.                 if (preg_match('#^/prixuniteamiante/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  8066.                     if ('DELETE' !== $canonicalMethod) {
  8067.                         $allow[] = 'DELETE';
  8068.                         goto not_config_prixuniteamiante_delete;
  8069.                     }
  8070.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixuniteamiante_delete')), array (  '_controller' => 'ConfigBundle\\Controller\\PrixUniteAmianteController::deleteAction',));
  8071.                 }
  8072.                 not_config_prixuniteamiante_delete:
  8073.             }
  8074.         }
  8075.         elseif (=== strpos($pathinfo'/naturebien')) {
  8076.             // config_naturebien_index
  8077.             if ('/naturebien' === $trimmedPathinfo) {
  8078.                 if ('GET' !== $canonicalMethod) {
  8079.                     $allow[] = 'GET';
  8080.                     goto not_config_naturebien_index;
  8081.                 }
  8082.                 if (substr($pathinfo, -1) !== '/') {
  8083.                     return $this->redirect($rawPathinfo.'/''config_naturebien_index');
  8084.                 }
  8085.                 return array (  '_controller' => 'ConfigBundle\\Controller\\NatureBienController::indexAction',  '_route' => 'config_naturebien_index',);
  8086.             }
  8087.             not_config_naturebien_index:
  8088.             // config_naturebien_show
  8089.             if (preg_match('#^/naturebien/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  8090.                 if ('GET' !== $canonicalMethod) {
  8091.                     $allow[] = 'GET';
  8092.                     goto not_config_naturebien_show;
  8093.                 }
  8094.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_naturebien_show')), array (  '_controller' => 'ConfigBundle\\Controller\\NatureBienController::showAction',));
  8095.             }
  8096.             not_config_naturebien_show:
  8097.         }
  8098.         elseif (=== strpos($pathinfo'/typebien')) {
  8099.             // config_typebien_index
  8100.             if ('/typebien' === $trimmedPathinfo) {
  8101.                 if ('GET' !== $canonicalMethod) {
  8102.                     $allow[] = 'GET';
  8103.                     goto not_config_typebien_index;
  8104.                 }
  8105.                 if (substr($pathinfo, -1) !== '/') {
  8106.                     return $this->redirect($rawPathinfo.'/''config_typebien_index');
  8107.                 }
  8108.                 return array (  '_controller' => 'ConfigBundle\\Controller\\TypeBienController::indexAction',  '_route' => 'config_typebien_index',);
  8109.             }
  8110.             not_config_typebien_index:
  8111.             // config_typebien_show
  8112.             if (preg_match('#^/typebien/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  8113.                 if ('GET' !== $canonicalMethod) {
  8114.                     $allow[] = 'GET';
  8115.                     goto not_config_typebien_show;
  8116.                 }
  8117.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_typebien_show')), array (  '_controller' => 'ConfigBundle\\Controller\\TypeBienController::showAction',));
  8118.             }
  8119.             not_config_typebien_show:
  8120.             // config_typebien_new
  8121.             if ('/typebien/new' === $pathinfo) {
  8122.                 if (!in_array($canonicalMethod, array('GET''POST'))) {
  8123.                     $allow array_merge($allow, array('GET''POST'));
  8124.                     goto not_config_typebien_new;
  8125.                 }
  8126.                 return array (  '_controller' => 'ConfigBundle\\Controller\\TypeBienController::newAction',  '_route' => 'config_typebien_new',);
  8127.             }
  8128.             not_config_typebien_new:
  8129.             // config_typebien_edit
  8130.             if (preg_match('#^/typebien/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  8131.                 if (!in_array($canonicalMethod, array('GET''POST'))) {
  8132.                     $allow array_merge($allow, array('GET''POST'));
  8133.                     goto not_config_typebien_edit;
  8134.                 }
  8135.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_typebien_edit')), array (  '_controller' => 'ConfigBundle\\Controller\\TypeBienController::editAction',));
  8136.             }
  8137.             not_config_typebien_edit:
  8138.             // config_typebien_delete
  8139.             if (preg_match('#^/typebien/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  8140.                 if ('DELETE' !== $canonicalMethod) {
  8141.                     $allow[] = 'DELETE';
  8142.                     goto not_config_typebien_delete;
  8143.                 }
  8144.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_typebien_delete')), array (  '_controller' => 'ConfigBundle\\Controller\\TypeBienController::deleteAction',));
  8145.             }
  8146.             not_config_typebien_delete:
  8147.             // config_typebien_api_list
  8148.             if ('/typebien/list' === $pathinfo) {
  8149.                 if ('GET' !== $canonicalMethod) {
  8150.                     $allow[] = 'GET';
  8151.                     goto not_config_typebien_api_list;
  8152.                 }
  8153.                 return array (  '_controller' => 'ConfigBundle\\Controller\\TypeBienRestController::indexAction',  '_route' => 'config_typebien_api_list',);
  8154.             }
  8155.             not_config_typebien_api_list:
  8156.         }
  8157.         elseif (=== strpos($pathinfo'/transaction')) {
  8158.             // config_transaction_index
  8159.             if ('/transaction' === $trimmedPathinfo) {
  8160.                 if ('GET' !== $canonicalMethod) {
  8161.                     $allow[] = 'GET';
  8162.                     goto not_config_transaction_index;
  8163.                 }
  8164.                 if (substr($pathinfo, -1) !== '/') {
  8165.                     return $this->redirect($rawPathinfo.'/''config_transaction_index');
  8166.                 }
  8167.                 return array (  '_controller' => 'ConfigBundle\\Controller\\TransactionController::indexAction',  '_route' => 'config_transaction_index',);
  8168.             }
  8169.             not_config_transaction_index:
  8170.             // config_transaction_show
  8171.             if (preg_match('#^/transaction/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  8172.                 if ('GET' !== $canonicalMethod) {
  8173.                     $allow[] = 'GET';
  8174.                     goto not_config_transaction_show;
  8175.                 }
  8176.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_transaction_show')), array (  '_controller' => 'ConfigBundle\\Controller\\TransactionController::showAction',));
  8177.             }
  8178.             not_config_transaction_show:
  8179.         }
  8180.         elseif (=== strpos($pathinfo'/filiale')) {
  8181.             // config_filiale_index
  8182.             if ('/filiale' === $trimmedPathinfo) {
  8183.                 if ('GET' !== $canonicalMethod) {
  8184.                     $allow[] = 'GET';
  8185.                     goto not_config_filiale_index;
  8186.                 }
  8187.                 if (substr($pathinfo, -1) !== '/') {
  8188.                     return $this->redirect($rawPathinfo.'/''config_filiale_index');
  8189.                 }
  8190.                 return array (  '_controller' => 'ConfigBundle\\Controller\\FilialeController::indexAction',  '_route' => 'config_filiale_index',);
  8191.             }
  8192.             not_config_filiale_index:
  8193.             // config_filiale_show
  8194.             if (preg_match('#^/filiale/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  8195.                 if ('GET' !== $canonicalMethod) {
  8196.                     $allow[] = 'GET';
  8197.                     goto not_config_filiale_show;
  8198.                 }
  8199.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_filiale_show')), array (  '_controller' => 'ConfigBundle\\Controller\\FilialeController::showAction',));
  8200.             }
  8201.             not_config_filiale_show:
  8202.             // config_filiale_new
  8203.             if ('/filiale/new' === $pathinfo) {
  8204.                 if (!in_array($canonicalMethod, array('GET''POST'))) {
  8205.                     $allow array_merge($allow, array('GET''POST'));
  8206.                     goto not_config_filiale_new;
  8207.                 }
  8208.                 return array (  '_controller' => 'ConfigBundle\\Controller\\FilialeController::newAction',  '_route' => 'config_filiale_new',);
  8209.             }
  8210.             not_config_filiale_new:
  8211.             // config_filiale_edit
  8212.             if (preg_match('#^/filiale/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  8213.                 if (!in_array($canonicalMethod, array('GET''POST'))) {
  8214.                     $allow array_merge($allow, array('GET''POST'));
  8215.                     goto not_config_filiale_edit;
  8216.                 }
  8217.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_filiale_edit')), array (  '_controller' => 'ConfigBundle\\Controller\\FilialeController::editAction',));
  8218.             }
  8219.             not_config_filiale_edit:
  8220.             // config_filiale_delete
  8221.             if (preg_match('#^/filiale/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  8222.                 if ('DELETE' !== $canonicalMethod) {
  8223.                     $allow[] = 'DELETE';
  8224.                     goto not_config_filiale_delete;
  8225.                 }
  8226.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_filiale_delete')), array (  '_controller' => 'ConfigBundle\\Controller\\FilialeController::deleteAction',));
  8227.             }
  8228.             not_config_filiale_delete:
  8229.         }
  8230.         elseif (=== strpos($pathinfo'/secteur')) {
  8231.             // config_secteur_index
  8232.             if ('/secteur' === $trimmedPathinfo) {
  8233.                 if ('GET' !== $canonicalMethod) {
  8234.                     $allow[] = 'GET';
  8235.                     goto not_config_secteur_index;
  8236.                 }
  8237.                 if (substr($pathinfo, -1) !== '/') {
  8238.                     return $this->redirect($rawPathinfo.'/''config_secteur_index');
  8239.                 }
  8240.                 return array (  '_controller' => 'ConfigBundle\\Controller\\SecteurController::indexAction',  '_route' => 'config_secteur_index',);
  8241.             }
  8242.             not_config_secteur_index:
  8243.             // config_secteur_show
  8244.             if (preg_match('#^/secteur/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  8245.                 if ('GET' !== $canonicalMethod) {
  8246.                     $allow[] = 'GET';
  8247.                     goto not_config_secteur_show;
  8248.                 }
  8249.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_secteur_show')), array (  '_controller' => 'ConfigBundle\\Controller\\SecteurController::showAction',));
  8250.             }
  8251.             not_config_secteur_show:
  8252.             // config_secteur_new
  8253.             if ('/secteur/new' === $pathinfo) {
  8254.                 if (!in_array($canonicalMethod, array('GET''POST'))) {
  8255.                     $allow array_merge($allow, array('GET''POST'));
  8256.                     goto not_config_secteur_new;
  8257.                 }
  8258.                 return array (  '_controller' => 'ConfigBundle\\Controller\\SecteurController::newAction',  '_route' => 'config_secteur_new',);
  8259.             }
  8260.             not_config_secteur_new:
  8261.             // config_secteur_edit
  8262.             if (preg_match('#^/secteur/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  8263.                 if (!in_array($canonicalMethod, array('GET''POST'))) {
  8264.                     $allow array_merge($allow, array('GET''POST'));
  8265.                     goto not_config_secteur_edit;
  8266.                 }
  8267.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_secteur_edit')), array (  '_controller' => 'ConfigBundle\\Controller\\SecteurController::editAction',));
  8268.             }
  8269.             not_config_secteur_edit:
  8270.             // config_secteur_delete
  8271.             if (preg_match('#^/secteur/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  8272.                 if ('DELETE' !== $canonicalMethod) {
  8273.                     $allow[] = 'DELETE';
  8274.                     goto not_config_secteur_delete;
  8275.                 }
  8276.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_secteur_delete')), array (  '_controller' => 'ConfigBundle\\Controller\\SecteurController::deleteAction',));
  8277.             }
  8278.             not_config_secteur_delete:
  8279.         }
  8280.         elseif (=== strpos($pathinfo'/unitediagnostic')) {
  8281.             // config_unitediagnostic_index
  8282.             if ('/unitediagnostic' === $trimmedPathinfo) {
  8283.                 if ('GET' !== $canonicalMethod) {
  8284.                     $allow[] = 'GET';
  8285.                     goto not_config_unitediagnostic_index;
  8286.                 }
  8287.                 if (substr($pathinfo, -1) !== '/') {
  8288.                     return $this->redirect($rawPathinfo.'/''config_unitediagnostic_index');
  8289.                 }
  8290.                 return array (  '_controller' => 'ConfigBundle\\Controller\\UniteDiagnosticController::indexAction',  '_route' => 'config_unitediagnostic_index',);
  8291.             }
  8292.             not_config_unitediagnostic_index:
  8293.             // config_unitediagnostic_show
  8294.             if (preg_match('#^/unitediagnostic/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  8295.                 if ('GET' !== $canonicalMethod) {
  8296.                     $allow[] = 'GET';
  8297.                     goto not_config_unitediagnostic_show;
  8298.                 }
  8299.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_unitediagnostic_show')), array (  '_controller' => 'ConfigBundle\\Controller\\UniteDiagnosticController::showAction',));
  8300.             }
  8301.             not_config_unitediagnostic_show:
  8302.             // config_unitediagnostic_new
  8303.             if ('/unitediagnostic/new' === $pathinfo) {
  8304.                 if (!in_array($canonicalMethod, array('GET''POST'))) {
  8305.                     $allow array_merge($allow, array('GET''POST'));
  8306.                     goto not_config_unitediagnostic_new;
  8307.                 }
  8308.                 return array (  '_controller' => 'ConfigBundle\\Controller\\UniteDiagnosticController::newAction',  '_route' => 'config_unitediagnostic_new',);
  8309.             }
  8310.             not_config_unitediagnostic_new:
  8311.             // config_unitediagnostic_edit
  8312.             if (preg_match('#^/unitediagnostic/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  8313.                 if (!in_array($canonicalMethod, array('GET''POST'))) {
  8314.                     $allow array_merge($allow, array('GET''POST'));
  8315.                     goto not_config_unitediagnostic_edit;
  8316.                 }
  8317.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_unitediagnostic_edit')), array (  '_controller' => 'ConfigBundle\\Controller\\UniteDiagnosticController::editAction',));
  8318.             }
  8319.             not_config_unitediagnostic_edit:
  8320.             // config_unitediagnostic_delete
  8321.             if (preg_match('#^/unitediagnostic/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  8322.                 if ('DELETE' !== $canonicalMethod) {
  8323.                     $allow[] = 'DELETE';
  8324.                     goto not_config_unitediagnostic_delete;
  8325.                 }
  8326.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_unitediagnostic_delete')), array (  '_controller' => 'ConfigBundle\\Controller\\UniteDiagnosticController::deleteAction',));
  8327.             }
  8328.             not_config_unitediagnostic_delete:
  8329.         }
  8330.         elseif (=== strpos($pathinfo'/uniteamiante')) {
  8331.             // config_uniteamiante_index
  8332.             if ('/uniteamiante' === $trimmedPathinfo) {
  8333.                 if ('GET' !== $canonicalMethod) {
  8334.                     $allow[] = 'GET';
  8335.                     goto not_config_uniteamiante_index;
  8336.                 }
  8337.                 if (substr($pathinfo, -1) !== '/') {
  8338.                     return $this->redirect($rawPathinfo.'/''config_uniteamiante_index');
  8339.                 }
  8340.                 return array (  '_controller' => 'ConfigBundle:UniteAmiante:index',  '_route' => 'config_uniteamiante_index',);
  8341.             }
  8342.             not_config_uniteamiante_index:
  8343.             // config_uniteamiante_show
  8344.             if (preg_match('#^/uniteamiante/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  8345.                 if ('GET' !== $canonicalMethod) {
  8346.                     $allow[] = 'GET';
  8347.                     goto not_config_uniteamiante_show;
  8348.                 }
  8349.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_uniteamiante_show')), array (  '_controller' => 'ConfigBundle:UniteAmiante:show',));
  8350.             }
  8351.             not_config_uniteamiante_show:
  8352.             // config_uniteamiante_new
  8353.             if ('/uniteamiante/new' === $pathinfo) {
  8354.                 if (!in_array($canonicalMethod, array('GET''POST'))) {
  8355.                     $allow array_merge($allow, array('GET''POST'));
  8356.                     goto not_config_uniteamiante_new;
  8357.                 }
  8358.                 return array (  '_controller' => 'ConfigBundle:UniteAmiante:new',  '_route' => 'config_uniteamiante_new',);
  8359.             }
  8360.             not_config_uniteamiante_new:
  8361.             // config_uniteamiante_edit
  8362.             if (preg_match('#^/uniteamiante/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  8363.                 if (!in_array($canonicalMethod, array('GET''POST'))) {
  8364.                     $allow array_merge($allow, array('GET''POST'));
  8365.                     goto not_config_uniteamiante_edit;
  8366.                 }
  8367.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_uniteamiante_edit')), array (  '_controller' => 'ConfigBundle:UniteAmiante:edit',));
  8368.             }
  8369.             not_config_uniteamiante_edit:
  8370.             // config_uniteamiante_delete
  8371.             if (preg_match('#^/uniteamiante/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  8372.                 if ('DELETE' !== $canonicalMethod) {
  8373.                     $allow[] = 'DELETE';
  8374.                     goto not_config_uniteamiante_delete;
  8375.                 }
  8376.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_uniteamiante_delete')), array (  '_controller' => 'ConfigBundle:UniteAmiante:delete',));
  8377.             }
  8378.             not_config_uniteamiante_delete:
  8379.         }
  8380.         // intervention_index
  8381.         if ('' === $trimmedPathinfo) {
  8382.             if ('GET' !== $canonicalMethod) {
  8383.                 $allow[] = 'GET';
  8384.                 goto not_intervention_index;
  8385.             }
  8386.             if (substr($pathinfo, -1) !== '/') {
  8387.                 return $this->redirect($rawPathinfo.'/''intervention_index');
  8388.             }
  8389.             return array (  '_controller' => 'ConfigBundle\\Controller\\InterventionController::indexAction',  '_route' => 'intervention_index',);
  8390.         }
  8391.         not_intervention_index:
  8392.         // intervention_show
  8393.         if (preg_match('#^/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  8394.             if ('GET' !== $canonicalMethod) {
  8395.                 $allow[] = 'GET';
  8396.                 goto not_intervention_show;
  8397.             }
  8398.             return $this->mergeDefaults(array_replace($matches, array('_route' => 'intervention_show')), array (  '_controller' => 'ConfigBundle\\Controller\\InterventionController::showAction',));
  8399.         }
  8400.         not_intervention_show:
  8401.         // intervention_new
  8402.         if ('/new' === $pathinfo) {
  8403.             if (!in_array($canonicalMethod, array('GET''POST'))) {
  8404.                 $allow array_merge($allow, array('GET''POST'));
  8405.                 goto not_intervention_new;
  8406.             }
  8407.             return array (  '_controller' => 'ConfigBundle\\Controller\\InterventionController::newAction',  '_route' => 'intervention_new',);
  8408.         }
  8409.         not_intervention_new:
  8410.         // intervention_edit
  8411.         if (preg_match('#^/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  8412.             if (!in_array($canonicalMethod, array('GET''POST'))) {
  8413.                 $allow array_merge($allow, array('GET''POST'));
  8414.                 goto not_intervention_edit;
  8415.             }
  8416.             return $this->mergeDefaults(array_replace($matches, array('_route' => 'intervention_edit')), array (  '_controller' => 'ConfigBundle\\Controller\\InterventionController::editAction',));
  8417.         }
  8418.         not_intervention_edit:
  8419.         // intervention_delete
  8420.         if (preg_match('#^/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  8421.             if ('DELETE' !== $canonicalMethod) {
  8422.                 $allow[] = 'DELETE';
  8423.                 goto not_intervention_delete;
  8424.             }
  8425.             return $this->mergeDefaults(array_replace($matches, array('_route' => 'intervention_delete')), array (  '_controller' => 'ConfigBundle\\Controller\\InterventionController::deleteAction',));
  8426.         }
  8427.         not_intervention_delete:
  8428.         if (=== strpos($pathinfo'/p')) {
  8429.             if (=== strpos($pathinfo'/pr')) {
  8430.                 if (=== strpos($pathinfo'/prestation')) {
  8431.                     // prestation_index
  8432.                     if ('/prestation' === $trimmedPathinfo) {
  8433.                         if ('GET' !== $canonicalMethod) {
  8434.                             $allow[] = 'GET';
  8435.                             goto not_prestation_index;
  8436.                         }
  8437.                         if (substr($pathinfo, -1) !== '/') {
  8438.                             return $this->redirect($rawPathinfo.'/''prestation_index');
  8439.                         }
  8440.                         return array (  '_controller' => 'ConfigBundle\\Controller\\PrestationController::indexAction',  '_route' => 'prestation_index',);
  8441.                     }
  8442.                     not_prestation_index:
  8443.                     // prestation_show
  8444.                     if (preg_match('#^/prestation/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  8445.                         if ('GET' !== $canonicalMethod) {
  8446.                             $allow[] = 'GET';
  8447.                             goto not_prestation_show;
  8448.                         }
  8449.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'prestation_show')), array (  '_controller' => 'ConfigBundle\\Controller\\PrestationController::showAction',));
  8450.                     }
  8451.                     not_prestation_show:
  8452.                     // prestation_new
  8453.                     if ('/prestation/new' === $pathinfo) {
  8454.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  8455.                             $allow array_merge($allow, array('GET''POST'));
  8456.                             goto not_prestation_new;
  8457.                         }
  8458.                         return array (  '_controller' => 'ConfigBundle\\Controller\\PrestationController::newAction',  '_route' => 'prestation_new',);
  8459.                     }
  8460.                     not_prestation_new:
  8461.                     // prestation_edit
  8462.                     if (preg_match('#^/prestation/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  8463.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  8464.                             $allow array_merge($allow, array('GET''POST'));
  8465.                             goto not_prestation_edit;
  8466.                         }
  8467.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'prestation_edit')), array (  '_controller' => 'ConfigBundle\\Controller\\PrestationController::editAction',));
  8468.                     }
  8469.                     not_prestation_edit:
  8470.                     // prestation_delete
  8471.                     if (preg_match('#^/prestation/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  8472.                         if ('DELETE' !== $canonicalMethod) {
  8473.                             $allow[] = 'DELETE';
  8474.                             goto not_prestation_delete;
  8475.                         }
  8476.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'prestation_delete')), array (  '_controller' => 'ConfigBundle\\Controller\\PrestationController::deleteAction',));
  8477.                     }
  8478.                     not_prestation_delete:
  8479.                 }
  8480.                 elseif (=== strpos($pathinfo'/produitcontrole')) {
  8481.                     // produitcontrole_index
  8482.                     if ('/produitcontrole' === $trimmedPathinfo) {
  8483.                         if ('GET' !== $canonicalMethod) {
  8484.                             $allow[] = 'GET';
  8485.                             goto not_produitcontrole_index;
  8486.                         }
  8487.                         if (substr($pathinfo, -1) !== '/') {
  8488.                             return $this->redirect($rawPathinfo.'/''produitcontrole_index');
  8489.                         }
  8490.                         return array (  '_controller' => 'ConfigBundle\\Controller\\ProduitControleController::indexAction',  '_route' => 'produitcontrole_index',);
  8491.                     }
  8492.                     not_produitcontrole_index:
  8493.                     // produitcontrole_show
  8494.                     if (preg_match('#^/produitcontrole/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  8495.                         if ('GET' !== $canonicalMethod) {
  8496.                             $allow[] = 'GET';
  8497.                             goto not_produitcontrole_show;
  8498.                         }
  8499.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'produitcontrole_show')), array (  '_controller' => 'ConfigBundle\\Controller\\ProduitControleController::showAction',));
  8500.                     }
  8501.                     not_produitcontrole_show:
  8502.                     // produitcontrole_new
  8503.                     if ('/produitcontrole/new' === $pathinfo) {
  8504.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  8505.                             $allow array_merge($allow, array('GET''POST'));
  8506.                             goto not_produitcontrole_new;
  8507.                         }
  8508.                         return array (  '_controller' => 'ConfigBundle\\Controller\\ProduitControleController::newAction',  '_route' => 'produitcontrole_new',);
  8509.                     }
  8510.                     not_produitcontrole_new:
  8511.                     // produitcontrole_edit
  8512.                     if (preg_match('#^/produitcontrole/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  8513.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  8514.                             $allow array_merge($allow, array('GET''POST'));
  8515.                             goto not_produitcontrole_edit;
  8516.                         }
  8517.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'produitcontrole_edit')), array (  '_controller' => 'ConfigBundle\\Controller\\ProduitControleController::editAction',));
  8518.                     }
  8519.                     not_produitcontrole_edit:
  8520.                     // produitcontrole_delete
  8521.                     if (preg_match('#^/produitcontrole/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  8522.                         if ('DELETE' !== $canonicalMethod) {
  8523.                             $allow[] = 'DELETE';
  8524.                             goto not_produitcontrole_delete;
  8525.                         }
  8526.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'produitcontrole_delete')), array (  '_controller' => 'ConfigBundle\\Controller\\ProduitControleController::deleteAction',));
  8527.                     }
  8528.                     not_produitcontrole_delete:
  8529.                 }
  8530.                 elseif (=== strpos($pathinfo'/profile')) {
  8531.                     // fos_user_profile_show
  8532.                     if (preg_match('#^/profile/(?P<user>\\d+)/?$#s'$pathinfo$matches)) {
  8533.                         if ('GET' !== $canonicalMethod) {
  8534.                             $allow[] = 'GET';
  8535.                             goto not_fos_user_profile_show;
  8536.                         }
  8537.                         if (substr($pathinfo, -1) !== '/') {
  8538.                             return $this->redirect($rawPathinfo.'/''fos_user_profile_show');
  8539.                         }
  8540.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_profile_show')), array (  '_controller' => 'FOS\\UserBundle\\Controller\\ProfileController::showAction',));
  8541.                     }
  8542.                     not_fos_user_profile_show:
  8543.                     if (=== strpos($pathinfo'/profile/edit')) {
  8544.                         // fos_user_profile_edit
  8545.                         if ('/profile/edit' === $trimmedPathinfo) {
  8546.                             if (!in_array($canonicalMethod, array('GET''POST'))) {
  8547.                                 $allow array_merge($allow, array('GET''POST'));
  8548.                                 goto not_fos_user_profile_edit;
  8549.                             }
  8550.                             if (substr($pathinfo, -1) !== '/') {
  8551.                                 return $this->redirect($rawPathinfo.'/''fos_user_profile_edit');
  8552.                             }
  8553.                             return array (  '_controller' => 'FOS\\UserBundle\\Controller\\ProfileController::editAction',  '_route' => 'fos_user_profile_edit',);
  8554.                         }
  8555.                         not_fos_user_profile_edit:
  8556.                         // fos_user_profile_edit_image
  8557.                         if ('/profile/editPhoto' === $pathinfo) {
  8558.                             if (!in_array($canonicalMethod, array('GET''POST'))) {
  8559.                                 $allow array_merge($allow, array('GET''POST'));
  8560.                                 goto not_fos_user_profile_edit_image;
  8561.                             }
  8562.                             return array (  '_controller' => 'FOS\\UserBundle\\Controller\\ProfileController::editProfileImageAction',  '_route' => 'fos_user_profile_edit_image',);
  8563.                         }
  8564.                         not_fos_user_profile_edit_image:
  8565.                     }
  8566.                     // fos_user_change_password
  8567.                     if ('/profile/change-password' === $pathinfo) {
  8568.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  8569.                             $allow array_merge($allow, array('GET''POST'));
  8570.                             goto not_fos_user_change_password;
  8571.                         }
  8572.                         return array (  '_controller' => 'FOS\\UserBundle\\Controller\\ChangePasswordController::changePasswordAction',  '_route' => 'fos_user_change_password',);
  8573.                     }
  8574.                     not_fos_user_change_password:
  8575.                 }
  8576.             }
  8577.             elseif (=== strpos($pathinfo'/packcontrole')) {
  8578.                 // packcontrole_index
  8579.                 if ('/packcontrole' === $trimmedPathinfo) {
  8580.                     if ('GET' !== $canonicalMethod) {
  8581.                         $allow[] = 'GET';
  8582.                         goto not_packcontrole_index;
  8583.                     }
  8584.                     if (substr($pathinfo, -1) !== '/') {
  8585.                         return $this->redirect($rawPathinfo.'/''packcontrole_index');
  8586.                     }
  8587.                     return array (  '_controller' => 'ConfigBundle\\Controller\\PackControleController::indexAction',  '_route' => 'packcontrole_index',);
  8588.                 }
  8589.                 not_packcontrole_index:
  8590.                 // packcontrole_show
  8591.                 if (preg_match('#^/packcontrole/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  8592.                     if ('GET' !== $canonicalMethod) {
  8593.                         $allow[] = 'GET';
  8594.                         goto not_packcontrole_show;
  8595.                     }
  8596.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'packcontrole_show')), array (  '_controller' => 'ConfigBundle\\Controller\\PackControleController::showAction',));
  8597.                 }
  8598.                 not_packcontrole_show:
  8599.                 // packcontrole_new
  8600.                 if ('/packcontrole/new' === $pathinfo) {
  8601.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  8602.                         $allow array_merge($allow, array('GET''POST'));
  8603.                         goto not_packcontrole_new;
  8604.                     }
  8605.                     return array (  '_controller' => 'ConfigBundle\\Controller\\PackControleController::newAction',  '_route' => 'packcontrole_new',);
  8606.                 }
  8607.                 not_packcontrole_new:
  8608.                 // packcontrole_edit
  8609.                 if (preg_match('#^/packcontrole/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  8610.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  8611.                         $allow array_merge($allow, array('GET''POST'));
  8612.                         goto not_packcontrole_edit;
  8613.                     }
  8614.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'packcontrole_edit')), array (  '_controller' => 'ConfigBundle\\Controller\\PackControleController::editAction',));
  8615.                 }
  8616.                 not_packcontrole_edit:
  8617.                 // packcontrole_delete
  8618.                 if (preg_match('#^/packcontrole/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  8619.                     if ('DELETE' !== $canonicalMethod) {
  8620.                         $allow[] = 'DELETE';
  8621.                         goto not_packcontrole_delete;
  8622.                     }
  8623.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'packcontrole_delete')), array (  '_controller' => 'ConfigBundle\\Controller\\PackControleController::deleteAction',));
  8624.                 }
  8625.                 not_packcontrole_delete:
  8626.             }
  8627.             // user_user_getpartenaires
  8628.             if ('/partenaires' === $pathinfo) {
  8629.                 return array (  '_controller' => 'UserBundle\\Controller\\UserController::getPartenairesAction',  '_route' => 'user_user_getpartenaires',);
  8630.             }
  8631.         }
  8632.         elseif (=== strpos($pathinfo'/a')) {
  8633.             if (=== strpos($pathinfo'/activite')) {
  8634.                 // activite_index
  8635.                 if ('/activite' === $trimmedPathinfo) {
  8636.                     if ('GET' !== $canonicalMethod) {
  8637.                         $allow[] = 'GET';
  8638.                         goto not_activite_index;
  8639.                     }
  8640.                     if (substr($pathinfo, -1) !== '/') {
  8641.                         return $this->redirect($rawPathinfo.'/''activite_index');
  8642.                     }
  8643.                     return array (  '_controller' => 'ConfigBundle\\Controller\\ActiviteController::indexAction',  '_route' => 'activite_index',);
  8644.                 }
  8645.                 not_activite_index:
  8646.                 // activite_show
  8647.                 if (preg_match('#^/activite/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  8648.                     if ('GET' !== $canonicalMethod) {
  8649.                         $allow[] = 'GET';
  8650.                         goto not_activite_show;
  8651.                     }
  8652.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'activite_show')), array (  '_controller' => 'ConfigBundle\\Controller\\ActiviteController::showAction',));
  8653.                 }
  8654.                 not_activite_show:
  8655.             }
  8656.             elseif (=== strpos($pathinfo'/agent')) {
  8657.                 // user_user_getagents
  8658.                 if ('/agents' === $pathinfo) {
  8659.                     return array (  '_controller' => 'UserBundle\\Controller\\UserController::getAgentsAction',  '_route' => 'user_user_getagents',);
  8660.                 }
  8661.                 // post_agent
  8662.                 if ('/agent/new' === $pathinfo) {
  8663.                     return array (  '_controller' => 'UserBundle\\Controller\\UserController::newAction',  '_route' => 'post_agent',);
  8664.                 }
  8665.                 // patch_agent
  8666.                 if (preg_match('#^/agent/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  8667.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_agent')), array (  '_controller' => 'UserBundle\\Controller\\UserController::editAction',));
  8668.                 }
  8669.             }
  8670.             elseif (=== strpos($pathinfo'/ap')) {
  8671.                 if (=== strpos($pathinfo'/api')) {
  8672.                     if (=== strpos($pathinfo'/api/p')) {
  8673.                         if (=== strpos($pathinfo'/api/professionnels')) {
  8674.                             // user_rest_get_professionnels_count
  8675.                             if ('/api/professionnels-count' === $pathinfo) {
  8676.                                 return array (  '_controller' => 'UserBundle\\Controller\\UserController::getProfessionnelsCount',  '_route' => 'user_rest_get_professionnels_count',);
  8677.                             }
  8678.                             // user_rest_get_professionnels
  8679.                             if (preg_match('#^/api/professionnels/(?P<reference>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8680.                                 if ('GET' !== $canonicalMethod) {
  8681.                                     $allow[] = 'GET';
  8682.                                     goto not_user_rest_get_professionnels;
  8683.                                 }
  8684.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_get_professionnels')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::getProfessionnelsAction',  '_format' => 'json',));
  8685.                             }
  8686.                             not_user_rest_get_professionnels:
  8687.                         }
  8688.                         elseif (=== strpos($pathinfo'/api/partenaires')) {
  8689.                             // user_rest_get_partenaires_count
  8690.                             if ('/api/partenaires-count' === $pathinfo) {
  8691.                                 return array (  '_controller' => 'UserBundle\\Controller\\UserController::getPartenairesCount',  '_route' => 'user_rest_get_partenaires_count',);
  8692.                             }
  8693.                             // get_partenaires
  8694.                             if (preg_match('#^/api/partenaires(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8695.                                 if ('GET' !== $canonicalMethod) {
  8696.                                     $allow[] = 'GET';
  8697.                                     goto not_get_partenaires;
  8698.                                 }
  8699.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_partenaires')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::getPartenairesAction',  '_format' => 'json',));
  8700.                             }
  8701.                             not_get_partenaires:
  8702.                             // post_partenaires
  8703.                             if (preg_match('#^/api/partenaires(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8704.                                 if ('POST' !== $canonicalMethod) {
  8705.                                     $allow[] = 'POST';
  8706.                                     goto not_post_partenaires;
  8707.                                 }
  8708.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_partenaires')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::postPartenairesAction',  '_format' => 'json',));
  8709.                             }
  8710.                             not_post_partenaires:
  8711.                         }
  8712.                         elseif (=== strpos($pathinfo'/api/particuliers')) {
  8713.                             // user_rest_get_particuliers_count
  8714.                             if ('/api/particuliers-count' === $pathinfo) {
  8715.                                 return array (  '_controller' => 'UserBundle\\Controller\\UserController::getParticuliersCount',  '_route' => 'user_rest_get_particuliers_count',);
  8716.                             }
  8717.                             // user_rest_get_particuliers
  8718.                             if (preg_match('#^/api/particuliers/(?P<reference>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8719.                                 if ('GET' !== $canonicalMethod) {
  8720.                                     $allow[] = 'GET';
  8721.                                     goto not_user_rest_get_particuliers;
  8722.                                 }
  8723.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_get_particuliers')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::getParticuliersAction',  '_format' => 'json',));
  8724.                             }
  8725.                             not_user_rest_get_particuliers:
  8726.                             // post_particuliers
  8727.                             if (preg_match('#^/api/particuliers(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8728.                                 if ('POST' !== $canonicalMethod) {
  8729.                                     $allow[] = 'POST';
  8730.                                     goto not_post_particuliers;
  8731.                                 }
  8732.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_particuliers')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::postParticuliersAction',  '_format' => 'json',));
  8733.                             }
  8734.                             not_post_particuliers:
  8735.                         }
  8736.                     }
  8737.                     elseif (=== strpos($pathinfo'/api/utilisateur')) {
  8738.                         if (=== strpos($pathinfo'/api/utilisateurs')) {
  8739.                             // update_user
  8740.                             if (preg_match('#^/api/utilisateurs/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8741.                                 if ('PUT' !== $canonicalMethod) {
  8742.                                     $allow[] = 'PUT';
  8743.                                     goto not_update_user;
  8744.                                 }
  8745.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_user')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::updateUserAction',  '_format' => 'json',));
  8746.                             }
  8747.                             not_update_user:
  8748.                             // remove_user_photo
  8749.                             if (preg_match('#^/api/utilisateurs/(?P<id>[^/]++)/photo(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8750.                                 if ('DELETE' !== $canonicalMethod) {
  8751.                                     $allow[] = 'DELETE';
  8752.                                     goto not_remove_user_photo;
  8753.                                 }
  8754.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_user_photo')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::removeUserPhotoAction',  '_format' => 'json',));
  8755.                             }
  8756.                             not_remove_user_photo:
  8757.                             // remove_user_logo
  8758.                             if (preg_match('#^/api/utilisateurs/(?P<id>[^/]++)/logo(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8759.                                 if ('DELETE' !== $canonicalMethod) {
  8760.                                     $allow[] = 'DELETE';
  8761.                                     goto not_remove_user_logo;
  8762.                                 }
  8763.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_user_logo')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::removeUserLogoAction',  '_format' => 'json',));
  8764.                             }
  8765.                             not_remove_user_logo:
  8766.                             // user_rest_delete
  8767.                             if (preg_match('#^/api/utilisateurs/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8768.                                 if ('DELETE' !== $canonicalMethod) {
  8769.                                     $allow[] = 'DELETE';
  8770.                                     goto not_user_rest_delete;
  8771.                                 }
  8772.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_delete')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::removeUserAction',  '_format' => 'json',));
  8773.                             }
  8774.                             not_user_rest_delete:
  8775.                         }
  8776.                         // user_rest_patchpassword
  8777.                         if (preg_match('#^/api/utilisateur/(?P<id>[^/]++)/patchpassword(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8778.                             if ('PATCH' !== $canonicalMethod) {
  8779.                                 $allow[] = 'PATCH';
  8780.                                 goto not_user_rest_patchpassword;
  8781.                             }
  8782.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_patchpassword')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::patchPasswordAction',  '_format' => 'json',));
  8783.                         }
  8784.                         not_user_rest_patchpassword:
  8785.                         // change_password
  8786.                         if (preg_match('#^/api/utilisateur/(?P<id>[^/]++)/change(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8787.                             if ('PATCH' !== $canonicalMethod) {
  8788.                                 $allow[] = 'PATCH';
  8789.                                 goto not_change_password;
  8790.                             }
  8791.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'change_password')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::changePasswordAction',  '_format' => 'json',));
  8792.                         }
  8793.                         not_change_password:
  8794.                         // generate_password
  8795.                         if (preg_match('#^/api/utilisateur/(?P<id>[^/]++)/regenerermotdepasse(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8796.                             if ('PATCH' !== $canonicalMethod) {
  8797.                                 $allow[] = 'PATCH';
  8798.                                 goto not_generate_password;
  8799.                             }
  8800.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'generate_password')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::generatePasswordAction',  '_format' => 'json',));
  8801.                         }
  8802.                         not_generate_password:
  8803.                         if (=== strpos($pathinfo'/api/utilisateurs')) {
  8804.                             // get_user
  8805.                             if (preg_match('#^/api/utilisateurs/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8806.                                 if ('GET' !== $canonicalMethod) {
  8807.                                     $allow[] = 'GET';
  8808.                                     goto not_get_user;
  8809.                                 }
  8810.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_user')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::getUserAction',  '_format' => 'json',));
  8811.                             }
  8812.                             not_get_user:
  8813.                             // patch_user
  8814.                             if (preg_match('#^/api/utilisateurs/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8815.                                 if ('PATCH' !== $canonicalMethod) {
  8816.                                     $allow[] = 'PATCH';
  8817.                                     goto not_patch_user;
  8818.                                 }
  8819.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_user')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::patchUserAction',  '_format' => 'json',));
  8820.                             }
  8821.                             not_patch_user:
  8822.                             // user_rest_post_photo
  8823.                             if (preg_match('#^/api/utilisateurs/(?P<id>[^/]++)/photo(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8824.                                 if ('POST' !== $canonicalMethod) {
  8825.                                     $allow[] = 'POST';
  8826.                                     goto not_user_rest_post_photo;
  8827.                                 }
  8828.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_post_photo')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::postUserPhotoAction',  '_format' => 'json',));
  8829.                             }
  8830.                             not_user_rest_post_photo:
  8831.                             // user_rest_post_logo
  8832.                             if (preg_match('#^/api/utilisateurs/(?P<id>[^/]++)/logo(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8833.                                 if ('POST' !== $canonicalMethod) {
  8834.                                     $allow[] = 'POST';
  8835.                                     goto not_user_rest_post_logo;
  8836.                                 }
  8837.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_post_logo')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::postUserLogoAction',  '_format' => 'json',));
  8838.                             }
  8839.                             not_user_rest_post_logo:
  8840.                             // user_rest_post_lavatar
  8841.                             if (preg_match('#^/api/utilisateurs/(?P<id>[^/]++)/avatar(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8842.                                 if ('POST' !== $canonicalMethod) {
  8843.                                     $allow[] = 'POST';
  8844.                                     goto not_user_rest_post_lavatar;
  8845.                                 }
  8846.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_post_lavatar')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::postUserAvatarAction',  '_format' => 'json',));
  8847.                             }
  8848.                             not_user_rest_post_lavatar:
  8849.                         }
  8850.                         // get_user_by_token
  8851.                         if (=== strpos($pathinfo'/api/utilisateurByToken') && preg_match('#^/api/utilisateurByToken(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8852.                             if ('GET' !== $canonicalMethod) {
  8853.                                 $allow[] = 'GET';
  8854.                                 goto not_get_user_by_token;
  8855.                             }
  8856.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_user_by_token')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::getUserByTokenAction',  '_format' => 'json',));
  8857.                         }
  8858.                         not_get_user_by_token:
  8859.                     }
  8860.                     elseif (=== strpos($pathinfo'/api/user')) {
  8861.                         // get_questions_by_customer
  8862.                         if (preg_match('#^/api/user/(?P<userId>[^/]++)/questions(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8863.                             if ('GET' !== $canonicalMethod) {
  8864.                                 $allow[] = 'GET';
  8865.                                 goto not_get_questions_by_customer;
  8866.                             }
  8867.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_questions_by_customer')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController:getQuestionsByCustomerAction',  '_format' => 'json',));
  8868.                         }
  8869.                         not_get_questions_by_customer:
  8870.                         // get_messages_by_customer
  8871.                         if (preg_match('#^/api/user/(?P<userId>[^/]++)/messages(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8872.                             if ('GET' !== $canonicalMethod) {
  8873.                                 $allow[] = 'GET';
  8874.                                 goto not_get_messages_by_customer;
  8875.                             }
  8876.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_messages_by_customer')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:getMessagesByCustomerAction',  '_format' => 'json',));
  8877.                         }
  8878.                         not_get_messages_by_customer:
  8879.                     }
  8880.                     // send_email
  8881.                     if (=== strpos($pathinfo'/api/request/reset') && preg_match('#^/api/request/reset(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8882.                         if ('GET' !== $canonicalMethod) {
  8883.                             $allow[] = 'GET';
  8884.                             goto not_send_email;
  8885.                         }
  8886.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'send_email')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::sendEmailAction',  '_format' => 'json',));
  8887.                     }
  8888.                     not_send_email:
  8889.                     if (=== strpos($pathinfo'/api/c')) {
  8890.                         if (=== strpos($pathinfo'/api/changermotdepasse')) {
  8891.                             // user_rest_resetting_reset
  8892.                             if (preg_match('#^/api/changermotdepasse/(?P<token>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8893.                                 if ('PATCH' !== $canonicalMethod) {
  8894.                                     $allow[] = 'PATCH';
  8895.                                     goto not_user_rest_resetting_reset;
  8896.                                 }
  8897.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_resetting_reset')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::resetAction',  '_format' => 'json',));
  8898.                             }
  8899.                             not_user_rest_resetting_reset:
  8900.                             // user_rest_password_reset
  8901.                             if (preg_match('#^/api/changermotdepasse(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8902.                                 if ('PATCH' !== $canonicalMethod) {
  8903.                                     $allow[] = 'PATCH';
  8904.                                     goto not_user_rest_password_reset;
  8905.                                 }
  8906.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_password_reset')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::resetPasswordAction',  '_format' => 'json',));
  8907.                             }
  8908.                             not_user_rest_password_reset:
  8909.                         }
  8910.                         // user_rest_get_commission
  8911.                         if (=== strpos($pathinfo'/api/commission') && preg_match('#^/api/commission/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8912.                             if ('GET' !== $canonicalMethod) {
  8913.                                 $allow[] = 'GET';
  8914.                                 goto not_user_rest_get_commission;
  8915.                             }
  8916.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_get_commission')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::getCommissionFactureDIByProAction',  '_format' => 'json',));
  8917.                         }
  8918.                         not_user_rest_get_commission:
  8919.                         if (=== strpos($pathinfo'/api/clients')) {
  8920.                             // get_clients
  8921.                             if (=== strpos($pathinfo'/api/clients-ajax') && preg_match('#^/api/clients\\-ajax(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8922.                                 if ('POST' !== $canonicalMethod) {
  8923.                                     $allow[] = 'POST';
  8924.                                     goto not_get_clients;
  8925.                                 }
  8926.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_clients')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::getClientsAjaxAction',  '_format' => 'json',));
  8927.                             }
  8928.                             not_get_clients:
  8929.                             // user_rest_get_clients
  8930.                             if (preg_match('#^/api/clients(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8931.                                 if ('GET' !== $canonicalMethod) {
  8932.                                     $allow[] = 'GET';
  8933.                                     goto not_user_rest_get_clients;
  8934.                                 }
  8935.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_get_clients')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::getClientsAction',  '_format' => 'json',));
  8936.                             }
  8937.                             not_user_rest_get_clients:
  8938.                             // user_rest_post_client
  8939.                             if (preg_match('#^/api/clients(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8940.                                 if ('POST' !== $canonicalMethod) {
  8941.                                     $allow[] = 'POST';
  8942.                                     goto not_user_rest_post_client;
  8943.                                 }
  8944.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_post_client')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::postClientsAction',  '_format' => 'json',));
  8945.                             }
  8946.                             not_user_rest_post_client:
  8947.                         }
  8948.                     }
  8949.                     elseif (=== strpos($pathinfo'/api/s')) {
  8950.                         // user_rest_sedesabonnernewsletter
  8951.                         if (=== strpos($pathinfo'/api/sedesabonnernewsletter') && preg_match('#^/api/sedesabonnernewsletter/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8952.                             if ('GET' !== $canonicalMethod) {
  8953.                                 $allow[] = 'GET';
  8954.                                 goto not_user_rest_sedesabonnernewsletter;
  8955.                             }
  8956.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_sedesabonnernewsletter')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::seDesabonnerNewsletterAction',  '_format' => 'json',));
  8957.                         }
  8958.                         not_user_rest_sedesabonnernewsletter:
  8959.                         if (=== strpos($pathinfo'/api/secteur')) {
  8960.                             // get_questions_by_secteur
  8961.                             if (preg_match('#^/api/secteur/(?P<id>[^/]++)/questions(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8962.                                 if ('GET' !== $canonicalMethod) {
  8963.                                     $allow[] = 'GET';
  8964.                                     goto not_get_questions_by_secteur;
  8965.                                 }
  8966.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_questions_by_secteur')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController:getQuestionsBySecteurAction',  '_format' => 'json',));
  8967.                             }
  8968.                             not_get_questions_by_secteur:
  8969.                             // get_messages_by_secteur
  8970.                             if (preg_match('#^/api/secteur/(?P<id>[^/]++)/messages(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8971.                                 if ('GET' !== $canonicalMethod) {
  8972.                                     $allow[] = 'GET';
  8973.                                     goto not_get_messages_by_secteur;
  8974.                                 }
  8975.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_messages_by_secteur')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:getMessagesBySecteurAction',  '_format' => 'json',));
  8976.                             }
  8977.                             not_get_messages_by_secteur:
  8978.                         }
  8979.                         // user_rest_sabonnernewsletter
  8980.                         if (=== strpos($pathinfo'/api/sabonnernewsletter') && preg_match('#^/api/sabonnernewsletter/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8981.                             if ('GET' !== $canonicalMethod) {
  8982.                                 $allow[] = 'GET';
  8983.                                 goto not_user_rest_sabonnernewsletter;
  8984.                             }
  8985.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_sabonnernewsletter')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::sAbonnerNewsletterAction',  '_format' => 'json',));
  8986.                         }
  8987.                         not_user_rest_sabonnernewsletter:
  8988.                     }
  8989.                     // user_rest_generatecontactnewsletter
  8990.                     if (=== strpos($pathinfo'/api/generatecontactnewsletter') && preg_match('#^/api/generatecontactnewsletter(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  8991.                         if ('GET' !== $canonicalMethod) {
  8992.                             $allow[] = 'GET';
  8993.                             goto not_user_rest_generatecontactnewsletter;
  8994.                         }
  8995.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_generatecontactnewsletter')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::generateContactMailjetAction',  '_format' => 'json',));
  8996.                     }
  8997.                     not_user_rest_generatecontactnewsletter:
  8998.                     if (=== strpos($pathinfo'/api/a')) {
  8999.                         if (=== strpos($pathinfo'/api/agents')) {
  9000.                             // get_agents
  9001.                             if (preg_match('#^/api/agents(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9002.                                 if ('GET' !== $canonicalMethod) {
  9003.                                     $allow[] = 'GET';
  9004.                                     goto not_get_agents;
  9005.                                 }
  9006.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_agents')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::getAgentsAction',  '_format' => 'json',));
  9007.                             }
  9008.                             not_get_agents:
  9009.                             // post_agents
  9010.                             if (preg_match('#^/api/agents(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9011.                                 if ('POST' !== $canonicalMethod) {
  9012.                                     $allow[] = 'POST';
  9013.                                     goto not_post_agents;
  9014.                                 }
  9015.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_agents')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::postAgentsAction',  '_format' => 'json',));
  9016.                             }
  9017.                             not_post_agents:
  9018.                         }
  9019.                         // patch_user_from_app_com
  9020.                         if (=== strpos($pathinfo'/api/app-com/utilisateurs') && preg_match('#^/api/app\\-com/utilisateurs/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9021.                             if ('PATCH' !== $canonicalMethod) {
  9022.                                 $allow[] = 'PATCH';
  9023.                                 goto not_patch_user_from_app_com;
  9024.                             }
  9025.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_user_from_app_com')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::patchUserFromAppComAction',  '_format' => 'json',));
  9026.                         }
  9027.                         not_patch_user_from_app_com:
  9028.                         if (=== strpos($pathinfo'/api/app/questions')) {
  9029.                             // app_rest_questions
  9030.                             if (preg_match('#^/api/app/questions(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9031.                                 if ('GET' !== $canonicalMethod) {
  9032.                                     $allow[] = 'GET';
  9033.                                     goto not_app_rest_questions;
  9034.                                 }
  9035.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_questions')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController:getQuestionsAction',  '_format' => 'json',));
  9036.                             }
  9037.                             not_app_rest_questions:
  9038.                             // app_rest_questions_count
  9039.                             if (=== strpos($pathinfo'/api/app/questions-count') && preg_match('#^/api/app/questions\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9040.                                 if ('GET' !== $canonicalMethod) {
  9041.                                     $allow[] = 'GET';
  9042.                                     goto not_app_rest_questions_count;
  9043.                                 }
  9044.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_questions_count')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController:getQuestionsCountAction',  '_format' => 'json',));
  9045.                             }
  9046.                             not_app_rest_questions_count:
  9047.                             // get_question
  9048.                             if (preg_match('#^/api/app/questions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9049.                                 if ('GET' !== $canonicalMethod) {
  9050.                                     $allow[] = 'GET';
  9051.                                     goto not_get_question;
  9052.                                 }
  9053.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_question')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController:getQuestionAction',  '_format' => 'json',));
  9054.                             }
  9055.                             not_get_question:
  9056.                             // app_rest_post_question
  9057.                             if (preg_match('#^/api/app/questions(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9058.                                 if ('POST' !== $canonicalMethod) {
  9059.                                     $allow[] = 'POST';
  9060.                                     goto not_app_rest_post_question;
  9061.                                 }
  9062.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_post_question')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController:postQuestionsAction',  '_format' => 'json',));
  9063.                             }
  9064.                             not_app_rest_post_question:
  9065.                             // app_rest_put_question
  9066.                             if (preg_match('#^/api/app/questions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9067.                                 if ('PUT' !== $canonicalMethod) {
  9068.                                     $allow[] = 'PUT';
  9069.                                     goto not_app_rest_put_question;
  9070.                                 }
  9071.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_put_question')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController:updateQuestionAction',  '_format' => 'json',));
  9072.                             }
  9073.                             not_app_rest_put_question:
  9074.                             // app_rest_patch_question
  9075.                             if (preg_match('#^/api/app/questions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9076.                                 if ('PATCH' !== $canonicalMethod) {
  9077.                                     $allow[] = 'PATCH';
  9078.                                     goto not_app_rest_patch_question;
  9079.                                 }
  9080.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_patch_question')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController:patchQuestionAction',  '_format' => 'json',));
  9081.                             }
  9082.                             not_app_rest_patch_question:
  9083.                             // app_rest_delete_question
  9084.                             if (preg_match('#^/api/app/questions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9085.                                 if ('DELETE' !== $canonicalMethod) {
  9086.                                     $allow[] = 'DELETE';
  9087.                                     goto not_app_rest_delete_question;
  9088.                                 }
  9089.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_delete_question')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController:removeQuestionAction',  '_format' => 'json',));
  9090.                             }
  9091.                             not_app_rest_delete_question:
  9092.                         }
  9093.                     }
  9094.                     // user_rest_get_commission22
  9095.                     if (=== strpos($pathinfo'/api/impaidinvoicecount') && preg_match('#^/api/impaidinvoicecount/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9096.                         if ('GET' !== $canonicalMethod) {
  9097.                             $allow[] = 'GET';
  9098.                             goto not_user_rest_get_commission22;
  9099.                         }
  9100.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_get_commission22')), array (  '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::getUnpaidInvoicesCountByCustomerAction',  '_format' => 'json',));
  9101.                     }
  9102.                     not_user_rest_get_commission22:
  9103.                     if (=== strpos($pathinfo'/api/taches')) {
  9104.                         // get_taches
  9105.                         if (preg_match('#^/api/taches(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9106.                             if ('GET' !== $canonicalMethod) {
  9107.                                 $allow[] = 'GET';
  9108.                                 goto not_get_taches;
  9109.                             }
  9110.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_taches')), array (  '_controller' => 'UserBundle\\Controller\\rest\\TacheRestController::getTachesAction',  '_format' => 'json',));
  9111.                         }
  9112.                         not_get_taches:
  9113.                         // get_tache
  9114.                         if (preg_match('#^/api/taches/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9115.                             if ('GET' !== $canonicalMethod) {
  9116.                                 $allow[] = 'GET';
  9117.                                 goto not_get_tache;
  9118.                             }
  9119.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_tache')), array (  '_controller' => 'UserBundle\\Controller\\rest\\TacheRestController::getTacheAction',  '_format' => 'json',));
  9120.                         }
  9121.                         not_get_tache:
  9122.                         // user_rest_post_tache
  9123.                         if (preg_match('#^/api/taches(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9124.                             if ('POST' !== $canonicalMethod) {
  9125.                                 $allow[] = 'POST';
  9126.                                 goto not_user_rest_post_tache;
  9127.                             }
  9128.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_post_tache')), array (  '_controller' => 'UserBundle\\Controller\\rest\\TacheRestController::postTachesAction',  '_format' => 'json',));
  9129.                         }
  9130.                         not_user_rest_post_tache:
  9131.                         // user_rest_put_tache
  9132.                         if (preg_match('#^/api/taches/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9133.                             if ('PUT' !== $canonicalMethod) {
  9134.                                 $allow[] = 'PUT';
  9135.                                 goto not_user_rest_put_tache;
  9136.                             }
  9137.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_put_tache')), array (  '_controller' => 'UserBundle\\Controller\\rest\\TacheRestController::updateTacheAction',  '_format' => 'json',));
  9138.                         }
  9139.                         not_user_rest_put_tache:
  9140.                         // user_rest_patch_tache
  9141.                         if (preg_match('#^/api/taches/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9142.                             if ('PATCH' !== $canonicalMethod) {
  9143.                                 $allow[] = 'PATCH';
  9144.                                 goto not_user_rest_patch_tache;
  9145.                             }
  9146.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_patch_tache')), array (  '_controller' => 'UserBundle\\Controller\\rest\\TacheRestController::patchTacheAction',  '_format' => 'json',));
  9147.                         }
  9148.                         not_user_rest_patch_tache:
  9149.                         // user_rest_delete_tache
  9150.                         if (preg_match('#^/api/taches/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9151.                             if ('DELETE' !== $canonicalMethod) {
  9152.                                 $allow[] = 'DELETE';
  9153.                                 goto not_user_rest_delete_tache;
  9154.                             }
  9155.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_delete_tache')), array (  '_controller' => 'UserBundle\\Controller\\rest\\TacheRestController::removeTacheAction',  '_format' => 'json',));
  9156.                         }
  9157.                         not_user_rest_delete_tache:
  9158.                     }
  9159.                     elseif (=== strpos($pathinfo'/api/email-template')) {
  9160.                         // app_rest_emailTemplates_items
  9161.                         if (=== strpos($pathinfo'/api/email-template/') && preg_match('#^/api/email\\-template/(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9162.                             if ('GET' !== $canonicalMethod) {
  9163.                                 $allow[] = 'GET';
  9164.                                 goto not_app_rest_emailTemplates_items;
  9165.                             }
  9166.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_emailTemplates_items')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\EmailTemplateRestController:getEmailTemplatesAction',  '_format' => 'json',));
  9167.                         }
  9168.                         not_app_rest_emailTemplates_items:
  9169.                         // app_rest_emailTemplate_item
  9170.                         if (preg_match('#^/api/email\\-template/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9171.                             if ('GET' !== $canonicalMethod) {
  9172.                                 $allow[] = 'GET';
  9173.                                 goto not_app_rest_emailTemplate_item;
  9174.                             }
  9175.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_emailTemplate_item')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\EmailTemplateRestController:getEmailTemplateAction',  '_format' => 'json',));
  9176.                         }
  9177.                         not_app_rest_emailTemplate_item:
  9178.                         // app_rest_emailTemplate_test_send
  9179.                         if (preg_match('#^/api/email\\-template/(?P<id>[^/]++)/test\\-send(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9180.                             if ('GET' !== $canonicalMethod) {
  9181.                                 $allow[] = 'GET';
  9182.                                 goto not_app_rest_emailTemplate_test_send;
  9183.                             }
  9184.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_emailTemplate_test_send')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\EmailTemplateRestController:testSendEmailTemplateAction',  '_format' => 'json',));
  9185.                         }
  9186.                         not_app_rest_emailTemplate_test_send:
  9187.                         // app_rest_emailTemplate_post_items
  9188.                         if (=== strpos($pathinfo'/api/email-template/') && preg_match('#^/api/email\\-template/(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9189.                             if ('POST' !== $canonicalMethod) {
  9190.                                 $allow[] = 'POST';
  9191.                                 goto not_app_rest_emailTemplate_post_items;
  9192.                             }
  9193.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_emailTemplate_post_items')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\EmailTemplateRestController:postEmailTemplateAction',  '_format' => 'json',));
  9194.                         }
  9195.                         not_app_rest_emailTemplate_post_items:
  9196.                         // app_rest_emailTemplate_put_item
  9197.                         if (preg_match('#^/api/email\\-template/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9198.                             if ('PUT' !== $canonicalMethod) {
  9199.                                 $allow[] = 'PUT';
  9200.                                 goto not_app_rest_emailTemplate_put_item;
  9201.                             }
  9202.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_emailTemplate_put_item')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\EmailTemplateRestController:putEmailTemplateAction',  '_format' => 'json',));
  9203.                         }
  9204.                         not_app_rest_emailTemplate_put_item:
  9205.                         // app_rest_emailTemplate_patch_item
  9206.                         if (preg_match('#^/api/email\\-template/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9207.                             if ('PATCH' !== $canonicalMethod) {
  9208.                                 $allow[] = 'PATCH';
  9209.                                 goto not_app_rest_emailTemplate_patch_item;
  9210.                             }
  9211.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_emailTemplate_patch_item')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\EmailTemplateRestController:patchEmailTemplateAction',  '_format' => 'json',));
  9212.                         }
  9213.                         not_app_rest_emailTemplate_patch_item:
  9214.                         // app_rest_emailTemplate_delete_item
  9215.                         if (preg_match('#^/api/email\\-template/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9216.                             if ('DELETE' !== $canonicalMethod) {
  9217.                                 $allow[] = 'DELETE';
  9218.                                 goto not_app_rest_emailTemplate_delete_item;
  9219.                             }
  9220.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_emailTemplate_delete_item')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\EmailTemplateRestController:removeEmailTemplateAction',  '_format' => 'json',));
  9221.                         }
  9222.                         not_app_rest_emailTemplate_delete_item:
  9223.                     }
  9224.                     elseif (=== strpos($pathinfo'/api/filiale')) {
  9225.                         // app_rest_questions_by_filiale_count
  9226.                         if (preg_match('#^/api/filiale/(?P<filialeId>[^/]++)/questions\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9227.                             if ('GET' !== $canonicalMethod) {
  9228.                                 $allow[] = 'GET';
  9229.                                 goto not_app_rest_questions_by_filiale_count;
  9230.                             }
  9231.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_questions_by_filiale_count')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController:getQuestionsByFilialeCountAction',  '_format' => 'json',));
  9232.                         }
  9233.                         not_app_rest_questions_by_filiale_count:
  9234.                         // get_questions_by_filiale
  9235.                         if (preg_match('#^/api/filiale/(?P<filialeId>[^/]++)/questions(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9236.                             if ('GET' !== $canonicalMethod) {
  9237.                                 $allow[] = 'GET';
  9238.                                 goto not_get_questions_by_filiale;
  9239.                             }
  9240.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_questions_by_filiale')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController:getQuestionsByFilialeAction',  '_format' => 'json',));
  9241.                         }
  9242.                         not_get_questions_by_filiale:
  9243.                         // diagnostic_rest_messages_by_filiale_count
  9244.                         if (preg_match('#^/api/filiale/(?P<filialeId>[^/]++)/messages\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9245.                             if ('GET' !== $canonicalMethod) {
  9246.                                 $allow[] = 'GET';
  9247.                                 goto not_diagnostic_rest_messages_by_filiale_count;
  9248.                             }
  9249.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_messages_by_filiale_count')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:getMessagesByFilialeCountAction',  '_format' => 'json',));
  9250.                         }
  9251.                         not_diagnostic_rest_messages_by_filiale_count:
  9252.                         // get_messages_by_filiale
  9253.                         if (preg_match('#^/api/filiale/(?P<filialeId>[^/]++)/messages(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9254.                             if ('GET' !== $canonicalMethod) {
  9255.                                 $allow[] = 'GET';
  9256.                                 goto not_get_messages_by_filiale;
  9257.                             }
  9258.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_messages_by_filiale')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:getMessagesByFilialeAction',  '_format' => 'json',));
  9259.                         }
  9260.                         not_get_messages_by_filiale:
  9261.                     }
  9262.                     elseif (=== strpos($pathinfo'/api/messages')) {
  9263.                         // diagnostic_rest_messages
  9264.                         if (preg_match('#^/api/messages(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9265.                             if ('GET' !== $canonicalMethod) {
  9266.                                 $allow[] = 'GET';
  9267.                                 goto not_diagnostic_rest_messages;
  9268.                             }
  9269.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_messages')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:getMessagesAction',  '_format' => 'json',));
  9270.                         }
  9271.                         not_diagnostic_rest_messages:
  9272.                         // diagnostic_rest_messages_count
  9273.                         if (=== strpos($pathinfo'/api/messages-count') && preg_match('#^/api/messages\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9274.                             if ('GET' !== $canonicalMethod) {
  9275.                                 $allow[] = 'GET';
  9276.                                 goto not_diagnostic_rest_messages_count;
  9277.                             }
  9278.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_messages_count')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:getMessagesCountAction',  '_format' => 'json',));
  9279.                         }
  9280.                         not_diagnostic_rest_messages_count:
  9281.                         // get_message
  9282.                         if (preg_match('#^/api/messages/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9283.                             if ('GET' !== $canonicalMethod) {
  9284.                                 $allow[] = 'GET';
  9285.                                 goto not_get_message;
  9286.                             }
  9287.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_message')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:getMessageAction',  '_format' => 'json',));
  9288.                         }
  9289.                         not_get_message:
  9290.                         // app_rest_post_message
  9291.                         if (preg_match('#^/api/messages(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9292.                             if ('POST' !== $canonicalMethod) {
  9293.                                 $allow[] = 'POST';
  9294.                                 goto not_app_rest_post_message;
  9295.                             }
  9296.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_post_message')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:postMessagesAction',  '_format' => 'json',));
  9297.                         }
  9298.                         not_app_rest_post_message:
  9299.                         // diagnostic_rest_put_message
  9300.                         if (preg_match('#^/api/messages/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9301.                             if ('PUT' !== $canonicalMethod) {
  9302.                                 $allow[] = 'PUT';
  9303.                                 goto not_diagnostic_rest_put_message;
  9304.                             }
  9305.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_put_message')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:updateMessageAction',  '_format' => 'json',));
  9306.                         }
  9307.                         not_diagnostic_rest_put_message:
  9308.                         // diagnostic_rest_patch_message
  9309.                         if (preg_match('#^/api/messages/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9310.                             if ('PATCH' !== $canonicalMethod) {
  9311.                                 $allow[] = 'PATCH';
  9312.                                 goto not_diagnostic_rest_patch_message;
  9313.                             }
  9314.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_message')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:patchMessageAction',  '_format' => 'json',));
  9315.                         }
  9316.                         not_diagnostic_rest_patch_message:
  9317.                         // diagnostic_rest_delete_message
  9318.                         if (preg_match('#^/api/messages/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9319.                             if ('DELETE' !== $canonicalMethod) {
  9320.                                 $allow[] = 'DELETE';
  9321.                                 goto not_diagnostic_rest_delete_message;
  9322.                             }
  9323.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_delete_message')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:removeMessageAction',  '_format' => 'json',));
  9324.                         }
  9325.                         not_diagnostic_rest_delete_message:
  9326.                         // post_message_fichier
  9327.                         if (preg_match('#^/api/messages/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s'$pathinfo$matches)) {
  9328.                             if ('POST' !== $canonicalMethod) {
  9329.                                 $allow[] = 'POST';
  9330.                                 goto not_post_message_fichier;
  9331.                             }
  9332.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_message_fichier')), array (  '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:postMessageFichierAction',  '_format' => 'json',));
  9333.                         }
  9334.                         not_post_message_fichier:
  9335.                     }
  9336.                     // api_login_check
  9337.                     if ('/api/login_check' === $pathinfo) {
  9338.                         return array('_route' => 'api_login_check');
  9339.                     }
  9340.                 }
  9341.                 elseif (=== strpos($pathinfo'/app/question')) {
  9342.                     // question_index
  9343.                     if ('/app/question' === $trimmedPathinfo) {
  9344.                         if ('GET' !== $canonicalMethod) {
  9345.                             $allow[] = 'GET';
  9346.                             goto not_question_index;
  9347.                         }
  9348.                         if (substr($pathinfo, -1) !== '/') {
  9349.                             return $this->redirect($rawPathinfo.'/''question_index');
  9350.                         }
  9351.                         return array (  '_controller' => 'AppBundle\\Controller\\QuestionController::indexAction',  '_route' => 'question_index',);
  9352.                     }
  9353.                     not_question_index:
  9354.                     // question_show
  9355.                     if (preg_match('#^/app/question/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  9356.                         if ('GET' !== $canonicalMethod) {
  9357.                             $allow[] = 'GET';
  9358.                             goto not_question_show;
  9359.                         }
  9360.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'question_show')), array (  '_controller' => 'AppBundle\\Controller\\QuestionController::showAction',));
  9361.                     }
  9362.                     not_question_show:
  9363.                     // question_frontshow
  9364.                     if (=== strpos($pathinfo'/app/question/front') && preg_match('#^/app/question/front/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  9365.                         if ('GET' !== $canonicalMethod) {
  9366.                             $allow[] = 'GET';
  9367.                             goto not_question_frontshow;
  9368.                         }
  9369.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'question_frontshow')), array (  '_controller' => 'AppBundle\\Controller\\QuestionController::frontShowAction',));
  9370.                     }
  9371.                     not_question_frontshow:
  9372.                     // question_new
  9373.                     if ('/app/question/new' === $pathinfo) {
  9374.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  9375.                             $allow array_merge($allow, array('GET''POST'));
  9376.                             goto not_question_new;
  9377.                         }
  9378.                         return array (  '_controller' => 'AppBundle\\Controller\\QuestionController::newAction',  '_route' => 'question_new',);
  9379.                     }
  9380.                     not_question_new:
  9381.                     // question_edit
  9382.                     if (preg_match('#^/app/question/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  9383.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  9384.                             $allow array_merge($allow, array('GET''POST'));
  9385.                             goto not_question_edit;
  9386.                         }
  9387.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'question_edit')), array (  '_controller' => 'AppBundle\\Controller\\QuestionController::editAction',));
  9388.                     }
  9389.                     not_question_edit:
  9390.                     // question_delete
  9391.                     if (preg_match('#^/app/question/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  9392.                         if ('DELETE' !== $canonicalMethod) {
  9393.                             $allow[] = 'DELETE';
  9394.                             goto not_question_delete;
  9395.                         }
  9396.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'question_delete')), array (  '_controller' => 'AppBundle\\Controller\\QuestionController::deleteAction',));
  9397.                     }
  9398.                     not_question_delete:
  9399.                 }
  9400.                 elseif (=== strpos($pathinfo'/app/message')) {
  9401.                     // message_index
  9402.                     if ('/app/message' === $trimmedPathinfo) {
  9403.                         if ('GET' !== $canonicalMethod) {
  9404.                             $allow[] = 'GET';
  9405.                             goto not_message_index;
  9406.                         }
  9407.                         if (substr($pathinfo, -1) !== '/') {
  9408.                             return $this->redirect($rawPathinfo.'/''message_index');
  9409.                         }
  9410.                         return array (  '_controller' => 'AppBundle\\Controller\\MessageController::indexAction',  '_route' => 'message_index',);
  9411.                     }
  9412.                     not_message_index:
  9413.                     // message_show
  9414.                     if (preg_match('#^/app/message/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  9415.                         if ('GET' !== $canonicalMethod) {
  9416.                             $allow[] = 'GET';
  9417.                             goto not_message_show;
  9418.                         }
  9419.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'message_show')), array (  '_controller' => 'AppBundle\\Controller\\MessageController::showAction',));
  9420.                     }
  9421.                     not_message_show:
  9422.                     // message_new
  9423.                     if ('/app/message/new' === $pathinfo) {
  9424.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  9425.                             $allow array_merge($allow, array('GET''POST'));
  9426.                             goto not_message_new;
  9427.                         }
  9428.                         return array (  '_controller' => 'AppBundle\\Controller\\MessageController::newAction',  '_route' => 'message_new',);
  9429.                     }
  9430.                     not_message_new:
  9431.                     // message_edit
  9432.                     if (preg_match('#^/app/message/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  9433.                         if (!in_array($canonicalMethod, array('GET''POST'))) {
  9434.                             $allow array_merge($allow, array('GET''POST'));
  9435.                             goto not_message_edit;
  9436.                         }
  9437.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'message_edit')), array (  '_controller' => 'AppBundle\\Controller\\MessageController::editAction',));
  9438.                     }
  9439.                     not_message_edit:
  9440.                     // message_delete
  9441.                     if (preg_match('#^/app/message/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  9442.                         if ('DELETE' !== $canonicalMethod) {
  9443.                             $allow[] = 'DELETE';
  9444.                             goto not_message_delete;
  9445.                         }
  9446.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'message_delete')), array (  '_controller' => 'AppBundle\\Controller\\MessageController::deleteAction',));
  9447.                     }
  9448.                     not_message_delete:
  9449.                 }
  9450.             }
  9451.         }
  9452.         elseif (=== strpos($pathinfo'/c')) {
  9453.             if (=== strpos($pathinfo'/combinaisoncontrole')) {
  9454.                 // combinaisoncontrole_index
  9455.                 if ('/combinaisoncontrole' === $trimmedPathinfo) {
  9456.                     if ('GET' !== $canonicalMethod) {
  9457.                         $allow[] = 'GET';
  9458.                         goto not_combinaisoncontrole_index;
  9459.                     }
  9460.                     if (substr($pathinfo, -1) !== '/') {
  9461.                         return $this->redirect($rawPathinfo.'/''combinaisoncontrole_index');
  9462.                     }
  9463.                     return array (  '_controller' => 'ConfigBundle\\Controller\\CombinaisonControleController::indexAction',  '_route' => 'combinaisoncontrole_index',);
  9464.                 }
  9465.                 not_combinaisoncontrole_index:
  9466.                 // combinaisoncontrole_show
  9467.                 if (preg_match('#^/combinaisoncontrole/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  9468.                     if ('GET' !== $canonicalMethod) {
  9469.                         $allow[] = 'GET';
  9470.                         goto not_combinaisoncontrole_show;
  9471.                     }
  9472.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'combinaisoncontrole_show')), array (  '_controller' => 'ConfigBundle\\Controller\\CombinaisonControleController::showAction',));
  9473.                 }
  9474.                 not_combinaisoncontrole_show:
  9475.                 // combinaisoncontrole_new
  9476.                 if ('/combinaisoncontrole/new' === $pathinfo) {
  9477.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  9478.                         $allow array_merge($allow, array('GET''POST'));
  9479.                         goto not_combinaisoncontrole_new;
  9480.                     }
  9481.                     return array (  '_controller' => 'ConfigBundle\\Controller\\CombinaisonControleController::newAction',  '_route' => 'combinaisoncontrole_new',);
  9482.                 }
  9483.                 not_combinaisoncontrole_new:
  9484.                 // combinaisoncontrole_edit
  9485.                 if (preg_match('#^/combinaisoncontrole/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  9486.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  9487.                         $allow array_merge($allow, array('GET''POST'));
  9488.                         goto not_combinaisoncontrole_edit;
  9489.                     }
  9490.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'combinaisoncontrole_edit')), array (  '_controller' => 'ConfigBundle\\Controller\\CombinaisonControleController::editAction',));
  9491.                 }
  9492.                 not_combinaisoncontrole_edit:
  9493.                 // combinaisoncontrole_delete
  9494.                 if (preg_match('#^/combinaisoncontrole/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  9495.                     if ('DELETE' !== $canonicalMethod) {
  9496.                         $allow[] = 'DELETE';
  9497.                         goto not_combinaisoncontrole_delete;
  9498.                     }
  9499.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'combinaisoncontrole_delete')), array (  '_controller' => 'ConfigBundle\\Controller\\CombinaisonControleController::deleteAction',));
  9500.                 }
  9501.                 not_combinaisoncontrole_delete:
  9502.             }
  9503.             elseif (=== strpos($pathinfo'/categorieerp')) {
  9504.                 // categorieerp_index
  9505.                 if ('/categorieerp' === $trimmedPathinfo) {
  9506.                     if ('GET' !== $canonicalMethod) {
  9507.                         $allow[] = 'GET';
  9508.                         goto not_categorieerp_index;
  9509.                     }
  9510.                     if (substr($pathinfo, -1) !== '/') {
  9511.                         return $this->redirect($rawPathinfo.'/''categorieerp_index');
  9512.                     }
  9513.                     return array (  '_controller' => 'ConfigBundle\\Controller\\CategorieERPController::indexAction',  '_route' => 'categorieerp_index',);
  9514.                 }
  9515.                 not_categorieerp_index:
  9516.                 // categorieerp_show
  9517.                 if (preg_match('#^/categorieerp/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  9518.                     if ('GET' !== $canonicalMethod) {
  9519.                         $allow[] = 'GET';
  9520.                         goto not_categorieerp_show;
  9521.                     }
  9522.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'categorieerp_show')), array (  '_controller' => 'ConfigBundle\\Controller\\CategorieERPController::showAction',));
  9523.                 }
  9524.                 not_categorieerp_show:
  9525.                 // categorieerp_new
  9526.                 if ('/categorieerp/new' === $pathinfo) {
  9527.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  9528.                         $allow array_merge($allow, array('GET''POST'));
  9529.                         goto not_categorieerp_new;
  9530.                     }
  9531.                     return array (  '_controller' => 'ConfigBundle\\Controller\\CategorieERPController::newAction',  '_route' => 'categorieerp_new',);
  9532.                 }
  9533.                 not_categorieerp_new:
  9534.                 // categorieerp_edit
  9535.                 if (preg_match('#^/categorieerp/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  9536.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  9537.                         $allow array_merge($allow, array('GET''POST'));
  9538.                         goto not_categorieerp_edit;
  9539.                     }
  9540.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'categorieerp_edit')), array (  '_controller' => 'ConfigBundle\\Controller\\CategorieERPController::editAction',));
  9541.                 }
  9542.                 not_categorieerp_edit:
  9543.                 // categorieerp_delete
  9544.                 if (preg_match('#^/categorieerp/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  9545.                     if ('DELETE' !== $canonicalMethod) {
  9546.                         $allow[] = 'DELETE';
  9547.                         goto not_categorieerp_delete;
  9548.                     }
  9549.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'categorieerp_delete')), array (  '_controller' => 'ConfigBundle\\Controller\\CategorieERPController::deleteAction',));
  9550.                 }
  9551.                 not_categorieerp_delete:
  9552.             }
  9553.             elseif (=== strpos($pathinfo'/client')) {
  9554.                 // user_user_getclients
  9555.                 if ('/clients' === $pathinfo) {
  9556.                     return array (  '_controller' => 'UserBundle\\Controller\\UserController::getclientsAction',  '_route' => 'user_user_getclients',);
  9557.                 }
  9558.                 // patch_cient
  9559.                 if (preg_match('#^/client/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  9560.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_cient')), array (  '_controller' => 'UserBundle\\Controller\\UserController::editClientAction',));
  9561.                 }
  9562.             }
  9563.         }
  9564.         elseif (=== strpos($pathinfo'/e')) {
  9565.             // user_user_profil
  9566.             if (=== strpos($pathinfo'/espaceclient') && preg_match('#^/espaceclient/(?P<id>[^/]++)$#s'$pathinfo$matches)) {
  9567.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_user_profil')), array (  '_controller' => 'UserBundle\\Controller\\UserController::profilAction',));
  9568.             }
  9569.             // user_user_partenaire
  9570.             if (=== strpos($pathinfo'/espacepartenaire') && preg_match('#^/espacepartenaire/(?P<id>[^/]++)$#s'$pathinfo$matches)) {
  9571.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_user_partenaire')), array (  '_controller' => 'UserBundle\\Controller\\UserController::partenaireAction',));
  9572.             }
  9573.             if (=== strpos($pathinfo'/email-template')) {
  9574.                 // emailTemplate_index
  9575.                 if ('/email-template' === $trimmedPathinfo) {
  9576.                     if ('GET' !== $canonicalMethod) {
  9577.                         $allow[] = 'GET';
  9578.                         goto not_emailTemplate_index;
  9579.                     }
  9580.                     if (substr($pathinfo, -1) !== '/') {
  9581.                         return $this->redirect($rawPathinfo.'/''emailTemplate_index');
  9582.                     }
  9583.                     return array (  '_controller' => 'AppBundle\\Controller\\EmailTemplateController::indexAction',  '_route' => 'emailTemplate_index',);
  9584.                 }
  9585.                 not_emailTemplate_index:
  9586.                 // emailTemplate_show
  9587.                 if (preg_match('#^/email\\-template/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  9588.                     if ('GET' !== $canonicalMethod) {
  9589.                         $allow[] = 'GET';
  9590.                         goto not_emailTemplate_show;
  9591.                     }
  9592.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'emailTemplate_show')), array (  '_controller' => 'AppBundle\\Controller\\EmailTemplateController::showAction',));
  9593.                 }
  9594.                 not_emailTemplate_show:
  9595.                 // emailTemplate_new
  9596.                 if ('/email-template/new' === $pathinfo) {
  9597.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  9598.                         $allow array_merge($allow, array('GET''POST'));
  9599.                         goto not_emailTemplate_new;
  9600.                     }
  9601.                     return array (  '_controller' => 'AppBundle\\Controller\\EmailTemplateController::newAction',  '_route' => 'emailTemplate_new',);
  9602.                 }
  9603.                 not_emailTemplate_new:
  9604.                 // emailTemplate_edit
  9605.                 if (preg_match('#^/email\\-template/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  9606.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  9607.                         $allow array_merge($allow, array('GET''POST'));
  9608.                         goto not_emailTemplate_edit;
  9609.                     }
  9610.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'emailTemplate_edit')), array (  '_controller' => 'AppBundle\\Controller\\EmailTemplateController::editAction',));
  9611.                 }
  9612.                 not_emailTemplate_edit:
  9613.                 // emailTemplate_delete
  9614.                 if (preg_match('#^/email\\-template/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  9615.                     if ('DELETE' !== $canonicalMethod) {
  9616.                         $allow[] = 'DELETE';
  9617.                         goto not_emailTemplate_delete;
  9618.                     }
  9619.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'emailTemplate_delete')), array (  '_controller' => 'AppBundle\\Controller\\EmailTemplateController::deleteAction',));
  9620.                 }
  9621.                 not_emailTemplate_delete:
  9622.             }
  9623.         }
  9624.         elseif (=== strpos($pathinfo'/login')) {
  9625.             // fos_user_security_login
  9626.             if ('/login' === $pathinfo) {
  9627.                 if (!in_array($canonicalMethod, array('GET''POST'))) {
  9628.                     $allow array_merge($allow, array('GET''POST'));
  9629.                     goto not_fos_user_security_login;
  9630.                 }
  9631.                 return array (  '_controller' => 'FOS\\UserBundle\\Controller\\SecurityController::loginAction',  '_route' => 'fos_user_security_login',);
  9632.             }
  9633.             not_fos_user_security_login:
  9634.             // fos_user_security_check
  9635.             if ('/login_check' === $pathinfo) {
  9636.                 if ('POST' !== $canonicalMethod) {
  9637.                     $allow[] = 'POST';
  9638.                     goto not_fos_user_security_check;
  9639.                 }
  9640.                 return array (  '_controller' => 'FOS\\UserBundle\\Controller\\SecurityController::checkAction',  '_route' => 'fos_user_security_check',);
  9641.             }
  9642.             not_fos_user_security_check:
  9643.         }
  9644.         // fos_user_security_logout
  9645.         if ('/logout' === $pathinfo) {
  9646.             if ('GET' !== $canonicalMethod) {
  9647.                 $allow[] = 'GET';
  9648.                 goto not_fos_user_security_logout;
  9649.             }
  9650.             return array (  '_controller' => 'FOS\\UserBundle\\Controller\\SecurityController::logoutAction',  '_route' => 'fos_user_security_logout',);
  9651.         }
  9652.         not_fos_user_security_logout:
  9653.         if (=== strpos($pathinfo'/re')) {
  9654.             // fos_user_security_twig_render_login
  9655.             if ('/renderLoginView' === $pathinfo) {
  9656.                 if (!in_array($canonicalMethod, array('GET''POST'))) {
  9657.                     $allow array_merge($allow, array('GET''POST'));
  9658.                     goto not_fos_user_security_twig_render_login;
  9659.                 }
  9660.                 return array (  '_controller' => 'FOS\\UserBundle\\Controller\\SecurityController::twigRenderLoginAction',  '_route' => 'fos_user_security_twig_render_login',);
  9661.             }
  9662.             not_fos_user_security_twig_render_login:
  9663.             if (=== strpos($pathinfo'/register')) {
  9664.                 // fos_user_registration_register
  9665.                 if ('/register' === $trimmedPathinfo) {
  9666.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  9667.                         $allow array_merge($allow, array('GET''POST'));
  9668.                         goto not_fos_user_registration_register;
  9669.                     }
  9670.                     if (substr($pathinfo, -1) !== '/') {
  9671.                         return $this->redirect($rawPathinfo.'/''fos_user_registration_register');
  9672.                     }
  9673.                     return array (  '_controller' => 'FOS\\UserBundle\\Controller\\RegistrationController::registerAction',  '_route' => 'fos_user_registration_register',);
  9674.                 }
  9675.                 not_fos_user_registration_register:
  9676.                 // fos_user_registration_check_email
  9677.                 if ('/register/check-email' === $pathinfo) {
  9678.                     if ('GET' !== $canonicalMethod) {
  9679.                         $allow[] = 'GET';
  9680.                         goto not_fos_user_registration_check_email;
  9681.                     }
  9682.                     return array (  '_controller' => 'FOS\\UserBundle\\Controller\\RegistrationController::checkEmailAction',  '_route' => 'fos_user_registration_check_email',);
  9683.                 }
  9684.                 not_fos_user_registration_check_email:
  9685.                 if (=== strpos($pathinfo'/register/confirm')) {
  9686.                     // fos_user_registration_confirm
  9687.                     if (preg_match('#^/register/confirm/(?P<token>[^/]++)$#s'$pathinfo$matches)) {
  9688.                         if ('GET' !== $canonicalMethod) {
  9689.                             $allow[] = 'GET';
  9690.                             goto not_fos_user_registration_confirm;
  9691.                         }
  9692.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_registration_confirm')), array (  '_controller' => 'FOS\\UserBundle\\Controller\\RegistrationController::confirmAction',));
  9693.                     }
  9694.                     not_fos_user_registration_confirm:
  9695.                     // fos_user_registration_confirmed
  9696.                     if ('/register/confirmed' === $pathinfo) {
  9697.                         if ('GET' !== $canonicalMethod) {
  9698.                             $allow[] = 'GET';
  9699.                             goto not_fos_user_registration_confirmed;
  9700.                         }
  9701.                         return array (  '_controller' => 'FOS\\UserBundle\\Controller\\RegistrationController::confirmedAction',  '_route' => 'fos_user_registration_confirmed',);
  9702.                     }
  9703.                     not_fos_user_registration_confirmed:
  9704.                 }
  9705.             }
  9706.             elseif (=== strpos($pathinfo'/resetting')) {
  9707.                 // fos_user_resetting_request
  9708.                 if ('/resetting/request' === $pathinfo) {
  9709.                     if ('GET' !== $canonicalMethod) {
  9710.                         $allow[] = 'GET';
  9711.                         goto not_fos_user_resetting_request;
  9712.                     }
  9713.                     return array (  '_controller' => 'UserBundle\\Controller\\ResettingController::requestAction',  '_route' => 'fos_user_resetting_request',);
  9714.                 }
  9715.                 not_fos_user_resetting_request:
  9716.                 // fos_user_resetting_reset
  9717.                 if (=== strpos($pathinfo'/resetting/reset') && preg_match('#^/resetting/reset/(?P<token>[^/]++)$#s'$pathinfo$matches)) {
  9718.                     if (!in_array($canonicalMethod, array('GET''POST'))) {
  9719.                         $allow array_merge($allow, array('GET''POST'));
  9720.                         goto not_fos_user_resetting_reset;
  9721.                     }
  9722.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_resetting_reset')), array (  '_controller' => 'UserBundle\\Controller\\ResettingController::resetAction',));
  9723.                 }
  9724.                 not_fos_user_resetting_reset:
  9725.                 // fos_user_resetting_send_email
  9726.                 if ('/resetting/send-email' === $pathinfo) {
  9727.                     if ('POST' !== $canonicalMethod) {
  9728.                         $allow[] = 'POST';
  9729.                         goto not_fos_user_resetting_send_email;
  9730.                     }
  9731.                     return array (  '_controller' => 'UserBundle\\Controller\\ResettingController::sendEmailAction',  '_route' => 'fos_user_resetting_send_email',);
  9732.                 }
  9733.                 not_fos_user_resetting_send_email:
  9734.                 // fos_user_resetting_check_email
  9735.                 if ('/resetting/check-email' === $pathinfo) {
  9736.                     if ('GET' !== $canonicalMethod) {
  9737.                         $allow[] = 'GET';
  9738.                         goto not_fos_user_resetting_check_email;
  9739.                     }
  9740.                     return array (  '_controller' => 'UserBundle\\Controller\\ResettingController::checkEmailAction',  '_route' => 'fos_user_resetting_check_email',);
  9741.                 }
  9742.                 not_fos_user_resetting_check_email:
  9743.             }
  9744.         }
  9745.         elseif (=== strpos($pathinfo'/tache')) {
  9746.             // tache_index
  9747.             if ('/tache' === $trimmedPathinfo) {
  9748.                 if ('GET' !== $canonicalMethod) {
  9749.                     $allow[] = 'GET';
  9750.                     goto not_tache_index;
  9751.                 }
  9752.                 if (substr($pathinfo, -1) !== '/') {
  9753.                     return $this->redirect($rawPathinfo.'/''tache_index');
  9754.                 }
  9755.                 return array (  '_controller' => 'UserBundle\\Controller\\TacheController::indexAction',  '_route' => 'tache_index',);
  9756.             }
  9757.             not_tache_index:
  9758.             // tache_show
  9759.             if (preg_match('#^/tache/(?P<id>[^/]++)/show$#s'$pathinfo$matches)) {
  9760.                 if ('GET' !== $canonicalMethod) {
  9761.                     $allow[] = 'GET';
  9762.                     goto not_tache_show;
  9763.                 }
  9764.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'tache_show')), array (  '_controller' => 'UserBundle\\Controller\\TacheController::showAction',));
  9765.             }
  9766.             not_tache_show:
  9767.             // user_tache_new
  9768.             if ('/tache/new' === $pathinfo) {
  9769.                 if (!in_array($canonicalMethod, array('GET''POST'))) {
  9770.                     $allow array_merge($allow, array('GET''POST'));
  9771.                     goto not_user_tache_new;
  9772.                 }
  9773.                 return array (  '_controller' => 'UserBundle\\Controller\\TacheController::newAction',  '_route' => 'user_tache_new',);
  9774.             }
  9775.             not_user_tache_new:
  9776.             // user_tache_edit
  9777.             if (preg_match('#^/tache/(?P<id>[^/]++)/edit$#s'$pathinfo$matches)) {
  9778.                 if (!in_array($canonicalMethod, array('GET''POST'))) {
  9779.                     $allow array_merge($allow, array('GET''POST'));
  9780.                     goto not_user_tache_edit;
  9781.                 }
  9782.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_tache_edit')), array (  '_controller' => 'UserBundle\\Controller\\TacheController::editAction',));
  9783.             }
  9784.             not_user_tache_edit:
  9785.             // tache_delete
  9786.             if (preg_match('#^/tache/(?P<id>[^/]++)/delete$#s'$pathinfo$matches)) {
  9787.                 if ('DELETE' !== $canonicalMethod) {
  9788.                     $allow[] = 'DELETE';
  9789.                     goto not_tache_delete;
  9790.                 }
  9791.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'tache_delete')), array (  '_controller' => 'UserBundle\\Controller\\TacheController::deleteAction',));
  9792.             }
  9793.             not_tache_delete:
  9794.         }
  9795.         // app_home
  9796.         if ('' === $trimmedPathinfo) {
  9797.             if (substr($pathinfo, -1) !== '/') {
  9798.                 return $this->redirect($rawPathinfo.'/''app_home');
  9799.             }
  9800.             return array (  '_controller' => 'ConfigBundle\\Controller\\BanqueController::indexAction',  '_route' => 'app_home',);
  9801.         }
  9802.         // fos_js_routing_js
  9803.         if (=== strpos($pathinfo'/js/routing') && preg_match('#^/js/routing(?:\\.(?P<_format>js|json))?$#s'$pathinfo$matches)) {
  9804.             if ('GET' !== $canonicalMethod) {
  9805.                 $allow[] = 'GET';
  9806.                 goto not_fos_js_routing_js;
  9807.             }
  9808.             return $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_js_routing_js')), array (  '_controller' => 'fos_js_routing.controller:indexAction',  '_format' => 'js',));
  9809.         }
  9810.         not_fos_js_routing_js:
  9811.         throw count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
  9812.     }
  9813. }