<?php

use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;

/**
 * appDevDebugProjectContainerUrlMatcher.
 *
 * This class has been auto-generated
 * by the Symfony Routing Component.
 */
class appDevDebugProjectContainerUrlMatcher extends Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher
{
    /**
     * Constructor.
     */
    public function __construct(RequestContext $context)
    {
        $this->context = $context;
    }

    public function match($pathinfo)
    {
        $allow = array();
        $pathinfo = rawurldecode($pathinfo);
        $context = $this->context;
        $request = $this->request;

        if (0 === strpos($pathinfo, '/_')) {
            // _wdt
            if (0 === strpos($pathinfo, '/_wdt') && preg_match('#^/_wdt/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => '_wdt')), array (  '_controller' => 'web_profiler.controller.profiler:toolbarAction',));
            }

            if (0 === strpos($pathinfo, '/_profiler')) {
                // _profiler_home
                if (rtrim($pathinfo, '/') === '/_profiler') {
                    if (substr($pathinfo, -1) !== '/') {
                        return $this->redirect($pathinfo.'/', '_profiler_home');
                    }

                    return array (  '_controller' => 'web_profiler.controller.profiler:homeAction',  '_route' => '_profiler_home',);
                }

                if (0 === strpos($pathinfo, '/_profiler/search')) {
                    // _profiler_search
                    if ($pathinfo === '/_profiler/search') {
                        return array (  '_controller' => 'web_profiler.controller.profiler:searchAction',  '_route' => '_profiler_search',);
                    }

                    // _profiler_search_bar
                    if ($pathinfo === '/_profiler/search_bar') {
                        return array (  '_controller' => 'web_profiler.controller.profiler:searchBarAction',  '_route' => '_profiler_search_bar',);
                    }

                }

                // _profiler_purge
                if ($pathinfo === '/_profiler/purge') {
                    return array (  '_controller' => 'web_profiler.controller.profiler:purgeAction',  '_route' => '_profiler_purge',);
                }

                // _profiler_info
                if (0 === strpos($pathinfo, '/_profiler/info') && preg_match('#^/_profiler/info/(?P<about>[^/]++)$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_info')), array (  '_controller' => 'web_profiler.controller.profiler:infoAction',));
                }

                // _profiler_phpinfo
                if ($pathinfo === '/_profiler/phpinfo') {
                    return array (  '_controller' => 'web_profiler.controller.profiler:phpinfoAction',  '_route' => '_profiler_phpinfo',);
                }

                // _profiler_search_results
                if (preg_match('#^/_profiler/(?P<token>[^/]++)/search/results$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_search_results')), array (  '_controller' => 'web_profiler.controller.profiler:searchResultsAction',));
                }

