<?php
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;
/**
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class appDevDebugProjectContainerUrlMatcher extends Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher
{
public function __construct(RequestContext $context)
{
$this->context = $context;
}
public function match($rawPathinfo)
{
$allow = [];
$pathinfo = rawurldecode($rawPathinfo);
$trimmedPathinfo = rtrim($pathinfo, '/');
$context = $this->context;
$request = $this->request ?: $this->createRequest($pathinfo);
$requestMethod = $canonicalMethod = $context->getMethod();
if ('HEAD' === $requestMethod) {
$canonicalMethod = 'GET';
}
if (0 === strpos($pathinfo, '/_')) {
// _wdt
if (0 === strpos($pathinfo, '/_wdt') && preg_match('#^/_wdt/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_wdt']), array ( '_controller' => 'web_profiler.controller.profiler:toolbarAction',));
}
if (0 === strpos($pathinfo, '/_profiler')) {
// _profiler_home
if ('/_profiler' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'web_profiler.controller.profiler:homeAction', '_route' => '_profiler_home',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not__profiler_home;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', '_profiler_home'));
}
return $ret;
}
not__profiler_home:
if (0 === strpos($pathinfo, '/_profiler/search')) {
// _profiler_search
if ('/_profiler/search' === $pathinfo) {
return array ( '_controller' => 'web_profiler.controller.profiler:searchAction', '_route' => '_profiler_search',);
}
// _profiler_search_bar
if ('/_profiler/search_bar' === $pathinfo) {
return array ( '_controller' => 'web_profiler.controller.profiler:searchBarAction', '_route' => '_profiler_search_bar',);
}
}
// _profiler_phpinfo
if ('/_profiler/phpinfo' === $pathinfo) {
return array ( '_controller' => 'web_profiler.controller.profiler:phpinfoAction', '_route' => '_profiler_phpinfo',);
}
// _profiler_search_results
if (preg_match('#^/_profiler/(?P<token>[^/]++)/search/results$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_search_results']), array ( '_controller' => 'web_profiler.controller.profiler:searchResultsAction',));
}
// _profiler_open_file
if ('/_profiler/open' === $pathinfo) {
return array ( '_controller' => 'web_profiler.controller.profiler:openAction', '_route' => '_profiler_open_file',);
}
// _profiler
if (preg_match('#^/_profiler/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler']), array ( '_controller' => 'web_profiler.controller.profiler:panelAction',));
}
// _profiler_router
if (preg_match('#^/_profiler/(?P<token>[^/]++)/router$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_router']), array ( '_controller' => 'web_profiler.controller.router:panelAction',));
}
// _profiler_exception
if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_exception']), array ( '_controller' => 'web_profiler.controller.exception:showAction',));
}
// _profiler_exception_css
if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception\\.css$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_exception_css']), array ( '_controller' => 'web_profiler.controller.exception:cssAction',));
}
}
// _twig_error_test
if (0 === strpos($pathinfo, '/_error') && preg_match('#^/_error/(?P<code>\\d+)(?:\\.(?P<_format>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_twig_error_test']), array ( '_controller' => 'twig.controller.preview_error:previewErrorPageAction', '_format' => 'html',));
}
}
// fr__RG__post_contact
if ('/contacteus' === $pathinfo) {
return array ( '_controller' => 'ContactBundle\\Controller\\ContactControllerController::contacteus', '_locale' => 'fr', '_route' => 'fr__RG__post_contact',);
}
if (0 === strpos($pathinfo, '/a')) {
if (0 === strpos($pathinfo, '/ar')) {
// ar__RG__post_contact
if ('/ar/contacteus' === $pathinfo) {
return array ( '_controller' => 'ContactBundle\\Controller\\ContactControllerController::contacteus', '_locale' => 'ar', '_route' => 'ar__RG__post_contact',);
}
if (0 === strpos($pathinfo, '/ar/index')) {
// ar__RG__marocdatte
if ('/ar/index/marocdatte' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::marocdatteAction', '_locale' => 'ar', '_route' => 'ar__RG__marocdatte',);
}
// ar__RG__contratprogram
if ('/ar/index/contratprogram' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::contratprogAction', '_locale' => 'ar', '_route' => 'ar__RG__contratprogram',);
}
if (0 === strpos($pathinfo, '/ar/index/contactez')) {
// ar__RG__contactez
if ('/ar/index/contactez' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::contactezAction', '_locale' => 'ar', '_route' => 'ar__RG__contactez',);
}
// ar__RG__contactezsub
if ('/ar/index/contactezsub' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::contactezsubAction', '_locale' => 'ar', '_route' => 'ar__RG__contactezsub',);
}
}
// ar__RG__portail
if ('/ar/index' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::indexAction', '_locale' => 'ar', '_route' => 'ar__RG__portail',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_ar__RG__portail;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'ar__RG__portail'));
}
return $ret;
}
not_ar__RG__portail:
// ar__RG__partenaire
if ('/ar/index/partenaires' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::paretenaireAction', '_locale' => 'ar', '_route' => 'ar__RG__partenaire',);
}
if (0 === strpos($pathinfo, '/ar/index/pr')) {
// ar__RG__presentation
if ('/ar/index/presentation' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::presentationAction', '_locale' => 'ar', '_route' => 'ar__RG__presentation',);
}
// ar__RG__prix_marche
if ('/ar/index/prix_marche' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::PrixMarcheAction', '_locale' => 'ar', '_route' => 'ar__RG__prix_marche',);
}
// ar__RG__professionel
if ('/ar/index/professionel' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::ProfessionelAction', '_locale' => 'ar', '_route' => 'ar__RG__professionel',);
}
}
// ar__RG__document
if ('/ar/index/documents' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::documentAction', '_locale' => 'ar', '_route' => 'ar__RG__document',);
}
if (0 === strpos($pathinfo, '/ar/index/actualites')) {
// ar__RG__actualite
if ('/ar/index/actualites' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::actualiteAction', '_locale' => 'ar', '_route' => 'ar__RG__actualite',);
}
// ar__RG__detailActualite
if (preg_match('#^/ar/index/actualites/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__detailActualite']), array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::detailActualiteAction', '_locale' => 'ar',));
}
}
// ar__RG__about
if ('/ar/index/about' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::aboutAction', '_locale' => 'ar', '_route' => 'ar__RG__about',);
}
// ar__RG__bourses
if ('/ar/index/bourses' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::boursesAction', '_locale' => 'ar', '_route' => 'ar__RG__bourses',);
}
// ar__RG__detail_offre
if (0 === strpos($pathinfo, '/ar/index/offres') && preg_match('#^/ar/index/offres/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__detail_offre']), array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::detailOffreAction', '_locale' => 'ar',));
}
}
// ar__RG__fournisseur_default_index
if ('/ar/h' === $pathinfo) {
return array ( '_controller' => 'FournisseurBundle\\Controller\\DefaultController::indexAction', '_locale' => 'ar', '_route' => 'ar__RG__fournisseur_default_index',);
}
if (0 === strpos($pathinfo, '/ar/offreur')) {
// ar__RG__list_offres
if ('/ar/offreur/offres' === $pathinfo) {
return array ( '_controller' => 'FournisseurBundle\\Controller\\OffreController::indexAction', '_locale' => 'ar', '_route' => 'ar__RG__list_offres',);
}
// ar__RG__ajouter_offre
if ('/ar/offreur/ajouter_offre' === $pathinfo) {
return array ( '_controller' => 'FournisseurBundle\\Controller\\OffreController::ajouterOffreAction', '_locale' => 'ar', '_route' => 'ar__RG__ajouter_offre',);
}
// ar__RG__edit_offre
if (0 === strpos($pathinfo, '/ar/offreur/modifier_offre') && preg_match('#^/ar/offreur/modifier_offre/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_offre']), array ( '_controller' => 'FournisseurBundle\\Controller\\OffreController::editAction', '_locale' => 'ar',));
}
// ar__RG__supprimer_offre
if (0 === strpos($pathinfo, '/ar/offreur/supprimer_offre') && preg_match('#^/ar/offreur/supprimer_offre/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_offre']), array ( '_controller' => 'FournisseurBundle\\Controller\\OffreController::removeAction', '_locale' => 'ar',));
}
// ar__RG__getByProvinceId
if ('/ar/offreur/getbyProvinceid' === $pathinfo) {
return array ( '_controller' => 'FournisseurBundle\\Controller\\OffreController::getByProvinceId', '_locale' => 'ar', '_route' => 'ar__RG__getByProvinceId',);
}
}
elseif (0 === strpos($pathinfo, '/ar/acheteur')) {
// ar__RG__list_demandes
if ('/ar/acheteur/demandes' === $pathinfo) {
return array ( '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::indexAction', '_locale' => 'ar', '_route' => 'ar__RG__list_demandes',);
}
// ar__RG__ajouter_demande
if ('/ar/acheteur/ajouter_demande' === $pathinfo) {
return array ( '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::ajouterDemandeAction', '_locale' => 'ar', '_route' => 'ar__RG__ajouter_demande',);
}
// ar__RG__edit_demande
if (0 === strpos($pathinfo, '/ar/acheteur/modifier_demande') && preg_match('#^/ar/acheteur/modifier_demande/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_demande']), array ( '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::editAction', '_locale' => 'ar',));
}
// ar__RG__supprimer_demande
if (0 === strpos($pathinfo, '/ar/acheteur/supprimer_demande') && preg_match('#^/ar/acheteur/supprimer_demande/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_demande']), array ( '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::removeAction', '_locale' => 'ar',));
}
}
elseif (0 === strpos($pathinfo, '/ar/admin')) {
if (0 === strpos($pathinfo, '/ar/admin/a')) {
// ar__RG__list_actualites
if ('/ar/admin/actualite' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\ActualiteController::indexAction', '_locale' => 'ar', '_route' => 'ar__RG__list_actualites',);
}
// ar__RG__ajouter_actualite
if ('/ar/admin/add_actualite' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\ActualiteController::addActualite', '_locale' => 'ar', '_route' => 'ar__RG__ajouter_actualite',);
}
if (0 === strpos($pathinfo, '/ar/admin/ajouter_')) {
// ar__RG__ajouter_bourse
if ('/ar/admin/ajouter_bourse' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\BourseController::ajouterBourseAction', '_locale' => 'ar', '_route' => 'ar__RG__ajouter_bourse',);
}
// ar__RG__ajouter_categorie
if ('/ar/admin/ajouter_categorie' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\CategorieController::ajouterCategorieAction', '_locale' => 'ar', '_route' => 'ar__RG__ajouter_categorie',);
}
// ar__RG__ajouter_commune
if ('/ar/admin/ajouter_commune' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\CommuneController::ajouterCommuneAction', '_locale' => 'ar', '_route' => 'ar__RG__ajouter_commune',);
}
}
}
elseif (0 === strpos($pathinfo, '/ar/admin/modifier_')) {
// ar__RG__edit_actualite
if (0 === strpos($pathinfo, '/ar/admin/modifier_actualite') && preg_match('#^/ar/admin/modifier_actualite/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_actualite']), array ( '_controller' => 'AdminBundle\\Controller\\ActualiteController::editAction', '_locale' => 'ar',));
}
// ar__RG__edit_bourse
if (0 === strpos($pathinfo, '/ar/admin/modifier_bourse') && preg_match('#^/ar/admin/modifier_bourse/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_bourse']), array ( '_controller' => 'AdminBundle\\Controller\\BourseController::editAction', '_locale' => 'ar',));
}
// ar__RG__edit_categorie
if (0 === strpos($pathinfo, '/ar/admin/modifier_categorie') && preg_match('#^/ar/admin/modifier_categorie/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_categorie']), array ( '_controller' => 'AdminBundle\\Controller\\CategorieController::editAction', '_locale' => 'ar',));
}
// ar__RG__edit_commune
if (0 === strpos($pathinfo, '/ar/admin/modifier_commune') && preg_match('#^/ar/admin/modifier_commune/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_commune']), array ( '_controller' => 'AdminBundle\\Controller\\CommuneController::editAction', '_locale' => 'ar',));
}
}
elseif (0 === strpos($pathinfo, '/ar/admin/supprimer_')) {
// ar__RG__supprimer_actualite
if (0 === strpos($pathinfo, '/ar/admin/supprimer_actualite') && preg_match('#^/ar/admin/supprimer_actualite/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_actualite']), array ( '_controller' => 'AdminBundle\\Controller\\ActualiteController::removeAction', '_locale' => 'ar',));
}
// ar__RG__supprimer_bourse
if (0 === strpos($pathinfo, '/ar/admin/supprimer_bourse') && preg_match('#^/ar/admin/supprimer_bourse/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_bourse']), array ( '_controller' => 'AdminBundle\\Controller\\BourseController::removeAction', '_locale' => 'ar',));
}
// ar__RG__supprimer_categorie
if (0 === strpos($pathinfo, '/ar/admin/supprimer_categorie') && preg_match('#^/ar/admin/supprimer_categorie/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_categorie']), array ( '_controller' => 'AdminBundle\\Controller\\CategorieController::removeAction', '_locale' => 'ar',));
}
// ar__RG__supprimer_commune
if (0 === strpos($pathinfo, '/ar/admin/supprimer_commune') && preg_match('#^/ar/admin/supprimer_commune/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_commune']), array ( '_controller' => 'AdminBundle\\Controller\\CommuneController::removeAction', '_locale' => 'ar',));
}
}
// ar__RG__list_bourses
if ('/ar/admin/bourse' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\BourseController::indexAction', '_locale' => 'ar', '_route' => 'ar__RG__list_bourses',);
}
// ar__RG__list_categories
if ('/ar/admin/categorie' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\CategorieController::indexAction', '_locale' => 'ar', '_route' => 'ar__RG__list_categories',);
}
// ar__RG__list_communes
if ('/ar/admin/commune' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\CommuneController::indexAction', '_locale' => 'ar', '_route' => 'ar__RG__list_communes',);
}
}
// ar__RG__homepage
if ('/ar' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::indexAction', '_locale' => 'ar', '_route' => 'ar__RG__homepage',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_ar__RG__homepage;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'ar__RG__homepage'));
}
return $ret;
}
not_ar__RG__homepage:
if (0 === strpos($pathinfo, '/ar/admin')) {
if (0 === strpos($pathinfo, '/ar/admin/a')) {
if (0 === strpos($pathinfo, '/ar/admin/ajouter_')) {
// ar__RG__ajouter_user
if ('/ar/admin/ajouter_utilisateur' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::ajouterUserAction', '_locale' => 'ar', '_route' => 'ar__RG__ajouter_user',);
}
// ar__RG__ajouter_unite
if ('/ar/admin/ajouter_unite' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\UniteController::ajouterUniteAction', '_locale' => 'ar', '_route' => 'ar__RG__ajouter_unite',);
}
// ar__RG__ajouter_operateur
if ('/ar/admin/ajouter_operateur' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\OperateurController::ajouterOperateurAction', '_locale' => 'ar', '_route' => 'ar__RG__ajouter_operateur',);
}
// ar__RG__ajouter_professionnel
if ('/ar/admin/ajouter_professionnel' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::ajouterProfessionnelAction', '_locale' => 'ar', '_route' => 'ar__RG__ajouter_professionnel',);
}
// ar__RG__ajouter_province
if ('/ar/admin/ajouter_province' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\ProvinceController::ajouterProvinceAction', '_locale' => 'ar', '_route' => 'ar__RG__ajouter_province',);
}
// ar__RG__ajouter_souk
if ('/ar/admin/ajouter_souk' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\SoukController::ajouterSoukAction', '_locale' => 'ar', '_route' => 'ar__RG__ajouter_souk',);
}
// ar__RG__ajouter_variete
if ('/ar/admin/ajouter_variete' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\VarieteController::ajouterVarieteAction', '_locale' => 'ar', '_route' => 'ar__RG__ajouter_variete',);
}
}
// ar__RG__activer_user
if (0 === strpos($pathinfo, '/ar/admin/activer_utilisateur') && preg_match('#^/ar/admin/activer_utilisateur/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__activer_user']), array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::activerUserAction', '_locale' => 'ar',));
}
// ar__RG__ajouter_document
if ('/ar/admin/add_document' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\DocumentController::addDocument', '_locale' => 'ar', '_route' => 'ar__RG__ajouter_document',);
}
}
// ar__RG__list_users
if ('/ar/admin/liste_utilisateur' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::listUserAction', '_locale' => 'ar', '_route' => 'ar__RG__list_users',);
}
if (0 === strpos($pathinfo, '/ar/admin/supprimer_')) {
// ar__RG__remove_user
if (0 === strpos($pathinfo, '/ar/admin/supprimer_utilisateur') && preg_match('#^/ar/admin/supprimer_utilisateur/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__remove_user']), array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::removeUserAction', '_locale' => 'ar',));
}
// ar__RG__supprimer_unite
if (0 === strpos($pathinfo, '/ar/admin/supprimer_unite') && preg_match('#^/ar/admin/supprimer_unite/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_unite']), array ( '_controller' => 'AdminBundle\\Controller\\UniteController::removeUserAction', '_locale' => 'ar',));
}
// ar__RG__admin_supprimer_demande
if (0 === strpos($pathinfo, '/ar/admin/supprimer_demande') && preg_match('#^/ar/admin/supprimer_demande/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__admin_supprimer_demande']), array ( '_controller' => 'AdminBundle\\Controller\\DemandeController::removeAction', '_locale' => 'ar',));
}
// ar__RG__supprimer_document
if (0 === strpos($pathinfo, '/ar/admin/supprimer_document') && preg_match('#^/ar/admin/supprimer_document/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_document']), array ( '_controller' => 'AdminBundle\\Controller\\DocumentController::removeAction', '_locale' => 'ar',));
}
// ar__RG__admin_supprimer_offre
if (0 === strpos($pathinfo, '/ar/admin/supprimer_offre') && preg_match('#^/ar/admin/supprimer_offre/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__admin_supprimer_offre']), array ( '_controller' => 'AdminBundle\\Controller\\OffreController::removeAction', '_locale' => 'ar',));
}
// ar__RG__supprimer_operateur
if (0 === strpos($pathinfo, '/ar/admin/supprimer_operateur') && preg_match('#^/ar/admin/supprimer_operateur/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_operateur']), array ( '_controller' => 'AdminBundle\\Controller\\OperateurController::removeAction', '_locale' => 'ar',));
}
// ar__RG__supprimer_professionnel
if (0 === strpos($pathinfo, '/ar/admin/supprimer_professionnel') && preg_match('#^/ar/admin/supprimer_professionnel/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_professionnel']), array ( '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::removeAction', '_locale' => 'ar',));
}
// ar__RG__supprimer_province
if (0 === strpos($pathinfo, '/ar/admin/supprimer_province') && preg_match('#^/ar/admin/supprimer_province/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_province']), array ( '_controller' => 'AdminBundle\\Controller\\ProvinceController::removeAction', '_locale' => 'ar',));
}
// ar__RG__supprimer_souk
if (0 === strpos($pathinfo, '/ar/admin/supprimer_souk') && preg_match('#^/ar/admin/supprimer_souk/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_souk']), array ( '_controller' => 'AdminBundle\\Controller\\SoukController::removeUserAction', '_locale' => 'ar',));
}
// ar__RG__supprimer_variete
if (0 === strpos($pathinfo, '/ar/admin/supprimer_variete') && preg_match('#^/ar/admin/supprimer_variete/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__supprimer_variete']), array ( '_controller' => 'AdminBundle\\Controller\\VarieteController::removeUserAction', '_locale' => 'ar',));
}
}
// ar__RG__list_souks
if ('/ar/admin/souk' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\SoukController::indexAction', '_locale' => 'ar', '_route' => 'ar__RG__list_souks',);
}
if (0 === strpos($pathinfo, '/ar/admin/modifier_')) {
// ar__RG__edit_user
if (0 === strpos($pathinfo, '/ar/admin/modifier_utilisateur') && preg_match('#^/ar/admin/modifier_utilisateur/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_user']), array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::editRegisterAction', '_locale' => 'ar',));
}
// ar__RG__edit_unite
if (0 === strpos($pathinfo, '/ar/admin/modifier_unite') && preg_match('#^/ar/admin/modifier_unite/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_unite']), array ( '_controller' => 'AdminBundle\\Controller\\UniteController::editRegisterAction', '_locale' => 'ar',));
}
// ar__RG__admin_edit_demande
if (0 === strpos($pathinfo, '/ar/admin/modifier_demande') && preg_match('#^/ar/admin/modifier_demande/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__admin_edit_demande']), array ( '_controller' => 'AdminBundle\\Controller\\DemandeController::editAction', '_locale' => 'ar',));
}
// ar__RG__edit_document
if (0 === strpos($pathinfo, '/ar/admin/modifier_document') && preg_match('#^/ar/admin/modifier_document/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_document']), array ( '_controller' => 'AdminBundle\\Controller\\DocumentController::editAction', '_locale' => 'ar',));
}
// ar__RG__admin_edit_offre
if (0 === strpos($pathinfo, '/ar/admin/modifier_offre') && preg_match('#^/ar/admin/modifier_offre/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__admin_edit_offre']), array ( '_controller' => 'AdminBundle\\Controller\\OffreController::editAction', '_locale' => 'ar',));
}
// ar__RG__edit_operateur
if (0 === strpos($pathinfo, '/ar/admin/modifier_operateur') && preg_match('#^/ar/admin/modifier_operateur/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_operateur']), array ( '_controller' => 'AdminBundle\\Controller\\OperateurController::editAction', '_locale' => 'ar',));
}
// ar__RG__edit_professionnel
if (0 === strpos($pathinfo, '/ar/admin/modifier_professionnel') && preg_match('#^/ar/admin/modifier_professionnel/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_professionnel']), array ( '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::editAction', '_locale' => 'ar',));
}
// ar__RG__edit_province
if (0 === strpos($pathinfo, '/ar/admin/modifier_province') && preg_match('#^/ar/admin/modifier_province/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_province']), array ( '_controller' => 'AdminBundle\\Controller\\ProvinceController::editAction', '_locale' => 'ar',));
}
// ar__RG__edit_souk
if (0 === strpos($pathinfo, '/ar/admin/modifier_souk') && preg_match('#^/ar/admin/modifier_souk/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_souk']), array ( '_controller' => 'AdminBundle\\Controller\\SoukController::editRegisterAction', '_locale' => 'ar',));
}
// ar__RG__edit_variete
if (0 === strpos($pathinfo, '/ar/admin/modifier_variete') && preg_match('#^/ar/admin/modifier_variete/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__edit_variete']), array ( '_controller' => 'AdminBundle\\Controller\\VarieteController::editRegisterAction', '_locale' => 'ar',));
}
}
// ar__RG__blocker_user
if (0 === strpos($pathinfo, '/ar/admin/blocker_utilisateur') && preg_match('#^/ar/admin/blocker_utilisateur/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__blocker_user']), array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::blockerUserAction', '_locale' => 'ar',));
}
// ar__RG__trace
if ('/ar/admin/trace' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::traceAction', '_locale' => 'ar', '_route' => 'ar__RG__trace',);
}
// ar__RG__admin_demandes
if ('/ar/admin/demandes' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\DemandeController::indexAction', '_locale' => 'ar', '_route' => 'ar__RG__admin_demandes',);
}
// ar__RG__list_documents
if ('/ar/admin/document' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\DocumentController::indexAction', '_locale' => 'ar', '_route' => 'ar__RG__list_documents',);
}
// ar__RG__admin_offres
if ('/ar/admin/offres' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\OffreController::indexAction', '_locale' => 'ar', '_route' => 'ar__RG__admin_offres',);
}
// ar__RG__list_operateurs
if ('/ar/admin/operateur' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\OperateurController::indexAction', '_locale' => 'ar', '_route' => 'ar__RG__list_operateurs',);
}
// ar__RG__list_professionnels
if ('/ar/admin/professionnel' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::indexAction', '_locale' => 'ar', '_route' => 'ar__RG__list_professionnels',);
}
// ar__RG__list_provinces
if ('/ar/admin/province' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\ProvinceController::indexAction', '_locale' => 'ar', '_route' => 'ar__RG__list_provinces',);
}
// ar__RG__list_unites
if ('/ar/admin/unite' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\UniteController::indexAction', '_locale' => 'ar', '_route' => 'ar__RG__list_unites',);
}
// ar__RG__list_varietes
if ('/ar/admin/variete' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\VarieteController::indexAction', '_locale' => 'ar', '_route' => 'ar__RG__list_varietes',);
}
}
// ar__RG__api_login_check
if ('/ar/api/login_check' === $pathinfo) {
return array ( '_locale' => 'ar', '_route' => 'ar__RG__api_login_check',);
}
if (0 === strpos($pathinfo, '/ar/login')) {
// ar__RG__fos_user_security_login
if ('/ar/login' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.security.controller:loginAction', '_locale' => 'ar', '_route' => 'ar__RG__fos_user_security_login',);
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_ar__RG__fos_user_security_login;
}
return $ret;
}
not_ar__RG__fos_user_security_login:
// ar__RG__fos_user_security_check
if ('/ar/login_check' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.security.controller:checkAction', '_locale' => 'ar', '_route' => 'ar__RG__fos_user_security_check',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_ar__RG__fos_user_security_check;
}
return $ret;
}
not_ar__RG__fos_user_security_check:
}
// ar__RG__fos_user_security_logout
if ('/ar/logout' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.security.controller:logoutAction', '_locale' => 'ar', '_route' => 'ar__RG__fos_user_security_logout',);
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_ar__RG__fos_user_security_logout;
}
return $ret;
}
not_ar__RG__fos_user_security_logout:
if (0 === strpos($pathinfo, '/ar/profile')) {
// ar__RG__fos_user_profile_show
if ('/ar/profile' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'fos_user.profile.controller:showAction', '_locale' => 'ar', '_route' => 'ar__RG__fos_user_profile_show',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_ar__RG__fos_user_profile_show;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'ar__RG__fos_user_profile_show'));
}
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_ar__RG__fos_user_profile_show;
}
return $ret;
}
not_ar__RG__fos_user_profile_show:
// ar__RG__fos_user_profile_edit
if ('/ar/profile/edit' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.profile.controller:editAction', '_locale' => 'ar', '_route' => 'ar__RG__fos_user_profile_edit',);
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_ar__RG__fos_user_profile_edit;
}
return $ret;
}
not_ar__RG__fos_user_profile_edit:
// ar__RG__fos_user_change_password
if ('/ar/profile/change-password' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.change_password.controller:changePasswordAction', '_locale' => 'ar', '_route' => 'ar__RG__fos_user_change_password',);
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_ar__RG__fos_user_change_password;
}
return $ret;
}
not_ar__RG__fos_user_change_password:
}
elseif (0 === strpos($pathinfo, '/ar/register')) {
// ar__RG__fos_user_registration_register
if ('/ar/register' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'fos_user.registration.controller:registerAction', '_locale' => 'ar', '_route' => 'ar__RG__fos_user_registration_register',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_ar__RG__fos_user_registration_register;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'ar__RG__fos_user_registration_register'));
}
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_ar__RG__fos_user_registration_register;
}
return $ret;
}
not_ar__RG__fos_user_registration_register:
// ar__RG__fos_user_registration_check_email
if ('/ar/register/check-email' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.registration.controller:checkEmailAction', '_locale' => 'ar', '_route' => 'ar__RG__fos_user_registration_check_email',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_ar__RG__fos_user_registration_check_email;
}
return $ret;
}
not_ar__RG__fos_user_registration_check_email:
if (0 === strpos($pathinfo, '/ar/register/confirm')) {
// ar__RG__fos_user_registration_confirm
if (preg_match('#^/ar/register/confirm/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__fos_user_registration_confirm']), array ( '_controller' => 'fos_user.registration.controller:confirmAction', '_locale' => 'ar',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_ar__RG__fos_user_registration_confirm;
}
return $ret;
}
not_ar__RG__fos_user_registration_confirm:
// ar__RG__fos_user_registration_confirmed
if ('/ar/register/confirmed' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.registration.controller:confirmedAction', '_locale' => 'ar', '_route' => 'ar__RG__fos_user_registration_confirmed',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_ar__RG__fos_user_registration_confirmed;
}
return $ret;
}
not_ar__RG__fos_user_registration_confirmed:
}
}
elseif (0 === strpos($pathinfo, '/ar/resetting')) {
// ar__RG__fos_user_resetting_request
if ('/ar/resetting/request' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.resetting.controller:requestAction', '_locale' => 'ar', '_route' => 'ar__RG__fos_user_resetting_request',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_ar__RG__fos_user_resetting_request;
}
return $ret;
}
not_ar__RG__fos_user_resetting_request:
// ar__RG__fos_user_resetting_reset
if (0 === strpos($pathinfo, '/ar/resetting/reset') && preg_match('#^/ar/resetting/reset/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'ar__RG__fos_user_resetting_reset']), array ( '_controller' => 'fos_user.resetting.controller:resetAction', '_locale' => 'ar',));
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_ar__RG__fos_user_resetting_reset;
}
return $ret;
}
not_ar__RG__fos_user_resetting_reset:
// ar__RG__fos_user_resetting_send_email
if ('/ar/resetting/send-email' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.resetting.controller:sendEmailAction', '_locale' => 'ar', '_route' => 'ar__RG__fos_user_resetting_send_email',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_ar__RG__fos_user_resetting_send_email;
}
return $ret;
}
not_ar__RG__fos_user_resetting_send_email:
// ar__RG__fos_user_resetting_check_email
if ('/ar/resetting/check-email' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.resetting.controller:checkEmailAction', '_locale' => 'ar', '_route' => 'ar__RG__fos_user_resetting_check_email',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_ar__RG__fos_user_resetting_check_email;
}
return $ret;
}
not_ar__RG__fos_user_resetting_check_email:
}
}
elseif (0 === strpos($pathinfo, '/acheteur')) {
// fr__RG__list_demandes
if ('/acheteur/demandes' === $pathinfo) {
return array ( '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::indexAction', '_locale' => 'fr', '_route' => 'fr__RG__list_demandes',);
}
// fr__RG__ajouter_demande
if ('/acheteur/ajouter_demande' === $pathinfo) {
return array ( '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::ajouterDemandeAction', '_locale' => 'fr', '_route' => 'fr__RG__ajouter_demande',);
}
// fr__RG__edit_demande
if (0 === strpos($pathinfo, '/acheteur/modifier_demande') && preg_match('#^/acheteur/modifier_demande/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_demande']), array ( '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::editAction', '_locale' => 'fr',));
}
// fr__RG__supprimer_demande
if (0 === strpos($pathinfo, '/acheteur/supprimer_demande') && preg_match('#^/acheteur/supprimer_demande/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_demande']), array ( '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::removeAction', '_locale' => 'fr',));
}
}
elseif (0 === strpos($pathinfo, '/admin')) {
if (0 === strpos($pathinfo, '/admin/a')) {
// fr__RG__list_actualites
if ('/admin/actualite' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\ActualiteController::indexAction', '_locale' => 'fr', '_route' => 'fr__RG__list_actualites',);
}
// fr__RG__activer_user
if (0 === strpos($pathinfo, '/admin/activer_utilisateur') && preg_match('#^/admin/activer_utilisateur/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__activer_user']), array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::activerUserAction', '_locale' => 'fr',));
}
// fr__RG__ajouter_actualite
if ('/admin/add_actualite' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\ActualiteController::addActualite', '_locale' => 'fr', '_route' => 'fr__RG__ajouter_actualite',);
}
// fr__RG__ajouter_document
if ('/admin/add_document' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\DocumentController::addDocument', '_locale' => 'fr', '_route' => 'fr__RG__ajouter_document',);
}
if (0 === strpos($pathinfo, '/admin/ajouter_')) {
// fr__RG__ajouter_bourse
if ('/admin/ajouter_bourse' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\BourseController::ajouterBourseAction', '_locale' => 'fr', '_route' => 'fr__RG__ajouter_bourse',);
}
// fr__RG__ajouter_categorie
if ('/admin/ajouter_categorie' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\CategorieController::ajouterCategorieAction', '_locale' => 'fr', '_route' => 'fr__RG__ajouter_categorie',);
}
// fr__RG__ajouter_commune
if ('/admin/ajouter_commune' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\CommuneController::ajouterCommuneAction', '_locale' => 'fr', '_route' => 'fr__RG__ajouter_commune',);
}
// fr__RG__ajouter_user
if ('/admin/ajouter_utilisateur' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::ajouterUserAction', '_locale' => 'fr', '_route' => 'fr__RG__ajouter_user',);
}
// fr__RG__ajouter_unite
if ('/admin/ajouter_unite' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\UniteController::ajouterUniteAction', '_locale' => 'fr', '_route' => 'fr__RG__ajouter_unite',);
}
// fr__RG__ajouter_operateur
if ('/admin/ajouter_operateur' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\OperateurController::ajouterOperateurAction', '_locale' => 'fr', '_route' => 'fr__RG__ajouter_operateur',);
}
// fr__RG__ajouter_professionnel
if ('/admin/ajouter_professionnel' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::ajouterProfessionnelAction', '_locale' => 'fr', '_route' => 'fr__RG__ajouter_professionnel',);
}
// fr__RG__ajouter_province
if ('/admin/ajouter_province' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\ProvinceController::ajouterProvinceAction', '_locale' => 'fr', '_route' => 'fr__RG__ajouter_province',);
}
// fr__RG__ajouter_souk
if ('/admin/ajouter_souk' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\SoukController::ajouterSoukAction', '_locale' => 'fr', '_route' => 'fr__RG__ajouter_souk',);
}
// fr__RG__ajouter_variete
if ('/admin/ajouter_variete' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\VarieteController::ajouterVarieteAction', '_locale' => 'fr', '_route' => 'fr__RG__ajouter_variete',);
}
}
}
elseif (0 === strpos($pathinfo, '/admin/modifier_')) {
// fr__RG__edit_actualite
if (0 === strpos($pathinfo, '/admin/modifier_actualite') && preg_match('#^/admin/modifier_actualite/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_actualite']), array ( '_controller' => 'AdminBundle\\Controller\\ActualiteController::editAction', '_locale' => 'fr',));
}
// fr__RG__edit_bourse
if (0 === strpos($pathinfo, '/admin/modifier_bourse') && preg_match('#^/admin/modifier_bourse/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_bourse']), array ( '_controller' => 'AdminBundle\\Controller\\BourseController::editAction', '_locale' => 'fr',));
}
// fr__RG__edit_categorie
if (0 === strpos($pathinfo, '/admin/modifier_categorie') && preg_match('#^/admin/modifier_categorie/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_categorie']), array ( '_controller' => 'AdminBundle\\Controller\\CategorieController::editAction', '_locale' => 'fr',));
}
// fr__RG__edit_commune
if (0 === strpos($pathinfo, '/admin/modifier_commune') && preg_match('#^/admin/modifier_commune/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_commune']), array ( '_controller' => 'AdminBundle\\Controller\\CommuneController::editAction', '_locale' => 'fr',));
}
// fr__RG__edit_user
if (0 === strpos($pathinfo, '/admin/modifier_utilisateur') && preg_match('#^/admin/modifier_utilisateur/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_user']), array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::editRegisterAction', '_locale' => 'fr',));
}
// fr__RG__edit_unite
if (0 === strpos($pathinfo, '/admin/modifier_unite') && preg_match('#^/admin/modifier_unite/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_unite']), array ( '_controller' => 'AdminBundle\\Controller\\UniteController::editRegisterAction', '_locale' => 'fr',));
}
// fr__RG__admin_edit_demande
if (0 === strpos($pathinfo, '/admin/modifier_demande') && preg_match('#^/admin/modifier_demande/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__admin_edit_demande']), array ( '_controller' => 'AdminBundle\\Controller\\DemandeController::editAction', '_locale' => 'fr',));
}
// fr__RG__edit_document
if (0 === strpos($pathinfo, '/admin/modifier_document') && preg_match('#^/admin/modifier_document/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_document']), array ( '_controller' => 'AdminBundle\\Controller\\DocumentController::editAction', '_locale' => 'fr',));
}
// fr__RG__admin_edit_offre
if (0 === strpos($pathinfo, '/admin/modifier_offre') && preg_match('#^/admin/modifier_offre/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__admin_edit_offre']), array ( '_controller' => 'AdminBundle\\Controller\\OffreController::editAction', '_locale' => 'fr',));
}
// fr__RG__edit_operateur
if (0 === strpos($pathinfo, '/admin/modifier_operateur') && preg_match('#^/admin/modifier_operateur/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_operateur']), array ( '_controller' => 'AdminBundle\\Controller\\OperateurController::editAction', '_locale' => 'fr',));
}
// fr__RG__edit_professionnel
if (0 === strpos($pathinfo, '/admin/modifier_professionnel') && preg_match('#^/admin/modifier_professionnel/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_professionnel']), array ( '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::editAction', '_locale' => 'fr',));
}
// fr__RG__edit_province
if (0 === strpos($pathinfo, '/admin/modifier_province') && preg_match('#^/admin/modifier_province/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_province']), array ( '_controller' => 'AdminBundle\\Controller\\ProvinceController::editAction', '_locale' => 'fr',));
}
// fr__RG__edit_souk
if (0 === strpos($pathinfo, '/admin/modifier_souk') && preg_match('#^/admin/modifier_souk/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_souk']), array ( '_controller' => 'AdminBundle\\Controller\\SoukController::editRegisterAction', '_locale' => 'fr',));
}
// fr__RG__edit_variete
if (0 === strpos($pathinfo, '/admin/modifier_variete') && preg_match('#^/admin/modifier_variete/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_variete']), array ( '_controller' => 'AdminBundle\\Controller\\VarieteController::editRegisterAction', '_locale' => 'fr',));
}
}
elseif (0 === strpos($pathinfo, '/admin/supprimer_')) {
// fr__RG__supprimer_actualite
if (0 === strpos($pathinfo, '/admin/supprimer_actualite') && preg_match('#^/admin/supprimer_actualite/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_actualite']), array ( '_controller' => 'AdminBundle\\Controller\\ActualiteController::removeAction', '_locale' => 'fr',));
}
// fr__RG__supprimer_bourse
if (0 === strpos($pathinfo, '/admin/supprimer_bourse') && preg_match('#^/admin/supprimer_bourse/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_bourse']), array ( '_controller' => 'AdminBundle\\Controller\\BourseController::removeAction', '_locale' => 'fr',));
}
// fr__RG__supprimer_categorie
if (0 === strpos($pathinfo, '/admin/supprimer_categorie') && preg_match('#^/admin/supprimer_categorie/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_categorie']), array ( '_controller' => 'AdminBundle\\Controller\\CategorieController::removeAction', '_locale' => 'fr',));
}
// fr__RG__supprimer_commune
if (0 === strpos($pathinfo, '/admin/supprimer_commune') && preg_match('#^/admin/supprimer_commune/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_commune']), array ( '_controller' => 'AdminBundle\\Controller\\CommuneController::removeAction', '_locale' => 'fr',));
}
// fr__RG__remove_user
if (0 === strpos($pathinfo, '/admin/supprimer_utilisateur') && preg_match('#^/admin/supprimer_utilisateur/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__remove_user']), array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::removeUserAction', '_locale' => 'fr',));
}
// fr__RG__supprimer_unite
if (0 === strpos($pathinfo, '/admin/supprimer_unite') && preg_match('#^/admin/supprimer_unite/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_unite']), array ( '_controller' => 'AdminBundle\\Controller\\UniteController::removeUserAction', '_locale' => 'fr',));
}
// fr__RG__admin_supprimer_demande
if (0 === strpos($pathinfo, '/admin/supprimer_demande') && preg_match('#^/admin/supprimer_demande/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__admin_supprimer_demande']), array ( '_controller' => 'AdminBundle\\Controller\\DemandeController::removeAction', '_locale' => 'fr',));
}
// fr__RG__supprimer_document
if (0 === strpos($pathinfo, '/admin/supprimer_document') && preg_match('#^/admin/supprimer_document/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_document']), array ( '_controller' => 'AdminBundle\\Controller\\DocumentController::removeAction', '_locale' => 'fr',));
}
// fr__RG__admin_supprimer_offre
if (0 === strpos($pathinfo, '/admin/supprimer_offre') && preg_match('#^/admin/supprimer_offre/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__admin_supprimer_offre']), array ( '_controller' => 'AdminBundle\\Controller\\OffreController::removeAction', '_locale' => 'fr',));
}
// fr__RG__supprimer_operateur
if (0 === strpos($pathinfo, '/admin/supprimer_operateur') && preg_match('#^/admin/supprimer_operateur/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_operateur']), array ( '_controller' => 'AdminBundle\\Controller\\OperateurController::removeAction', '_locale' => 'fr',));
}
// fr__RG__supprimer_professionnel
if (0 === strpos($pathinfo, '/admin/supprimer_professionnel') && preg_match('#^/admin/supprimer_professionnel/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_professionnel']), array ( '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::removeAction', '_locale' => 'fr',));
}
// fr__RG__supprimer_province
if (0 === strpos($pathinfo, '/admin/supprimer_province') && preg_match('#^/admin/supprimer_province/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_province']), array ( '_controller' => 'AdminBundle\\Controller\\ProvinceController::removeAction', '_locale' => 'fr',));
}
// fr__RG__supprimer_souk
if (0 === strpos($pathinfo, '/admin/supprimer_souk') && preg_match('#^/admin/supprimer_souk/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_souk']), array ( '_controller' => 'AdminBundle\\Controller\\SoukController::removeUserAction', '_locale' => 'fr',));
}
// fr__RG__supprimer_variete
if (0 === strpos($pathinfo, '/admin/supprimer_variete') && preg_match('#^/admin/supprimer_variete/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_variete']), array ( '_controller' => 'AdminBundle\\Controller\\VarieteController::removeUserAction', '_locale' => 'fr',));
}
}
// fr__RG__list_souks
if ('/admin/souk' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\SoukController::indexAction', '_locale' => 'fr', '_route' => 'fr__RG__list_souks',);
}
// fr__RG__list_bourses
if ('/admin/bourse' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\BourseController::indexAction', '_locale' => 'fr', '_route' => 'fr__RG__list_bourses',);
}
// fr__RG__blocker_user
if (0 === strpos($pathinfo, '/admin/blocker_utilisateur') && preg_match('#^/admin/blocker_utilisateur/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__blocker_user']), array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::blockerUserAction', '_locale' => 'fr',));
}
// fr__RG__list_categories
if ('/admin/categorie' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\CategorieController::indexAction', '_locale' => 'fr', '_route' => 'fr__RG__list_categories',);
}
// fr__RG__list_communes
if ('/admin/commune' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\CommuneController::indexAction', '_locale' => 'fr', '_route' => 'fr__RG__list_communes',);
}
// fr__RG__list_users
if ('/admin/liste_utilisateur' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::listUserAction', '_locale' => 'fr', '_route' => 'fr__RG__list_users',);
}
// fr__RG__trace
if ('/admin/trace' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::traceAction', '_locale' => 'fr', '_route' => 'fr__RG__trace',);
}
// fr__RG__admin_demandes
if ('/admin/demandes' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\DemandeController::indexAction', '_locale' => 'fr', '_route' => 'fr__RG__admin_demandes',);
}
// fr__RG__list_documents
if ('/admin/document' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\DocumentController::indexAction', '_locale' => 'fr', '_route' => 'fr__RG__list_documents',);
}
// fr__RG__admin_offres
if ('/admin/offres' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\OffreController::indexAction', '_locale' => 'fr', '_route' => 'fr__RG__admin_offres',);
}
// fr__RG__list_operateurs
if ('/admin/operateur' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\OperateurController::indexAction', '_locale' => 'fr', '_route' => 'fr__RG__list_operateurs',);
}
// fr__RG__list_professionnels
if ('/admin/professionnel' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::indexAction', '_locale' => 'fr', '_route' => 'fr__RG__list_professionnels',);
}
// fr__RG__list_provinces
if ('/admin/province' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\ProvinceController::indexAction', '_locale' => 'fr', '_route' => 'fr__RG__list_provinces',);
}
// fr__RG__list_unites
if ('/admin/unite' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\UniteController::indexAction', '_locale' => 'fr', '_route' => 'fr__RG__list_unites',);
}
// fr__RG__list_varietes
if ('/admin/variete' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\VarieteController::indexAction', '_locale' => 'fr', '_route' => 'fr__RG__list_varietes',);
}
}
// fr__RG__api_login_check
if ('/api/login_check' === $pathinfo) {
return array ( '_locale' => 'fr', '_route' => 'fr__RG__api_login_check',);
}
}
elseif (0 === strpos($pathinfo, '/en')) {
// en__RG__post_contact
if ('/en/contacteus' === $pathinfo) {
return array ( '_controller' => 'ContactBundle\\Controller\\ContactControllerController::contacteus', '_locale' => 'en', '_route' => 'en__RG__post_contact',);
}
if (0 === strpos($pathinfo, '/en/index')) {
// en__RG__marocdatte
if ('/en/index/marocdatte' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::marocdatteAction', '_locale' => 'en', '_route' => 'en__RG__marocdatte',);
}
// en__RG__contratprogram
if ('/en/index/contratprogram' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::contratprogAction', '_locale' => 'en', '_route' => 'en__RG__contratprogram',);
}
if (0 === strpos($pathinfo, '/en/index/contactez')) {
// en__RG__contactez
if ('/en/index/contactez' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::contactezAction', '_locale' => 'en', '_route' => 'en__RG__contactez',);
}
// en__RG__contactezsub
if ('/en/index/contactezsub' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::contactezsubAction', '_locale' => 'en', '_route' => 'en__RG__contactezsub',);
}
}
// en__RG__portail
if ('/en/index' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::indexAction', '_locale' => 'en', '_route' => 'en__RG__portail',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_en__RG__portail;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'en__RG__portail'));
}
return $ret;
}
not_en__RG__portail:
// en__RG__partenaire
if ('/en/index/partenaires' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::paretenaireAction', '_locale' => 'en', '_route' => 'en__RG__partenaire',);
}
if (0 === strpos($pathinfo, '/en/index/pr')) {
// en__RG__presentation
if ('/en/index/presentation' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::presentationAction', '_locale' => 'en', '_route' => 'en__RG__presentation',);
}
// en__RG__prix_marche
if ('/en/index/prix_marche' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::PrixMarcheAction', '_locale' => 'en', '_route' => 'en__RG__prix_marche',);
}
// en__RG__professionel
if ('/en/index/professionel' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::ProfessionelAction', '_locale' => 'en', '_route' => 'en__RG__professionel',);
}
}
// en__RG__document
if ('/en/index/documents' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::documentAction', '_locale' => 'en', '_route' => 'en__RG__document',);
}
if (0 === strpos($pathinfo, '/en/index/actualites')) {
// en__RG__actualite
if ('/en/index/actualites' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::actualiteAction', '_locale' => 'en', '_route' => 'en__RG__actualite',);
}
// en__RG__detailActualite
if (preg_match('#^/en/index/actualites/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__detailActualite']), array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::detailActualiteAction', '_locale' => 'en',));
}
}
// en__RG__about
if ('/en/index/about' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::aboutAction', '_locale' => 'en', '_route' => 'en__RG__about',);
}
// en__RG__bourses
if ('/en/index/bourses' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::boursesAction', '_locale' => 'en', '_route' => 'en__RG__bourses',);
}
// en__RG__detail_offre
if (0 === strpos($pathinfo, '/en/index/offres') && preg_match('#^/en/index/offres/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__detail_offre']), array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::detailOffreAction', '_locale' => 'en',));
}
}
// en__RG__fournisseur_default_index
if ('/en/h' === $pathinfo) {
return array ( '_controller' => 'FournisseurBundle\\Controller\\DefaultController::indexAction', '_locale' => 'en', '_route' => 'en__RG__fournisseur_default_index',);
}
if (0 === strpos($pathinfo, '/en/offreur')) {
// en__RG__list_offres
if ('/en/offreur/offres' === $pathinfo) {
return array ( '_controller' => 'FournisseurBundle\\Controller\\OffreController::indexAction', '_locale' => 'en', '_route' => 'en__RG__list_offres',);
}
// en__RG__ajouter_offre
if ('/en/offreur/ajouter_offre' === $pathinfo) {
return array ( '_controller' => 'FournisseurBundle\\Controller\\OffreController::ajouterOffreAction', '_locale' => 'en', '_route' => 'en__RG__ajouter_offre',);
}
// en__RG__edit_offre
if (0 === strpos($pathinfo, '/en/offreur/modifier_offre') && preg_match('#^/en/offreur/modifier_offre/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_offre']), array ( '_controller' => 'FournisseurBundle\\Controller\\OffreController::editAction', '_locale' => 'en',));
}
// en__RG__supprimer_offre
if (0 === strpos($pathinfo, '/en/offreur/supprimer_offre') && preg_match('#^/en/offreur/supprimer_offre/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_offre']), array ( '_controller' => 'FournisseurBundle\\Controller\\OffreController::removeAction', '_locale' => 'en',));
}
// en__RG__getByProvinceId
if ('/en/offreur/getbyProvinceid' === $pathinfo) {
return array ( '_controller' => 'FournisseurBundle\\Controller\\OffreController::getByProvinceId', '_locale' => 'en', '_route' => 'en__RG__getByProvinceId',);
}
}
elseif (0 === strpos($pathinfo, '/en/acheteur')) {
// en__RG__list_demandes
if ('/en/acheteur/demandes' === $pathinfo) {
return array ( '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::indexAction', '_locale' => 'en', '_route' => 'en__RG__list_demandes',);
}
// en__RG__ajouter_demande
if ('/en/acheteur/ajouter_demande' === $pathinfo) {
return array ( '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::ajouterDemandeAction', '_locale' => 'en', '_route' => 'en__RG__ajouter_demande',);
}
// en__RG__edit_demande
if (0 === strpos($pathinfo, '/en/acheteur/modifier_demande') && preg_match('#^/en/acheteur/modifier_demande/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_demande']), array ( '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::editAction', '_locale' => 'en',));
}
// en__RG__supprimer_demande
if (0 === strpos($pathinfo, '/en/acheteur/supprimer_demande') && preg_match('#^/en/acheteur/supprimer_demande/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_demande']), array ( '_controller' => 'AcheteurBundle\\Controller\\DemandeeController::removeAction', '_locale' => 'en',));
}
}
elseif (0 === strpos($pathinfo, '/en/admin')) {
if (0 === strpos($pathinfo, '/en/admin/a')) {
// en__RG__list_actualites
if ('/en/admin/actualite' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\ActualiteController::indexAction', '_locale' => 'en', '_route' => 'en__RG__list_actualites',);
}
// en__RG__ajouter_actualite
if ('/en/admin/add_actualite' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\ActualiteController::addActualite', '_locale' => 'en', '_route' => 'en__RG__ajouter_actualite',);
}
if (0 === strpos($pathinfo, '/en/admin/ajouter_')) {
// en__RG__ajouter_bourse
if ('/en/admin/ajouter_bourse' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\BourseController::ajouterBourseAction', '_locale' => 'en', '_route' => 'en__RG__ajouter_bourse',);
}
// en__RG__ajouter_categorie
if ('/en/admin/ajouter_categorie' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\CategorieController::ajouterCategorieAction', '_locale' => 'en', '_route' => 'en__RG__ajouter_categorie',);
}
// en__RG__ajouter_commune
if ('/en/admin/ajouter_commune' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\CommuneController::ajouterCommuneAction', '_locale' => 'en', '_route' => 'en__RG__ajouter_commune',);
}
}
}
elseif (0 === strpos($pathinfo, '/en/admin/modifier_')) {
// en__RG__edit_actualite
if (0 === strpos($pathinfo, '/en/admin/modifier_actualite') && preg_match('#^/en/admin/modifier_actualite/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_actualite']), array ( '_controller' => 'AdminBundle\\Controller\\ActualiteController::editAction', '_locale' => 'en',));
}
// en__RG__edit_bourse
if (0 === strpos($pathinfo, '/en/admin/modifier_bourse') && preg_match('#^/en/admin/modifier_bourse/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_bourse']), array ( '_controller' => 'AdminBundle\\Controller\\BourseController::editAction', '_locale' => 'en',));
}
// en__RG__edit_categorie
if (0 === strpos($pathinfo, '/en/admin/modifier_categorie') && preg_match('#^/en/admin/modifier_categorie/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_categorie']), array ( '_controller' => 'AdminBundle\\Controller\\CategorieController::editAction', '_locale' => 'en',));
}
// en__RG__edit_commune
if (0 === strpos($pathinfo, '/en/admin/modifier_commune') && preg_match('#^/en/admin/modifier_commune/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_commune']), array ( '_controller' => 'AdminBundle\\Controller\\CommuneController::editAction', '_locale' => 'en',));
}
}
elseif (0 === strpos($pathinfo, '/en/admin/supprimer_')) {
// en__RG__supprimer_actualite
if (0 === strpos($pathinfo, '/en/admin/supprimer_actualite') && preg_match('#^/en/admin/supprimer_actualite/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_actualite']), array ( '_controller' => 'AdminBundle\\Controller\\ActualiteController::removeAction', '_locale' => 'en',));
}
// en__RG__supprimer_bourse
if (0 === strpos($pathinfo, '/en/admin/supprimer_bourse') && preg_match('#^/en/admin/supprimer_bourse/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_bourse']), array ( '_controller' => 'AdminBundle\\Controller\\BourseController::removeAction', '_locale' => 'en',));
}
// en__RG__supprimer_categorie
if (0 === strpos($pathinfo, '/en/admin/supprimer_categorie') && preg_match('#^/en/admin/supprimer_categorie/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_categorie']), array ( '_controller' => 'AdminBundle\\Controller\\CategorieController::removeAction', '_locale' => 'en',));
}
// en__RG__supprimer_commune
if (0 === strpos($pathinfo, '/en/admin/supprimer_commune') && preg_match('#^/en/admin/supprimer_commune/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_commune']), array ( '_controller' => 'AdminBundle\\Controller\\CommuneController::removeAction', '_locale' => 'en',));
}
}
// en__RG__list_bourses
if ('/en/admin/bourse' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\BourseController::indexAction', '_locale' => 'en', '_route' => 'en__RG__list_bourses',);
}
// en__RG__list_categories
if ('/en/admin/categorie' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\CategorieController::indexAction', '_locale' => 'en', '_route' => 'en__RG__list_categories',);
}
// en__RG__list_communes
if ('/en/admin/commune' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\CommuneController::indexAction', '_locale' => 'en', '_route' => 'en__RG__list_communes',);
}
}
// en__RG__homepage
if ('/en' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::indexAction', '_locale' => 'en', '_route' => 'en__RG__homepage',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_en__RG__homepage;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'en__RG__homepage'));
}
return $ret;
}
not_en__RG__homepage:
if (0 === strpos($pathinfo, '/en/admin')) {
if (0 === strpos($pathinfo, '/en/admin/a')) {
if (0 === strpos($pathinfo, '/en/admin/ajouter_')) {
// en__RG__ajouter_user
if ('/en/admin/ajouter_utilisateur' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::ajouterUserAction', '_locale' => 'en', '_route' => 'en__RG__ajouter_user',);
}
// en__RG__ajouter_unite
if ('/en/admin/ajouter_unite' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\UniteController::ajouterUniteAction', '_locale' => 'en', '_route' => 'en__RG__ajouter_unite',);
}
// en__RG__ajouter_operateur
if ('/en/admin/ajouter_operateur' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\OperateurController::ajouterOperateurAction', '_locale' => 'en', '_route' => 'en__RG__ajouter_operateur',);
}
// en__RG__ajouter_professionnel
if ('/en/admin/ajouter_professionnel' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::ajouterProfessionnelAction', '_locale' => 'en', '_route' => 'en__RG__ajouter_professionnel',);
}
// en__RG__ajouter_province
if ('/en/admin/ajouter_province' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\ProvinceController::ajouterProvinceAction', '_locale' => 'en', '_route' => 'en__RG__ajouter_province',);
}
// en__RG__ajouter_souk
if ('/en/admin/ajouter_souk' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\SoukController::ajouterSoukAction', '_locale' => 'en', '_route' => 'en__RG__ajouter_souk',);
}
// en__RG__ajouter_variete
if ('/en/admin/ajouter_variete' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\VarieteController::ajouterVarieteAction', '_locale' => 'en', '_route' => 'en__RG__ajouter_variete',);
}
}
// en__RG__activer_user
if (0 === strpos($pathinfo, '/en/admin/activer_utilisateur') && preg_match('#^/en/admin/activer_utilisateur/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__activer_user']), array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::activerUserAction', '_locale' => 'en',));
}
// en__RG__ajouter_document
if ('/en/admin/add_document' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\DocumentController::addDocument', '_locale' => 'en', '_route' => 'en__RG__ajouter_document',);
}
}
// en__RG__list_users
if ('/en/admin/liste_utilisateur' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::listUserAction', '_locale' => 'en', '_route' => 'en__RG__list_users',);
}
if (0 === strpos($pathinfo, '/en/admin/supprimer_')) {
// en__RG__remove_user
if (0 === strpos($pathinfo, '/en/admin/supprimer_utilisateur') && preg_match('#^/en/admin/supprimer_utilisateur/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__remove_user']), array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::removeUserAction', '_locale' => 'en',));
}
// en__RG__supprimer_unite
if (0 === strpos($pathinfo, '/en/admin/supprimer_unite') && preg_match('#^/en/admin/supprimer_unite/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_unite']), array ( '_controller' => 'AdminBundle\\Controller\\UniteController::removeUserAction', '_locale' => 'en',));
}
// en__RG__admin_supprimer_demande
if (0 === strpos($pathinfo, '/en/admin/supprimer_demande') && preg_match('#^/en/admin/supprimer_demande/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__admin_supprimer_demande']), array ( '_controller' => 'AdminBundle\\Controller\\DemandeController::removeAction', '_locale' => 'en',));
}
// en__RG__supprimer_document
if (0 === strpos($pathinfo, '/en/admin/supprimer_document') && preg_match('#^/en/admin/supprimer_document/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_document']), array ( '_controller' => 'AdminBundle\\Controller\\DocumentController::removeAction', '_locale' => 'en',));
}
// en__RG__admin_supprimer_offre
if (0 === strpos($pathinfo, '/en/admin/supprimer_offre') && preg_match('#^/en/admin/supprimer_offre/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__admin_supprimer_offre']), array ( '_controller' => 'AdminBundle\\Controller\\OffreController::removeAction', '_locale' => 'en',));
}
// en__RG__supprimer_operateur
if (0 === strpos($pathinfo, '/en/admin/supprimer_operateur') && preg_match('#^/en/admin/supprimer_operateur/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_operateur']), array ( '_controller' => 'AdminBundle\\Controller\\OperateurController::removeAction', '_locale' => 'en',));
}
// en__RG__supprimer_professionnel
if (0 === strpos($pathinfo, '/en/admin/supprimer_professionnel') && preg_match('#^/en/admin/supprimer_professionnel/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_professionnel']), array ( '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::removeAction', '_locale' => 'en',));
}
// en__RG__supprimer_province
if (0 === strpos($pathinfo, '/en/admin/supprimer_province') && preg_match('#^/en/admin/supprimer_province/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_province']), array ( '_controller' => 'AdminBundle\\Controller\\ProvinceController::removeAction', '_locale' => 'en',));
}
// en__RG__supprimer_souk
if (0 === strpos($pathinfo, '/en/admin/supprimer_souk') && preg_match('#^/en/admin/supprimer_souk/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_souk']), array ( '_controller' => 'AdminBundle\\Controller\\SoukController::removeUserAction', '_locale' => 'en',));
}
// en__RG__supprimer_variete
if (0 === strpos($pathinfo, '/en/admin/supprimer_variete') && preg_match('#^/en/admin/supprimer_variete/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__supprimer_variete']), array ( '_controller' => 'AdminBundle\\Controller\\VarieteController::removeUserAction', '_locale' => 'en',));
}
}
// en__RG__list_souks
if ('/en/admin/souk' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\SoukController::indexAction', '_locale' => 'en', '_route' => 'en__RG__list_souks',);
}
if (0 === strpos($pathinfo, '/en/admin/modifier_')) {
// en__RG__edit_user
if (0 === strpos($pathinfo, '/en/admin/modifier_utilisateur') && preg_match('#^/en/admin/modifier_utilisateur/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_user']), array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::editRegisterAction', '_locale' => 'en',));
}
// en__RG__edit_unite
if (0 === strpos($pathinfo, '/en/admin/modifier_unite') && preg_match('#^/en/admin/modifier_unite/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_unite']), array ( '_controller' => 'AdminBundle\\Controller\\UniteController::editRegisterAction', '_locale' => 'en',));
}
// en__RG__admin_edit_demande
if (0 === strpos($pathinfo, '/en/admin/modifier_demande') && preg_match('#^/en/admin/modifier_demande/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__admin_edit_demande']), array ( '_controller' => 'AdminBundle\\Controller\\DemandeController::editAction', '_locale' => 'en',));
}
// en__RG__edit_document
if (0 === strpos($pathinfo, '/en/admin/modifier_document') && preg_match('#^/en/admin/modifier_document/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_document']), array ( '_controller' => 'AdminBundle\\Controller\\DocumentController::editAction', '_locale' => 'en',));
}
// en__RG__admin_edit_offre
if (0 === strpos($pathinfo, '/en/admin/modifier_offre') && preg_match('#^/en/admin/modifier_offre/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__admin_edit_offre']), array ( '_controller' => 'AdminBundle\\Controller\\OffreController::editAction', '_locale' => 'en',));
}
// en__RG__edit_operateur
if (0 === strpos($pathinfo, '/en/admin/modifier_operateur') && preg_match('#^/en/admin/modifier_operateur/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_operateur']), array ( '_controller' => 'AdminBundle\\Controller\\OperateurController::editAction', '_locale' => 'en',));
}
// en__RG__edit_professionnel
if (0 === strpos($pathinfo, '/en/admin/modifier_professionnel') && preg_match('#^/en/admin/modifier_professionnel/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_professionnel']), array ( '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::editAction', '_locale' => 'en',));
}
// en__RG__edit_province
if (0 === strpos($pathinfo, '/en/admin/modifier_province') && preg_match('#^/en/admin/modifier_province/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_province']), array ( '_controller' => 'AdminBundle\\Controller\\ProvinceController::editAction', '_locale' => 'en',));
}
// en__RG__edit_souk
if (0 === strpos($pathinfo, '/en/admin/modifier_souk') && preg_match('#^/en/admin/modifier_souk/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_souk']), array ( '_controller' => 'AdminBundle\\Controller\\SoukController::editRegisterAction', '_locale' => 'en',));
}
// en__RG__edit_variete
if (0 === strpos($pathinfo, '/en/admin/modifier_variete') && preg_match('#^/en/admin/modifier_variete/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__edit_variete']), array ( '_controller' => 'AdminBundle\\Controller\\VarieteController::editRegisterAction', '_locale' => 'en',));
}
}
// en__RG__blocker_user
if (0 === strpos($pathinfo, '/en/admin/blocker_utilisateur') && preg_match('#^/en/admin/blocker_utilisateur/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__blocker_user']), array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::blockerUserAction', '_locale' => 'en',));
}
// en__RG__trace
if ('/en/admin/trace' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::traceAction', '_locale' => 'en', '_route' => 'en__RG__trace',);
}
// en__RG__admin_demandes
if ('/en/admin/demandes' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\DemandeController::indexAction', '_locale' => 'en', '_route' => 'en__RG__admin_demandes',);
}
// en__RG__list_documents
if ('/en/admin/document' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\DocumentController::indexAction', '_locale' => 'en', '_route' => 'en__RG__list_documents',);
}
// en__RG__admin_offres
if ('/en/admin/offres' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\OffreController::indexAction', '_locale' => 'en', '_route' => 'en__RG__admin_offres',);
}
// en__RG__list_operateurs
if ('/en/admin/operateur' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\OperateurController::indexAction', '_locale' => 'en', '_route' => 'en__RG__list_operateurs',);
}
// en__RG__list_professionnels
if ('/en/admin/professionnel' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\ProfessionnelController::indexAction', '_locale' => 'en', '_route' => 'en__RG__list_professionnels',);
}
// en__RG__list_provinces
if ('/en/admin/province' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\ProvinceController::indexAction', '_locale' => 'en', '_route' => 'en__RG__list_provinces',);
}
// en__RG__list_unites
if ('/en/admin/unite' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\UniteController::indexAction', '_locale' => 'en', '_route' => 'en__RG__list_unites',);
}
// en__RG__list_varietes
if ('/en/admin/variete' === $pathinfo) {
return array ( '_controller' => 'AdminBundle\\Controller\\VarieteController::indexAction', '_locale' => 'en', '_route' => 'en__RG__list_varietes',);
}
}
// en__RG__api_login_check
if ('/en/api/login_check' === $pathinfo) {
return array ( '_locale' => 'en', '_route' => 'en__RG__api_login_check',);
}
if (0 === strpos($pathinfo, '/en/login')) {
// en__RG__fos_user_security_login
if ('/en/login' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.security.controller:loginAction', '_locale' => 'en', '_route' => 'en__RG__fos_user_security_login',);
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_en__RG__fos_user_security_login;
}
return $ret;
}
not_en__RG__fos_user_security_login:
// en__RG__fos_user_security_check
if ('/en/login_check' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.security.controller:checkAction', '_locale' => 'en', '_route' => 'en__RG__fos_user_security_check',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_en__RG__fos_user_security_check;
}
return $ret;
}
not_en__RG__fos_user_security_check:
}
// en__RG__fos_user_security_logout
if ('/en/logout' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.security.controller:logoutAction', '_locale' => 'en', '_route' => 'en__RG__fos_user_security_logout',);
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_en__RG__fos_user_security_logout;
}
return $ret;
}
not_en__RG__fos_user_security_logout:
if (0 === strpos($pathinfo, '/en/profile')) {
// en__RG__fos_user_profile_show
if ('/en/profile' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'fos_user.profile.controller:showAction', '_locale' => 'en', '_route' => 'en__RG__fos_user_profile_show',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_en__RG__fos_user_profile_show;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'en__RG__fos_user_profile_show'));
}
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_en__RG__fos_user_profile_show;
}
return $ret;
}
not_en__RG__fos_user_profile_show:
// en__RG__fos_user_profile_edit
if ('/en/profile/edit' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.profile.controller:editAction', '_locale' => 'en', '_route' => 'en__RG__fos_user_profile_edit',);
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_en__RG__fos_user_profile_edit;
}
return $ret;
}
not_en__RG__fos_user_profile_edit:
// en__RG__fos_user_change_password
if ('/en/profile/change-password' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.change_password.controller:changePasswordAction', '_locale' => 'en', '_route' => 'en__RG__fos_user_change_password',);
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_en__RG__fos_user_change_password;
}
return $ret;
}
not_en__RG__fos_user_change_password:
}
elseif (0 === strpos($pathinfo, '/en/register')) {
// en__RG__fos_user_registration_register
if ('/en/register' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'fos_user.registration.controller:registerAction', '_locale' => 'en', '_route' => 'en__RG__fos_user_registration_register',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_en__RG__fos_user_registration_register;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'en__RG__fos_user_registration_register'));
}
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_en__RG__fos_user_registration_register;
}
return $ret;
}
not_en__RG__fos_user_registration_register:
// en__RG__fos_user_registration_check_email
if ('/en/register/check-email' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.registration.controller:checkEmailAction', '_locale' => 'en', '_route' => 'en__RG__fos_user_registration_check_email',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_en__RG__fos_user_registration_check_email;
}
return $ret;
}
not_en__RG__fos_user_registration_check_email:
if (0 === strpos($pathinfo, '/en/register/confirm')) {
// en__RG__fos_user_registration_confirm
if (preg_match('#^/en/register/confirm/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__fos_user_registration_confirm']), array ( '_controller' => 'fos_user.registration.controller:confirmAction', '_locale' => 'en',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_en__RG__fos_user_registration_confirm;
}
return $ret;
}
not_en__RG__fos_user_registration_confirm:
// en__RG__fos_user_registration_confirmed
if ('/en/register/confirmed' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.registration.controller:confirmedAction', '_locale' => 'en', '_route' => 'en__RG__fos_user_registration_confirmed',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_en__RG__fos_user_registration_confirmed;
}
return $ret;
}
not_en__RG__fos_user_registration_confirmed:
}
}
elseif (0 === strpos($pathinfo, '/en/resetting')) {
// en__RG__fos_user_resetting_request
if ('/en/resetting/request' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.resetting.controller:requestAction', '_locale' => 'en', '_route' => 'en__RG__fos_user_resetting_request',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_en__RG__fos_user_resetting_request;
}
return $ret;
}
not_en__RG__fos_user_resetting_request:
// en__RG__fos_user_resetting_reset
if (0 === strpos($pathinfo, '/en/resetting/reset') && preg_match('#^/en/resetting/reset/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'en__RG__fos_user_resetting_reset']), array ( '_controller' => 'fos_user.resetting.controller:resetAction', '_locale' => 'en',));
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_en__RG__fos_user_resetting_reset;
}
return $ret;
}
not_en__RG__fos_user_resetting_reset:
// en__RG__fos_user_resetting_send_email
if ('/en/resetting/send-email' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.resetting.controller:sendEmailAction', '_locale' => 'en', '_route' => 'en__RG__fos_user_resetting_send_email',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_en__RG__fos_user_resetting_send_email;
}
return $ret;
}
not_en__RG__fos_user_resetting_send_email:
// en__RG__fos_user_resetting_check_email
if ('/en/resetting/check-email' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.resetting.controller:checkEmailAction', '_locale' => 'en', '_route' => 'en__RG__fos_user_resetting_check_email',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_en__RG__fos_user_resetting_check_email;
}
return $ret;
}
not_en__RG__fos_user_resetting_check_email:
}
}
elseif (0 === strpos($pathinfo, '/index')) {
// fr__RG__marocdatte
if ('/index/marocdatte' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::marocdatteAction', '_locale' => 'fr', '_route' => 'fr__RG__marocdatte',);
}
// fr__RG__contratprogram
if ('/index/contratprogram' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::contratprogAction', '_locale' => 'fr', '_route' => 'fr__RG__contratprogram',);
}
if (0 === strpos($pathinfo, '/index/contactez')) {
// fr__RG__contactez
if ('/index/contactez' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::contactezAction', '_locale' => 'fr', '_route' => 'fr__RG__contactez',);
}
// fr__RG__contactezsub
if ('/index/contactezsub' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::contactezsubAction', '_locale' => 'fr', '_route' => 'fr__RG__contactezsub',);
}
}
// fr__RG__portail
if ('/index' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::indexAction', '_locale' => 'fr', '_route' => 'fr__RG__portail',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_fr__RG__portail;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'fr__RG__portail'));
}
return $ret;
}
not_fr__RG__portail:
// fr__RG__partenaire
if ('/index/partenaires' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::paretenaireAction', '_locale' => 'fr', '_route' => 'fr__RG__partenaire',);
}
if (0 === strpos($pathinfo, '/index/pr')) {
// fr__RG__presentation
if ('/index/presentation' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::presentationAction', '_locale' => 'fr', '_route' => 'fr__RG__presentation',);
}
// fr__RG__prix_marche
if ('/index/prix_marche' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::PrixMarcheAction', '_locale' => 'fr', '_route' => 'fr__RG__prix_marche',);
}
// fr__RG__professionel
if ('/index/professionel' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::ProfessionelAction', '_locale' => 'fr', '_route' => 'fr__RG__professionel',);
}
}
// fr__RG__document
if ('/index/documents' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::documentAction', '_locale' => 'fr', '_route' => 'fr__RG__document',);
}
if (0 === strpos($pathinfo, '/index/actualites')) {
// fr__RG__actualite
if ('/index/actualites' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::actualiteAction', '_locale' => 'fr', '_route' => 'fr__RG__actualite',);
}
// fr__RG__detailActualite
if (preg_match('#^/index/actualites/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__detailActualite']), array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::detailActualiteAction', '_locale' => 'fr',));
}
}
// fr__RG__about
if ('/index/about' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::aboutAction', '_locale' => 'fr', '_route' => 'fr__RG__about',);
}
// fr__RG__bourses
if ('/index/bourses' === $pathinfo) {
return array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::boursesAction', '_locale' => 'fr', '_route' => 'fr__RG__bourses',);
}
// fr__RG__detail_offre
if (0 === strpos($pathinfo, '/index/offres') && preg_match('#^/index/offres/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__detail_offre']), array ( '_controller' => 'PortailBundle\\Controller\\DefaultController::detailOffreAction', '_locale' => 'fr',));
}
}
// fr__RG__fournisseur_default_index
if ('/h' === $pathinfo) {
return array ( '_controller' => 'FournisseurBundle\\Controller\\DefaultController::indexAction', '_locale' => 'fr', '_route' => 'fr__RG__fournisseur_default_index',);
}
if (0 === strpos($pathinfo, '/offreur')) {
// fr__RG__list_offres
if ('/offreur/offres' === $pathinfo) {
return array ( '_controller' => 'FournisseurBundle\\Controller\\OffreController::indexAction', '_locale' => 'fr', '_route' => 'fr__RG__list_offres',);
}
// fr__RG__ajouter_offre
if ('/offreur/ajouter_offre' === $pathinfo) {
return array ( '_controller' => 'FournisseurBundle\\Controller\\OffreController::ajouterOffreAction', '_locale' => 'fr', '_route' => 'fr__RG__ajouter_offre',);
}
// fr__RG__edit_offre
if (0 === strpos($pathinfo, '/offreur/modifier_offre') && preg_match('#^/offreur/modifier_offre/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__edit_offre']), array ( '_controller' => 'FournisseurBundle\\Controller\\OffreController::editAction', '_locale' => 'fr',));
}
// fr__RG__supprimer_offre
if (0 === strpos($pathinfo, '/offreur/supprimer_offre') && preg_match('#^/offreur/supprimer_offre/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__supprimer_offre']), array ( '_controller' => 'FournisseurBundle\\Controller\\OffreController::removeAction', '_locale' => 'fr',));
}
// fr__RG__getByProvinceId
if ('/offreur/getbyProvinceid' === $pathinfo) {
return array ( '_controller' => 'FournisseurBundle\\Controller\\OffreController::getByProvinceId', '_locale' => 'fr', '_route' => 'fr__RG__getByProvinceId',);
}
}
// fr__RG__homepage
if ('' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'AdminBundle\\Controller\\DefaultController::indexAction', '_locale' => 'fr', '_route' => 'fr__RG__homepage',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_fr__RG__homepage;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'fr__RG__homepage'));
}
return $ret;
}
not_fr__RG__homepage:
if (0 === strpos($pathinfo, '/login')) {
// fr__RG__fos_user_security_login
if ('/login' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.security.controller:loginAction', '_locale' => 'fr', '_route' => 'fr__RG__fos_user_security_login',);
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_fr__RG__fos_user_security_login;
}
return $ret;
}
not_fr__RG__fos_user_security_login:
// fr__RG__fos_user_security_check
if ('/login_check' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.security.controller:checkAction', '_locale' => 'fr', '_route' => 'fr__RG__fos_user_security_check',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_fr__RG__fos_user_security_check;
}
return $ret;
}
not_fr__RG__fos_user_security_check:
}
// fr__RG__fos_user_security_logout
if ('/logout' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.security.controller:logoutAction', '_locale' => 'fr', '_route' => 'fr__RG__fos_user_security_logout',);
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_fr__RG__fos_user_security_logout;
}
return $ret;
}
not_fr__RG__fos_user_security_logout:
if (0 === strpos($pathinfo, '/profile')) {
// fr__RG__fos_user_profile_show
if ('/profile' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'fos_user.profile.controller:showAction', '_locale' => 'fr', '_route' => 'fr__RG__fos_user_profile_show',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_fr__RG__fos_user_profile_show;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'fr__RG__fos_user_profile_show'));
}
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_fr__RG__fos_user_profile_show;
}
return $ret;
}
not_fr__RG__fos_user_profile_show:
// fr__RG__fos_user_profile_edit
if ('/profile/edit' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.profile.controller:editAction', '_locale' => 'fr', '_route' => 'fr__RG__fos_user_profile_edit',);
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_fr__RG__fos_user_profile_edit;
}
return $ret;
}
not_fr__RG__fos_user_profile_edit:
// fr__RG__fos_user_change_password
if ('/profile/change-password' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.change_password.controller:changePasswordAction', '_locale' => 'fr', '_route' => 'fr__RG__fos_user_change_password',);
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_fr__RG__fos_user_change_password;
}
return $ret;
}
not_fr__RG__fos_user_change_password:
}
elseif (0 === strpos($pathinfo, '/register')) {
// fr__RG__fos_user_registration_register
if ('/register' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'fos_user.registration.controller:registerAction', '_locale' => 'fr', '_route' => 'fr__RG__fos_user_registration_register',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_fr__RG__fos_user_registration_register;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'fr__RG__fos_user_registration_register'));
}
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_fr__RG__fos_user_registration_register;
}
return $ret;
}
not_fr__RG__fos_user_registration_register:
// fr__RG__fos_user_registration_check_email
if ('/register/check-email' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.registration.controller:checkEmailAction', '_locale' => 'fr', '_route' => 'fr__RG__fos_user_registration_check_email',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_fr__RG__fos_user_registration_check_email;
}
return $ret;
}
not_fr__RG__fos_user_registration_check_email:
if (0 === strpos($pathinfo, '/register/confirm')) {
// fr__RG__fos_user_registration_confirm
if (preg_match('#^/register/confirm/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__fos_user_registration_confirm']), array ( '_controller' => 'fos_user.registration.controller:confirmAction', '_locale' => 'fr',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_fr__RG__fos_user_registration_confirm;
}
return $ret;
}
not_fr__RG__fos_user_registration_confirm:
// fr__RG__fos_user_registration_confirmed
if ('/register/confirmed' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.registration.controller:confirmedAction', '_locale' => 'fr', '_route' => 'fr__RG__fos_user_registration_confirmed',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_fr__RG__fos_user_registration_confirmed;
}
return $ret;
}
not_fr__RG__fos_user_registration_confirmed:
}
}
elseif (0 === strpos($pathinfo, '/resetting')) {
// fr__RG__fos_user_resetting_request
if ('/resetting/request' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.resetting.controller:requestAction', '_locale' => 'fr', '_route' => 'fr__RG__fos_user_resetting_request',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_fr__RG__fos_user_resetting_request;
}
return $ret;
}
not_fr__RG__fos_user_resetting_request:
// fr__RG__fos_user_resetting_reset
if (0 === strpos($pathinfo, '/resetting/reset') && preg_match('#^/resetting/reset/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'fr__RG__fos_user_resetting_reset']), array ( '_controller' => 'fos_user.resetting.controller:resetAction', '_locale' => 'fr',));
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_fr__RG__fos_user_resetting_reset;
}
return $ret;
}
not_fr__RG__fos_user_resetting_reset:
// fr__RG__fos_user_resetting_send_email
if ('/resetting/send-email' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.resetting.controller:sendEmailAction', '_locale' => 'fr', '_route' => 'fr__RG__fos_user_resetting_send_email',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_fr__RG__fos_user_resetting_send_email;
}
return $ret;
}
not_fr__RG__fos_user_resetting_send_email:
// fr__RG__fos_user_resetting_check_email
if ('/resetting/check-email' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.resetting.controller:checkEmailAction', '_locale' => 'fr', '_route' => 'fr__RG__fos_user_resetting_check_email',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_fr__RG__fos_user_resetting_check_email;
}
return $ret;
}
not_fr__RG__fos_user_resetting_check_email:
}
if ('/' === $pathinfo && !$allow) {
throw new Symfony\Component\Routing\Exception\NoConfigurationException();
}
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}