var/cache/dev/appDevDebugProjectContainerUrlMatcher.php line 2184

Open in your IDE?
  1. <?php
  2. use Symfony\Component\Routing\Exception\MethodNotAllowedException;
  3. use Symfony\Component\Routing\Exception\ResourceNotFoundException;
  4. use Symfony\Component\Routing\RequestContext;
  5. /**
  6.  * This class has been auto-generated
  7.  * by the Symfony Routing Component.
  8.  */
  9. class appDevDebugProjectContainerUrlMatcher extends Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher
  10. {
  11.     public function __construct(RequestContext $context)
  12.     {
  13.         $this->context $context;
  14.     }
  15.     public function match($rawPathinfo)
  16.     {
  17.         $allow = [];
  18.         $pathinfo rawurldecode($rawPathinfo);
  19.         $trimmedPathinfo rtrim($pathinfo'/');
  20.         $context $this->context;
  21.         $request $this->request ?: $this->createRequest($pathinfo);
  22.         $requestMethod $canonicalMethod $context->getMethod();
  23.         if ('HEAD' === $requestMethod) {
  24.             $canonicalMethod 'GET';
  25.         }
  26.         if (=== strpos($pathinfo'/_')) {
  27.             // _wdt
  28.             if (=== strpos($pathinfo'/_wdt') && preg_match('#^/_wdt/(?P<token>[^/]++)$#sD'$pathinfo$matches)) {
  29.                 return $this->mergeDefaults(array_replace($matches, ['_route' => '_wdt']), array (  '_controller' => 'web_profiler.controller.profiler:toolbarAction',));
  30.             }
  31.             if (=== strpos($pathinfo'/_profiler')) {
  32.                 // _profiler_home
  33.                 if ('/_profiler' === $trimmedPathinfo) {
  34.                     $ret = array (  '_controller' => 'web_profiler.controller.profiler:homeAction',  '_route' => '_profiler_home',);
  35.                     if ('/' === substr($pathinfo, -1)) {
  36.                         // no-op
  37.                     } elseif ('GET' !== $canonicalMethod) {
  38.                         goto not__profiler_home;
  39.                     } else {
  40.                         return array_replace($ret$this->redirect($rawPathinfo.'/''_profiler_home'));
  41.                     }
  42.                     return $ret;
  43.                 }
  44.                 not__profiler_home:
  45.                 if (=== strpos($pathinfo'/_profiler/search')) {
  46.                     // _profiler_search
  47.                     if ('/_profiler/search' === $pathinfo) {
  48.                         return array (  '_controller' => 'web_profiler.controller.profiler:searchAction',  '_route' => '_profiler_search',);
  49.                     }
  50.                     // _profiler_search_bar
  51.                     if ('/_profiler/search_bar' === $pathinfo) {
  52.                         return array (  '_controller' => 'web_profiler.controller.profiler:searchBarAction',  '_route' => '_profiler_search_bar',);
  53.                     }
  54.                 }
  55.                 // _profiler_phpinfo
  56.                 if ('/_profiler/phpinfo' === $pathinfo) {
  57.                     return array (  '_controller' => 'web_profiler.controller.profiler:phpinfoAction',  '_route' => '_profiler_phpinfo',);
  58.                 }
  59.                 // _profiler_search_results
  60.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/search/results$#sD'$pathinfo$matches)) {
  61.                     return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_search_results']), array (  '_controller' => 'web_profiler.controller.profiler:searchResultsAction',));
  62.                 }
  63.                 // _profiler_open_file
  64.                 if ('/_profiler/open' === $pathinfo) {
  65.                     return array (  '_controller' => 'web_profiler.controller.profiler:openAction',  '_route' => '_profiler_open_file',);
  66.                 }
  67.                 // _profiler
  68.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)$#sD'$pathinfo$matches)) {
  69.                     return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler']), array (  '_controller' => 'web_profiler.controller.profiler:panelAction',));
  70.                 }
  71.                 // _profiler_router
  72.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/router$#sD'$pathinfo$matches)) {
  73.                     return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_router']), array (  '_controller' => 'web_profiler.controller.router:panelAction',));
  74.                 }
  75.                 // _profiler_exception
  76.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception$#sD'$pathinfo$matches)) {
  77.                     return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_exception']), array (  '_controller' => 'web_profiler.controller.exception:showAction',));
  78.                 }
  79.                 // _profiler_exception_css
  80.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception\\.css$#sD'$pathinfo$matches)) {
  81.                     return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_exception_css']), array (  '_controller' => 'web_profiler.controller.exception:cssAction',));
  82.                 }
  83.             }
  84.             // _twig_error_test
  85.             if (=== strpos($pathinfo'/_error') && preg_match('#^/_error/(?P<code>\\d+)(?:\\.(?P<_format>[^/]++))?$#sD'$pathinfo$matches)) {
  86.                 return $this->mergeDefaults(array_replace($matches, ['_route' => '_twig_error_test']), array (  '_controller' => 'twig.controller.preview_error:previewErrorPageAction',  '_format' => 'html',));
  87.             }
  88.         }
  89.         // fr__RG__post_contact
  90.         if ('/contacteus' === $pathinfo) {
  91.             return array (  '_controller' => 'ContactBundle\\Controller\\ContactControllerController::contacteus',  '_locale' => 'fr',  '_route' => 'fr__RG__post_contact',);
  92.         }
  93.         if (=== strpos($pathinfo'/a')) {
  94.             if (=== strpos($pathinfo'/ar')) {
  95.                 // ar__RG__post_contact
  96.                 if ('/ar/contacteus' === $pathinfo) {
  97.                     return array (  '_controller' => 'ContactBundle\\Controller\\ContactControllerController::contacteus',  '_locale' => 'ar',  '_route' => 'ar__RG__post_contact',);
  98.                 }
  99.                 if (=== strpos($pathinfo'/ar/index')) {
  100.                     // ar__RG__marocdatte
  101.                     if ('/ar/index/marocdatte' === $pathinfo) {
  102.                         return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::marocdatteAction',  '_locale' => 'ar',  '_route' => 'ar__RG__marocdatte',);
  103.                     }
  104.                     // ar__RG__contratprogram
  105.                     if ('/ar/index/contratprogram' === $pathinfo) {
  106.                         return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::contratprogAction',  '_locale' => 'ar',  '_route' => 'ar__RG__contratprogram',);
  107.                     }
  108.                     if (=== strpos($pathinfo'/ar/index/contactez')) {
  109.                         // ar__RG__contactez
  110.                         if ('/ar/index/contactez' === $pathinfo) {
  111.                             return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::contactezAction',  '_locale' => 'ar',  '_route' => 'ar__RG__contactez',);
  112.                         }
  113.                         // ar__RG__contactezsub
  114.                         if ('/ar/index/contactezsub' === $pathinfo) {
  115.                             return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::contactezsubAction',  '_locale' => 'ar',  '_route' => 'ar__RG__contactezsub',);
  116.                         }
  117.                     }
  118.                     // ar__RG__portail
  119.                     if ('/ar/index' === $trimmedPathinfo) {
  120.                         $ret = array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::indexAction',  '_locale' => 'ar',  '_route' => 'ar__RG__portail',);
  121.                         if ('/' === substr($pathinfo, -1)) {
  122.                             // no-op
  123.                         } elseif ('GET' !== $canonicalMethod) {
  124.                             goto not_ar__RG__portail;
  125.                         } else {
  126.                             return array_replace($ret$this->redirect($rawPathinfo.'/''ar__RG__portail'));
  127.                         }
  128.                         return $ret;
  129.                     }
  130.                     not_ar__RG__portail:
  131.                     // ar__RG__partenaire
  132.                     if ('/ar/index/partenaires' === $pathinfo) {
  133.                         return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::paretenaireAction',  '_locale' => 'ar',  '_route' => 'ar__RG__partenaire',);
  134.                     }
  135.                     if (=== strpos($pathinfo'/ar/index/pr')) {
  136.                         // ar__RG__presentation
  137.                         if ('/ar/index/presentation' === $pathinfo) {
  138.                             return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::presentationAction',  '_locale' => 'ar',  '_route' => 'ar__RG__presentation',);
  139.                         }
  140.                         // ar__RG__prix_marche
  141.                         if ('/ar/index/prix_marche' === $pathinfo) {
  142.                             return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::PrixMarcheAction',  '_locale' => 'ar',  '_route' => 'ar__RG__prix_marche',);
  143.                         }
  144.                         // ar__RG__professionel
  145.                         if ('/ar/index/professionel' === $pathinfo) {
  146.                             return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::ProfessionelAction',  '_locale' => 'ar',  '_route' => 'ar__RG__professionel',);
  147.                         }
  148.                     }
  149.                     // ar__RG__document
  150.                     if ('/ar/index/documents' === $pathinfo) {
  151.                         return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::documentAction',  '_locale' => 'ar',  '_route' => 'ar__RG__document',);
  152.                     }
  153.                     if (=== strpos($pathinfo'/ar/index/actualites')) {
  154.                         // ar__RG__actualite
  155.                         if ('/ar/index/actualites' === $pathinfo) {
  156.                             return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::actualiteAction',  '_locale' => 'ar',  '_route' => 'ar__RG__actualite',);
  157.                         }
  158.                         // ar__RG__detailActualite
  159.                         if (preg_match('#^/ar/index/actualites/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  160.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__detailActualite']), array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::detailActualiteAction',  '_locale' => 'ar',));
  161.                         }
  162.                     }
  163.                     // ar__RG__about
  164.                     if ('/ar/index/about' === $pathinfo) {
  165.                         return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::aboutAction',  '_locale' => 'ar',  '_route' => 'ar__RG__about',);
  166.                     }
  167.                     // ar__RG__bourses
  168.                     if ('/ar/index/bourses' === $pathinfo) {
  169.                         return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::boursesAction',  '_locale' => 'ar',  '_route' => 'ar__RG__bourses',);
  170.                     }
  171.                     // ar__RG__detail_offre
  172.                     if (=== strpos($pathinfo'/ar/index/offres') && preg_match('#^/ar/index/offres/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  173.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__detail_offre']), array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::detailOffreAction',  '_locale' => 'ar',));
  174.                     }
  175.                 }
  176.                 // ar__RG__fournisseur_default_index
  177.                 if ('/ar/h' === $pathinfo) {
  178.                     return array (  '_controller' => 'FournisseurBundle\\Controller\\DefaultController::indexAction',  '_locale' => 'ar',  '_route' => 'ar__RG__fournisseur_default_index',);
  179.                 }
  180.                 if (=== strpos($pathinfo'/ar/offreur')) {
  181.                     // ar__RG__list_offres
  182.                     if ('/ar/offreur/offres' === $pathinfo) {
  183.                         return array (  '_controller' => 'FournisseurBundle\\Controller\\OffreController::indexAction',  '_locale' => 'ar',  '_route' => 'ar__RG__list_offres',);
  184.                     }
  185.                     // ar__RG__ajouter_offre
  186.                     if ('/ar/offreur/ajouter_offre' === $pathinfo) {
  187.                         return array (  '_controller' => 'FournisseurBundle\\Controller\\OffreController::ajouterOffreAction',  '_locale' => 'ar',  '_route' => 'ar__RG__ajouter_offre',);
  188.                     }
  189.                     // ar__RG__edit_offre
  190.                     if (=== strpos($pathinfo'/ar/offreur/modifier_offre') && preg_match('#^/ar/offreur/modifier_offre/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  191.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_offre']), array (  '_controller' => 'FournisseurBundle\\Controller\\OffreController::editAction',  '_locale' => 'ar',));
  192.                     }
  193.                     // ar__RG__supprimer_offre
  194.                     if (=== strpos($pathinfo'/ar/offreur/supprimer_offre') && preg_match('#^/ar/offreur/supprimer_offre/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  195.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_offre']), array (  '_controller' => 'FournisseurBundle\\Controller\\OffreController::removeAction',  '_locale' => 'ar',));
  196.                     }
  197.                     // ar__RG__getByProvinceId
  198.                     if ('/ar/offreur/getbyProvinceid' === $pathinfo) {
  199.                         return array (  '_controller' => 'FournisseurBundle\\Controller\\OffreController::getByProvinceId',  '_locale' => 'ar',  '_route' => 'ar__RG__getByProvinceId',);
  200.                     }
  201.                 }
  202.                 elseif (=== strpos($pathinfo'/ar/acheteur')) {
  203.                     // ar__RG__list_demandes
  204.                     if ('/ar/acheteur/demandes' === $pathinfo) {
  205.                         return array (  '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::indexAction',  '_locale' => 'ar',  '_route' => 'ar__RG__list_demandes',);
  206.                     }
  207.                     // ar__RG__ajouter_demande
  208.                     if ('/ar/acheteur/ajouter_demande' === $pathinfo) {
  209.                         return array (  '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::ajouterDemandeAction',  '_locale' => 'ar',  '_route' => 'ar__RG__ajouter_demande',);
  210.                     }
  211.                     // ar__RG__edit_demande
  212.                     if (=== strpos($pathinfo'/ar/acheteur/modifier_demande') && preg_match('#^/ar/acheteur/modifier_demande/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  213.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_demande']), array (  '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::editAction',  '_locale' => 'ar',));
  214.                     }
  215.                     // ar__RG__supprimer_demande
  216.                     if (=== strpos($pathinfo'/ar/acheteur/supprimer_demande') && preg_match('#^/ar/acheteur/supprimer_demande/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  217.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_demande']), array (  '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::removeAction',  '_locale' => 'ar',));
  218.                     }
  219.                 }
  220.                 elseif (=== strpos($pathinfo'/ar/admin')) {
  221.                     if (=== strpos($pathinfo'/ar/admin/a')) {
  222.                         // ar__RG__list_actualites
  223.                         if ('/ar/admin/actualite' === $pathinfo) {
  224.                             return array (  '_controller' => 'AdminBundle\\Controller\\ActualiteController::indexAction',  '_locale' => 'ar',  '_route' => 'ar__RG__list_actualites',);
  225.                         }
  226.                         // ar__RG__ajouter_actualite
  227.                         if ('/ar/admin/add_actualite' === $pathinfo) {
  228.                             return array (  '_controller' => 'AdminBundle\\Controller\\ActualiteController::addActualite',  '_locale' => 'ar',  '_route' => 'ar__RG__ajouter_actualite',);
  229.                         }
  230.                         if (=== strpos($pathinfo'/ar/admin/ajouter_')) {
  231.                             // ar__RG__ajouter_bourse
  232.                             if ('/ar/admin/ajouter_bourse' === $pathinfo) {
  233.                                 return array (  '_controller' => 'AdminBundle\\Controller\\BourseController::ajouterBourseAction',  '_locale' => 'ar',  '_route' => 'ar__RG__ajouter_bourse',);
  234.                             }
  235.                             // ar__RG__ajouter_categorie
  236.                             if ('/ar/admin/ajouter_categorie' === $pathinfo) {
  237.                                 return array (  '_controller' => 'AdminBundle\\Controller\\CategorieController::ajouterCategorieAction',  '_locale' => 'ar',  '_route' => 'ar__RG__ajouter_categorie',);
  238.                             }
  239.                             // ar__RG__ajouter_commune
  240.                             if ('/ar/admin/ajouter_commune' === $pathinfo) {
  241.                                 return array (  '_controller' => 'AdminBundle\\Controller\\CommuneController::ajouterCommuneAction',  '_locale' => 'ar',  '_route' => 'ar__RG__ajouter_commune',);
  242.                             }
  243.                         }
  244.                     }
  245.                     elseif (=== strpos($pathinfo'/ar/admin/modifier_')) {
  246.                         // ar__RG__edit_actualite
  247.                         if (=== strpos($pathinfo'/ar/admin/modifier_actualite') && preg_match('#^/ar/admin/modifier_actualite/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  248.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_actualite']), array (  '_controller' => 'AdminBundle\\Controller\\ActualiteController::editAction',  '_locale' => 'ar',));
  249.                         }
  250.                         // ar__RG__edit_bourse
  251.                         if (=== strpos($pathinfo'/ar/admin/modifier_bourse') && preg_match('#^/ar/admin/modifier_bourse/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  252.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_bourse']), array (  '_controller' => 'AdminBundle\\Controller\\BourseController::editAction',  '_locale' => 'ar',));
  253.                         }
  254.                         // ar__RG__edit_categorie
  255.                         if (=== strpos($pathinfo'/ar/admin/modifier_categorie') && preg_match('#^/ar/admin/modifier_categorie/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  256.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_categorie']), array (  '_controller' => 'AdminBundle\\Controller\\CategorieController::editAction',  '_locale' => 'ar',));
  257.                         }
  258.                         // ar__RG__edit_commune
  259.                         if (=== strpos($pathinfo'/ar/admin/modifier_commune') && preg_match('#^/ar/admin/modifier_commune/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  260.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_commune']), array (  '_controller' => 'AdminBundle\\Controller\\CommuneController::editAction',  '_locale' => 'ar',));
  261.                         }
  262.                     }
  263.                     elseif (=== strpos($pathinfo'/ar/admin/supprimer_')) {
  264.                         // ar__RG__supprimer_actualite
  265.                         if (=== strpos($pathinfo'/ar/admin/supprimer_actualite') && preg_match('#^/ar/admin/supprimer_actualite/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  266.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_actualite']), array (  '_controller' => 'AdminBundle\\Controller\\ActualiteController::removeAction',  '_locale' => 'ar',));
  267.                         }
  268.                         // ar__RG__supprimer_bourse
  269.                         if (=== strpos($pathinfo'/ar/admin/supprimer_bourse') && preg_match('#^/ar/admin/supprimer_bourse/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  270.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_bourse']), array (  '_controller' => 'AdminBundle\\Controller\\BourseController::removeAction',  '_locale' => 'ar',));
  271.                         }
  272.                         // ar__RG__supprimer_categorie
  273.                         if (=== strpos($pathinfo'/ar/admin/supprimer_categorie') && preg_match('#^/ar/admin/supprimer_categorie/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  274.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_categorie']), array (  '_controller' => 'AdminBundle\\Controller\\CategorieController::removeAction',  '_locale' => 'ar',));
  275.                         }
  276.                         // ar__RG__supprimer_commune
  277.                         if (=== strpos($pathinfo'/ar/admin/supprimer_commune') && preg_match('#^/ar/admin/supprimer_commune/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  278.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_commune']), array (  '_controller' => 'AdminBundle\\Controller\\CommuneController::removeAction',  '_locale' => 'ar',));
  279.                         }
  280.                     }
  281.                     // ar__RG__list_bourses
  282.                     if ('/ar/admin/bourse' === $pathinfo) {
  283.                         return array (  '_controller' => 'AdminBundle\\Controller\\BourseController::indexAction',  '_locale' => 'ar',  '_route' => 'ar__RG__list_bourses',);
  284.                     }
  285.                     // ar__RG__list_categories
  286.                     if ('/ar/admin/categorie' === $pathinfo) {
  287.                         return array (  '_controller' => 'AdminBundle\\Controller\\CategorieController::indexAction',  '_locale' => 'ar',  '_route' => 'ar__RG__list_categories',);
  288.                     }
  289.                     // ar__RG__list_communes
  290.                     if ('/ar/admin/commune' === $pathinfo) {
  291.                         return array (  '_controller' => 'AdminBundle\\Controller\\CommuneController::indexAction',  '_locale' => 'ar',  '_route' => 'ar__RG__list_communes',);
  292.                     }
  293.                 }
  294.                 // ar__RG__homepage
  295.                 if ('/ar' === $trimmedPathinfo) {
  296.                     $ret = array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::indexAction',  '_locale' => 'ar',  '_route' => 'ar__RG__homepage',);
  297.                     if ('/' === substr($pathinfo, -1)) {
  298.                         // no-op
  299.                     } elseif ('GET' !== $canonicalMethod) {
  300.                         goto not_ar__RG__homepage;
  301.                     } else {
  302.                         return array_replace($ret$this->redirect($rawPathinfo.'/''ar__RG__homepage'));
  303.                     }
  304.                     return $ret;
  305.                 }
  306.                 not_ar__RG__homepage:
  307.                 if (=== strpos($pathinfo'/ar/admin')) {
  308.                     if (=== strpos($pathinfo'/ar/admin/a')) {
  309.                         if (=== strpos($pathinfo'/ar/admin/ajouter_')) {
  310.                             // ar__RG__ajouter_user
  311.                             if ('/ar/admin/ajouter_utilisateur' === $pathinfo) {
  312.                                 return array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::ajouterUserAction',  '_locale' => 'ar',  '_route' => 'ar__RG__ajouter_user',);
  313.                             }
  314.                             // ar__RG__ajouter_unite
  315.                             if ('/ar/admin/ajouter_unite' === $pathinfo) {
  316.                                 return array (  '_controller' => 'AdminBundle\\Controller\\UniteController::ajouterUniteAction',  '_locale' => 'ar',  '_route' => 'ar__RG__ajouter_unite',);
  317.                             }
  318.                             // ar__RG__ajouter_operateur
  319.                             if ('/ar/admin/ajouter_operateur' === $pathinfo) {
  320.                                 return array (  '_controller' => 'AdminBundle\\Controller\\OperateurController::ajouterOperateurAction',  '_locale' => 'ar',  '_route' => 'ar__RG__ajouter_operateur',);
  321.                             }
  322.                             // ar__RG__ajouter_professionnel
  323.                             if ('/ar/admin/ajouter_professionnel' === $pathinfo) {
  324.                                 return array (  '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::ajouterProfessionnelAction',  '_locale' => 'ar',  '_route' => 'ar__RG__ajouter_professionnel',);
  325.                             }
  326.                             // ar__RG__ajouter_province
  327.                             if ('/ar/admin/ajouter_province' === $pathinfo) {
  328.                                 return array (  '_controller' => 'AdminBundle\\Controller\\ProvinceController::ajouterProvinceAction',  '_locale' => 'ar',  '_route' => 'ar__RG__ajouter_province',);
  329.                             }
  330.                             // ar__RG__ajouter_souk
  331.                             if ('/ar/admin/ajouter_souk' === $pathinfo) {
  332.                                 return array (  '_controller' => 'AdminBundle\\Controller\\SoukController::ajouterSoukAction',  '_locale' => 'ar',  '_route' => 'ar__RG__ajouter_souk',);
  333.                             }
  334.                             // ar__RG__ajouter_variete
  335.                             if ('/ar/admin/ajouter_variete' === $pathinfo) {
  336.                                 return array (  '_controller' => 'AdminBundle\\Controller\\VarieteController::ajouterVarieteAction',  '_locale' => 'ar',  '_route' => 'ar__RG__ajouter_variete',);
  337.                             }
  338.                         }
  339.                         // ar__RG__activer_user
  340.                         if (=== strpos($pathinfo'/ar/admin/activer_utilisateur') && preg_match('#^/ar/admin/activer_utilisateur/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  341.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__activer_user']), array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::activerUserAction',  '_locale' => 'ar',));
  342.                         }
  343.                         // ar__RG__ajouter_document
  344.                         if ('/ar/admin/add_document' === $pathinfo) {
  345.                             return array (  '_controller' => 'AdminBundle\\Controller\\DocumentController::addDocument',  '_locale' => 'ar',  '_route' => 'ar__RG__ajouter_document',);
  346.                         }
  347.                     }
  348.                     // ar__RG__list_users
  349.                     if ('/ar/admin/liste_utilisateur' === $pathinfo) {
  350.                         return array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::listUserAction',  '_locale' => 'ar',  '_route' => 'ar__RG__list_users',);
  351.                     }
  352.                     if (=== strpos($pathinfo'/ar/admin/supprimer_')) {
  353.                         // ar__RG__remove_user
  354.                         if (=== strpos($pathinfo'/ar/admin/supprimer_utilisateur') && preg_match('#^/ar/admin/supprimer_utilisateur/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  355.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__remove_user']), array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::removeUserAction',  '_locale' => 'ar',));
  356.                         }
  357.                         // ar__RG__supprimer_unite
  358.                         if (=== strpos($pathinfo'/ar/admin/supprimer_unite') && preg_match('#^/ar/admin/supprimer_unite/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  359.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_unite']), array (  '_controller' => 'AdminBundle\\Controller\\UniteController::removeUserAction',  '_locale' => 'ar',));
  360.                         }
  361.                         // ar__RG__admin_supprimer_demande
  362.                         if (=== strpos($pathinfo'/ar/admin/supprimer_demande') && preg_match('#^/ar/admin/supprimer_demande/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  363.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__admin_supprimer_demande']), array (  '_controller' => 'AdminBundle\\Controller\\DemandeController::removeAction',  '_locale' => 'ar',));
  364.                         }
  365.                         // ar__RG__supprimer_document
  366.                         if (=== strpos($pathinfo'/ar/admin/supprimer_document') && preg_match('#^/ar/admin/supprimer_document/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  367.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_document']), array (  '_controller' => 'AdminBundle\\Controller\\DocumentController::removeAction',  '_locale' => 'ar',));
  368.                         }
  369.                         // ar__RG__admin_supprimer_offre
  370.                         if (=== strpos($pathinfo'/ar/admin/supprimer_offre') && preg_match('#^/ar/admin/supprimer_offre/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  371.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__admin_supprimer_offre']), array (  '_controller' => 'AdminBundle\\Controller\\OffreController::removeAction',  '_locale' => 'ar',));
  372.                         }
  373.                         // ar__RG__supprimer_operateur
  374.                         if (=== strpos($pathinfo'/ar/admin/supprimer_operateur') && preg_match('#^/ar/admin/supprimer_operateur/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  375.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_operateur']), array (  '_controller' => 'AdminBundle\\Controller\\OperateurController::removeAction',  '_locale' => 'ar',));
  376.                         }
  377.                         // ar__RG__supprimer_professionnel
  378.                         if (=== strpos($pathinfo'/ar/admin/supprimer_professionnel') && preg_match('#^/ar/admin/supprimer_professionnel/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  379.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_professionnel']), array (  '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::removeAction',  '_locale' => 'ar',));
  380.                         }
  381.                         // ar__RG__supprimer_province
  382.                         if (=== strpos($pathinfo'/ar/admin/supprimer_province') && preg_match('#^/ar/admin/supprimer_province/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  383.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_province']), array (  '_controller' => 'AdminBundle\\Controller\\ProvinceController::removeAction',  '_locale' => 'ar',));
  384.                         }
  385.                         // ar__RG__supprimer_souk
  386.                         if (=== strpos($pathinfo'/ar/admin/supprimer_souk') && preg_match('#^/ar/admin/supprimer_souk/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  387.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_souk']), array (  '_controller' => 'AdminBundle\\Controller\\SoukController::removeUserAction',  '_locale' => 'ar',));
  388.                         }
  389.                         // ar__RG__supprimer_variete
  390.                         if (=== strpos($pathinfo'/ar/admin/supprimer_variete') && preg_match('#^/ar/admin/supprimer_variete/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  391.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_variete']), array (  '_controller' => 'AdminBundle\\Controller\\VarieteController::removeUserAction',  '_locale' => 'ar',));
  392.                         }
  393.                     }
  394.                     // ar__RG__list_souks
  395.                     if ('/ar/admin/souk' === $pathinfo) {
  396.                         return array (  '_controller' => 'AdminBundle\\Controller\\SoukController::indexAction',  '_locale' => 'ar',  '_route' => 'ar__RG__list_souks',);
  397.                     }
  398.                     if (=== strpos($pathinfo'/ar/admin/modifier_')) {
  399.                         // ar__RG__edit_user
  400.                         if (=== strpos($pathinfo'/ar/admin/modifier_utilisateur') && preg_match('#^/ar/admin/modifier_utilisateur/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  401.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_user']), array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::editRegisterAction',  '_locale' => 'ar',));
  402.                         }
  403.                         // ar__RG__edit_unite
  404.                         if (=== strpos($pathinfo'/ar/admin/modifier_unite') && preg_match('#^/ar/admin/modifier_unite/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  405.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_unite']), array (  '_controller' => 'AdminBundle\\Controller\\UniteController::editRegisterAction',  '_locale' => 'ar',));
  406.                         }
  407.                         // ar__RG__admin_edit_demande
  408.                         if (=== strpos($pathinfo'/ar/admin/modifier_demande') && preg_match('#^/ar/admin/modifier_demande/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  409.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__admin_edit_demande']), array (  '_controller' => 'AdminBundle\\Controller\\DemandeController::editAction',  '_locale' => 'ar',));
  410.                         }
  411.                         // ar__RG__edit_document
  412.                         if (=== strpos($pathinfo'/ar/admin/modifier_document') && preg_match('#^/ar/admin/modifier_document/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  413.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_document']), array (  '_controller' => 'AdminBundle\\Controller\\DocumentController::editAction',  '_locale' => 'ar',));
  414.                         }
  415.                         // ar__RG__admin_edit_offre
  416.                         if (=== strpos($pathinfo'/ar/admin/modifier_offre') && preg_match('#^/ar/admin/modifier_offre/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  417.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__admin_edit_offre']), array (  '_controller' => 'AdminBundle\\Controller\\OffreController::editAction',  '_locale' => 'ar',));
  418.                         }
  419.                         // ar__RG__edit_operateur
  420.                         if (=== strpos($pathinfo'/ar/admin/modifier_operateur') && preg_match('#^/ar/admin/modifier_operateur/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  421.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_operateur']), array (  '_controller' => 'AdminBundle\\Controller\\OperateurController::editAction',  '_locale' => 'ar',));
  422.                         }
  423.                         // ar__RG__edit_professionnel
  424.                         if (=== strpos($pathinfo'/ar/admin/modifier_professionnel') && preg_match('#^/ar/admin/modifier_professionnel/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  425.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_professionnel']), array (  '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::editAction',  '_locale' => 'ar',));
  426.                         }
  427.                         // ar__RG__edit_province
  428.                         if (=== strpos($pathinfo'/ar/admin/modifier_province') && preg_match('#^/ar/admin/modifier_province/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  429.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_province']), array (  '_controller' => 'AdminBundle\\Controller\\ProvinceController::editAction',  '_locale' => 'ar',));
  430.                         }
  431.                         // ar__RG__edit_souk
  432.                         if (=== strpos($pathinfo'/ar/admin/modifier_souk') && preg_match('#^/ar/admin/modifier_souk/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  433.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_souk']), array (  '_controller' => 'AdminBundle\\Controller\\SoukController::editRegisterAction',  '_locale' => 'ar',));
  434.                         }
  435.                         // ar__RG__edit_variete
  436.                         if (=== strpos($pathinfo'/ar/admin/modifier_variete') && preg_match('#^/ar/admin/modifier_variete/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  437.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_variete']), array (  '_controller' => 'AdminBundle\\Controller\\VarieteController::editRegisterAction',  '_locale' => 'ar',));
  438.                         }
  439.                     }
  440.                     // ar__RG__blocker_user
  441.                     if (=== strpos($pathinfo'/ar/admin/blocker_utilisateur') && preg_match('#^/ar/admin/blocker_utilisateur/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  442.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__blocker_user']), array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::blockerUserAction',  '_locale' => 'ar',));
  443.                     }
  444.                     // ar__RG__trace
  445.                     if ('/ar/admin/trace' === $pathinfo) {
  446.                         return array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::traceAction',  '_locale' => 'ar',  '_route' => 'ar__RG__trace',);
  447.                     }
  448.                     // ar__RG__admin_demandes
  449.                     if ('/ar/admin/demandes' === $pathinfo) {
  450.                         return array (  '_controller' => 'AdminBundle\\Controller\\DemandeController::indexAction',  '_locale' => 'ar',  '_route' => 'ar__RG__admin_demandes',);
  451.                     }
  452.                     // ar__RG__list_documents
  453.                     if ('/ar/admin/document' === $pathinfo) {
  454.                         return array (  '_controller' => 'AdminBundle\\Controller\\DocumentController::indexAction',  '_locale' => 'ar',  '_route' => 'ar__RG__list_documents',);
  455.                     }
  456.                     // ar__RG__admin_offres
  457.                     if ('/ar/admin/offres' === $pathinfo) {
  458.                         return array (  '_controller' => 'AdminBundle\\Controller\\OffreController::indexAction',  '_locale' => 'ar',  '_route' => 'ar__RG__admin_offres',);
  459.                     }
  460.                     // ar__RG__list_operateurs
  461.                     if ('/ar/admin/operateur' === $pathinfo) {
  462.                         return array (  '_controller' => 'AdminBundle\\Controller\\OperateurController::indexAction',  '_locale' => 'ar',  '_route' => 'ar__RG__list_operateurs',);
  463.                     }
  464.                     // ar__RG__list_professionnels
  465.                     if ('/ar/admin/professionnel' === $pathinfo) {
  466.                         return array (  '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::indexAction',  '_locale' => 'ar',  '_route' => 'ar__RG__list_professionnels',);
  467.                     }
  468.                     // ar__RG__list_provinces
  469.                     if ('/ar/admin/province' === $pathinfo) {
  470.                         return array (  '_controller' => 'AdminBundle\\Controller\\ProvinceController::indexAction',  '_locale' => 'ar',  '_route' => 'ar__RG__list_provinces',);
  471.                     }
  472.                     // ar__RG__list_unites
  473.                     if ('/ar/admin/unite' === $pathinfo) {
  474.                         return array (  '_controller' => 'AdminBundle\\Controller\\UniteController::indexAction',  '_locale' => 'ar',  '_route' => 'ar__RG__list_unites',);
  475.                     }
  476.                     // ar__RG__list_varietes
  477.                     if ('/ar/admin/variete' === $pathinfo) {
  478.                         return array (  '_controller' => 'AdminBundle\\Controller\\VarieteController::indexAction',  '_locale' => 'ar',  '_route' => 'ar__RG__list_varietes',);
  479.                     }
  480.                 }
  481.                 // ar__RG__api_login_check
  482.                 if ('/ar/api/login_check' === $pathinfo) {
  483.                     return array (  '_locale' => 'ar',  '_route' => 'ar__RG__api_login_check',);
  484.                 }
  485.                 if (=== strpos($pathinfo'/ar/login')) {
  486.                     // ar__RG__fos_user_security_login
  487.                     if ('/ar/login' === $pathinfo) {
  488.                         $ret = array (  '_controller' => 'fos_user.security.controller:loginAction',  '_locale' => 'ar',  '_route' => 'ar__RG__fos_user_security_login',);
  489.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  490.                             $allow array_merge($allow, ['GET''POST']);
  491.                             goto not_ar__RG__fos_user_security_login;
  492.                         }
  493.                         return $ret;
  494.                     }
  495.                     not_ar__RG__fos_user_security_login:
  496.                     // ar__RG__fos_user_security_check
  497.                     if ('/ar/login_check' === $pathinfo) {
  498.                         $ret = array (  '_controller' => 'fos_user.security.controller:checkAction',  '_locale' => 'ar',  '_route' => 'ar__RG__fos_user_security_check',);
  499.                         if (!in_array($requestMethod, ['POST'])) {
  500.                             $allow array_merge($allow, ['POST']);
  501.                             goto not_ar__RG__fos_user_security_check;
  502.                         }
  503.                         return $ret;
  504.                     }
  505.                     not_ar__RG__fos_user_security_check:
  506.                 }
  507.                 // ar__RG__fos_user_security_logout
  508.                 if ('/ar/logout' === $pathinfo) {
  509.                     $ret = array (  '_controller' => 'fos_user.security.controller:logoutAction',  '_locale' => 'ar',  '_route' => 'ar__RG__fos_user_security_logout',);
  510.                     if (!in_array($canonicalMethod, ['GET''POST'])) {
  511.                         $allow array_merge($allow, ['GET''POST']);
  512.                         goto not_ar__RG__fos_user_security_logout;
  513.                     }
  514.                     return $ret;
  515.                 }
  516.                 not_ar__RG__fos_user_security_logout:
  517.                 if (=== strpos($pathinfo'/ar/profile')) {
  518.                     // ar__RG__fos_user_profile_show
  519.                     if ('/ar/profile' === $trimmedPathinfo) {
  520.                         $ret = array (  '_controller' => 'fos_user.profile.controller:showAction',  '_locale' => 'ar',  '_route' => 'ar__RG__fos_user_profile_show',);
  521.                         if ('/' === substr($pathinfo, -1)) {
  522.                             // no-op
  523.                         } elseif ('GET' !== $canonicalMethod) {
  524.                             goto not_ar__RG__fos_user_profile_show;
  525.                         } else {
  526.                             return array_replace($ret$this->redirect($rawPathinfo.'/''ar__RG__fos_user_profile_show'));
  527.                         }
  528.                         if (!in_array($canonicalMethod, ['GET'])) {
  529.                             $allow array_merge($allow, ['GET']);
  530.                             goto not_ar__RG__fos_user_profile_show;
  531.                         }
  532.                         return $ret;
  533.                     }
  534.                     not_ar__RG__fos_user_profile_show:
  535.                     // ar__RG__fos_user_profile_edit
  536.                     if ('/ar/profile/edit' === $pathinfo) {
  537.                         $ret = array (  '_controller' => 'fos_user.profile.controller:editAction',  '_locale' => 'ar',  '_route' => 'ar__RG__fos_user_profile_edit',);
  538.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  539.                             $allow array_merge($allow, ['GET''POST']);
  540.                             goto not_ar__RG__fos_user_profile_edit;
  541.                         }
  542.                         return $ret;
  543.                     }
  544.                     not_ar__RG__fos_user_profile_edit:
  545.                     // ar__RG__fos_user_change_password
  546.                     if ('/ar/profile/change-password' === $pathinfo) {
  547.                         $ret = array (  '_controller' => 'fos_user.change_password.controller:changePasswordAction',  '_locale' => 'ar',  '_route' => 'ar__RG__fos_user_change_password',);
  548.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  549.                             $allow array_merge($allow, ['GET''POST']);
  550.                             goto not_ar__RG__fos_user_change_password;
  551.                         }
  552.                         return $ret;
  553.                     }
  554.                     not_ar__RG__fos_user_change_password:
  555.                 }
  556.                 elseif (=== strpos($pathinfo'/ar/register')) {
  557.                     // ar__RG__fos_user_registration_register
  558.                     if ('/ar/register' === $trimmedPathinfo) {
  559.                         $ret = array (  '_controller' => 'fos_user.registration.controller:registerAction',  '_locale' => 'ar',  '_route' => 'ar__RG__fos_user_registration_register',);
  560.                         if ('/' === substr($pathinfo, -1)) {
  561.                             // no-op
  562.                         } elseif ('GET' !== $canonicalMethod) {
  563.                             goto not_ar__RG__fos_user_registration_register;
  564.                         } else {
  565.                             return array_replace($ret$this->redirect($rawPathinfo.'/''ar__RG__fos_user_registration_register'));
  566.                         }
  567.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  568.                             $allow array_merge($allow, ['GET''POST']);
  569.                             goto not_ar__RG__fos_user_registration_register;
  570.                         }
  571.                         return $ret;
  572.                     }
  573.                     not_ar__RG__fos_user_registration_register:
  574.                     // ar__RG__fos_user_registration_check_email
  575.                     if ('/ar/register/check-email' === $pathinfo) {
  576.                         $ret = array (  '_controller' => 'fos_user.registration.controller:checkEmailAction',  '_locale' => 'ar',  '_route' => 'ar__RG__fos_user_registration_check_email',);
  577.                         if (!in_array($canonicalMethod, ['GET'])) {
  578.                             $allow array_merge($allow, ['GET']);
  579.                             goto not_ar__RG__fos_user_registration_check_email;
  580.                         }
  581.                         return $ret;
  582.                     }
  583.                     not_ar__RG__fos_user_registration_check_email:
  584.                     if (=== strpos($pathinfo'/ar/register/confirm')) {
  585.                         // ar__RG__fos_user_registration_confirm
  586.                         if (preg_match('#^/ar/register/confirm/(?P<token>[^/]++)$#sD'$pathinfo$matches)) {
  587.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__fos_user_registration_confirm']), array (  '_controller' => 'fos_user.registration.controller:confirmAction',  '_locale' => 'ar',));
  588.                             if (!in_array($canonicalMethod, ['GET'])) {
  589.                                 $allow array_merge($allow, ['GET']);
  590.                                 goto not_ar__RG__fos_user_registration_confirm;
  591.                             }
  592.                             return $ret;
  593.                         }
  594.                         not_ar__RG__fos_user_registration_confirm:
  595.                         // ar__RG__fos_user_registration_confirmed
  596.                         if ('/ar/register/confirmed' === $pathinfo) {
  597.                             $ret = array (  '_controller' => 'fos_user.registration.controller:confirmedAction',  '_locale' => 'ar',  '_route' => 'ar__RG__fos_user_registration_confirmed',);
  598.                             if (!in_array($canonicalMethod, ['GET'])) {
  599.                                 $allow array_merge($allow, ['GET']);
  600.                                 goto not_ar__RG__fos_user_registration_confirmed;
  601.                             }
  602.                             return $ret;
  603.                         }
  604.                         not_ar__RG__fos_user_registration_confirmed:
  605.                     }
  606.                 }
  607.                 elseif (=== strpos($pathinfo'/ar/resetting')) {
  608.                     // ar__RG__fos_user_resetting_request
  609.                     if ('/ar/resetting/request' === $pathinfo) {
  610.                         $ret = array (  '_controller' => 'fos_user.resetting.controller:requestAction',  '_locale' => 'ar',  '_route' => 'ar__RG__fos_user_resetting_request',);
  611.                         if (!in_array($canonicalMethod, ['GET'])) {
  612.                             $allow array_merge($allow, ['GET']);
  613.                             goto not_ar__RG__fos_user_resetting_request;
  614.                         }
  615.                         return $ret;
  616.                     }
  617.                     not_ar__RG__fos_user_resetting_request:
  618.                     // ar__RG__fos_user_resetting_reset
  619.                     if (=== strpos($pathinfo'/ar/resetting/reset') && preg_match('#^/ar/resetting/reset/(?P<token>[^/]++)$#sD'$pathinfo$matches)) {
  620.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__fos_user_resetting_reset']), array (  '_controller' => 'fos_user.resetting.controller:resetAction',  '_locale' => 'ar',));
  621.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  622.                             $allow array_merge($allow, ['GET''POST']);
  623.                             goto not_ar__RG__fos_user_resetting_reset;
  624.                         }
  625.                         return $ret;
  626.                     }
  627.                     not_ar__RG__fos_user_resetting_reset:
  628.                     // ar__RG__fos_user_resetting_send_email
  629.                     if ('/ar/resetting/send-email' === $pathinfo) {
  630.                         $ret = array (  '_controller' => 'fos_user.resetting.controller:sendEmailAction',  '_locale' => 'ar',  '_route' => 'ar__RG__fos_user_resetting_send_email',);
  631.                         if (!in_array($requestMethod, ['POST'])) {
  632.                             $allow array_merge($allow, ['POST']);
  633.                             goto not_ar__RG__fos_user_resetting_send_email;
  634.                         }
  635.                         return $ret;
  636.                     }
  637.                     not_ar__RG__fos_user_resetting_send_email:
  638.                     // ar__RG__fos_user_resetting_check_email
  639.                     if ('/ar/resetting/check-email' === $pathinfo) {
  640.                         $ret = array (  '_controller' => 'fos_user.resetting.controller:checkEmailAction',  '_locale' => 'ar',  '_route' => 'ar__RG__fos_user_resetting_check_email',);
  641.                         if (!in_array($canonicalMethod, ['GET'])) {
  642.                             $allow array_merge($allow, ['GET']);
  643.                             goto not_ar__RG__fos_user_resetting_check_email;
  644.                         }
  645.                         return $ret;
  646.                     }
  647.                     not_ar__RG__fos_user_resetting_check_email:
  648.                 }
  649.             }
  650.             elseif (=== strpos($pathinfo'/acheteur')) {
  651.                 // fr__RG__list_demandes
  652.                 if ('/acheteur/demandes' === $pathinfo) {
  653.                     return array (  '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::indexAction',  '_locale' => 'fr',  '_route' => 'fr__RG__list_demandes',);
  654.                 }
  655.                 // fr__RG__ajouter_demande
  656.                 if ('/acheteur/ajouter_demande' === $pathinfo) {
  657.                     return array (  '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::ajouterDemandeAction',  '_locale' => 'fr',  '_route' => 'fr__RG__ajouter_demande',);
  658.                 }
  659.                 // fr__RG__edit_demande
  660.                 if (=== strpos($pathinfo'/acheteur/modifier_demande') && preg_match('#^/acheteur/modifier_demande/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  661.                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_demande']), array (  '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::editAction',  '_locale' => 'fr',));
  662.                 }
  663.                 // fr__RG__supprimer_demande
  664.                 if (=== strpos($pathinfo'/acheteur/supprimer_demande') && preg_match('#^/acheteur/supprimer_demande/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  665.                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_demande']), array (  '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::removeAction',  '_locale' => 'fr',));
  666.                 }
  667.             }
  668.             elseif (=== strpos($pathinfo'/admin')) {
  669.                 if (=== strpos($pathinfo'/admin/a')) {
  670.                     // fr__RG__list_actualites
  671.                     if ('/admin/actualite' === $pathinfo) {
  672.                         return array (  '_controller' => 'AdminBundle\\Controller\\ActualiteController::indexAction',  '_locale' => 'fr',  '_route' => 'fr__RG__list_actualites',);
  673.                     }
  674.                     // fr__RG__activer_user
  675.                     if (=== strpos($pathinfo'/admin/activer_utilisateur') && preg_match('#^/admin/activer_utilisateur/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  676.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__activer_user']), array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::activerUserAction',  '_locale' => 'fr',));
  677.                     }
  678.                     // fr__RG__ajouter_actualite
  679.                     if ('/admin/add_actualite' === $pathinfo) {
  680.                         return array (  '_controller' => 'AdminBundle\\Controller\\ActualiteController::addActualite',  '_locale' => 'fr',  '_route' => 'fr__RG__ajouter_actualite',);
  681.                     }
  682.                     // fr__RG__ajouter_document
  683.                     if ('/admin/add_document' === $pathinfo) {
  684.                         return array (  '_controller' => 'AdminBundle\\Controller\\DocumentController::addDocument',  '_locale' => 'fr',  '_route' => 'fr__RG__ajouter_document',);
  685.                     }
  686.                     if (=== strpos($pathinfo'/admin/ajouter_')) {
  687.                         // fr__RG__ajouter_bourse
  688.                         if ('/admin/ajouter_bourse' === $pathinfo) {
  689.                             return array (  '_controller' => 'AdminBundle\\Controller\\BourseController::ajouterBourseAction',  '_locale' => 'fr',  '_route' => 'fr__RG__ajouter_bourse',);
  690.                         }
  691.                         // fr__RG__ajouter_categorie
  692.                         if ('/admin/ajouter_categorie' === $pathinfo) {
  693.                             return array (  '_controller' => 'AdminBundle\\Controller\\CategorieController::ajouterCategorieAction',  '_locale' => 'fr',  '_route' => 'fr__RG__ajouter_categorie',);
  694.                         }
  695.                         // fr__RG__ajouter_commune
  696.                         if ('/admin/ajouter_commune' === $pathinfo) {
  697.                             return array (  '_controller' => 'AdminBundle\\Controller\\CommuneController::ajouterCommuneAction',  '_locale' => 'fr',  '_route' => 'fr__RG__ajouter_commune',);
  698.                         }
  699.                         // fr__RG__ajouter_user
  700.                         if ('/admin/ajouter_utilisateur' === $pathinfo) {
  701.                             return array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::ajouterUserAction',  '_locale' => 'fr',  '_route' => 'fr__RG__ajouter_user',);
  702.                         }
  703.                         // fr__RG__ajouter_unite
  704.                         if ('/admin/ajouter_unite' === $pathinfo) {
  705.                             return array (  '_controller' => 'AdminBundle\\Controller\\UniteController::ajouterUniteAction',  '_locale' => 'fr',  '_route' => 'fr__RG__ajouter_unite',);
  706.                         }
  707.                         // fr__RG__ajouter_operateur
  708.                         if ('/admin/ajouter_operateur' === $pathinfo) {
  709.                             return array (  '_controller' => 'AdminBundle\\Controller\\OperateurController::ajouterOperateurAction',  '_locale' => 'fr',  '_route' => 'fr__RG__ajouter_operateur',);
  710.                         }
  711.                         // fr__RG__ajouter_professionnel
  712.                         if ('/admin/ajouter_professionnel' === $pathinfo) {
  713.                             return array (  '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::ajouterProfessionnelAction',  '_locale' => 'fr',  '_route' => 'fr__RG__ajouter_professionnel',);
  714.                         }
  715.                         // fr__RG__ajouter_province
  716.                         if ('/admin/ajouter_province' === $pathinfo) {
  717.                             return array (  '_controller' => 'AdminBundle\\Controller\\ProvinceController::ajouterProvinceAction',  '_locale' => 'fr',  '_route' => 'fr__RG__ajouter_province',);
  718.                         }
  719.                         // fr__RG__ajouter_souk
  720.                         if ('/admin/ajouter_souk' === $pathinfo) {
  721.                             return array (  '_controller' => 'AdminBundle\\Controller\\SoukController::ajouterSoukAction',  '_locale' => 'fr',  '_route' => 'fr__RG__ajouter_souk',);
  722.                         }
  723.                         // fr__RG__ajouter_variete
  724.                         if ('/admin/ajouter_variete' === $pathinfo) {
  725.                             return array (  '_controller' => 'AdminBundle\\Controller\\VarieteController::ajouterVarieteAction',  '_locale' => 'fr',  '_route' => 'fr__RG__ajouter_variete',);
  726.                         }
  727.                     }
  728.                 }
  729.                 elseif (=== strpos($pathinfo'/admin/modifier_')) {
  730.                     // fr__RG__edit_actualite
  731.                     if (=== strpos($pathinfo'/admin/modifier_actualite') && preg_match('#^/admin/modifier_actualite/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  732.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_actualite']), array (  '_controller' => 'AdminBundle\\Controller\\ActualiteController::editAction',  '_locale' => 'fr',));
  733.                     }
  734.                     // fr__RG__edit_bourse
  735.                     if (=== strpos($pathinfo'/admin/modifier_bourse') && preg_match('#^/admin/modifier_bourse/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  736.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_bourse']), array (  '_controller' => 'AdminBundle\\Controller\\BourseController::editAction',  '_locale' => 'fr',));
  737.                     }
  738.                     // fr__RG__edit_categorie
  739.                     if (=== strpos($pathinfo'/admin/modifier_categorie') && preg_match('#^/admin/modifier_categorie/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  740.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_categorie']), array (  '_controller' => 'AdminBundle\\Controller\\CategorieController::editAction',  '_locale' => 'fr',));
  741.                     }
  742.                     // fr__RG__edit_commune
  743.                     if (=== strpos($pathinfo'/admin/modifier_commune') && preg_match('#^/admin/modifier_commune/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  744.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_commune']), array (  '_controller' => 'AdminBundle\\Controller\\CommuneController::editAction',  '_locale' => 'fr',));
  745.                     }
  746.                     // fr__RG__edit_user
  747.                     if (=== strpos($pathinfo'/admin/modifier_utilisateur') && preg_match('#^/admin/modifier_utilisateur/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  748.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_user']), array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::editRegisterAction',  '_locale' => 'fr',));
  749.                     }
  750.                     // fr__RG__edit_unite
  751.                     if (=== strpos($pathinfo'/admin/modifier_unite') && preg_match('#^/admin/modifier_unite/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  752.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_unite']), array (  '_controller' => 'AdminBundle\\Controller\\UniteController::editRegisterAction',  '_locale' => 'fr',));
  753.                     }
  754.                     // fr__RG__admin_edit_demande
  755.                     if (=== strpos($pathinfo'/admin/modifier_demande') && preg_match('#^/admin/modifier_demande/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  756.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__admin_edit_demande']), array (  '_controller' => 'AdminBundle\\Controller\\DemandeController::editAction',  '_locale' => 'fr',));
  757.                     }
  758.                     // fr__RG__edit_document
  759.                     if (=== strpos($pathinfo'/admin/modifier_document') && preg_match('#^/admin/modifier_document/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  760.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_document']), array (  '_controller' => 'AdminBundle\\Controller\\DocumentController::editAction',  '_locale' => 'fr',));
  761.                     }
  762.                     // fr__RG__admin_edit_offre
  763.                     if (=== strpos($pathinfo'/admin/modifier_offre') && preg_match('#^/admin/modifier_offre/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  764.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__admin_edit_offre']), array (  '_controller' => 'AdminBundle\\Controller\\OffreController::editAction',  '_locale' => 'fr',));
  765.                     }
  766.                     // fr__RG__edit_operateur
  767.                     if (=== strpos($pathinfo'/admin/modifier_operateur') && preg_match('#^/admin/modifier_operateur/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  768.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_operateur']), array (  '_controller' => 'AdminBundle\\Controller\\OperateurController::editAction',  '_locale' => 'fr',));
  769.                     }
  770.                     // fr__RG__edit_professionnel
  771.                     if (=== strpos($pathinfo'/admin/modifier_professionnel') && preg_match('#^/admin/modifier_professionnel/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  772.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_professionnel']), array (  '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::editAction',  '_locale' => 'fr',));
  773.                     }
  774.                     // fr__RG__edit_province
  775.                     if (=== strpos($pathinfo'/admin/modifier_province') && preg_match('#^/admin/modifier_province/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  776.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_province']), array (  '_controller' => 'AdminBundle\\Controller\\ProvinceController::editAction',  '_locale' => 'fr',));
  777.                     }
  778.                     // fr__RG__edit_souk
  779.                     if (=== strpos($pathinfo'/admin/modifier_souk') && preg_match('#^/admin/modifier_souk/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  780.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_souk']), array (  '_controller' => 'AdminBundle\\Controller\\SoukController::editRegisterAction',  '_locale' => 'fr',));
  781.                     }
  782.                     // fr__RG__edit_variete
  783.                     if (=== strpos($pathinfo'/admin/modifier_variete') && preg_match('#^/admin/modifier_variete/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  784.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_variete']), array (  '_controller' => 'AdminBundle\\Controller\\VarieteController::editRegisterAction',  '_locale' => 'fr',));
  785.                     }
  786.                 }
  787.                 elseif (=== strpos($pathinfo'/admin/supprimer_')) {
  788.                     // fr__RG__supprimer_actualite
  789.                     if (=== strpos($pathinfo'/admin/supprimer_actualite') && preg_match('#^/admin/supprimer_actualite/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  790.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_actualite']), array (  '_controller' => 'AdminBundle\\Controller\\ActualiteController::removeAction',  '_locale' => 'fr',));
  791.                     }
  792.                     // fr__RG__supprimer_bourse
  793.                     if (=== strpos($pathinfo'/admin/supprimer_bourse') && preg_match('#^/admin/supprimer_bourse/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  794.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_bourse']), array (  '_controller' => 'AdminBundle\\Controller\\BourseController::removeAction',  '_locale' => 'fr',));
  795.                     }
  796.                     // fr__RG__supprimer_categorie
  797.                     if (=== strpos($pathinfo'/admin/supprimer_categorie') && preg_match('#^/admin/supprimer_categorie/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  798.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_categorie']), array (  '_controller' => 'AdminBundle\\Controller\\CategorieController::removeAction',  '_locale' => 'fr',));
  799.                     }
  800.                     // fr__RG__supprimer_commune
  801.                     if (=== strpos($pathinfo'/admin/supprimer_commune') && preg_match('#^/admin/supprimer_commune/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  802.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_commune']), array (  '_controller' => 'AdminBundle\\Controller\\CommuneController::removeAction',  '_locale' => 'fr',));
  803.                     }
  804.                     // fr__RG__remove_user
  805.                     if (=== strpos($pathinfo'/admin/supprimer_utilisateur') && preg_match('#^/admin/supprimer_utilisateur/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  806.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__remove_user']), array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::removeUserAction',  '_locale' => 'fr',));
  807.                     }
  808.                     // fr__RG__supprimer_unite
  809.                     if (=== strpos($pathinfo'/admin/supprimer_unite') && preg_match('#^/admin/supprimer_unite/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  810.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_unite']), array (  '_controller' => 'AdminBundle\\Controller\\UniteController::removeUserAction',  '_locale' => 'fr',));
  811.                     }
  812.                     // fr__RG__admin_supprimer_demande
  813.                     if (=== strpos($pathinfo'/admin/supprimer_demande') && preg_match('#^/admin/supprimer_demande/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  814.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__admin_supprimer_demande']), array (  '_controller' => 'AdminBundle\\Controller\\DemandeController::removeAction',  '_locale' => 'fr',));
  815.                     }
  816.                     // fr__RG__supprimer_document
  817.                     if (=== strpos($pathinfo'/admin/supprimer_document') && preg_match('#^/admin/supprimer_document/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  818.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_document']), array (  '_controller' => 'AdminBundle\\Controller\\DocumentController::removeAction',  '_locale' => 'fr',));
  819.                     }
  820.                     // fr__RG__admin_supprimer_offre
  821.                     if (=== strpos($pathinfo'/admin/supprimer_offre') && preg_match('#^/admin/supprimer_offre/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  822.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__admin_supprimer_offre']), array (  '_controller' => 'AdminBundle\\Controller\\OffreController::removeAction',  '_locale' => 'fr',));
  823.                     }
  824.                     // fr__RG__supprimer_operateur
  825.                     if (=== strpos($pathinfo'/admin/supprimer_operateur') && preg_match('#^/admin/supprimer_operateur/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  826.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_operateur']), array (  '_controller' => 'AdminBundle\\Controller\\OperateurController::removeAction',  '_locale' => 'fr',));
  827.                     }
  828.                     // fr__RG__supprimer_professionnel
  829.                     if (=== strpos($pathinfo'/admin/supprimer_professionnel') && preg_match('#^/admin/supprimer_professionnel/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  830.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_professionnel']), array (  '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::removeAction',  '_locale' => 'fr',));
  831.                     }
  832.                     // fr__RG__supprimer_province
  833.                     if (=== strpos($pathinfo'/admin/supprimer_province') && preg_match('#^/admin/supprimer_province/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  834.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_province']), array (  '_controller' => 'AdminBundle\\Controller\\ProvinceController::removeAction',  '_locale' => 'fr',));
  835.                     }
  836.                     // fr__RG__supprimer_souk
  837.                     if (=== strpos($pathinfo'/admin/supprimer_souk') && preg_match('#^/admin/supprimer_souk/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  838.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_souk']), array (  '_controller' => 'AdminBundle\\Controller\\SoukController::removeUserAction',  '_locale' => 'fr',));
  839.                     }
  840.                     // fr__RG__supprimer_variete
  841.                     if (=== strpos($pathinfo'/admin/supprimer_variete') && preg_match('#^/admin/supprimer_variete/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  842.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_variete']), array (  '_controller' => 'AdminBundle\\Controller\\VarieteController::removeUserAction',  '_locale' => 'fr',));
  843.                     }
  844.                 }
  845.                 // fr__RG__list_souks
  846.                 if ('/admin/souk' === $pathinfo) {
  847.                     return array (  '_controller' => 'AdminBundle\\Controller\\SoukController::indexAction',  '_locale' => 'fr',  '_route' => 'fr__RG__list_souks',);
  848.                 }
  849.                 // fr__RG__list_bourses
  850.                 if ('/admin/bourse' === $pathinfo) {
  851.                     return array (  '_controller' => 'AdminBundle\\Controller\\BourseController::indexAction',  '_locale' => 'fr',  '_route' => 'fr__RG__list_bourses',);
  852.                 }
  853.                 // fr__RG__blocker_user
  854.                 if (=== strpos($pathinfo'/admin/blocker_utilisateur') && preg_match('#^/admin/blocker_utilisateur/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  855.                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__blocker_user']), array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::blockerUserAction',  '_locale' => 'fr',));
  856.                 }
  857.                 // fr__RG__list_categories
  858.                 if ('/admin/categorie' === $pathinfo) {
  859.                     return array (  '_controller' => 'AdminBundle\\Controller\\CategorieController::indexAction',  '_locale' => 'fr',  '_route' => 'fr__RG__list_categories',);
  860.                 }
  861.                 // fr__RG__list_communes
  862.                 if ('/admin/commune' === $pathinfo) {
  863.                     return array (  '_controller' => 'AdminBundle\\Controller\\CommuneController::indexAction',  '_locale' => 'fr',  '_route' => 'fr__RG__list_communes',);
  864.                 }
  865.                 // fr__RG__list_users
  866.                 if ('/admin/liste_utilisateur' === $pathinfo) {
  867.                     return array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::listUserAction',  '_locale' => 'fr',  '_route' => 'fr__RG__list_users',);
  868.                 }
  869.                 // fr__RG__trace
  870.                 if ('/admin/trace' === $pathinfo) {
  871.                     return array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::traceAction',  '_locale' => 'fr',  '_route' => 'fr__RG__trace',);
  872.                 }
  873.                 // fr__RG__admin_demandes
  874.                 if ('/admin/demandes' === $pathinfo) {
  875.                     return array (  '_controller' => 'AdminBundle\\Controller\\DemandeController::indexAction',  '_locale' => 'fr',  '_route' => 'fr__RG__admin_demandes',);
  876.                 }
  877.                 // fr__RG__list_documents
  878.                 if ('/admin/document' === $pathinfo) {
  879.                     return array (  '_controller' => 'AdminBundle\\Controller\\DocumentController::indexAction',  '_locale' => 'fr',  '_route' => 'fr__RG__list_documents',);
  880.                 }
  881.                 // fr__RG__admin_offres
  882.                 if ('/admin/offres' === $pathinfo) {
  883.                     return array (  '_controller' => 'AdminBundle\\Controller\\OffreController::indexAction',  '_locale' => 'fr',  '_route' => 'fr__RG__admin_offres',);
  884.                 }
  885.                 // fr__RG__list_operateurs
  886.                 if ('/admin/operateur' === $pathinfo) {
  887.                     return array (  '_controller' => 'AdminBundle\\Controller\\OperateurController::indexAction',  '_locale' => 'fr',  '_route' => 'fr__RG__list_operateurs',);
  888.                 }
  889.                 // fr__RG__list_professionnels
  890.                 if ('/admin/professionnel' === $pathinfo) {
  891.                     return array (  '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::indexAction',  '_locale' => 'fr',  '_route' => 'fr__RG__list_professionnels',);
  892.                 }
  893.                 // fr__RG__list_provinces
  894.                 if ('/admin/province' === $pathinfo) {
  895.                     return array (  '_controller' => 'AdminBundle\\Controller\\ProvinceController::indexAction',  '_locale' => 'fr',  '_route' => 'fr__RG__list_provinces',);
  896.                 }
  897.                 // fr__RG__list_unites
  898.                 if ('/admin/unite' === $pathinfo) {
  899.                     return array (  '_controller' => 'AdminBundle\\Controller\\UniteController::indexAction',  '_locale' => 'fr',  '_route' => 'fr__RG__list_unites',);
  900.                 }
  901.                 // fr__RG__list_varietes
  902.                 if ('/admin/variete' === $pathinfo) {
  903.                     return array (  '_controller' => 'AdminBundle\\Controller\\VarieteController::indexAction',  '_locale' => 'fr',  '_route' => 'fr__RG__list_varietes',);
  904.                 }
  905.             }
  906.             // fr__RG__api_login_check
  907.             if ('/api/login_check' === $pathinfo) {
  908.                 return array (  '_locale' => 'fr',  '_route' => 'fr__RG__api_login_check',);
  909.             }
  910.         }
  911.         elseif (=== strpos($pathinfo'/en')) {
  912.             // en__RG__post_contact
  913.             if ('/en/contacteus' === $pathinfo) {
  914.                 return array (  '_controller' => 'ContactBundle\\Controller\\ContactControllerController::contacteus',  '_locale' => 'en',  '_route' => 'en__RG__post_contact',);
  915.             }
  916.             if (=== strpos($pathinfo'/en/index')) {
  917.                 // en__RG__marocdatte
  918.                 if ('/en/index/marocdatte' === $pathinfo) {
  919.                     return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::marocdatteAction',  '_locale' => 'en',  '_route' => 'en__RG__marocdatte',);
  920.                 }
  921.                 // en__RG__contratprogram
  922.                 if ('/en/index/contratprogram' === $pathinfo) {
  923.                     return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::contratprogAction',  '_locale' => 'en',  '_route' => 'en__RG__contratprogram',);
  924.                 }
  925.                 if (=== strpos($pathinfo'/en/index/contactez')) {
  926.                     // en__RG__contactez
  927.                     if ('/en/index/contactez' === $pathinfo) {
  928.                         return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::contactezAction',  '_locale' => 'en',  '_route' => 'en__RG__contactez',);
  929.                     }
  930.                     // en__RG__contactezsub
  931.                     if ('/en/index/contactezsub' === $pathinfo) {
  932.                         return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::contactezsubAction',  '_locale' => 'en',  '_route' => 'en__RG__contactezsub',);
  933.                     }
  934.                 }
  935.                 // en__RG__portail
  936.                 if ('/en/index' === $trimmedPathinfo) {
  937.                     $ret = array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::indexAction',  '_locale' => 'en',  '_route' => 'en__RG__portail',);
  938.                     if ('/' === substr($pathinfo, -1)) {
  939.                         // no-op
  940.                     } elseif ('GET' !== $canonicalMethod) {
  941.                         goto not_en__RG__portail;
  942.                     } else {
  943.                         return array_replace($ret$this->redirect($rawPathinfo.'/''en__RG__portail'));
  944.                     }
  945.                     return $ret;
  946.                 }
  947.                 not_en__RG__portail:
  948.                 // en__RG__partenaire
  949.                 if ('/en/index/partenaires' === $pathinfo) {
  950.                     return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::paretenaireAction',  '_locale' => 'en',  '_route' => 'en__RG__partenaire',);
  951.                 }
  952.                 if (=== strpos($pathinfo'/en/index/pr')) {
  953.                     // en__RG__presentation
  954.                     if ('/en/index/presentation' === $pathinfo) {
  955.                         return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::presentationAction',  '_locale' => 'en',  '_route' => 'en__RG__presentation',);
  956.                     }
  957.                     // en__RG__prix_marche
  958.                     if ('/en/index/prix_marche' === $pathinfo) {
  959.                         return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::PrixMarcheAction',  '_locale' => 'en',  '_route' => 'en__RG__prix_marche',);
  960.                     }
  961.                     // en__RG__professionel
  962.                     if ('/en/index/professionel' === $pathinfo) {
  963.                         return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::ProfessionelAction',  '_locale' => 'en',  '_route' => 'en__RG__professionel',);
  964.                     }
  965.                 }
  966.                 // en__RG__document
  967.                 if ('/en/index/documents' === $pathinfo) {
  968.                     return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::documentAction',  '_locale' => 'en',  '_route' => 'en__RG__document',);
  969.                 }
  970.                 if (=== strpos($pathinfo'/en/index/actualites')) {
  971.                     // en__RG__actualite
  972.                     if ('/en/index/actualites' === $pathinfo) {
  973.                         return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::actualiteAction',  '_locale' => 'en',  '_route' => 'en__RG__actualite',);
  974.                     }
  975.                     // en__RG__detailActualite
  976.                     if (preg_match('#^/en/index/actualites/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  977.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__detailActualite']), array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::detailActualiteAction',  '_locale' => 'en',));
  978.                     }
  979.                 }
  980.                 // en__RG__about
  981.                 if ('/en/index/about' === $pathinfo) {
  982.                     return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::aboutAction',  '_locale' => 'en',  '_route' => 'en__RG__about',);
  983.                 }
  984.                 // en__RG__bourses
  985.                 if ('/en/index/bourses' === $pathinfo) {
  986.                     return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::boursesAction',  '_locale' => 'en',  '_route' => 'en__RG__bourses',);
  987.                 }
  988.                 // en__RG__detail_offre
  989.                 if (=== strpos($pathinfo'/en/index/offres') && preg_match('#^/en/index/offres/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  990.                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__detail_offre']), array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::detailOffreAction',  '_locale' => 'en',));
  991.                 }
  992.             }
  993.             // en__RG__fournisseur_default_index
  994.             if ('/en/h' === $pathinfo) {
  995.                 return array (  '_controller' => 'FournisseurBundle\\Controller\\DefaultController::indexAction',  '_locale' => 'en',  '_route' => 'en__RG__fournisseur_default_index',);
  996.             }
  997.             if (=== strpos($pathinfo'/en/offreur')) {
  998.                 // en__RG__list_offres
  999.                 if ('/en/offreur/offres' === $pathinfo) {
  1000.                     return array (  '_controller' => 'FournisseurBundle\\Controller\\OffreController::indexAction',  '_locale' => 'en',  '_route' => 'en__RG__list_offres',);
  1001.                 }
  1002.                 // en__RG__ajouter_offre
  1003.                 if ('/en/offreur/ajouter_offre' === $pathinfo) {
  1004.                     return array (  '_controller' => 'FournisseurBundle\\Controller\\OffreController::ajouterOffreAction',  '_locale' => 'en',  '_route' => 'en__RG__ajouter_offre',);
  1005.                 }
  1006.                 // en__RG__edit_offre
  1007.                 if (=== strpos($pathinfo'/en/offreur/modifier_offre') && preg_match('#^/en/offreur/modifier_offre/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1008.                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_offre']), array (  '_controller' => 'FournisseurBundle\\Controller\\OffreController::editAction',  '_locale' => 'en',));
  1009.                 }
  1010.                 // en__RG__supprimer_offre
  1011.                 if (=== strpos($pathinfo'/en/offreur/supprimer_offre') && preg_match('#^/en/offreur/supprimer_offre/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1012.                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_offre']), array (  '_controller' => 'FournisseurBundle\\Controller\\OffreController::removeAction',  '_locale' => 'en',));
  1013.                 }
  1014.                 // en__RG__getByProvinceId
  1015.                 if ('/en/offreur/getbyProvinceid' === $pathinfo) {
  1016.                     return array (  '_controller' => 'FournisseurBundle\\Controller\\OffreController::getByProvinceId',  '_locale' => 'en',  '_route' => 'en__RG__getByProvinceId',);
  1017.                 }
  1018.             }
  1019.             elseif (=== strpos($pathinfo'/en/acheteur')) {
  1020.                 // en__RG__list_demandes
  1021.                 if ('/en/acheteur/demandes' === $pathinfo) {
  1022.                     return array (  '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::indexAction',  '_locale' => 'en',  '_route' => 'en__RG__list_demandes',);
  1023.                 }
  1024.                 // en__RG__ajouter_demande
  1025.                 if ('/en/acheteur/ajouter_demande' === $pathinfo) {
  1026.                     return array (  '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::ajouterDemandeAction',  '_locale' => 'en',  '_route' => 'en__RG__ajouter_demande',);
  1027.                 }
  1028.                 // en__RG__edit_demande
  1029.                 if (=== strpos($pathinfo'/en/acheteur/modifier_demande') && preg_match('#^/en/acheteur/modifier_demande/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1030.                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_demande']), array (  '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::editAction',  '_locale' => 'en',));
  1031.                 }
  1032.                 // en__RG__supprimer_demande
  1033.                 if (=== strpos($pathinfo'/en/acheteur/supprimer_demande') && preg_match('#^/en/acheteur/supprimer_demande/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1034.                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_demande']), array (  '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::removeAction',  '_locale' => 'en',));
  1035.                 }
  1036.             }
  1037.             elseif (=== strpos($pathinfo'/en/admin')) {
  1038.                 if (=== strpos($pathinfo'/en/admin/a')) {
  1039.                     // en__RG__list_actualites
  1040.                     if ('/en/admin/actualite' === $pathinfo) {
  1041.                         return array (  '_controller' => 'AdminBundle\\Controller\\ActualiteController::indexAction',  '_locale' => 'en',  '_route' => 'en__RG__list_actualites',);
  1042.                     }
  1043.                     // en__RG__ajouter_actualite
  1044.                     if ('/en/admin/add_actualite' === $pathinfo) {
  1045.                         return array (  '_controller' => 'AdminBundle\\Controller\\ActualiteController::addActualite',  '_locale' => 'en',  '_route' => 'en__RG__ajouter_actualite',);
  1046.                     }
  1047.                     if (=== strpos($pathinfo'/en/admin/ajouter_')) {
  1048.                         // en__RG__ajouter_bourse
  1049.                         if ('/en/admin/ajouter_bourse' === $pathinfo) {
  1050.                             return array (  '_controller' => 'AdminBundle\\Controller\\BourseController::ajouterBourseAction',  '_locale' => 'en',  '_route' => 'en__RG__ajouter_bourse',);
  1051.                         }
  1052.                         // en__RG__ajouter_categorie
  1053.                         if ('/en/admin/ajouter_categorie' === $pathinfo) {
  1054.                             return array (  '_controller' => 'AdminBundle\\Controller\\CategorieController::ajouterCategorieAction',  '_locale' => 'en',  '_route' => 'en__RG__ajouter_categorie',);
  1055.                         }
  1056.                         // en__RG__ajouter_commune
  1057.                         if ('/en/admin/ajouter_commune' === $pathinfo) {
  1058.                             return array (  '_controller' => 'AdminBundle\\Controller\\CommuneController::ajouterCommuneAction',  '_locale' => 'en',  '_route' => 'en__RG__ajouter_commune',);
  1059.                         }
  1060.                     }
  1061.                 }
  1062.                 elseif (=== strpos($pathinfo'/en/admin/modifier_')) {
  1063.                     // en__RG__edit_actualite
  1064.                     if (=== strpos($pathinfo'/en/admin/modifier_actualite') && preg_match('#^/en/admin/modifier_actualite/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1065.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_actualite']), array (  '_controller' => 'AdminBundle\\Controller\\ActualiteController::editAction',  '_locale' => 'en',));
  1066.                     }
  1067.                     // en__RG__edit_bourse
  1068.                     if (=== strpos($pathinfo'/en/admin/modifier_bourse') && preg_match('#^/en/admin/modifier_bourse/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1069.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_bourse']), array (  '_controller' => 'AdminBundle\\Controller\\BourseController::editAction',  '_locale' => 'en',));
  1070.                     }
  1071.                     // en__RG__edit_categorie
  1072.                     if (=== strpos($pathinfo'/en/admin/modifier_categorie') && preg_match('#^/en/admin/modifier_categorie/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1073.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_categorie']), array (  '_controller' => 'AdminBundle\\Controller\\CategorieController::editAction',  '_locale' => 'en',));
  1074.                     }
  1075.                     // en__RG__edit_commune
  1076.                     if (=== strpos($pathinfo'/en/admin/modifier_commune') && preg_match('#^/en/admin/modifier_commune/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1077.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_commune']), array (  '_controller' => 'AdminBundle\\Controller\\CommuneController::editAction',  '_locale' => 'en',));
  1078.                     }
  1079.                 }
  1080.                 elseif (=== strpos($pathinfo'/en/admin/supprimer_')) {
  1081.                     // en__RG__supprimer_actualite
  1082.                     if (=== strpos($pathinfo'/en/admin/supprimer_actualite') && preg_match('#^/en/admin/supprimer_actualite/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1083.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_actualite']), array (  '_controller' => 'AdminBundle\\Controller\\ActualiteController::removeAction',  '_locale' => 'en',));
  1084.                     }
  1085.                     // en__RG__supprimer_bourse
  1086.                     if (=== strpos($pathinfo'/en/admin/supprimer_bourse') && preg_match('#^/en/admin/supprimer_bourse/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1087.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_bourse']), array (  '_controller' => 'AdminBundle\\Controller\\BourseController::removeAction',  '_locale' => 'en',));
  1088.                     }
  1089.                     // en__RG__supprimer_categorie
  1090.                     if (=== strpos($pathinfo'/en/admin/supprimer_categorie') && preg_match('#^/en/admin/supprimer_categorie/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1091.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_categorie']), array (  '_controller' => 'AdminBundle\\Controller\\CategorieController::removeAction',  '_locale' => 'en',));
  1092.                     }
  1093.                     // en__RG__supprimer_commune
  1094.                     if (=== strpos($pathinfo'/en/admin/supprimer_commune') && preg_match('#^/en/admin/supprimer_commune/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1095.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_commune']), array (  '_controller' => 'AdminBundle\\Controller\\CommuneController::removeAction',  '_locale' => 'en',));
  1096.                     }
  1097.                 }
  1098.                 // en__RG__list_bourses
  1099.                 if ('/en/admin/bourse' === $pathinfo) {
  1100.                     return array (  '_controller' => 'AdminBundle\\Controller\\BourseController::indexAction',  '_locale' => 'en',  '_route' => 'en__RG__list_bourses',);
  1101.                 }
  1102.                 // en__RG__list_categories
  1103.                 if ('/en/admin/categorie' === $pathinfo) {
  1104.                     return array (  '_controller' => 'AdminBundle\\Controller\\CategorieController::indexAction',  '_locale' => 'en',  '_route' => 'en__RG__list_categories',);
  1105.                 }
  1106.                 // en__RG__list_communes
  1107.                 if ('/en/admin/commune' === $pathinfo) {
  1108.                     return array (  '_controller' => 'AdminBundle\\Controller\\CommuneController::indexAction',  '_locale' => 'en',  '_route' => 'en__RG__list_communes',);
  1109.                 }
  1110.             }
  1111.             // en__RG__homepage
  1112.             if ('/en' === $trimmedPathinfo) {
  1113.                 $ret = array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::indexAction',  '_locale' => 'en',  '_route' => 'en__RG__homepage',);
  1114.                 if ('/' === substr($pathinfo, -1)) {
  1115.                     // no-op
  1116.                 } elseif ('GET' !== $canonicalMethod) {
  1117.                     goto not_en__RG__homepage;
  1118.                 } else {
  1119.                     return array_replace($ret$this->redirect($rawPathinfo.'/''en__RG__homepage'));
  1120.                 }
  1121.                 return $ret;
  1122.             }
  1123.             not_en__RG__homepage:
  1124.             if (=== strpos($pathinfo'/en/admin')) {
  1125.                 if (=== strpos($pathinfo'/en/admin/a')) {
  1126.                     if (=== strpos($pathinfo'/en/admin/ajouter_')) {
  1127.                         // en__RG__ajouter_user
  1128.                         if ('/en/admin/ajouter_utilisateur' === $pathinfo) {
  1129.                             return array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::ajouterUserAction',  '_locale' => 'en',  '_route' => 'en__RG__ajouter_user',);
  1130.                         }
  1131.                         // en__RG__ajouter_unite
  1132.                         if ('/en/admin/ajouter_unite' === $pathinfo) {
  1133.                             return array (  '_controller' => 'AdminBundle\\Controller\\UniteController::ajouterUniteAction',  '_locale' => 'en',  '_route' => 'en__RG__ajouter_unite',);
  1134.                         }
  1135.                         // en__RG__ajouter_operateur
  1136.                         if ('/en/admin/ajouter_operateur' === $pathinfo) {
  1137.                             return array (  '_controller' => 'AdminBundle\\Controller\\OperateurController::ajouterOperateurAction',  '_locale' => 'en',  '_route' => 'en__RG__ajouter_operateur',);
  1138.                         }
  1139.                         // en__RG__ajouter_professionnel
  1140.                         if ('/en/admin/ajouter_professionnel' === $pathinfo) {
  1141.                             return array (  '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::ajouterProfessionnelAction',  '_locale' => 'en',  '_route' => 'en__RG__ajouter_professionnel',);
  1142.                         }
  1143.                         // en__RG__ajouter_province
  1144.                         if ('/en/admin/ajouter_province' === $pathinfo) {
  1145.                             return array (  '_controller' => 'AdminBundle\\Controller\\ProvinceController::ajouterProvinceAction',  '_locale' => 'en',  '_route' => 'en__RG__ajouter_province',);
  1146.                         }
  1147.                         // en__RG__ajouter_souk
  1148.                         if ('/en/admin/ajouter_souk' === $pathinfo) {
  1149.                             return array (  '_controller' => 'AdminBundle\\Controller\\SoukController::ajouterSoukAction',  '_locale' => 'en',  '_route' => 'en__RG__ajouter_souk',);
  1150.                         }
  1151.                         // en__RG__ajouter_variete
  1152.                         if ('/en/admin/ajouter_variete' === $pathinfo) {
  1153.                             return array (  '_controller' => 'AdminBundle\\Controller\\VarieteController::ajouterVarieteAction',  '_locale' => 'en',  '_route' => 'en__RG__ajouter_variete',);
  1154.                         }
  1155.                     }
  1156.                     // en__RG__activer_user
  1157.                     if (=== strpos($pathinfo'/en/admin/activer_utilisateur') && preg_match('#^/en/admin/activer_utilisateur/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1158.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__activer_user']), array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::activerUserAction',  '_locale' => 'en',));
  1159.                     }
  1160.                     // en__RG__ajouter_document
  1161.                     if ('/en/admin/add_document' === $pathinfo) {
  1162.                         return array (  '_controller' => 'AdminBundle\\Controller\\DocumentController::addDocument',  '_locale' => 'en',  '_route' => 'en__RG__ajouter_document',);
  1163.                     }
  1164.                 }
  1165.                 // en__RG__list_users
  1166.                 if ('/en/admin/liste_utilisateur' === $pathinfo) {
  1167.                     return array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::listUserAction',  '_locale' => 'en',  '_route' => 'en__RG__list_users',);
  1168.                 }
  1169.                 if (=== strpos($pathinfo'/en/admin/supprimer_')) {
  1170.                     // en__RG__remove_user
  1171.                     if (=== strpos($pathinfo'/en/admin/supprimer_utilisateur') && preg_match('#^/en/admin/supprimer_utilisateur/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1172.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__remove_user']), array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::removeUserAction',  '_locale' => 'en',));
  1173.                     }
  1174.                     // en__RG__supprimer_unite
  1175.                     if (=== strpos($pathinfo'/en/admin/supprimer_unite') && preg_match('#^/en/admin/supprimer_unite/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1176.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_unite']), array (  '_controller' => 'AdminBundle\\Controller\\UniteController::removeUserAction',  '_locale' => 'en',));
  1177.                     }
  1178.                     // en__RG__admin_supprimer_demande
  1179.                     if (=== strpos($pathinfo'/en/admin/supprimer_demande') && preg_match('#^/en/admin/supprimer_demande/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1180.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__admin_supprimer_demande']), array (  '_controller' => 'AdminBundle\\Controller\\DemandeController::removeAction',  '_locale' => 'en',));
  1181.                     }
  1182.                     // en__RG__supprimer_document
  1183.                     if (=== strpos($pathinfo'/en/admin/supprimer_document') && preg_match('#^/en/admin/supprimer_document/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1184.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_document']), array (  '_controller' => 'AdminBundle\\Controller\\DocumentController::removeAction',  '_locale' => 'en',));
  1185.                     }
  1186.                     // en__RG__admin_supprimer_offre
  1187.                     if (=== strpos($pathinfo'/en/admin/supprimer_offre') && preg_match('#^/en/admin/supprimer_offre/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1188.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__admin_supprimer_offre']), array (  '_controller' => 'AdminBundle\\Controller\\OffreController::removeAction',  '_locale' => 'en',));
  1189.                     }
  1190.                     // en__RG__supprimer_operateur
  1191.                     if (=== strpos($pathinfo'/en/admin/supprimer_operateur') && preg_match('#^/en/admin/supprimer_operateur/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1192.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_operateur']), array (  '_controller' => 'AdminBundle\\Controller\\OperateurController::removeAction',  '_locale' => 'en',));
  1193.                     }
  1194.                     // en__RG__supprimer_professionnel
  1195.                     if (=== strpos($pathinfo'/en/admin/supprimer_professionnel') && preg_match('#^/en/admin/supprimer_professionnel/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1196.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_professionnel']), array (  '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::removeAction',  '_locale' => 'en',));
  1197.                     }
  1198.                     // en__RG__supprimer_province
  1199.                     if (=== strpos($pathinfo'/en/admin/supprimer_province') && preg_match('#^/en/admin/supprimer_province/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1200.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_province']), array (  '_controller' => 'AdminBundle\\Controller\\ProvinceController::removeAction',  '_locale' => 'en',));
  1201.                     }
  1202.                     // en__RG__supprimer_souk
  1203.                     if (=== strpos($pathinfo'/en/admin/supprimer_souk') && preg_match('#^/en/admin/supprimer_souk/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1204.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_souk']), array (  '_controller' => 'AdminBundle\\Controller\\SoukController::removeUserAction',  '_locale' => 'en',));
  1205.                     }
  1206.                     // en__RG__supprimer_variete
  1207.                     if (=== strpos($pathinfo'/en/admin/supprimer_variete') && preg_match('#^/en/admin/supprimer_variete/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1208.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_variete']), array (  '_controller' => 'AdminBundle\\Controller\\VarieteController::removeUserAction',  '_locale' => 'en',));
  1209.                     }
  1210.                 }
  1211.                 // en__RG__list_souks
  1212.                 if ('/en/admin/souk' === $pathinfo) {
  1213.                     return array (  '_controller' => 'AdminBundle\\Controller\\SoukController::indexAction',  '_locale' => 'en',  '_route' => 'en__RG__list_souks',);
  1214.                 }
  1215.                 if (=== strpos($pathinfo'/en/admin/modifier_')) {
  1216.                     // en__RG__edit_user
  1217.                     if (=== strpos($pathinfo'/en/admin/modifier_utilisateur') && preg_match('#^/en/admin/modifier_utilisateur/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1218.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_user']), array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::editRegisterAction',  '_locale' => 'en',));
  1219.                     }
  1220.                     // en__RG__edit_unite
  1221.                     if (=== strpos($pathinfo'/en/admin/modifier_unite') && preg_match('#^/en/admin/modifier_unite/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1222.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_unite']), array (  '_controller' => 'AdminBundle\\Controller\\UniteController::editRegisterAction',  '_locale' => 'en',));
  1223.                     }
  1224.                     // en__RG__admin_edit_demande
  1225.                     if (=== strpos($pathinfo'/en/admin/modifier_demande') && preg_match('#^/en/admin/modifier_demande/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1226.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__admin_edit_demande']), array (  '_controller' => 'AdminBundle\\Controller\\DemandeController::editAction',  '_locale' => 'en',));
  1227.                     }
  1228.                     // en__RG__edit_document
  1229.                     if (=== strpos($pathinfo'/en/admin/modifier_document') && preg_match('#^/en/admin/modifier_document/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1230.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_document']), array (  '_controller' => 'AdminBundle\\Controller\\DocumentController::editAction',  '_locale' => 'en',));
  1231.                     }
  1232.                     // en__RG__admin_edit_offre
  1233.                     if (=== strpos($pathinfo'/en/admin/modifier_offre') && preg_match('#^/en/admin/modifier_offre/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1234.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__admin_edit_offre']), array (  '_controller' => 'AdminBundle\\Controller\\OffreController::editAction',  '_locale' => 'en',));
  1235.                     }
  1236.                     // en__RG__edit_operateur
  1237.                     if (=== strpos($pathinfo'/en/admin/modifier_operateur') && preg_match('#^/en/admin/modifier_operateur/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1238.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_operateur']), array (  '_controller' => 'AdminBundle\\Controller\\OperateurController::editAction',  '_locale' => 'en',));
  1239.                     }
  1240.                     // en__RG__edit_professionnel
  1241.                     if (=== strpos($pathinfo'/en/admin/modifier_professionnel') && preg_match('#^/en/admin/modifier_professionnel/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1242.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_professionnel']), array (  '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::editAction',  '_locale' => 'en',));
  1243.                     }
  1244.                     // en__RG__edit_province
  1245.                     if (=== strpos($pathinfo'/en/admin/modifier_province') && preg_match('#^/en/admin/modifier_province/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1246.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_province']), array (  '_controller' => 'AdminBundle\\Controller\\ProvinceController::editAction',  '_locale' => 'en',));
  1247.                     }
  1248.                     // en__RG__edit_souk
  1249.                     if (=== strpos($pathinfo'/en/admin/modifier_souk') && preg_match('#^/en/admin/modifier_souk/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1250.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_souk']), array (  '_controller' => 'AdminBundle\\Controller\\SoukController::editRegisterAction',  '_locale' => 'en',));
  1251.                     }
  1252.                     // en__RG__edit_variete
  1253.                     if (=== strpos($pathinfo'/en/admin/modifier_variete') && preg_match('#^/en/admin/modifier_variete/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1254.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_variete']), array (  '_controller' => 'AdminBundle\\Controller\\VarieteController::editRegisterAction',  '_locale' => 'en',));
  1255.                     }
  1256.                 }
  1257.                 // en__RG__blocker_user
  1258.                 if (=== strpos($pathinfo'/en/admin/blocker_utilisateur') && preg_match('#^/en/admin/blocker_utilisateur/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1259.                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__blocker_user']), array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::blockerUserAction',  '_locale' => 'en',));
  1260.                 }
  1261.                 // en__RG__trace
  1262.                 if ('/en/admin/trace' === $pathinfo) {
  1263.                     return array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::traceAction',  '_locale' => 'en',  '_route' => 'en__RG__trace',);
  1264.                 }
  1265.                 // en__RG__admin_demandes
  1266.                 if ('/en/admin/demandes' === $pathinfo) {
  1267.                     return array (  '_controller' => 'AdminBundle\\Controller\\DemandeController::indexAction',  '_locale' => 'en',  '_route' => 'en__RG__admin_demandes',);
  1268.                 }
  1269.                 // en__RG__list_documents
  1270.                 if ('/en/admin/document' === $pathinfo) {
  1271.                     return array (  '_controller' => 'AdminBundle\\Controller\\DocumentController::indexAction',  '_locale' => 'en',  '_route' => 'en__RG__list_documents',);
  1272.                 }
  1273.                 // en__RG__admin_offres
  1274.                 if ('/en/admin/offres' === $pathinfo) {
  1275.                     return array (  '_controller' => 'AdminBundle\\Controller\\OffreController::indexAction',  '_locale' => 'en',  '_route' => 'en__RG__admin_offres',);
  1276.                 }
  1277.                 // en__RG__list_operateurs
  1278.                 if ('/en/admin/operateur' === $pathinfo) {
  1279.                     return array (  '_controller' => 'AdminBundle\\Controller\\OperateurController::indexAction',  '_locale' => 'en',  '_route' => 'en__RG__list_operateurs',);
  1280.                 }
  1281.                 // en__RG__list_professionnels
  1282.                 if ('/en/admin/professionnel' === $pathinfo) {
  1283.                     return array (  '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::indexAction',  '_locale' => 'en',  '_route' => 'en__RG__list_professionnels',);
  1284.                 }
  1285.                 // en__RG__list_provinces
  1286.                 if ('/en/admin/province' === $pathinfo) {
  1287.                     return array (  '_controller' => 'AdminBundle\\Controller\\ProvinceController::indexAction',  '_locale' => 'en',  '_route' => 'en__RG__list_provinces',);
  1288.                 }
  1289.                 // en__RG__list_unites
  1290.                 if ('/en/admin/unite' === $pathinfo) {
  1291.                     return array (  '_controller' => 'AdminBundle\\Controller\\UniteController::indexAction',  '_locale' => 'en',  '_route' => 'en__RG__list_unites',);
  1292.                 }
  1293.                 // en__RG__list_varietes
  1294.                 if ('/en/admin/variete' === $pathinfo) {
  1295.                     return array (  '_controller' => 'AdminBundle\\Controller\\VarieteController::indexAction',  '_locale' => 'en',  '_route' => 'en__RG__list_varietes',);
  1296.                 }
  1297.             }
  1298.             // en__RG__api_login_check
  1299.             if ('/en/api/login_check' === $pathinfo) {
  1300.                 return array (  '_locale' => 'en',  '_route' => 'en__RG__api_login_check',);
  1301.             }
  1302.             if (=== strpos($pathinfo'/en/login')) {
  1303.                 // en__RG__fos_user_security_login
  1304.                 if ('/en/login' === $pathinfo) {
  1305.                     $ret = array (  '_controller' => 'fos_user.security.controller:loginAction',  '_locale' => 'en',  '_route' => 'en__RG__fos_user_security_login',);
  1306.                     if (!in_array($canonicalMethod, ['GET''POST'])) {
  1307.                         $allow array_merge($allow, ['GET''POST']);
  1308.                         goto not_en__RG__fos_user_security_login;
  1309.                     }
  1310.                     return $ret;
  1311.                 }
  1312.                 not_en__RG__fos_user_security_login:
  1313.                 // en__RG__fos_user_security_check
  1314.                 if ('/en/login_check' === $pathinfo) {
  1315.                     $ret = array (  '_controller' => 'fos_user.security.controller:checkAction',  '_locale' => 'en',  '_route' => 'en__RG__fos_user_security_check',);
  1316.                     if (!in_array($requestMethod, ['POST'])) {
  1317.                         $allow array_merge($allow, ['POST']);
  1318.                         goto not_en__RG__fos_user_security_check;
  1319.                     }
  1320.                     return $ret;
  1321.                 }
  1322.                 not_en__RG__fos_user_security_check:
  1323.             }
  1324.             // en__RG__fos_user_security_logout
  1325.             if ('/en/logout' === $pathinfo) {
  1326.                 $ret = array (  '_controller' => 'fos_user.security.controller:logoutAction',  '_locale' => 'en',  '_route' => 'en__RG__fos_user_security_logout',);
  1327.                 if (!in_array($canonicalMethod, ['GET''POST'])) {
  1328.                     $allow array_merge($allow, ['GET''POST']);
  1329.                     goto not_en__RG__fos_user_security_logout;
  1330.                 }
  1331.                 return $ret;
  1332.             }
  1333.             not_en__RG__fos_user_security_logout:
  1334.             if (=== strpos($pathinfo'/en/profile')) {
  1335.                 // en__RG__fos_user_profile_show
  1336.                 if ('/en/profile' === $trimmedPathinfo) {
  1337.                     $ret = array (  '_controller' => 'fos_user.profile.controller:showAction',  '_locale' => 'en',  '_route' => 'en__RG__fos_user_profile_show',);
  1338.                     if ('/' === substr($pathinfo, -1)) {
  1339.                         // no-op
  1340.                     } elseif ('GET' !== $canonicalMethod) {
  1341.                         goto not_en__RG__fos_user_profile_show;
  1342.                     } else {
  1343.                         return array_replace($ret$this->redirect($rawPathinfo.'/''en__RG__fos_user_profile_show'));
  1344.                     }
  1345.                     if (!in_array($canonicalMethod, ['GET'])) {
  1346.                         $allow array_merge($allow, ['GET']);
  1347.                         goto not_en__RG__fos_user_profile_show;
  1348.                     }
  1349.                     return $ret;
  1350.                 }
  1351.                 not_en__RG__fos_user_profile_show:
  1352.                 // en__RG__fos_user_profile_edit
  1353.                 if ('/en/profile/edit' === $pathinfo) {
  1354.                     $ret = array (  '_controller' => 'fos_user.profile.controller:editAction',  '_locale' => 'en',  '_route' => 'en__RG__fos_user_profile_edit',);
  1355.                     if (!in_array($canonicalMethod, ['GET''POST'])) {
  1356.                         $allow array_merge($allow, ['GET''POST']);
  1357.                         goto not_en__RG__fos_user_profile_edit;
  1358.                     }
  1359.                     return $ret;
  1360.                 }
  1361.                 not_en__RG__fos_user_profile_edit:
  1362.                 // en__RG__fos_user_change_password
  1363.                 if ('/en/profile/change-password' === $pathinfo) {
  1364.                     $ret = array (  '_controller' => 'fos_user.change_password.controller:changePasswordAction',  '_locale' => 'en',  '_route' => 'en__RG__fos_user_change_password',);
  1365.                     if (!in_array($canonicalMethod, ['GET''POST'])) {
  1366.                         $allow array_merge($allow, ['GET''POST']);
  1367.                         goto not_en__RG__fos_user_change_password;
  1368.                     }
  1369.                     return $ret;
  1370.                 }
  1371.                 not_en__RG__fos_user_change_password:
  1372.             }
  1373.             elseif (=== strpos($pathinfo'/en/register')) {
  1374.                 // en__RG__fos_user_registration_register
  1375.                 if ('/en/register' === $trimmedPathinfo) {
  1376.                     $ret = array (  '_controller' => 'fos_user.registration.controller:registerAction',  '_locale' => 'en',  '_route' => 'en__RG__fos_user_registration_register',);
  1377.                     if ('/' === substr($pathinfo, -1)) {
  1378.                         // no-op
  1379.                     } elseif ('GET' !== $canonicalMethod) {
  1380.                         goto not_en__RG__fos_user_registration_register;
  1381.                     } else {
  1382.                         return array_replace($ret$this->redirect($rawPathinfo.'/''en__RG__fos_user_registration_register'));
  1383.                     }
  1384.                     if (!in_array($canonicalMethod, ['GET''POST'])) {
  1385.                         $allow array_merge($allow, ['GET''POST']);
  1386.                         goto not_en__RG__fos_user_registration_register;
  1387.                     }
  1388.                     return $ret;
  1389.                 }
  1390.                 not_en__RG__fos_user_registration_register:
  1391.                 // en__RG__fos_user_registration_check_email
  1392.                 if ('/en/register/check-email' === $pathinfo) {
  1393.                     $ret = array (  '_controller' => 'fos_user.registration.controller:checkEmailAction',  '_locale' => 'en',  '_route' => 'en__RG__fos_user_registration_check_email',);
  1394.                     if (!in_array($canonicalMethod, ['GET'])) {
  1395.                         $allow array_merge($allow, ['GET']);
  1396.                         goto not_en__RG__fos_user_registration_check_email;
  1397.                     }
  1398.                     return $ret;
  1399.                 }
  1400.                 not_en__RG__fos_user_registration_check_email:
  1401.                 if (=== strpos($pathinfo'/en/register/confirm')) {
  1402.                     // en__RG__fos_user_registration_confirm
  1403.                     if (preg_match('#^/en/register/confirm/(?P<token>[^/]++)$#sD'$pathinfo$matches)) {
  1404.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__fos_user_registration_confirm']), array (  '_controller' => 'fos_user.registration.controller:confirmAction',  '_locale' => 'en',));
  1405.                         if (!in_array($canonicalMethod, ['GET'])) {
  1406.                             $allow array_merge($allow, ['GET']);
  1407.                             goto not_en__RG__fos_user_registration_confirm;
  1408.                         }
  1409.                         return $ret;
  1410.                     }
  1411.                     not_en__RG__fos_user_registration_confirm:
  1412.                     // en__RG__fos_user_registration_confirmed
  1413.                     if ('/en/register/confirmed' === $pathinfo) {
  1414.                         $ret = array (  '_controller' => 'fos_user.registration.controller:confirmedAction',  '_locale' => 'en',  '_route' => 'en__RG__fos_user_registration_confirmed',);
  1415.                         if (!in_array($canonicalMethod, ['GET'])) {
  1416.                             $allow array_merge($allow, ['GET']);
  1417.                             goto not_en__RG__fos_user_registration_confirmed;
  1418.                         }
  1419.                         return $ret;
  1420.                     }
  1421.                     not_en__RG__fos_user_registration_confirmed:
  1422.                 }
  1423.             }
  1424.             elseif (=== strpos($pathinfo'/en/resetting')) {
  1425.                 // en__RG__fos_user_resetting_request
  1426.                 if ('/en/resetting/request' === $pathinfo) {
  1427.                     $ret = array (  '_controller' => 'fos_user.resetting.controller:requestAction',  '_locale' => 'en',  '_route' => 'en__RG__fos_user_resetting_request',);
  1428.                     if (!in_array($canonicalMethod, ['GET'])) {
  1429.                         $allow array_merge($allow, ['GET']);
  1430.                         goto not_en__RG__fos_user_resetting_request;
  1431.                     }
  1432.                     return $ret;
  1433.                 }
  1434.                 not_en__RG__fos_user_resetting_request:
  1435.                 // en__RG__fos_user_resetting_reset
  1436.                 if (=== strpos($pathinfo'/en/resetting/reset') && preg_match('#^/en/resetting/reset/(?P<token>[^/]++)$#sD'$pathinfo$matches)) {
  1437.                     $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__fos_user_resetting_reset']), array (  '_controller' => 'fos_user.resetting.controller:resetAction',  '_locale' => 'en',));
  1438.                     if (!in_array($canonicalMethod, ['GET''POST'])) {
  1439.                         $allow array_merge($allow, ['GET''POST']);
  1440.                         goto not_en__RG__fos_user_resetting_reset;
  1441.                     }
  1442.                     return $ret;
  1443.                 }
  1444.                 not_en__RG__fos_user_resetting_reset:
  1445.                 // en__RG__fos_user_resetting_send_email
  1446.                 if ('/en/resetting/send-email' === $pathinfo) {
  1447.                     $ret = array (  '_controller' => 'fos_user.resetting.controller:sendEmailAction',  '_locale' => 'en',  '_route' => 'en__RG__fos_user_resetting_send_email',);
  1448.                     if (!in_array($requestMethod, ['POST'])) {
  1449.                         $allow array_merge($allow, ['POST']);
  1450.                         goto not_en__RG__fos_user_resetting_send_email;
  1451.                     }
  1452.                     return $ret;
  1453.                 }
  1454.                 not_en__RG__fos_user_resetting_send_email:
  1455.                 // en__RG__fos_user_resetting_check_email
  1456.                 if ('/en/resetting/check-email' === $pathinfo) {
  1457.                     $ret = array (  '_controller' => 'fos_user.resetting.controller:checkEmailAction',  '_locale' => 'en',  '_route' => 'en__RG__fos_user_resetting_check_email',);
  1458.                     if (!in_array($canonicalMethod, ['GET'])) {
  1459.                         $allow array_merge($allow, ['GET']);
  1460.                         goto not_en__RG__fos_user_resetting_check_email;
  1461.                     }
  1462.                     return $ret;
  1463.                 }
  1464.                 not_en__RG__fos_user_resetting_check_email:
  1465.             }
  1466.         }
  1467.         elseif (=== strpos($pathinfo'/index')) {
  1468.             // fr__RG__marocdatte
  1469.             if ('/index/marocdatte' === $pathinfo) {
  1470.                 return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::marocdatteAction',  '_locale' => 'fr',  '_route' => 'fr__RG__marocdatte',);
  1471.             }
  1472.             // fr__RG__contratprogram
  1473.             if ('/index/contratprogram' === $pathinfo) {
  1474.                 return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::contratprogAction',  '_locale' => 'fr',  '_route' => 'fr__RG__contratprogram',);
  1475.             }
  1476.             if (=== strpos($pathinfo'/index/contactez')) {
  1477.                 // fr__RG__contactez
  1478.                 if ('/index/contactez' === $pathinfo) {
  1479.                     return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::contactezAction',  '_locale' => 'fr',  '_route' => 'fr__RG__contactez',);
  1480.                 }
  1481.                 // fr__RG__contactezsub
  1482.                 if ('/index/contactezsub' === $pathinfo) {
  1483.                     return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::contactezsubAction',  '_locale' => 'fr',  '_route' => 'fr__RG__contactezsub',);
  1484.                 }
  1485.             }
  1486.             // fr__RG__portail
  1487.             if ('/index' === $trimmedPathinfo) {
  1488.                 $ret = array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::indexAction',  '_locale' => 'fr',  '_route' => 'fr__RG__portail',);
  1489.                 if ('/' === substr($pathinfo, -1)) {
  1490.                     // no-op
  1491.                 } elseif ('GET' !== $canonicalMethod) {
  1492.                     goto not_fr__RG__portail;
  1493.                 } else {
  1494.                     return array_replace($ret$this->redirect($rawPathinfo.'/''fr__RG__portail'));
  1495.                 }
  1496.                 return $ret;
  1497.             }
  1498.             not_fr__RG__portail:
  1499.             // fr__RG__partenaire
  1500.             if ('/index/partenaires' === $pathinfo) {
  1501.                 return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::paretenaireAction',  '_locale' => 'fr',  '_route' => 'fr__RG__partenaire',);
  1502.             }
  1503.             if (=== strpos($pathinfo'/index/pr')) {
  1504.                 // fr__RG__presentation
  1505.                 if ('/index/presentation' === $pathinfo) {
  1506.                     return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::presentationAction',  '_locale' => 'fr',  '_route' => 'fr__RG__presentation',);
  1507.                 }
  1508.                 // fr__RG__prix_marche
  1509.                 if ('/index/prix_marche' === $pathinfo) {
  1510.                     return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::PrixMarcheAction',  '_locale' => 'fr',  '_route' => 'fr__RG__prix_marche',);
  1511.                 }
  1512.                 // fr__RG__professionel
  1513.                 if ('/index/professionel' === $pathinfo) {
  1514.                     return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::ProfessionelAction',  '_locale' => 'fr',  '_route' => 'fr__RG__professionel',);
  1515.                 }
  1516.             }
  1517.             // fr__RG__document
  1518.             if ('/index/documents' === $pathinfo) {
  1519.                 return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::documentAction',  '_locale' => 'fr',  '_route' => 'fr__RG__document',);
  1520.             }
  1521.             if (=== strpos($pathinfo'/index/actualites')) {
  1522.                 // fr__RG__actualite
  1523.                 if ('/index/actualites' === $pathinfo) {
  1524.                     return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::actualiteAction',  '_locale' => 'fr',  '_route' => 'fr__RG__actualite',);
  1525.                 }
  1526.                 // fr__RG__detailActualite
  1527.                 if (preg_match('#^/index/actualites/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1528.                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__detailActualite']), array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::detailActualiteAction',  '_locale' => 'fr',));
  1529.                 }
  1530.             }
  1531.             // fr__RG__about
  1532.             if ('/index/about' === $pathinfo) {
  1533.                 return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::aboutAction',  '_locale' => 'fr',  '_route' => 'fr__RG__about',);
  1534.             }
  1535.             // fr__RG__bourses
  1536.             if ('/index/bourses' === $pathinfo) {
  1537.                 return array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::boursesAction',  '_locale' => 'fr',  '_route' => 'fr__RG__bourses',);
  1538.             }
  1539.             // fr__RG__detail_offre
  1540.             if (=== strpos($pathinfo'/index/offres') && preg_match('#^/index/offres/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1541.                 return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__detail_offre']), array (  '_controller' => 'PortailBundle\\Controller\\DefaultController::detailOffreAction',  '_locale' => 'fr',));
  1542.             }
  1543.         }
  1544.         // fr__RG__fournisseur_default_index
  1545.         if ('/h' === $pathinfo) {
  1546.             return array (  '_controller' => 'FournisseurBundle\\Controller\\DefaultController::indexAction',  '_locale' => 'fr',  '_route' => 'fr__RG__fournisseur_default_index',);
  1547.         }
  1548.         if (=== strpos($pathinfo'/offreur')) {
  1549.             // fr__RG__list_offres
  1550.             if ('/offreur/offres' === $pathinfo) {
  1551.                 return array (  '_controller' => 'FournisseurBundle\\Controller\\OffreController::indexAction',  '_locale' => 'fr',  '_route' => 'fr__RG__list_offres',);
  1552.             }
  1553.             // fr__RG__ajouter_offre
  1554.             if ('/offreur/ajouter_offre' === $pathinfo) {
  1555.                 return array (  '_controller' => 'FournisseurBundle\\Controller\\OffreController::ajouterOffreAction',  '_locale' => 'fr',  '_route' => 'fr__RG__ajouter_offre',);
  1556.             }
  1557.             // fr__RG__edit_offre
  1558.             if (=== strpos($pathinfo'/offreur/modifier_offre') && preg_match('#^/offreur/modifier_offre/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1559.                 return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_offre']), array (  '_controller' => 'FournisseurBundle\\Controller\\OffreController::editAction',  '_locale' => 'fr',));
  1560.             }
  1561.             // fr__RG__supprimer_offre
  1562.             if (=== strpos($pathinfo'/offreur/supprimer_offre') && preg_match('#^/offreur/supprimer_offre/(?P<id>[^/]++)$#sD'$pathinfo$matches)) {
  1563.                 return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_offre']), array (  '_controller' => 'FournisseurBundle\\Controller\\OffreController::removeAction',  '_locale' => 'fr',));
  1564.             }
  1565.             // fr__RG__getByProvinceId
  1566.             if ('/offreur/getbyProvinceid' === $pathinfo) {
  1567.                 return array (  '_controller' => 'FournisseurBundle\\Controller\\OffreController::getByProvinceId',  '_locale' => 'fr',  '_route' => 'fr__RG__getByProvinceId',);
  1568.             }
  1569.         }
  1570.         // fr__RG__homepage
  1571.         if ('' === $trimmedPathinfo) {
  1572.             $ret = array (  '_controller' => 'AdminBundle\\Controller\\DefaultController::indexAction',  '_locale' => 'fr',  '_route' => 'fr__RG__homepage',);
  1573.             if ('/' === substr($pathinfo, -1)) {
  1574.                 // no-op
  1575.             } elseif ('GET' !== $canonicalMethod) {
  1576.                 goto not_fr__RG__homepage;
  1577.             } else {
  1578.                 return array_replace($ret$this->redirect($rawPathinfo.'/''fr__RG__homepage'));
  1579.             }
  1580.             return $ret;
  1581.         }
  1582.         not_fr__RG__homepage:
  1583.         if (=== strpos($pathinfo'/login')) {
  1584.             // fr__RG__fos_user_security_login
  1585.             if ('/login' === $pathinfo) {
  1586.                 $ret = array (  '_controller' => 'fos_user.security.controller:loginAction',  '_locale' => 'fr',  '_route' => 'fr__RG__fos_user_security_login',);
  1587.                 if (!in_array($canonicalMethod, ['GET''POST'])) {
  1588.                     $allow array_merge($allow, ['GET''POST']);
  1589.                     goto not_fr__RG__fos_user_security_login;
  1590.                 }
  1591.                 return $ret;
  1592.             }
  1593.             not_fr__RG__fos_user_security_login:
  1594.             // fr__RG__fos_user_security_check
  1595.             if ('/login_check' === $pathinfo) {
  1596.                 $ret = array (  '_controller' => 'fos_user.security.controller:checkAction',  '_locale' => 'fr',  '_route' => 'fr__RG__fos_user_security_check',);
  1597.                 if (!in_array($requestMethod, ['POST'])) {
  1598.                     $allow array_merge($allow, ['POST']);
  1599.                     goto not_fr__RG__fos_user_security_check;
  1600.                 }
  1601.                 return $ret;
  1602.             }
  1603.             not_fr__RG__fos_user_security_check:
  1604.         }
  1605.         // fr__RG__fos_user_security_logout
  1606.         if ('/logout' === $pathinfo) {
  1607.             $ret = array (  '_controller' => 'fos_user.security.controller:logoutAction',  '_locale' => 'fr',  '_route' => 'fr__RG__fos_user_security_logout',);
  1608.             if (!in_array($canonicalMethod, ['GET''POST'])) {
  1609.                 $allow array_merge($allow, ['GET''POST']);
  1610.                 goto not_fr__RG__fos_user_security_logout;
  1611.             }
  1612.             return $ret;
  1613.         }
  1614.         not_fr__RG__fos_user_security_logout:
  1615.         if (=== strpos($pathinfo'/profile')) {
  1616.             // fr__RG__fos_user_profile_show
  1617.             if ('/profile' === $trimmedPathinfo) {
  1618.                 $ret = array (  '_controller' => 'fos_user.profile.controller:showAction',  '_locale' => 'fr',  '_route' => 'fr__RG__fos_user_profile_show',);
  1619.                 if ('/' === substr($pathinfo, -1)) {
  1620.                     // no-op
  1621.                 } elseif ('GET' !== $canonicalMethod) {
  1622.                     goto not_fr__RG__fos_user_profile_show;
  1623.                 } else {
  1624.                     return array_replace($ret$this->redirect($rawPathinfo.'/''fr__RG__fos_user_profile_show'));
  1625.                 }
  1626.                 if (!in_array($canonicalMethod, ['GET'])) {
  1627.                     $allow array_merge($allow, ['GET']);
  1628.                     goto not_fr__RG__fos_user_profile_show;
  1629.                 }
  1630.                 return $ret;
  1631.             }
  1632.             not_fr__RG__fos_user_profile_show:
  1633.             // fr__RG__fos_user_profile_edit
  1634.             if ('/profile/edit' === $pathinfo) {
  1635.                 $ret = array (  '_controller' => 'fos_user.profile.controller:editAction',  '_locale' => 'fr',  '_route' => 'fr__RG__fos_user_profile_edit',);
  1636.                 if (!in_array($canonicalMethod, ['GET''POST'])) {
  1637.                     $allow array_merge($allow, ['GET''POST']);
  1638.                     goto not_fr__RG__fos_user_profile_edit;
  1639.                 }
  1640.                 return $ret;
  1641.             }
  1642.             not_fr__RG__fos_user_profile_edit:
  1643.             // fr__RG__fos_user_change_password
  1644.             if ('/profile/change-password' === $pathinfo) {
  1645.                 $ret = array (  '_controller' => 'fos_user.change_password.controller:changePasswordAction',  '_locale' => 'fr',  '_route' => 'fr__RG__fos_user_change_password',);
  1646.                 if (!in_array($canonicalMethod, ['GET''POST'])) {
  1647.                     $allow array_merge($allow, ['GET''POST']);
  1648.                     goto not_fr__RG__fos_user_change_password;
  1649.                 }
  1650.                 return $ret;
  1651.             }
  1652.             not_fr__RG__fos_user_change_password:
  1653.         }
  1654.         elseif (=== strpos($pathinfo'/register')) {
  1655.             // fr__RG__fos_user_registration_register
  1656.             if ('/register' === $trimmedPathinfo) {
  1657.                 $ret = array (  '_controller' => 'fos_user.registration.controller:registerAction',  '_locale' => 'fr',  '_route' => 'fr__RG__fos_user_registration_register',);
  1658.                 if ('/' === substr($pathinfo, -1)) {
  1659.                     // no-op
  1660.                 } elseif ('GET' !== $canonicalMethod) {
  1661.                     goto not_fr__RG__fos_user_registration_register;
  1662.                 } else {
  1663.                     return array_replace($ret$this->redirect($rawPathinfo.'/''fr__RG__fos_user_registration_register'));
  1664.                 }
  1665.                 if (!in_array($canonicalMethod, ['GET''POST'])) {
  1666.                     $allow array_merge($allow, ['GET''POST']);
  1667.                     goto not_fr__RG__fos_user_registration_register;
  1668.                 }
  1669.                 return $ret;
  1670.             }
  1671.             not_fr__RG__fos_user_registration_register:
  1672.             // fr__RG__fos_user_registration_check_email
  1673.             if ('/register/check-email' === $pathinfo) {
  1674.                 $ret = array (  '_controller' => 'fos_user.registration.controller:checkEmailAction',  '_locale' => 'fr',  '_route' => 'fr__RG__fos_user_registration_check_email',);
  1675.                 if (!in_array($canonicalMethod, ['GET'])) {
  1676.                     $allow array_merge($allow, ['GET']);
  1677.                     goto not_fr__RG__fos_user_registration_check_email;
  1678.                 }
  1679.                 return $ret;
  1680.             }
  1681.             not_fr__RG__fos_user_registration_check_email:
  1682.             if (=== strpos($pathinfo'/register/confirm')) {
  1683.                 // fr__RG__fos_user_registration_confirm
  1684.                 if (preg_match('#^/register/confirm/(?P<token>[^/]++)$#sD'$pathinfo$matches)) {
  1685.                     $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__fos_user_registration_confirm']), array (  '_controller' => 'fos_user.registration.controller:confirmAction',  '_locale' => 'fr',));
  1686.                     if (!in_array($canonicalMethod, ['GET'])) {
  1687.                         $allow array_merge($allow, ['GET']);
  1688.                         goto not_fr__RG__fos_user_registration_confirm;
  1689.                     }
  1690.                     return $ret;
  1691.                 }
  1692.                 not_fr__RG__fos_user_registration_confirm:
  1693.                 // fr__RG__fos_user_registration_confirmed
  1694.                 if ('/register/confirmed' === $pathinfo) {
  1695.                     $ret = array (  '_controller' => 'fos_user.registration.controller:confirmedAction',  '_locale' => 'fr',  '_route' => 'fr__RG__fos_user_registration_confirmed',);
  1696.                     if (!in_array($canonicalMethod, ['GET'])) {
  1697.                         $allow array_merge($allow, ['GET']);
  1698.                         goto not_fr__RG__fos_user_registration_confirmed;
  1699.                     }
  1700.                     return $ret;
  1701.                 }
  1702.                 not_fr__RG__fos_user_registration_confirmed:
  1703.             }
  1704.         }
  1705.         elseif (=== strpos($pathinfo'/resetting')) {
  1706.             // fr__RG__fos_user_resetting_request
  1707.             if ('/resetting/request' === $pathinfo) {
  1708.                 $ret = array (  '_controller' => 'fos_user.resetting.controller:requestAction',  '_locale' => 'fr',  '_route' => 'fr__RG__fos_user_resetting_request',);
  1709.                 if (!in_array($canonicalMethod, ['GET'])) {
  1710.                     $allow array_merge($allow, ['GET']);
  1711.                     goto not_fr__RG__fos_user_resetting_request;
  1712.                 }
  1713.                 return $ret;
  1714.             }
  1715.             not_fr__RG__fos_user_resetting_request:
  1716.             // fr__RG__fos_user_resetting_reset
  1717.             if (=== strpos($pathinfo'/resetting/reset') && preg_match('#^/resetting/reset/(?P<token>[^/]++)$#sD'$pathinfo$matches)) {
  1718.                 $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__fos_user_resetting_reset']), array (  '_controller' => 'fos_user.resetting.controller:resetAction',  '_locale' => 'fr',));
  1719.                 if (!in_array($canonicalMethod, ['GET''POST'])) {
  1720.                     $allow array_merge($allow, ['GET''POST']);
  1721.                     goto not_fr__RG__fos_user_resetting_reset;
  1722.                 }
  1723.                 return $ret;
  1724.             }
  1725.             not_fr__RG__fos_user_resetting_reset:
  1726.             // fr__RG__fos_user_resetting_send_email
  1727.             if ('/resetting/send-email' === $pathinfo) {
  1728.                 $ret = array (  '_controller' => 'fos_user.resetting.controller:sendEmailAction',  '_locale' => 'fr',  '_route' => 'fr__RG__fos_user_resetting_send_email',);
  1729.                 if (!in_array($requestMethod, ['POST'])) {
  1730.                     $allow array_merge($allow, ['POST']);
  1731.                     goto not_fr__RG__fos_user_resetting_send_email;
  1732.                 }
  1733.                 return $ret;
  1734.             }
  1735.             not_fr__RG__fos_user_resetting_send_email:
  1736.             // fr__RG__fos_user_resetting_check_email
  1737.             if ('/resetting/check-email' === $pathinfo) {
  1738.                 $ret = array (  '_controller' => 'fos_user.resetting.controller:checkEmailAction',  '_locale' => 'fr',  '_route' => 'fr__RG__fos_user_resetting_check_email',);
  1739.                 if (!in_array($canonicalMethod, ['GET'])) {
  1740.                     $allow array_merge($allow, ['GET']);
  1741.                     goto not_fr__RG__fos_user_resetting_check_email;
  1742.                 }
  1743.                 return $ret;
  1744.             }
  1745.             not_fr__RG__fos_user_resetting_check_email:
  1746.         }
  1747.         if ('/' === $pathinfo && !$allow) {
  1748.             throw new Symfony\Component\Routing\Exception\NoConfigurationException();
  1749.         }
  1750.         throw count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
  1751.     }
  1752. }