                // _profiler
                if (preg_match('#^/_profiler/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler')), array (  '_controller' => 'web_profiler.controller.profiler:panelAction',));
                }

                // _profiler_router
                if (preg_match('#^/_profiler/(?P<token>[^/]++)/router$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_router')), array (  '_controller' => 'web_profiler.controller.router:panelAction',));
                }

                // _profiler_exception
                if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_exception')), array (  '_controller' => 'web_profiler.controller.exception:showAction',));
                }

                // _profiler_exception_css
                if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception\\.css$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_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>[^/]++))?$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => '_twig_error_test')), array (  '_controller' => 'twig.controller.preview_error:previewErrorPageAction',  '_format' => 'html',));
            }

        }

        if (0 === strpos($pathinfo, '/log')) {
            if (0 === strpos($pathinfo, '/login')) {
                // fos_user_security_login
                if ($pathinfo === '/login') {
                    if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                        $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                        goto not_fos_user_security_login;
                    }

                    return array (  '_controller' => 'UserBundle\\Controller\\SecurityController::loginAction',  '_route' => 'fos_user_security_login',);
                }
                not_fos_user_security_login:

                // fos_user_security_check
                if ($pathinfo === '/login_check') {
                    if ($this->context->getMethod() != 'POST') {
                        $allow[] = 'POST';
                        goto not_fos_user_security_check;
                    }

                    return array (  '_controller' => 'UserBundle\\Controller\\SecurityController::checkAction',  '_route' => 'fos_user_security_check',);
                }
                not_fos_user_security_check:

            }

            // fos_user_security_logout
            if ($pathinfo === '/logout') {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_fos_user_security_logout;
                }

                return array (  '_controller' => 'UserBundle\\Controller\\SecurityController::logoutAction',  '_route' => 'fos_user_security_logout',);
            }
            not_fos_user_security_logout:

        }

        if (0 === strpos($pathinfo, '/profile')) {
            // fos_user_profile_show
            if (rtrim($pathinfo, '/') === '/profile') {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_fos_user_profile_show;
                }

                if (substr($pathinfo, -1) !== '/') {
                    return $this->redirect($pathinfo.'/', 'fos_user_profile_show');
                }

                return array (  '_controller' => 'FOS\\UserBundle\\Controller\\ProfileController::showAction',  '_route' => 'fos_user_profile_show',);
            }
            not_fos_user_profile_show:

            // fos_user_profile_edit
            if ($pathinfo === '/profile/edit') {
                if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                    goto not_fos_user_profile_edit;
                }

                return array (  '_controller' => 'FOS\\UserBundle\\Controller\\ProfileController::editAction',  '_route' => 'fos_user_profile_edit',);
            }
            not_fos_user_profile_edit:

        }

        if (0 === strpos($pathinfo, '/admin/register')) {
            // fos_user_registration_register
            if (rtrim($pathinfo, '/') === '/admin/register') {
                if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                    goto not_fos_user_registration_register;
                }

                if (substr($pathinfo, -1) !== '/') {
                    return $this->redirect($pathinfo.'/', 'fos_user_registration_register');
                }

                return array (  '_controller' => 'UserBundle\\Controller\\RegistrationController::registerAction',  '_route' => 'fos_user_registration_register',);
            }
            not_fos_user_registration_register:

            if (0 === strpos($pathinfo, '/admin/register/c')) {
                // fos_user_registration_check_email
                if ($pathinfo === '/admin/register/check-email') {
                    if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                        $allow = array_merge($allow, array('GET', 'HEAD'));
                        goto not_fos_user_registration_check_email;
                    }

                    return array (  '_controller' => 'UserBundle\\Controller\\RegistrationController::checkEmailAction',  '_route' => 'fos_user_registration_check_email',);
                }
                not_fos_user_registration_check_email:

                if (0 === strpos($pathinfo, '/admin/register/confirm')) {
                    // fos_user_registration_confirm
                    if (preg_match('#^/admin/register/confirm/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
                        if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                            $allow = array_merge($allow, array('GET', 'HEAD'));
                            goto not_fos_user_registration_confirm;
                        }

                        return $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_registration_confirm')), array (  '_controller' => 'UserBundle\\Controller\\RegistrationController::confirmAction',));
                    }
                    not_fos_user_registration_confirm:

                    // fos_user_registration_confirmed
                    if ($pathinfo === '/admin/register/confirmed') {
                        if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                            $allow = array_merge($allow, array('GET', 'HEAD'));
                            goto not_fos_user_registration_confirmed;
                        }

                        return array (  '_controller' => 'UserBundle\\Controller\\RegistrationController::confirmedAction',  '_route' => 'fos_user_registration_confirmed',);
                    }
                    not_fos_user_registration_confirmed:

                }

            }

        }

        if (0 === strpos($pathinfo, '/resetting')) {
            // fos_user_resetting_request
            if ($pathinfo === '/resetting/request') {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_fos_user_resetting_request;
                }

                return array (  '_controller' => 'FOS\\UserBundle\\Controller\\ResettingController::requestAction',  '_route' => 'fos_user_resetting_request',);
            }
            not_fos_user_resetting_request:

            // fos_user_resetting_send_email
            if ($pathinfo === '/resetting/send-email') {
                if ($this->context->getMethod() != 'POST') {
                    $allow[] = 'POST';
                    goto not_fos_user_resetting_send_email;
                }

                return array (  '_controller' => 'FOS\\UserBundle\\Controller\\ResettingController::sendEmailAction',  '_route' => 'fos_user_resetting_send_email',);
            }
            not_fos_user_resetting_send_email:

            // fos_user_resetting_check_email
            if ($pathinfo === '/resetting/check-email') {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_fos_user_resetting_check_email;
                }

                return array (  '_controller' => 'FOS\\UserBundle\\Controller\\ResettingController::checkEmailAction',  '_route' => 'fos_user_resetting_check_email',);
            }
            not_fos_user_resetting_check_email:

            // fos_user_resetting_reset
            if (0 === strpos($pathinfo, '/resetting/reset') && preg_match('#^/resetting/reset/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                    goto not_fos_user_resetting_reset;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_resetting_reset')), array (  '_controller' => 'FOS\\UserBundle\\Controller\\ResettingController::resetAction',));
            }
            not_fos_user_resetting_reset:

        }

        // fos_user_change_password
        if ($pathinfo === '/profile/change-password') {
            if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                goto not_fos_user_change_password;
            }

            return array (  '_controller' => 'FOS\\UserBundle\\Controller\\ChangePasswordController::changePasswordAction',  '_route' => 'fos_user_change_password',);
        }
        not_fos_user_change_password:

        if (0 === strpos($pathinfo, '/admin/version-composant')) {
            // version_index
            if (rtrim($pathinfo, '/') === '/admin/version-composant') {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_version_index;
                }

                if (substr($pathinfo, -1) !== '/') {
                    return $this->redirect($pathinfo.'/', 'version_index');
                }

                return array (  '_controller' => 'GestionBundle\\Controller\\VersionController::indexAction',  '_route' => 'version_index',);
            }
            not_version_index:

            // version_show
            if (preg_match('#^/admin/version\\-composant/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_version_show;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'version_show')), array (  '_controller' => 'GestionBundle\\Controller\\VersionController::showAction',));
            }
            not_version_show:

            // version_new
            if ($pathinfo === '/admin/version-composant/new') {
                if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                    goto not_version_new;
                }

                return array (  '_controller' => 'GestionBundle\\Controller\\VersionController::newAction',  '_route' => 'version_new',);
            }
            not_version_new:

            // version_edit
            if (preg_match('#^/admin/version\\-composant/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                    goto not_version_edit;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'version_edit')), array (  '_controller' => 'GestionBundle\\Controller\\VersionController::editAction',));
            }
            not_version_edit:

            // version_delete
            if (preg_match('#^/admin/version\\-composant/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
                if ($this->context->getMethod() != 'DELETE') {
                    $allow[] = 'DELETE';
                    goto not_version_delete;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'version_delete')), array (  '_controller' => 'GestionBundle\\Controller\\VersionController::deleteAction',));
            }
            not_version_delete:

        }

        if (0 === strpos($pathinfo, '/responsable/version-composant')) {
            // responsable_version_index
            if (rtrim($pathinfo, '/') === '/responsable/version-composant') {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_responsable_version_index;
                }

                if (substr($pathinfo, -1) !== '/') {
                    return $this->redirect($pathinfo.'/', 'responsable_version_index');
                }

                return array (  '_controller' => 'GestionBundle\\Controller\\ResponsableVersionController::indexAction',  '_route' => 'responsable_version_index',);
            }
            not_responsable_version_index:

            // responsable_version_show
            if (preg_match('#^/responsable/version\\-composant/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_responsable_version_show;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'responsable_version_show')), array (  '_controller' => 'GestionBundle\\Controller\\ResponsableVersionController::showAction',));
            }
            not_responsable_version_show:

            // responsable_version_new
            if ($pathinfo === '/responsable/version-composant/new') {
                if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                    goto not_responsable_version_new;
                }

                return array (  '_controller' => 'GestionBundle\\Controller\\ResponsableVersionController::newAction',  '_route' => 'responsable_version_new',);
            }
            not_responsable_version_new:

            // responsable_version_edit
            if (preg_match('#^/responsable/version\\-composant/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                    goto not_responsable_version_edit;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'responsable_version_edit')), array (  '_controller' => 'GestionBundle\\Controller\\ResponsableVersionController::editAction',));
            }
            not_responsable_version_edit:

            // responsable_version_delete
            if (preg_match('#^/responsable/version\\-composant/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
                if ($this->context->getMethod() != 'DELETE') {
                    $allow[] = 'DELETE';
                    goto not_responsable_version_delete;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'responsable_version_delete')), array (  '_controller' => 'GestionBundle\\Controller\\ResponsableVersionController::deleteAction',));
            }
            not_responsable_version_delete:

        }

        if (0 === strpos($pathinfo, '/admin/version-produit')) {
            // version_produit_index
            if (rtrim($pathinfo, '/') === '/admin/version-produit') {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_version_produit_index;
                }

                if (substr($pathinfo, -1) !== '/') {
                    return $this->redirect($pathinfo.'/', 'version_produit_index');
                }

                return array (  '_controller' => 'GestionBundle\\Controller\\VersionProduitController::indexAction',  '_route' => 'version_produit_index',);
            }
            not_version_produit_index:

            // version_produit_show
            if (preg_match('#^/admin/version\\-produit/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_version_produit_show;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'version_produit_show')), array (  '_controller' => 'GestionBundle\\Controller\\VersionProduitController::showAction',));
            }
            not_version_produit_show:

            // version_produit_new
            if ($pathinfo === '/admin/version-produit/new') {
                if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                    goto not_version_produit_new;
                }

                return array (  '_controller' => 'GestionBundle\\Controller\\VersionProduitController::newAction',  '_route' => 'version_produit_new',);
            }
            not_version_produit_new:

            // version_produit_edit
            if (preg_match('#^/admin/version\\-produit/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                    goto not_version_produit_edit;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'version_produit_edit')), array (  '_controller' => 'GestionBundle\\Controller\\VersionProduitController::editAction',));
            }
            not_version_produit_edit:

            // version_produit_delete
            if (preg_match('#^/admin/version\\-produit/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
                if ($this->context->getMethod() != 'DELETE') {
                    $allow[] = 'DELETE';
                    goto not_version_produit_delete;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'version_produit_delete')), array (  '_controller' => 'GestionBundle\\Controller\\VersionProduitController::deleteAction',));
            }
            not_version_produit_delete:

        }

        if (0 === strpos($pathinfo, '/responsable/version-produit')) {
            // responsable_version_produit_index
            if (rtrim($pathinfo, '/') === '/responsable/version-produit') {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_responsable_version_produit_index;
                }

                if (substr($pathinfo, -1) !== '/') {
                    return $this->redirect($pathinfo.'/', 'responsable_version_produit_index');
                }

                return array (  '_controller' => 'GestionBundle\\Controller\\ResponsableVersionProduitController::indexAction',  '_route' => 'responsable_version_produit_index',);
            }
            not_responsable_version_produit_index:

            // responsable_version_produit_show
            if (preg_match('#^/responsable/version\\-produit/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_responsable_version_produit_show;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'responsable_version_produit_show')), array (  '_controller' => 'GestionBundle\\Controller\\ResponsableVersionProduitController::showAction',));
            }
            not_responsable_version_produit_show:

            // responsable_version_produit_new
            if ($pathinfo === '/responsable/version-produit/new') {
                if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                    goto not_responsable_version_produit_new;
                }

                return array (  '_controller' => 'GestionBundle\\Controller\\ResponsableVersionProduitController::newAction',  '_route' => 'responsable_version_produit_new',);
            }
            not_responsable_version_produit_new:

            // responsable_version_produit_edit
            if (preg_match('#^/responsable/version\\-produit/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                    goto not_responsable_version_produit_edit;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'responsable_version_produit_edit')), array (  '_controller' => 'GestionBundle\\Controller\\ResponsableVersionProduitController::editAction',));
            }
            not_responsable_version_produit_edit:

            // responsable_version_produit_delete
            if (preg_match('#^/responsable/version\\-produit/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
                if ($this->context->getMethod() != 'DELETE') {
                    $allow[] = 'DELETE';
                    goto not_responsable_version_produit_delete;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'responsable_version_produit_delete')), array (  '_controller' => 'GestionBundle\\Controller\\ResponsableVersionProduitController::deleteAction',));
            }
            not_responsable_version_produit_delete:

        }

        if (0 === strpos($pathinfo, '/admin/composant')) {
            // composant_index
            if (rtrim($pathinfo, '/') === '/admin/composant') {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_composant_index;
                }

                if (substr($pathinfo, -1) !== '/') {
                    return $this->redirect($pathinfo.'/', 'composant_index');
                }

                return array (  '_controller' => 'GestionBundle\\Controller\\ComposantController::indexAction',  '_route' => 'composant_index',);
            }
            not_composant_index:

            // composant_show
            if (preg_match('#^/admin/composant/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_composant_show;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'composant_show')), array (  '_controller' => 'GestionBundle\\Controller\\ComposantController::showAction',));
            }
            not_composant_show:

            // composant_new
            if ($pathinfo === '/admin/composant/new') {
                if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                    goto not_composant_new;
                }

                return array (  '_controller' => 'GestionBundle\\Controller\\ComposantController::newAction',  '_route' => 'composant_new',);
            }
            not_composant_new:

            // composant_edit
            if (preg_match('#^/admin/composant/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                    goto not_composant_edit;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'composant_edit')), array (  '_controller' => 'GestionBundle\\Controller\\ComposantController::editAction',));
            }
            not_composant_edit:

            // composant_delete
            if (preg_match('#^/admin/composant/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
                if ($this->context->getMethod() != 'DELETE') {
                    $allow[] = 'DELETE';
                    goto not_composant_delete;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'composant_delete')), array (  '_controller' => 'GestionBundle\\Controller\\ComposantController::deleteAction',));
            }
            not_composant_delete:

        }

        if (0 === strpos($pathinfo, '/responsable/composant')) {
            // responsable_composant_index
            if (rtrim($pathinfo, '/') === '/responsable/composant') {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_responsable_composant_index;
                }

                if (substr($pathinfo, -1) !== '/') {
                    return $this->redirect($pathinfo.'/', 'responsable_composant_index');
                }

                return array (  '_controller' => 'GestionBundle\\Controller\\ResponsableComposantController::indexAction',  '_route' => 'responsable_composant_index',);
            }
            not_responsable_composant_index:

            // responsable_composant_show
            if (preg_match('#^/responsable/composant/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_responsable_composant_show;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'responsable_composant_show')), array (  '_controller' => 'GestionBundle\\Controller\\ResponsableComposantController::showAction',));
            }
            not_responsable_composant_show:

            // responsable_composant_new
            if ($pathinfo === '/responsable/composant/new') {
                if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                    goto not_responsable_composant_new;
                }

                return array (  '_controller' => 'GestionBundle\\Controller\\ResponsableComposantController::newAction',  '_route' => 'responsable_composant_new',);
            }
            not_responsable_composant_new:

            // responsable_composant_edit
            if (preg_match('#^/responsable/composant/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                    goto not_responsable_composant_edit;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'responsable_composant_edit')), array (  '_controller' => 'GestionBundle\\Controller\\ResponsableComposantController::editAction',));
            }
            not_responsable_composant_edit:

            // responsable_composant_delete
            if (preg_match('#^/responsable/composant/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
                if ($this->context->getMethod() != 'DELETE') {
                    $allow[] = 'DELETE';
                    goto not_responsable_composant_delete;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'responsable_composant_delete')), array (  '_controller' => 'GestionBundle\\Controller\\ResponsableComposantController::deleteAction',));
            }
            not_responsable_composant_delete:

        }

        if (0 === strpos($pathinfo, '/admin/produit')) {
            // produit_index
            if (rtrim($pathinfo, '/') === '/admin/produit') {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_produit_index;
                }

                if (substr($pathinfo, -1) !== '/') {
                    return $this->redirect($pathinfo.'/', 'produit_index');
                }

                return array (  '_controller' => 'GestionBundle\\Controller\\ProduitController::indexAction',  '_route' => 'produit_index',);
            }
            not_produit_index:

            // produit_show
            if (preg_match('#^/admin/produit/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_produit_show;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'produit_show')), array (  '_controller' => 'GestionBundle\\Controller\\ProduitController::showAction',));
            }
            not_produit_show:

            // produit_new
            if ($pathinfo === '/admin/produit/new') {
                if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                    goto not_produit_new;
                }

                return array (  '_controller' => 'GestionBundle\\Controller\\ProduitController::newAction',  '_route' => 'produit_new',);
            }
            not_produit_new:

            // produit_edit
            if (preg_match('#^/admin/produit/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                    goto not_produit_edit;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'produit_edit')), array (  '_controller' => 'GestionBundle\\Controller\\ProduitController::editAction',));
            }
            not_produit_edit:

            // produit_delete
            if (preg_match('#^/admin/produit/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
                if ($this->context->getMethod() != 'DELETE') {
                    $allow[] = 'DELETE';
                    goto not_produit_delete;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'produit_delete')), array (  '_controller' => 'GestionBundle\\Controller\\ProduitController::deleteAction',));
            }
            not_produit_delete:

        }

        if (0 === strpos($pathinfo, '/responsable/produit')) {
            // responsable_produit_index
            if (rtrim($pathinfo, '/') === '/responsable/produit') {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_responsable_produit_index;
                }

                if (substr($pathinfo, -1) !== '/') {
                    return $this->redirect($pathinfo.'/', 'responsable_produit_index');
                }

                return array (  '_controller' => 'GestionBundle\\Controller\\ResponsableProduitController::indexAction',  '_route' => 'responsable_produit_index',);
            }
            not_responsable_produit_index:

            // responsable_produit_show
            if (preg_match('#^/responsable/produit/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_responsable_produit_show;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'responsable_produit_show')), array (  '_controller' => 'GestionBundle\\Controller\\ResponsableProduitController::showAction',));
            }
            not_responsable_produit_show:

            // responsable_produit_new
            if ($pathinfo === '/responsable/produit/new') {
                if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                    goto not_responsable_produit_new;
                }

                return array (  '_controller' => 'GestionBundle\\Controller\\ResponsableProduitController::newAction',  '_route' => 'responsable_produit_new',);
            }
            not_responsable_produit_new:

            // responsable_produit_edit
            if (preg_match('#^/responsable/produit/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                    goto not_responsable_produit_edit;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'responsable_produit_edit')), array (  '_controller' => 'GestionBundle\\Controller\\ResponsableProduitController::editAction',));
            }
            not_responsable_produit_edit:

            // responsable_produit_delete
            if (preg_match('#^/responsable/produit/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
                if ($this->context->getMethod() != 'DELETE') {
                    $allow[] = 'DELETE';
                    goto not_responsable_produit_delete;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'responsable_produit_delete')), array (  '_controller' => 'GestionBundle\\Controller\\ResponsableProduitController::deleteAction',));
            }
            not_responsable_produit_delete:

        }

        // gestion_homepage
        if (rtrim($pathinfo, '/') === '') {
            if (substr($pathinfo, -1) !== '/') {
                return $this->redirect($pathinfo.'/', 'gestion_homepage');
            }

            return array (  '_controller' => 'GestionBundle\\Controller\\DefaultController::indexAction',  '_route' => 'gestion_homepage',);
        }

        if (0 === strpos($pathinfo, '/admin')) {
            // admin_homepage
            if ($pathinfo === '/admin') {
                return array (  '_controller' => 'GestionBundle\\Controller\\AdminController::indexAction',  '_route' => 'admin_homepage',);
            }

            // admin_homepage_users
            if ($pathinfo === '/admin/users') {
                return array (  '_controller' => 'GestionBundle\\Controller\\AdminController::usersAction',  '_route' => 'admin_homepage_users',);
            }

        }

        // responsable_homepage
        if ($pathinfo === '/responsable') {
            return array (  '_controller' => 'GestionBundle\\Controller\\ResponsableController::indexAction',  '_route' => 'responsable_homepage',);
        }

        throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
    }
}
