<?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 = array();
$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, '/oauth/v2')) {
// fos_oauth_server_token
if ('/oauth/v2/token' === $pathinfo) {
$ret = array ( '_controller' => 'fos_oauth_server.controller.token:tokenAction', '_route' => 'fos_oauth_server_token',);
if (!in_array($canonicalMethod, array('OPTIONS', 'GET', 'POST'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET', 'POST'));
goto not_fos_oauth_server_token;
}
return $ret;
}
not_fos_oauth_server_token:
// fos_oauth_server_authorize
if ('/oauth/v2/auth' === $pathinfo) {
$ret = array ( '_controller' => 'fos_oauth_server.controller.authorize:authorizeAction', '_route' => 'fos_oauth_server_authorize',);
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_fos_oauth_server_authorize;
}
return $ret;
}
not_fos_oauth_server_authorize:
if (0 === strpos($pathinfo, '/oauth/v2/auth_login')) {
// OAuth_login
if ('/oauth/v2/auth_login' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\oauthServerController::loginAction', '_locale' => 'en', '_route' => 'OAuth_login',);
}
// OAuth_login_check
if ('/oauth/v2/auth_login_check' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\oauthServerController::loginCheckAction', '_route' => 'OAuth_login_check',);
}
}
}
// OAuth_api_user
if ('/api/user' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\oauthServerController::getUserDataAction', '_route' => 'OAuth_api_user',);
}
// api_user_export_to_back
if ('/api/export/user' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\oauthApiController::exportUserDataAction', '_route' => 'api_user_export_to_back',);
}
// oauthServer_checkLogin
if ('/checkLogin' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\oauthServerController::checkLoginAction', '_route' => 'oauthServer_checkLogin',);
}
// oauthServer_validateToken
if ('/validateToken' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\oauthServerController::validateTokenAction', '_route' => 'oauthServer_validateToken',);
}
// oauthServer_makeJWT
if ('/makeJWT' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\oauthServerController::makeJWTAction', '_route' => 'oauthServer_makeJWT',);
}
// appBundle_registration_index
if (preg_match('#^/(?P<_locale>[^/]++)/register/?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_registration_index')), array ( '_controller' => 'AppBundle\\Controller\\RegistrationController::registerAction',));
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_appBundle_registration_index;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'appBundle_registration_index'));
}
if (!in_array($canonicalMethod, array('POST', 'GET'))) {
$allow = array_merge($allow, array('POST', 'GET'));
goto not_appBundle_registration_index;
}
return $ret;
}
not_appBundle_registration_index:
// appBundle_registration_pas1
if (preg_match('#^/(?P<_locale>[^/]++)/register/pas1$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_registration_pas1')), array ( '_controller' => 'AppBundle\\Controller\\RegistrationController::newRegisterPas1Action',));
if (!in_array($canonicalMethod, array('POST', 'GET'))) {
$allow = array_merge($allow, array('POST', 'GET'));
goto not_appBundle_registration_pas1;
}
return $ret;
}
not_appBundle_registration_pas1:
// appBundle_registration_pas2
if (preg_match('#^/(?P<_locale>[^/]++)/register/pas2$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_registration_pas2')), array ( '_controller' => 'AppBundle\\Controller\\RegistrationController::newRegisterPas2Action',));
if (!in_array($canonicalMethod, array('POST', 'GET'))) {
$allow = array_merge($allow, array('POST', 'GET'));
goto not_appBundle_registration_pas2;
}
return $ret;
}
not_appBundle_registration_pas2:
// appBundle_registration_pas2Uni
if (preg_match('#^/(?P<_locale>[^/]++)/register/pas2Uni$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_registration_pas2Uni')), array ( '_controller' => 'AppBundle\\Controller\\RegistrationController::newRegisterPas2UniAction',));
if (!in_array($canonicalMethod, array('POST', 'GET'))) {
$allow = array_merge($allow, array('POST', 'GET'));
goto not_appBundle_registration_pas2Uni;
}
return $ret;
}
not_appBundle_registration_pas2Uni:
// appBundle_registration_pas3
if (preg_match('#^/(?P<_locale>[^/]++)/register/pas3$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_registration_pas3')), array ( '_controller' => 'AppBundle\\Controller\\RegistrationController::newRegisterPas3Action',));
if (!in_array($canonicalMethod, array('POST', 'GET'))) {
$allow = array_merge($allow, array('POST', 'GET'));
goto not_appBundle_registration_pas3;
}
return $ret;
}
not_appBundle_registration_pas3:
// appBundle_registration_register
if (preg_match('#^/(?P<_locale>[^/]++)/register/register$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_registration_register')), array ( '_controller' => 'AppBundle\\Controller\\RegistrationController::performRegisterAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_appBundle_registration_register;
}
return $ret;
}
not_appBundle_registration_register:
// appBundle_registration_newSchool
if (preg_match('#^/(?P<_locale>[^/]++)/register/newSchool$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_registration_newSchool')), array ( '_controller' => 'AppBundle\\Controller\\RegistrationController::newSchoolRegisterAction',));
if (!in_array($canonicalMethod, array('POST', 'GET'))) {
$allow = array_merge($allow, array('POST', 'GET'));
goto not_appBundle_registration_newSchool;
}
return $ret;
}
not_appBundle_registration_newSchool:
// appBundle_registration_newUniversity
if (preg_match('#^/(?P<_locale>[^/]++)/register/newUniversity$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_registration_newUniversity')), array ( '_controller' => 'AppBundle\\Controller\\RegistrationController::newUniversityRegisterAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_appBundle_registration_newUniversity;
}
return $ret;
}
not_appBundle_registration_newUniversity:
// appBundle_registration_checkUsername
if (preg_match('#^/(?P<_locale>[^/]++)/register/checkUsername$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_registration_checkUsername')), array ( '_controller' => 'AppBundle\\Controller\\RegistrationController::checkUsernameAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_appBundle_registration_checkUsername;
}
return $ret;
}
not_appBundle_registration_checkUsername:
// appBundle_registration_checkEmail
if (preg_match('#^/(?P<_locale>[^/]++)/register/checkEmail$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_registration_checkEmail')), array ( '_controller' => 'AppBundle\\Controller\\RegistrationController::checkEmailAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_appBundle_registration_checkEmail;
}
return $ret;
}
not_appBundle_registration_checkEmail:
// appBundle_registration_testNewsletter
if (preg_match('#^/(?P<_locale>[^/]++)/register/testNewsletter$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_registration_testNewsletter')), array ( '_controller' => 'AppBundle\\Controller\\RegistrationController::testNewsletterAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_appBundle_registration_testNewsletter;
}
return $ret;
}
not_appBundle_registration_testNewsletter:
// appBundle_registration_compat_index
if (preg_match('#^/(?P<_locale>[^/]++)/newRegister/?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_registration_compat_index')), array ( '_controller' => 'AppBundle\\Controller\\RegistrationController::registerAction',));
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_appBundle_registration_compat_index;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'appBundle_registration_compat_index'));
}
if (!in_array($canonicalMethod, array('POST', 'GET'))) {
$allow = array_merge($allow, array('POST', 'GET'));
goto not_appBundle_registration_compat_index;
}
return $ret;
}
not_appBundle_registration_compat_index:
// appBundle_registration_compat_pas1
if (preg_match('#^/(?P<_locale>[^/]++)/newRegister/pas1$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_registration_compat_pas1')), array ( '_controller' => 'AppBundle\\Controller\\RegistrationController::newRegisterPas1Action',));
if (!in_array($canonicalMethod, array('POST', 'GET'))) {
$allow = array_merge($allow, array('POST', 'GET'));
goto not_appBundle_registration_compat_pas1;
}
return $ret;
}
not_appBundle_registration_compat_pas1:
// appBundle_registration_compat_pas2
if (preg_match('#^/(?P<_locale>[^/]++)/newRegister/pas2$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_registration_compat_pas2')), array ( '_controller' => 'AppBundle\\Controller\\RegistrationController::newRegisterPas2Action',));
if (!in_array($canonicalMethod, array('POST', 'GET'))) {
$allow = array_merge($allow, array('POST', 'GET'));
goto not_appBundle_registration_compat_pas2;
}
return $ret;
}
not_appBundle_registration_compat_pas2:
// appBundle_registration_compat_pas2Uni
if (preg_match('#^/(?P<_locale>[^/]++)/newRegister/pas2Uni$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_registration_compat_pas2Uni')), array ( '_controller' => 'AppBundle\\Controller\\RegistrationController::newRegisterPas2UniAction',));
if (!in_array($canonicalMethod, array('POST', 'GET'))) {
$allow = array_merge($allow, array('POST', 'GET'));
goto not_appBundle_registration_compat_pas2Uni;
}
return $ret;
}
not_appBundle_registration_compat_pas2Uni:
// appBundle_registration_compat_pas3
if (preg_match('#^/(?P<_locale>[^/]++)/newRegister/pas3$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_registration_compat_pas3')), array ( '_controller' => 'AppBundle\\Controller\\RegistrationController::newRegisterPas3Action',));
if (!in_array($canonicalMethod, array('POST', 'GET'))) {
$allow = array_merge($allow, array('POST', 'GET'));
goto not_appBundle_registration_compat_pas3;
}
return $ret;
}
not_appBundle_registration_compat_pas3:
// appBundle_registration_compat_register
if (preg_match('#^/(?P<_locale>[^/]++)/newRegister/register$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_registration_compat_register')), array ( '_controller' => 'AppBundle\\Controller\\RegistrationController::performRegisterAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_appBundle_registration_compat_register;
}
return $ret;
}
not_appBundle_registration_compat_register:
// appBundle_registration_compat_newSchool
if (preg_match('#^/(?P<_locale>[^/]++)/newRegister/newSchool$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_registration_compat_newSchool')), array ( '_controller' => 'AppBundle\\Controller\\RegistrationController::newSchoolRegisterAction',));
if (!in_array($canonicalMethod, array('POST', 'GET'))) {
$allow = array_merge($allow, array('POST', 'GET'));
goto not_appBundle_registration_compat_newSchool;
}
return $ret;
}
not_appBundle_registration_compat_newSchool:
// appBundle_registration_compat_newUniversity
if (preg_match('#^/(?P<_locale>[^/]++)/newRegister/newUniversity$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_registration_compat_newUniversity')), array ( '_controller' => 'AppBundle\\Controller\\RegistrationController::newUniversityRegisterAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_appBundle_registration_compat_newUniversity;
}
return $ret;
}
not_appBundle_registration_compat_newUniversity:
// appBundle_registration_compat_checkUsername
if (preg_match('#^/(?P<_locale>[^/]++)/newRegister/checkUsername$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_registration_compat_checkUsername')), array ( '_controller' => 'AppBundle\\Controller\\RegistrationController::checkUsernameAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_appBundle_registration_compat_checkUsername;
}
return $ret;
}
not_appBundle_registration_compat_checkUsername:
// appBundle_registration_compat_checkEmail
if (preg_match('#^/(?P<_locale>[^/]++)/newRegister/checkEmail$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_registration_compat_checkEmail')), array ( '_controller' => 'AppBundle\\Controller\\RegistrationController::checkEmailAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_appBundle_registration_compat_checkEmail;
}
return $ret;
}
not_appBundle_registration_compat_checkEmail:
// appBundle_profile_index
if (preg_match('#^/(?P<_locale>[^/]++)/user/profile/?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_profile_index')), array ( '_controller' => 'AppBundle\\Controller\\profileController::indexAction',));
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_appBundle_profile_index;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'appBundle_profile_index'));
}
if (!in_array($canonicalMethod, array('POST', 'GET'))) {
$allow = array_merge($allow, array('POST', 'GET'));
goto not_appBundle_profile_index;
}
return $ret;
}
not_appBundle_profile_index:
// appBundle_profile_checkUsername
if (preg_match('#^/(?P<_locale>[^/]++)/user/profile/checkUsername$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_profile_checkUsername')), array ( '_controller' => 'AppBundle\\Controller\\profileController::checkUsernameAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_appBundle_profile_checkUsername;
}
return $ret;
}
not_appBundle_profile_checkUsername:
// appBundle_profile_checkEmail
if (preg_match('#^/(?P<_locale>[^/]++)/user/profile/checkEmail$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_profile_checkEmail')), array ( '_controller' => 'AppBundle\\Controller\\profileController::checkEmailAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_appBundle_profile_checkEmail;
}
return $ret;
}
not_appBundle_profile_checkEmail:
// appBundle_profile_update
if (preg_match('#^/(?P<_locale>[^/]++)/user/profile/update$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_profile_update')), array ( '_controller' => 'AppBundle\\Controller\\profileController::performUpdateAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_appBundle_profile_update;
}
return $ret;
}
not_appBundle_profile_update:
// appBundle_profile_check_school
if (preg_match('#^/(?P<_locale>[^/]++)/user/profile/checkSchool$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_profile_check_school')), array ( '_controller' => 'AppBundle\\Controller\\profileController::checkSchoolAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_appBundle_profile_check_school;
}
return $ret;
}
not_appBundle_profile_check_school:
if (0 === strpos($pathinfo, '/api/profile')) {
// oauthApi_getProfile
if ('/api/profile' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\oauthApiController::userProfileAction', '_route' => 'oauthApi_getProfile',);
}
// api_user_profile_Sync
if ('/api/profileSync' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\oauthApiController::userProfileFullAction', '_route' => 'api_user_profile_Sync',);
}
}
// oauthApi_changeOwnPassword
if ('/api/changePassword' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\oauthApiController::changeOwnPasswordAction', '_route' => 'oauthApi_changeOwnPassword',);
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_oauthApi_changeOwnPassword;
}
return $ret;
}
not_oauthApi_changeOwnPassword:
// oauthApi_cercaUsuari
if (0 === strpos($pathinfo, '/cercaUsuari') && preg_match('#^/cercaUsuari/(?P<usuariId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'oauthApi_cercaUsuari')), array ( '_controller' => 'AppBundle\\Controller\\oauthApiController::cercaUsuariAction',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_oauthApi_cercaUsuari;
}
return $ret;
}
not_oauthApi_cercaUsuari:
// oauthApi_listCentres
if ('/listCentres' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\oauthApiController::listCentresAction', '_route' => 'oauthApi_listCentres',);
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_oauthApi_listCentres;
}
return $ret;
}
not_oauthApi_listCentres:
// oauthApi_listUniversitats
if ('/listUniversitats' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\oauthApiController::listUniversitatsAction', '_route' => 'oauthApi_listUniversitats',);
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_oauthApi_listUniversitats;
}
return $ret;
}
not_oauthApi_listUniversitats:
// oauthApi_resettingRequest
if (preg_match('#^/(?P<_locale>[^/]++)/resetting/request$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'oauthApi_resettingRequest')), array ( '_controller' => 'AppBundle\\Controller\\userController::requestPasswordAction',));
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_oauthApi_resettingRequest;
}
return $ret;
}
not_oauthApi_resettingRequest:
// oauthApi_searchCentres
if ('/searchCentres' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\oauthApiController::searchCentresAction', '_route' => 'oauthApi_searchCentres',);
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_oauthApi_searchCentres;
}
return $ret;
}
not_oauthApi_searchCentres:
// oauthApi_searchUniversities
if ('/searchUniversitats' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\oauthApiController::searchUniversitiesAction', '_route' => 'oauthApi_searchUniversities',);
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_oauthApi_searchUniversities;
}
return $ret;
}
not_oauthApi_searchUniversities:
if (0 === strpos($pathinfo, '/api')) {
if (0 === strpos($pathinfo, '/api/registerExternal')) {
if (0 === strpos($pathinfo, '/api/registerExternal/ch')) {
// oauthApi_registerExternal_checkUsername
if (0 === strpos($pathinfo, '/api/registerExternal/checkUsername') && preg_match('#^/api/registerExternal/checkUsername/(?P<username>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'oauthApi_registerExternal_checkUsername')), array ( '_controller' => 'AppBundle\\Controller\\oauthApiController::externalCheckUsernameAction',));
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_oauthApi_registerExternal_checkUsername;
}
return $ret;
}
not_oauthApi_registerExternal_checkUsername:
// oauthApi_registerExternal_checkEmail
if (0 === strpos($pathinfo, '/api/registerExternal/checkEmail') && preg_match('#^/api/registerExternal/checkEmail/(?P<email>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'oauthApi_registerExternal_checkEmail')), array ( '_controller' => 'AppBundle\\Controller\\oauthApiController::externalCheckEmailAction',));
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_oauthApi_registerExternal_checkEmail;
}
return $ret;
}
not_oauthApi_registerExternal_checkEmail:
// oauthApi_registerExternal_changePassword
if ('/api/registerExternal/changePw' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\oauthApiController::changeExternalUserPasswordAction', '_route' => 'oauthApi_registerExternal_changePassword',);
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_oauthApi_registerExternal_changePassword;
}
return $ret;
}
not_oauthApi_registerExternal_changePassword:
}
// oauthApi_registerExternal_register
if ('/api/registerExternal/register' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\oauthApiController::addExternalUserAction', '_route' => 'oauthApi_registerExternal_register',);
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_oauthApi_registerExternal_register;
}
return $ret;
}
not_oauthApi_registerExternal_register:
// oauthApi_registerExternal_getSchoolInfo
if (0 === strpos($pathinfo, '/api/registerExternal/getSchoolInfo') && preg_match('#^/api/registerExternal/getSchoolInfo/(?P<email>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'oauthApi_registerExternal_getSchoolInfo')), array ( '_controller' => 'AppBundle\\Controller\\oauthApiController::externalGetSchoolInfoAction',));
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_oauthApi_registerExternal_getSchoolInfo;
}
return $ret;
}
not_oauthApi_registerExternal_getSchoolInfo:
// oauthApi_registerExternal_getUniversityInfo
if (0 === strpos($pathinfo, '/api/registerExternal/getUniversityInfo') && preg_match('#^/api/registerExternal/getUniversityInfo/(?P<email>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'oauthApi_registerExternal_getUniversityInfo')), array ( '_controller' => 'AppBundle\\Controller\\oauthApiController::externalGetUniversityInfoAction',));
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_oauthApi_registerExternal_getUniversityInfo;
}
return $ret;
}
not_oauthApi_registerExternal_getUniversityInfo:
}
// oauthApi_getUserInfo
if (0 === strpos($pathinfo, '/api/getUserInfo') && preg_match('#^/api/getUserInfo/(?P<email>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'oauthApi_getUserInfo')), array ( '_controller' => 'AppBundle\\Controller\\oauthApiController::getUserInfoAction',));
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_oauthApi_getUserInfo;
}
return $ret;
}
not_oauthApi_getUserInfo:
// oauthAp_profile_edit
if (preg_match('#^/api/(?P<_locale>[^/]++)/profileEdit$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'oauthAp_profile_edit')), array ( '_controller' => 'AppBundle\\Controller\\profileController::indexAction',));
}
// oauthAp_profile_update
if (preg_match('#^/api/(?P<_locale>[^/]++)/profileUpdate$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'oauthAp_profile_update')), array ( '_controller' => 'AppBundle\\Controller\\profileController::performUpdateAction',));
}
}
elseif (0 === strpos($pathinfo, '/_')) {
// _wdt
if (0 === strpos($pathinfo, '/_wdt') && preg_match('#^/_wdt/(?P<token>[^/]++)$#sD', $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 ('/_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, array('_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, array('_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, array('_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, array('_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, 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>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_twig_error_test')), array ( '_controller' => 'twig.controller.preview_error:previewErrorPageAction', '_format' => 'html',));
}
}
// test_forms_Basic
if ('/testFormsBasic' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\TestController::testReturnBasicFormAction', '_route' => 'test_forms_Basic',);
}
// oauthServer_clients
if (preg_match('#^/(?P<_locale>[^/]++)/oauth/server/clients$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'oauthServer_clients')), array ( '_controller' => 'AppBundle\\Controller\\oauthServerController::clientsAction',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_oauthServer_clients;
}
return $ret;
}
not_oauthServer_clients:
// oauthServer_clients_create
if (preg_match('#^/(?P<_locale>[^/]++)/oauth/server/clients/create$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'oauthServer_clients_create')), array ( '_controller' => 'AppBundle\\Controller\\oauthServerController::createAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_oauthServer_clients_create;
}
return $ret;
}
not_oauthServer_clients_create:
// oauthServer_clients_edit
if (preg_match('#^/(?P<_locale>[^/]++)/oauth/server/clients/edit/(?P<clientId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'oauthServer_clients_edit')), array ( '_controller' => 'AppBundle\\Controller\\oauthServerController::editClientAction',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_oauthServer_clients_edit;
}
return $ret;
}
not_oauthServer_clients_edit:
// oauthServer_clients_update
if (preg_match('#^/(?P<_locale>[^/]++)/oauth/server/clients/update/(?P<clientId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'oauthServer_clients_update')), array ( '_controller' => 'AppBundle\\Controller\\oauthServerController::updateClientAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_oauthServer_clients_update;
}
return $ret;
}
not_oauthServer_clients_update:
// oauthServer_clients_delete
if (preg_match('#^/(?P<_locale>[^/]++)/oauth/server/clients/delete/(?P<clientId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'oauthServer_clients_delete')), array ( '_controller' => 'AppBundle\\Controller\\oauthServerController::deleteClientAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_oauthServer_clients_delete;
}
return $ret;
}
not_oauthServer_clients_delete:
// appBundle_homepage
if (preg_match('#^/(?P<_locale>en|es|ca_ES)?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_homepage')), array ( '_controller' => 'AppBundle\\Controller\\DefaultController::indexAction', '_locale' => 'en',));
}
if (0 === strpos($pathinfo, '/api')) {
if (0 === strpos($pathinfo, '/api/data')) {
// apiData_uploadFile_post
if (0 === strpos($pathinfo, '/api/data/uploadFile') && preg_match('#^/api/data/uploadFile/(?P<dataType>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiData_uploadFile_post')), array ( '_controller' => 'AppBundle\\Controller\\apiDataController::uploadFileAction',));
if (!in_array($requestMethod, array('OPTIONS', 'POST'))) {
$allow = array_merge($allow, array('OPTIONS', 'POST'));
goto not_apiData_uploadFile_post;
}
return $ret;
}
not_apiData_uploadFile_post:
// apiData_deleteFile_post
if (0 === strpos($pathinfo, '/api/data/deleteFile') && preg_match('#^/api/data/deleteFile/(?P<dataType>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiData_deleteFile_post')), array ( '_controller' => 'AppBundle\\Controller\\apiDataController::deleteFileAction',));
if (!in_array($requestMethod, array('OPTIONS', 'POST'))) {
$allow = array_merge($allow, array('OPTIONS', 'POST'));
goto not_apiData_deleteFile_post;
}
return $ret;
}
not_apiData_deleteFile_post:
// apiData_downloadFile_post
if (0 === strpos($pathinfo, '/api/data/download') && preg_match('#^/api/data/download/(?P<dataType>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiData_downloadFile_post')), array ( '_controller' => 'AppBundle\\Controller\\apiDataController::downloadFileAction',));
if (!in_array($requestMethod, array('OPTIONS', 'POST'))) {
$allow = array_merge($allow, array('OPTIONS', 'POST'));
goto not_apiData_downloadFile_post;
}
return $ret;
}
not_apiData_downloadFile_post:
// apiData_getFile_post
if (0 === strpos($pathinfo, '/api/data/getFile') && preg_match('#^/api/data/getFile/(?P<dataType>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiData_getFile_post')), array ( '_controller' => 'AppBundle\\Controller\\apiDataController::getFileAction',));
if (!in_array($requestMethod, array('OPTIONS', 'POST'))) {
$allow = array_merge($allow, array('OPTIONS', 'POST'));
goto not_apiData_getFile_post;
}
return $ret;
}
not_apiData_getFile_post:
// apiData_getAllData
if (preg_match('#^/api/data/(?P<dataType>[^/]++)/get$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiData_getAllData')), array ( '_controller' => 'AppBundle\\Controller\\apiDataController::getAllDataAction',));
if (!in_array($canonicalMethod, array('OPTIONS', 'POST', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'POST', 'GET'));
goto not_apiData_getAllData;
}
return $ret;
}
not_apiData_getAllData:
// apiData_getData
if (preg_match('#^/api/data/(?P<dataType>[^/]++)/get/(?P<projectId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiData_getData')), array ( '_controller' => 'AppBundle\\Controller\\apiDataController::getDataAction',));
if (!in_array($canonicalMethod, array('OPTIONS', 'POST', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'POST', 'GET'));
goto not_apiData_getData;
}
return $ret;
}
not_apiData_getData:
// apiData_newData
if (preg_match('#^/api/data/(?P<dataType>[^/]++)/new$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiData_newData')), array ( '_controller' => 'AppBundle\\Controller\\apiDataController::newDataAction',));
if (!in_array($requestMethod, array('OPTIONS', 'POST'))) {
$allow = array_merge($allow, array('OPTIONS', 'POST'));
goto not_apiData_newData;
}
return $ret;
}
not_apiData_newData:
// apiData_updateData
if (preg_match('#^/api/data/(?P<dataType>[^/]++)/update$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiData_updateData')), array ( '_controller' => 'AppBundle\\Controller\\apiDataController::updateDataAction',));
if (!in_array($requestMethod, array('OPTIONS', 'POST'))) {
$allow = array_merge($allow, array('OPTIONS', 'POST'));
goto not_apiData_updateData;
}
return $ret;
}
not_apiData_updateData:
// apiData_deleteData
if (preg_match('#^/api/data/(?P<dataType>[^/]++)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiData_deleteData')), array ( '_controller' => 'AppBundle\\Controller\\apiDataController::deleteDataAction',));
if (!in_array($requestMethod, array('OPTIONS', 'POST'))) {
$allow = array_merge($allow, array('OPTIONS', 'POST'));
goto not_apiData_deleteData;
}
return $ret;
}
not_apiData_deleteData:
}
// appBundle_api_addRemoteUser
if ('/api/addRemoteUser' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiGlobalController::addRemoteUserAction', '_route' => 'appBundle_api_addRemoteUser',);
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_appBundle_api_addRemoteUser;
}
return $ret;
}
not_appBundle_api_addRemoteUser:
if (0 === strpos($pathinfo, '/api/V1')) {
// apiV1_getAllData
if (preg_match('#^/api/V1/(?P<dataType>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiV1_getAllData')), array ( '_controller' => 'AppBundle\\Controller\\apiV1DataController::getAction',));
if (!in_array($canonicalMethod, array('OPTIONS', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET'));
goto not_apiV1_getAllData;
}
return $ret;
}
not_apiV1_getAllData:
// apiV1_getOneData
if (preg_match('#^/api/V1/(?P<dataType>[^/]++)/(?P<dataId>[0-9a-fA-F]{24})$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiV1_getOneData')), array ( '_controller' => 'AppBundle\\Controller\\apiV1DataController::getOneAction',));
if (!in_array($canonicalMethod, array('OPTIONS', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET'));
goto not_apiV1_getOneData;
}
return $ret;
}
not_apiV1_getOneData:
// apiV1_putAllData
if (preg_match('#^/api/V1/(?P<dataType>[^/]++)/(?P<dataId>[0-9a-fA-F]{24})$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiV1_putAllData')), array ( '_controller' => 'AppBundle\\Controller\\apiV1DataController::putAction',));
if (!in_array($requestMethod, array('OPTIONS', 'PUT'))) {
$allow = array_merge($allow, array('OPTIONS', 'PUT'));
goto not_apiV1_putAllData;
}
return $ret;
}
not_apiV1_putAllData:
// apiV1_postAllData
if (preg_match('#^/api/V1/(?P<dataType>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiV1_postAllData')), array ( '_controller' => 'AppBundle\\Controller\\apiV1DataController::postAction',));
if (!in_array($requestMethod, array('OPTIONS', 'POST'))) {
$allow = array_merge($allow, array('OPTIONS', 'POST'));
goto not_apiV1_postAllData;
}
return $ret;
}
not_apiV1_postAllData:
// apiV1_deleteAllData
if (preg_match('#^/api/V1/(?P<dataType>[^/]++)/(?P<dataId>[0-9a-fA-F]{24})$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiV1_deleteAllData')), array ( '_controller' => 'AppBundle\\Controller\\apiV1DataController::deleteAction',));
if (!in_array($requestMethod, array('OPTIONS', 'DELETE'))) {
$allow = array_merge($allow, array('OPTIONS', 'DELETE'));
goto not_apiV1_deleteAllData;
}
return $ret;
}
not_apiV1_deleteAllData:
// apiV1_getUserDownloadsStats
if ('/api/V1/stats/downloads' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiV1DataController::getUserDownloadsStatsAction', '_route' => 'apiV1_getUserDownloadsStats',);
if (!in_array($canonicalMethod, array('OPTIONS', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET'));
goto not_apiV1_getUserDownloadsStats;
}
return $ret;
}
not_apiV1_getUserDownloadsStats:
// apiV1_userLoggedStats
if ('/api/V1/stats/activity' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiV1DataController::userLoggedStatsAction', '_route' => 'apiV1_userLoggedStats',);
if (!in_array($canonicalMethod, array('OPTIONS', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET'));
goto not_apiV1_userLoggedStats;
}
return $ret;
}
not_apiV1_userLoggedStats:
// apiV1_getAllDataStats
if (preg_match('#^/api/V1/(?P<dataType>[^/]++)/stats/?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiV1_getAllDataStats')), array ( '_controller' => 'AppBundle\\Controller\\apiV1DataController::getAllStatsAction',));
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_apiV1_getAllDataStats;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'apiV1_getAllDataStats'));
}
if (!in_array($canonicalMethod, array('OPTIONS', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET'));
goto not_apiV1_getAllDataStats;
}
return $ret;
}
not_apiV1_getAllDataStats:
// apiV1_getAllDataMine
if (preg_match('#^/api/V1/(?P<dataType>[^/]++)/mine/?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiV1_getAllDataMine')), array ( '_controller' => 'AppBundle\\Controller\\apiV1DataController::getAllMineAction',));
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_apiV1_getAllDataMine;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'apiV1_getAllDataMine'));
}
if (!in_array($canonicalMethod, array('OPTIONS', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET'));
goto not_apiV1_getAllDataMine;
}
return $ret;
}
not_apiV1_getAllDataMine:
// apiV1_getAllCountData
if (preg_match('#^/api/V1/(?P<dataType>[^/]++)/count/?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiV1_getAllCountData')), array ( '_controller' => 'AppBundle\\Controller\\apiV1DataController::getAllCountAction',));
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_apiV1_getAllCountData;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'apiV1_getAllCountData'));
}
if (!in_array($canonicalMethod, array('OPTIONS', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET'));
goto not_apiV1_getAllCountData;
}
return $ret;
}
not_apiV1_getAllCountData:
// apiV1_uploadFile
if ('/api/V1/upload/' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiV1DataController::upladFileAction', '_route' => 'apiV1_uploadFile',);
if (!in_array($requestMethod, array('OPTIONS', 'POST'))) {
$allow = array_merge($allow, array('OPTIONS', 'POST'));
goto not_apiV1_uploadFile;
}
return $ret;
}
not_apiV1_uploadFile:
// apiV1_getPermissions
if (preg_match('#^/api/V1/(?P<dataType>[^/]++)/(?P<dataId>[^/]++)/getPermissions$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiV1_getPermissions')), array ( '_controller' => 'AppBundle\\Controller\\apiV1DataController::getPermissionsAction',));
if (!in_array($canonicalMethod, array('OPTIONS', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET'));
goto not_apiV1_getPermissions;
}
return $ret;
}
not_apiV1_getPermissions:
// apiV1_shareWith
if (preg_match('#^/api/V1/(?P<dataType>[^/]++)/(?P<dataId>[^/]++)/sharedWith$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiV1_shareWith')), array ( '_controller' => 'AppBundle\\Controller\\apiV1DataController::shareWithAction',));
if (!in_array($canonicalMethod, array('OPTIONS', 'PUT', 'GET', 'DELETE'))) {
$allow = array_merge($allow, array('OPTIONS', 'PUT', 'GET', 'DELETE'));
goto not_apiV1_shareWith;
}
return $ret;
}
not_apiV1_shareWith:
// apiV1_getUrlInfo
if ('/api/V1/getUrlInfo' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiV1DataController::getUrlInfoAction', '_route' => 'apiV1_getUrlInfo',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_apiV1_getUrlInfo;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'apiV1_getUrlInfo'));
}
if (!in_array($canonicalMethod, array('OPTIONS', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET'));
goto not_apiV1_getUrlInfo;
}
return $ret;
}
not_apiV1_getUrlInfo:
// apiV1_user_profile_external
if ('/api/V1/getUserProfile/' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiV1DataController::getUserProfileAction', '_route' => 'apiV1_user_profile_external',);
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_apiV1_user_profile_external;
}
return $ret;
}
not_apiV1_user_profile_external:
// apiV1_user_profile
if (0 === strpos($pathinfo, '/api/V1/mschools/user') && preg_match('#^/api/V1/mschools/user/(?P<profileId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiV1_user_profile')), array ( '_controller' => 'AppBundle\\Controller\\mschoolsController::userProfileAction',));
if (!in_array($canonicalMethod, array('OPTIONS', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET'));
goto not_apiV1_user_profile;
}
return $ret;
}
not_apiV1_user_profile:
}
}
// appBundle_testRSS_feed
if (0 === strpos($pathinfo, '/feed') && preg_match('#^/feed(?:/(?P<lang>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_testRSS_feed')), array ( '_controller' => 'AppBundle\\Controller\\TestController::getRssAction', 'lang' => 'ca',));
}
// appBundle_helpers_getCitiesForCountry
if (preg_match('#^/(?P<_locale>[^/]++)/helper/getCitiesForCountry$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_helpers_getCitiesForCountry')), array ( '_controller' => 'AppBundle\\Controller\\helperController::getCitiesForCountryAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_appBundle_helpers_getCitiesForCountry;
}
return $ret;
}
not_appBundle_helpers_getCitiesForCountry:
// appBundle_helpers_getCitiesForCountryCode
if (preg_match('#^/(?P<_locale>[^/]++)/helper/getCitiesForCountryCode/(?P<countryCode>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_helpers_getCitiesForCountryCode')), array ( '_controller' => 'AppBundle\\Controller\\helperController::getCitiesForCountryCodeAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_appBundle_helpers_getCitiesForCountryCode;
}
return $ret;
}
not_appBundle_helpers_getCitiesForCountryCode:
// appBundle_helpers_fixSchoolsCity
if (preg_match('#^/(?P<_locale>[^/]++)/helper/fixSchoolsCity$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_helpers_fixSchoolsCity')), array ( '_controller' => 'AppBundle\\Controller\\helperController::fixSchoolCitiesAction',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_appBundle_helpers_fixSchoolsCity;
}
return $ret;
}
not_appBundle_helpers_fixSchoolsCity:
// appBundle_helpers_getSchoolsForCity
if (preg_match('#^/(?P<_locale>[^/]++)/helper/getSchoolsForCity/(?P<countryCode>[^/]++)/(?P<cityId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_helpers_getSchoolsForCity')), array ( '_controller' => 'AppBundle\\Controller\\helperController::getSchoolsForCityAction',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_appBundle_helpers_getSchoolsForCity;
}
return $ret;
}
not_appBundle_helpers_getSchoolsForCity:
// appBundle_helpers_getUniversitiesForCity
if (preg_match('#^/(?P<_locale>[^/]++)/helper/getUniversitiesForCity/(?P<countryCode>[^/]++)/(?P<cityId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_helpers_getUniversitiesForCity')), array ( '_controller' => 'AppBundle\\Controller\\helperController::getUniversitiesForCityAction',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_appBundle_helpers_getUniversitiesForCity;
}
return $ret;
}
not_appBundle_helpers_getUniversitiesForCity:
// appBundle_helpers_fixUserType
if (preg_match('#^/(?P<_locale>[^/]++)/helper/fixUserType$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_helpers_fixUserType')), array ( '_controller' => 'AppBundle\\Controller\\helperController::fixUserTypeAction',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_appBundle_helpers_fixUserType;
}
return $ret;
}
not_appBundle_helpers_fixUserType:
// appBundle_helpers_fixUserCountryCity
if (preg_match('#^/(?P<_locale>[^/]++)/helper/fixUserCountryCity$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_helpers_fixUserCountryCity')), array ( '_controller' => 'AppBundle\\Controller\\helperController::fixUserCountryCityAction',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_appBundle_helpers_fixUserCountryCity;
}
return $ret;
}
not_appBundle_helpers_fixUserCountryCity:
// appBundle_helpers_findSchoolsForCity
if (preg_match('#^/(?P<_locale>[^/]++)/helper/findSchoolsForCity/(?P<cityId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_helpers_findSchoolsForCity')), array ( '_controller' => 'AppBundle\\Controller\\helperController::findSchoolsForCityAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_appBundle_helpers_findSchoolsForCity;
}
return $ret;
}
not_appBundle_helpers_findSchoolsForCity:
// appBundle_helpers_findUniversitiesForCity
if (preg_match('#^/(?P<_locale>[^/]++)/helper/findUniversitiesForCity/(?P<cityId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_helpers_findUniversitiesForCity')), array ( '_controller' => 'AppBundle\\Controller\\helperController::findUniversitiesForCityAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_appBundle_helpers_findUniversitiesForCity;
}
return $ret;
}
not_appBundle_helpers_findUniversitiesForCity:
// appBundle_helpers_checkExistence
if (preg_match('#^/(?P<_locale>[^/]++)/helper/checkExistence/(?P<userId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_helpers_checkExistence')), array ( '_controller' => 'AppBundle\\Controller\\helperController::checkExistenceAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_appBundle_helpers_checkExistence;
}
return $ret;
}
not_appBundle_helpers_checkExistence:
// appBundle_utilities_importSchools
if (preg_match('#^/(?P<_locale>[^/]++)/utilities/importSchools$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_utilities_importSchools')), array ( '_controller' => 'AppBundle\\Controller\\utilitiesController::importSchoolsAction',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_appBundle_utilities_importSchools;
}
return $ret;
}
not_appBundle_utilities_importSchools:
// appBundle_utilities_importUniversities
if (preg_match('#^/(?P<_locale>[^/]++)/utilities/importUniversities$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_utilities_importUniversities')), array ( '_controller' => 'AppBundle\\Controller\\utilitiesController::importUniversitiesAction',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_appBundle_utilities_importUniversities;
}
return $ret;
}
not_appBundle_utilities_importUniversities:
// appBundle_utilities_importUsers
if (preg_match('#^/(?P<_locale>[^/]++)/utilities/importUsers$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_utilities_importUsers')), array ( '_controller' => 'AppBundle\\Controller\\utilitiesController::importUsersAction',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_appBundle_utilities_importUsers;
}
return $ret;
}
not_appBundle_utilities_importUsers:
// appBundle_utilities_importCountries
if (preg_match('#^/(?P<_locale>[^/]++)/utilities/importCountries$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_utilities_importCountries')), array ( '_controller' => 'AppBundle\\Controller\\utilitiesController::importCountriesAction',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_appBundle_utilities_importCountries;
}
return $ret;
}
not_appBundle_utilities_importCountries:
// appBundle_utilities_importCities
if (preg_match('#^/(?P<_locale>[^/]++)/utilities/importCities$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_utilities_importCities')), array ( '_controller' => 'AppBundle\\Controller\\utilitiesController::importCitiesAction',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_appBundle_utilities_importCities;
}
return $ret;
}
not_appBundle_utilities_importCities:
// appBundle_utilities_importValidationDomains
if (preg_match('#^/(?P<_locale>[^/]++)/utilities/importValidationDomains$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_utilities_importValidationDomains')), array ( '_controller' => 'AppBundle\\Controller\\utilitiesController::importValidationDomainsAction',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_appBundle_utilities_importValidationDomains;
}
return $ret;
}
not_appBundle_utilities_importValidationDomains:
// appBundle_utilities_verifyUsersData
if (preg_match('#^/(?P<_locale>[^/]++)/utilities/verifyUsersData$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_utilities_verifyUsersData')), array ( '_controller' => 'AppBundle\\Controller\\utilitiesController::verifyUsersDataAction',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_appBundle_utilities_verifyUsersData;
}
return $ret;
}
not_appBundle_utilities_verifyUsersData:
// appBundle_utilities_fixUserType
if (preg_match('#^/(?P<_locale>[^/]++)/utilities/fixUserType$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_utilities_fixUserType')), array ( '_controller' => 'AppBundle\\Controller\\utilitiesController::fixUserTypeAction',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_appBundle_utilities_fixUserType;
}
return $ret;
}
not_appBundle_utilities_fixUserType:
// appBundle_utilities_fixSchoolCountryCode
if (preg_match('#^/(?P<_locale>[^/]++)/utilities/fixSchoolCountryCode$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_utilities_fixSchoolCountryCode')), array ( '_controller' => 'AppBundle\\Controller\\utilitiesController::fixSchoolCountryCodeAction',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_appBundle_utilities_fixSchoolCountryCode;
}
return $ret;
}
not_appBundle_utilities_fixSchoolCountryCode:
// app_cookies
if (preg_match('#^/(?P<_locale>[^/]++)/privacypolicy$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_cookies')), array ( '_controller' => 'AppBundle\\Controller\\DefaultController::cookiesAction', '_locale' => 'en',));
}
// appBundle_getUsernameFromEmail
if ('/getUsernameFromEmail' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\DefaultController::getUsernameFromEmailAction', '_route' => 'appBundle_getUsernameFromEmail',);
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_appBundle_getUsernameFromEmail;
}
return $ret;
}
not_appBundle_getUsernameFromEmail:
if (0 === strpos($pathinfo, '/api/V2')) {
if (0 === strpos($pathinfo, '/api/V2/login')) {
// apiLogin_getMyJWT
if ('/api/V2/login/getMyJWT' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiLoginController::getMyJWTAction', '_route' => 'apiLogin_getMyJWT',);
if (!in_array($canonicalMethod, array('GET', 'OPTIONS'))) {
$allow = array_merge($allow, array('GET', 'OPTIONS'));
goto not_apiLogin_getMyJWT;
}
return $ret;
}
not_apiLogin_getMyJWT:
// apiLogin_verifyUser
if ('/api/V2/login/verifyUser' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiLoginController::verifyUserAction', '_route' => 'apiLogin_verifyUser',);
if (!in_array($canonicalMethod, array('GET', 'OPTIONS'))) {
$allow = array_merge($allow, array('GET', 'OPTIONS'));
goto not_apiLogin_verifyUser;
}
return $ret;
}
not_apiLogin_verifyUser:
// apiLogin_me
if ('/api/V2/login/me' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiLoginController::myProfileAction', '_route' => 'apiLogin_me',);
if (!in_array($canonicalMethod, array('GET', 'OPTIONS'))) {
$allow = array_merge($allow, array('GET', 'OPTIONS'));
goto not_apiLogin_me;
}
return $ret;
}
not_apiLogin_me:
}
// api_v2_user_remoteData
if (0 === strpos($pathinfo, '/api/V2/remote/user/data') && preg_match('#^/api/V2/remote/user/data/(?P<dataType>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'api_v2_user_remoteData')), array ( '_controller' => 'AppBundle\\Controller\\apiV2Controller::remoteDataAction',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_api_v2_user_remoteData;
}
return $ret;
}
not_api_v2_user_remoteData:
// api_v2_user_remoteDataProfiles
if ('/api/V2/remote/profiles' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiV2Controller::remoteProfilesAction', '_route' => 'api_v2_user_remoteDataProfiles',);
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_api_v2_user_remoteDataProfiles;
}
return $ret;
}
not_api_v2_user_remoteDataProfiles:
// api_V2_getAllData
if (preg_match('#^/api/V2/(?P<dataType>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'api_V2_getAllData')), array ( '_controller' => 'AppBundle\\Controller\\apiV2Controller::getDataAction',));
if (!in_array($canonicalMethod, array('OPTIONS', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET'));
goto not_api_V2_getAllData;
}
return $ret;
}
not_api_V2_getAllData:
// api_V2_getOneData
if (preg_match('#^/api/V2/(?P<dataType>[^/]++)/(?P<dataId>[0-9a-fA-F]{24})$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'api_V2_getOneData')), array ( '_controller' => 'AppBundle\\Controller\\apiV2Controller::getOneAction',));
if (!in_array($canonicalMethod, array('OPTIONS', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET'));
goto not_api_V2_getOneData;
}
return $ret;
}
not_api_V2_getOneData:
// api_V2_postData
if (preg_match('#^/api/V2/(?P<dataType>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'api_V2_postData')), array ( '_controller' => 'AppBundle\\Controller\\apiV2Controller::postDataAction',));
if (!in_array($requestMethod, array('OPTIONS', 'POST'))) {
$allow = array_merge($allow, array('OPTIONS', 'POST'));
goto not_api_V2_postData;
}
return $ret;
}
not_api_V2_postData:
// api_V2_putData
if (preg_match('#^/api/V2/(?P<dataType>[^/]++)/(?P<dataId>[0-9a-fA-F]{24})$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'api_V2_putData')), array ( '_controller' => 'AppBundle\\Controller\\apiV2Controller::putDataAction',));
if (!in_array($requestMethod, array('OPTIONS', 'PUT'))) {
$allow = array_merge($allow, array('OPTIONS', 'PUT'));
goto not_api_V2_putData;
}
return $ret;
}
not_api_V2_putData:
// api_V2_deleteData
if (preg_match('#^/api/V2/(?P<dataType>[^/]++)/(?P<dataId>[0-9a-fA-F]{24})$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'api_V2_deleteData')), array ( '_controller' => 'AppBundle\\Controller\\apiV2Controller::deleteDataAction',));
if (!in_array($requestMethod, array('OPTIONS', 'DELETE'))) {
$allow = array_merge($allow, array('OPTIONS', 'DELETE'));
goto not_api_V2_deleteData;
}
return $ret;
}
not_api_V2_deleteData:
// api_V2_getUrlInfo
if ('/api/V2/getUrlInfo' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiV2Controller::getUrlInfoAction', '_route' => 'api_V2_getUrlInfo',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_api_V2_getUrlInfo;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'api_V2_getUrlInfo'));
}
if (!in_array($canonicalMethod, array('OPTIONS', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET'));
goto not_api_V2_getUrlInfo;
}
return $ret;
}
not_api_V2_getUrlInfo:
// api_V2_getAllDataStats
if (preg_match('#^/api/V2/(?P<dataType>[^/]++)/stats/?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'api_V2_getAllDataStats')), array ( '_controller' => 'AppBundle\\Controller\\apiV2Controller::getAllStatsAction',));
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_api_V2_getAllDataStats;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'api_V2_getAllDataStats'));
}
if (!in_array($canonicalMethod, array('OPTIONS', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET'));
goto not_api_V2_getAllDataStats;
}
return $ret;
}
not_api_V2_getAllDataStats:
// api_V2_getAllDataMine
if (preg_match('#^/api/V2/(?P<dataType>[^/]++)/mine/?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'api_V2_getAllDataMine')), array ( '_controller' => 'AppBundle\\Controller\\apiV2Controller::getAllMineAction',));
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_api_V2_getAllDataMine;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'api_V2_getAllDataMine'));
}
if (!in_array($canonicalMethod, array('OPTIONS', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET'));
goto not_api_V2_getAllDataMine;
}
return $ret;
}
not_api_V2_getAllDataMine:
// api_V2_getAllCountData
if (preg_match('#^/api/V2/(?P<dataType>[^/]++)/count/?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'api_V2_getAllCountData')), array ( '_controller' => 'AppBundle\\Controller\\apiV2Controller::getAllCountAction',));
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_api_V2_getAllCountData;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'api_V2_getAllCountData'));
}
if (!in_array($canonicalMethod, array('OPTIONS', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET'));
goto not_api_V2_getAllCountData;
}
return $ret;
}
not_api_V2_getAllCountData:
// api_V2_getUserDownloadsStats
if ('/api/V2/stats/downloads' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiV2Controller::getUserDownloadsStatsAction', '_route' => 'api_V2_getUserDownloadsStats',);
if (!in_array($canonicalMethod, array('OPTIONS', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET'));
goto not_api_V2_getUserDownloadsStats;
}
return $ret;
}
not_api_V2_getUserDownloadsStats:
// api_V2_userLoggedStats
if ('/api/V2/stats/activity' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiV2Controller::userLoggedStatsAction', '_route' => 'api_V2_userLoggedStats',);
if (!in_array($canonicalMethod, array('OPTIONS', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET'));
goto not_api_V2_userLoggedStats;
}
return $ret;
}
not_api_V2_userLoggedStats:
// api_V2_setPreferredLanguage
if ('/api/V2/user/setLanguage' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiV2Controller::setPreferredLanguageAction', '_route' => 'api_V2_setPreferredLanguage',);
if (!in_array($requestMethod, array('OPTIONS', 'POST'))) {
$allow = array_merge($allow, array('OPTIONS', 'POST'));
goto not_api_V2_setPreferredLanguage;
}
return $ret;
}
not_api_V2_setPreferredLanguage:
// api_V2_getForm
if (0 === strpos($pathinfo, '/api/V2/forms/get') && preg_match('#^/api/V2/forms/get/(?P<formName>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'api_V2_getForm')), array ( '_controller' => 'AppBundle\\Controller\\apiV2Controller::getFormAction',));
if (!in_array($canonicalMethod, array('OPTIONS', 'GET', 'POST'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET', 'POST'));
goto not_api_V2_getForm;
}
return $ret;
}
not_api_V2_getForm:
// api_V2_getAvailiableForms
if (0 === strpos($pathinfo, '/api/V2/forms/availables') && preg_match('#^/api/V2/forms/availables/(?P<dataType>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'api_V2_getAvailiableForms')), array ( '_controller' => 'AppBundle\\Controller\\apiV2Controller::getAvailiableFormsAction',));
if (!in_array($canonicalMethod, array('OPTIONS', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET'));
goto not_api_V2_getAvailiableForms;
}
return $ret;
}
not_api_V2_getAvailiableForms:
}
// appBundle_test_welcomeMail
if (preg_match('#^/(?P<_locale>[^/]++)/testWelcomeMail$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_test_welcomeMail')), array ( '_controller' => 'AppBundle\\Controller\\TestController::sendWelcomeMailTestAction', '_locale' => 'en',));
}
// environments_index
if (preg_match('#^/(?P<_locale>[^/]++)/environments/?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'environments_index')), array ( '_controller' => 'AppBundle\\Controller\\environmentsController::indexAction',));
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_environments_index;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'environments_index'));
}
return $ret;
}
not_environments_index:
// environments_own
if (preg_match('#^/(?P<_locale>[^/]++)/environments/own$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'environments_own')), array ( '_controller' => 'AppBundle\\Controller\\environmentsController::ownAction',));
}
// environments_create
if (preg_match('#^/(?P<_locale>[^/]++)/environments/create$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'environments_create')), array ( '_controller' => 'AppBundle\\Controller\\environmentsController::createEnvironmentAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_environments_create;
}
return $ret;
}
not_environments_create:
// environments_edit
if (preg_match('#^/(?P<_locale>[^/]++)/environments/edit/(?P<environmentId>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'environments_edit')), array ( '_controller' => 'AppBundle\\Controller\\environmentsController::editEnvironmentAction',));
}
// environments_update
if (preg_match('#^/(?P<_locale>[^/]++)/environments/update/(?P<environmentId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'environments_update')), array ( '_controller' => 'AppBundle\\Controller\\environmentsController::updateEnvironmentAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_environments_update;
}
return $ret;
}
not_environments_update:
// environments_apis_index
if (preg_match('#^/(?P<_locale>[^/]++)/environments/apis$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'environments_apis_index')), array ( '_controller' => 'AppBundle\\Controller\\environmentsController::apisAction',));
}
// environments_apis_create
if (preg_match('#^/(?P<_locale>[^/]++)/environments/apis/create$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'environments_apis_create')), array ( '_controller' => 'AppBundle\\Controller\\environmentsController::createApiAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_environments_apis_create;
}
return $ret;
}
not_environments_apis_create:
// environments_getEnvironmentInfo
if (preg_match('#^/(?P<_locale>[^/]++)/environments/getEnvironmentInfo$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'environments_getEnvironmentInfo')), array ( '_controller' => 'AppBundle\\Controller\\environmentsController::getEnvironmentInfoAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_environments_getEnvironmentInfo;
}
return $ret;
}
not_environments_getEnvironmentInfo:
// environments_import
if (preg_match('#^/(?P<_locale>[^/]++)/environments/import$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'environments_import')), array ( '_controller' => 'AppBundle\\Controller\\environmentsController::importEnvironmentAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_environments_import;
}
return $ret;
}
not_environments_import:
// environments_importUsers
if (preg_match('#^/(?P<_locale>[^/]++)/environments/importUsers$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'environments_importUsers')), array ( '_controller' => 'AppBundle\\Controller\\environmentsController::importUsersAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_environments_importUsers;
}
return $ret;
}
not_environments_importUsers:
// environments_importForms
if (preg_match('#^/(?P<_locale>[^/]++)/environments/importForms$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'environments_importForms')), array ( '_controller' => 'AppBundle\\Controller\\environmentsController::importFormsAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_environments_importForms;
}
return $ret;
}
not_environments_importForms:
// environments_clearEnvironment
if (preg_match('#^/(?P<_locale>[^/]++)/environments/clearEnvironment$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'environments_clearEnvironment')), array ( '_controller' => 'AppBundle\\Controller\\environmentsController::clearEnvironmentAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_environments_clearEnvironment;
}
return $ret;
}
not_environments_clearEnvironment:
// environments_delete
if (preg_match('#^/(?P<_locale>[^/]++)/environments/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'environments_delete')), array ( '_controller' => 'AppBundle\\Controller\\environmentsController::deleteEnvironmentAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_environments_delete;
}
return $ret;
}
not_environments_delete:
// environments_needUpdate
if (preg_match('#^/(?P<_locale>[^/]++)/environments/needUpdate$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'environments_needUpdate')), array ( '_controller' => 'AppBundle\\Controller\\environmentsController::needUpdateAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_environments_needUpdate;
}
return $ret;
}
not_environments_needUpdate:
// environments_environmentUpdated
if (preg_match('#^/(?P<_locale>[^/]++)/environments/environmentUpdated$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'environments_environmentUpdated')), array ( '_controller' => 'AppBundle\\Controller\\environmentsController::environmentUpdatedAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_environments_environmentUpdated;
}
return $ret;
}
not_environments_environmentUpdated:
// clients_index
if (preg_match('#^/(?P<_locale>[^/]++)/clients/?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'clients_index')), array ( '_controller' => 'AppBundle\\Controller\\clientsController::indexAction',));
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_clients_index;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'clients_index'));
}
return $ret;
}
not_clients_index:
// clients_create
if (preg_match('#^/(?P<_locale>[^/]++)/clients/create$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'clients_create')), array ( '_controller' => 'AppBundle\\Controller\\clientsController::createClientAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_clients_create;
}
return $ret;
}
not_clients_create:
// clients_edit
if (preg_match('#^/(?P<_locale>[^/]++)/clients/edit/(?P<clientId>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'clients_edit')), array ( '_controller' => 'AppBundle\\Controller\\clientsController::editClientAction',));
}
// clients_update
if (preg_match('#^/(?P<_locale>[^/]++)/clients/update/(?P<clientId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'clients_update')), array ( '_controller' => 'AppBundle\\Controller\\clientsController::updateClientAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_clients_update;
}
return $ret;
}
not_clients_update:
// clients_apis_index
if (preg_match('#^/(?P<_locale>[^/]++)/clients/apis$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'clients_apis_index')), array ( '_controller' => 'AppBundle\\Controller\\environmentsController::apisAction',));
}
// clients_apis_create
if (preg_match('#^/(?P<_locale>[^/]++)/clients/apis/create$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'clients_apis_create')), array ( '_controller' => 'AppBundle\\Controller\\environmentsController::createApiAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_clients_apis_create;
}
return $ret;
}
not_clients_apis_create:
// stats_index
if (preg_match('#^/(?P<_locale>[^/]++)/stats/?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'stats_index')), array ( '_controller' => 'AppBundle\\Controller\\statsController::indexAction',));
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_stats_index;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'stats_index'));
}
return $ret;
}
not_stats_index:
// stats_create
if (preg_match('#^/(?P<_locale>[^/]++)/stats/fields/create$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'stats_create')), array ( '_controller' => 'AppBundle\\Controller\\statsController::createStatsFieldAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_stats_create;
}
return $ret;
}
not_stats_create:
// stats_edit
if (preg_match('#^/(?P<_locale>[^/]++)/stats/fields/edit/(?P<statId>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'stats_edit')), array ( '_controller' => 'AppBundle\\Controller\\statsController::editStatsFieldAction',));
}
// stats_update
if (preg_match('#^/(?P<_locale>[^/]++)/stats/fields/update/(?P<statId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'stats_update')), array ( '_controller' => 'AppBundle\\Controller\\statsController::updateStatsFieldAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_stats_update;
}
return $ret;
}
not_stats_update:
// stats_delete
if (preg_match('#^/(?P<_locale>[^/]++)/stats/fields/delete/(?P<statId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'stats_delete')), array ( '_controller' => 'AppBundle\\Controller\\statsController::deleteStatsFieldAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_stats_delete;
}
return $ret;
}
not_stats_delete:
if (0 === strpos($pathinfo, '/api')) {
if (0 === strpos($pathinfo, '/api/users')) {
if (0 === strpos($pathinfo, '/api/users/register')) {
// apiUsers_register_post
if ('/api/users/register' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiUsersController::registerAction', '_route' => 'apiUsers_register_post',);
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_apiUsers_register_post;
}
return $ret;
}
not_apiUsers_register_post:
// apiUsers_register_get
if ('/api/users/register' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiUsersController::registerAction', '_route' => 'apiUsers_register_get',);
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_apiUsers_register_get;
}
return $ret;
}
not_apiUsers_register_get:
// apiUsers_register_uploadFile_post
if ('/api/users/register/uploadFile' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiUsersController::uploadFileAction', '_route' => 'apiUsers_register_uploadFile_post',);
if (!in_array($requestMethod, array('POST', 'OPTIONS'))) {
$allow = array_merge($allow, array('POST', 'OPTIONS'));
goto not_apiUsers_register_uploadFile_post;
}
return $ret;
}
not_apiUsers_register_uploadFile_post:
// apiUsers_register_checkEmail
if ('/api/users/register/checkEmail' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiUsersController::externalCheckEmailActionAction', '_route' => 'apiUsers_register_checkEmail',);
if (!in_array($requestMethod, array('POST', 'OPTIONS'))) {
$allow = array_merge($allow, array('POST', 'OPTIONS'));
goto not_apiUsers_register_checkEmail;
}
return $ret;
}
not_apiUsers_register_checkEmail:
// apiUsers_register_getAssignationCode
if (0 === strpos($pathinfo, '/api/users/register/getAssignationCode') && preg_match('#^/api/users/register/getAssignationCode/(?P<email>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiUsers_register_getAssignationCode')), array ( '_controller' => 'AppBundle\\Controller\\apiUsersController::getAssignationCodeAction',));
if (!in_array($canonicalMethod, array('GET', 'OPTIONS'))) {
$allow = array_merge($allow, array('GET', 'OPTIONS'));
goto not_apiUsers_register_getAssignationCode;
}
return $ret;
}
not_apiUsers_register_getAssignationCode:
}
// apiUsers_register_confirm
if ('/api/users/activate' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\apiUsersController::confirmAction', '_route' => 'apiUsers_register_confirm',);
}
if (0 === strpos($pathinfo, '/api/users/profile')) {
// apiUsers_profile_update
if ('/api/users/profile' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiUsersController::profileAction', '_route' => 'apiUsers_profile_update',);
if (!in_array($requestMethod, array('PUT', 'OPTIONS'))) {
$allow = array_merge($allow, array('PUT', 'OPTIONS'));
goto not_apiUsers_profile_update;
}
return $ret;
}
not_apiUsers_profile_update:
// apiUsers_profile_get
if ('/api/users/profile' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiUsersController::getProfileAction', '_route' => 'apiUsers_profile_get',);
if (!in_array($canonicalMethod, array('GET', 'OPTIONS'))) {
$allow = array_merge($allow, array('GET', 'OPTIONS'));
goto not_apiUsers_profile_get;
}
return $ret;
}
not_apiUsers_profile_get:
// apiUsers_profile_put
if (preg_match('#^/api/users/profile/(?P<userId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiUsers_profile_put')), array ( '_controller' => 'AppBundle\\Controller\\apiUsersController::putProfileAction',));
if (!in_array($requestMethod, array('PUT', 'OPTIONS'))) {
$allow = array_merge($allow, array('PUT', 'OPTIONS'));
goto not_apiUsers_profile_put;
}
return $ret;
}
not_apiUsers_profile_put:
}
elseif (0 === strpos($pathinfo, '/api/users/school')) {
// apiUsers_school_put
if ('/api/users/school' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiUsersController::putSchoolAction', '_route' => 'apiUsers_school_put',);
if (!in_array($requestMethod, array('PUT', 'OPTIONS'))) {
$allow = array_merge($allow, array('PUT', 'OPTIONS'));
goto not_apiUsers_school_put;
}
return $ret;
}
not_apiUsers_school_put:
// apiUsers_school_get
if ('/api/users/school' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiUsersController::getSchoolAction', '_route' => 'apiUsers_school_get',);
if (!in_array($canonicalMethod, array('GET', 'OPTIONS'))) {
$allow = array_merge($allow, array('GET', 'OPTIONS'));
goto not_apiUsers_school_get;
}
return $ret;
}
not_apiUsers_school_get:
// apiUsers_school_getTeachers
if ('/api/users/school/teachers' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiUsersController::getTeachersAction', '_route' => 'apiUsers_school_getTeachers',);
if (!in_array($canonicalMethod, array('GET', 'OPTIONS'))) {
$allow = array_merge($allow, array('GET', 'OPTIONS'));
goto not_apiUsers_school_getTeachers;
}
return $ret;
}
not_apiUsers_school_getTeachers:
// apiUsers_school_getGroups
if ('/api/users/school/groups' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiUsersController::getGroupsAction', '_route' => 'apiUsers_school_getGroups',);
if (!in_array($canonicalMethod, array('GET', 'OPTIONS'))) {
$allow = array_merge($allow, array('GET', 'OPTIONS'));
goto not_apiUsers_school_getGroups;
}
return $ret;
}
not_apiUsers_school_getGroups:
// apiUsers_school_inviteUsers
if ('/api/users/school/inviteTeacher' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiUsersController::inviteUsersAction', '_route' => 'apiUsers_school_inviteUsers',);
if (!in_array($requestMethod, array('POST', 'OPTIONS'))) {
$allow = array_merge($allow, array('POST', 'OPTIONS'));
goto not_apiUsers_school_inviteUsers;
}
return $ret;
}
not_apiUsers_school_inviteUsers:
}
// apiUsers_getRolsData
if ('/api/users/getRolsData' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiUsersController::getRolsDataAction', '_route' => 'apiUsers_getRolsData',);
if (!in_array($requestMethod, array('POST', 'OPTIONS'))) {
$allow = array_merge($allow, array('POST', 'OPTIONS'));
goto not_apiUsers_getRolsData;
}
return $ret;
}
not_apiUsers_getRolsData:
// apiUsers_getAdminsData
if ('/api/users/getAdminsData' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiUsersController::getAdminsDataAction', '_route' => 'apiUsers_getAdminsData',);
if (!in_array($requestMethod, array('POST', 'OPTIONS'))) {
$allow = array_merge($allow, array('POST', 'OPTIONS'));
goto not_apiUsers_getAdminsData;
}
return $ret;
}
not_apiUsers_getAdminsData:
}
// apiStats_get
if ('/api/stats/get' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\mStatsController::getStatsAction', '_route' => 'apiStats_get',);
if (!in_array($requestMethod, array('OPTIONS', 'POST'))) {
$allow = array_merge($allow, array('OPTIONS', 'POST'));
goto not_apiStats_get;
}
return $ret;
}
not_apiStats_get:
// clientApiForms_getAvailiableForms
if ('/api/client/forms/getAvailiableForms' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\clientApiFormsController::getAvailiableFormsAction', '_route' => 'clientApiForms_getAvailiableForms',);
if (!in_array($canonicalMethod, array('OPTIONS', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET'));
goto not_clientApiForms_getAvailiableForms;
}
return $ret;
}
not_clientApiForms_getAvailiableForms:
// clientApiForms_getFormData
if ('/api/client/forms/getFormData' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\clientApiFormsController::getFormDataAction', '_route' => 'clientApiForms_getFormData',);
if (!in_array($canonicalMethod, array('OPTIONS', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET'));
goto not_clientApiForms_getFormData;
}
return $ret;
}
not_clientApiForms_getFormData:
// apiEnvironments_getEnvironmentData
if ('/api/environments/getEnvironmentData' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\apiEnvironmentsController::getEnvironmentDataAction', '_route' => 'apiEnvironments_getEnvironmentData',);
}
// apiEnvironments_clear
if ('/api/environments/clear' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiEnvironmentsController::clearAction', '_route' => 'apiEnvironments_clear',);
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_apiEnvironments_clear;
}
return $ret;
}
not_apiEnvironments_clear:
if (0 === strpos($pathinfo, '/api/forms/get')) {
if (0 === strpos($pathinfo, '/api/forms/getFields')) {
if (0 === strpos($pathinfo, '/api/forms/getFieldsType')) {
// apiForms_getFieldsTypeProperties
if ('/api/forms/getFieldsTypeProperties' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiFormsController::getFieldsTypePropertiesAction', '_route' => 'apiForms_getFieldsTypeProperties',);
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_apiForms_getFieldsTypeProperties;
}
return $ret;
}
not_apiForms_getFieldsTypeProperties:
// apiForms_getFieldsType
if ('/api/forms/getFieldsType' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiFormsController::getFieldsTypeAction', '_route' => 'apiForms_getFieldsType',);
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_apiForms_getFieldsType;
}
return $ret;
}
not_apiForms_getFieldsType:
}
// apiForms_getFieldsProperties
if ('/api/forms/getFieldsProperties' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiFormsController::getFieldsPropertiesAction', '_route' => 'apiForms_getFieldsProperties',);
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_apiForms_getFieldsProperties;
}
return $ret;
}
not_apiForms_getFieldsProperties:
// apiForms_getFields
if ('/api/forms/getFields' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiFormsController::getFieldsAction', '_route' => 'apiForms_getFields',);
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_apiForms_getFields;
}
return $ret;
}
not_apiForms_getFields:
if (0 === strpos($pathinfo, '/api/forms/getFieldsGroups')) {
// apiForms_getFieldsGroupsProperties
if ('/api/forms/getFieldsGroupsProperties' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiFormsController::getFieldsGroupsPropertiesAction', '_route' => 'apiForms_getFieldsGroupsProperties',);
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_apiForms_getFieldsGroupsProperties;
}
return $ret;
}
not_apiForms_getFieldsGroupsProperties:
// apiForms_getFieldsGroups
if ('/api/forms/getFieldsGroups' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiFormsController::getFieldsGroupsAction', '_route' => 'apiForms_getFieldsGroups',);
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_apiForms_getFieldsGroups;
}
return $ret;
}
not_apiForms_getFieldsGroups:
}
// apiForms_getFieldsPropertiesType
if ('/api/forms/getFieldsPropertiesType' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiFormsController::getFieldsPropertiesTypeAction', '_route' => 'apiForms_getFieldsPropertiesType',);
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_apiForms_getFieldsPropertiesType;
}
return $ret;
}
not_apiForms_getFieldsPropertiesType:
// apiForms_getFieldsPropertyTypeValues
if ('/api/forms/getFieldsPropertyTypeValues' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiFormsController::getFieldsPropertyTypeValuesAction', '_route' => 'apiForms_getFieldsPropertyTypeValues',);
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_apiForms_getFieldsPropertyTypeValues;
}
return $ret;
}
not_apiForms_getFieldsPropertyTypeValues:
}
// apiForms_getFormsData
if ('/api/forms/getFormsData' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiFormsController::getFormsDataAction', '_route' => 'apiForms_getFormsData',);
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_apiForms_getFormsData;
}
return $ret;
}
not_apiForms_getFormsData:
// apiForms_getForm
if (preg_match('#^/api/forms/get/(?P<formName>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiForms_getForm')), array ( '_controller' => 'AppBundle\\Controller\\apiFormsController::getFormAction',));
if (!in_array($canonicalMethod, array('OPTIONS', 'GET', 'POST'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET', 'POST'));
goto not_apiForms_getForm;
}
return $ret;
}
not_apiForms_getForm:
}
// apiForms_getAvailiableForms
if (0 === strpos($pathinfo, '/api/forms/availables') && preg_match('#^/api/forms/availables/(?P<dataType>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiForms_getAvailiableForms')), array ( '_controller' => 'AppBundle\\Controller\\apiFormsController::getAvailiableFormsAction',));
if (!in_array($canonicalMethod, array('OPTIONS', 'GET'))) {
$allow = array_merge($allow, array('OPTIONS', 'GET'));
goto not_apiForms_getAvailiableForms;
}
return $ret;
}
not_apiForms_getAvailiableForms:
if (0 === strpos($pathinfo, '/api/groups')) {
// apiGroups_put
if (preg_match('#^/api/groups/(?P<userId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiGroups_put')), array ( '_controller' => 'AppBundle\\Controller\\apiUsersController::putProfileAction',));
if (!in_array($requestMethod, array('PUT'))) {
$allow = array_merge($allow, array('PUT'));
goto not_apiGroups_put;
}
return $ret;
}
not_apiGroups_put:
// apiGroups_delete
if (preg_match('#^/api/groups/(?P<groupId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'apiGroups_delete')), array ( '_controller' => 'AppBundle\\Controller\\apiGroupsController::deleteGroupAction',));
if (!in_array($requestMethod, array('DELETE', 'OPTIONS'))) {
$allow = array_merge($allow, array('DELETE', 'OPTIONS'));
goto not_apiGroups_delete;
}
return $ret;
}
not_apiGroups_delete:
// apiGroups_new_post
if ('/api/groups' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiGroupsController::newGroupAction', '_route' => 'apiGroups_new_post',);
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_apiGroups_new_post;
}
return $ret;
}
not_apiGroups_new_post:
// apiGroups_get
if ('/api/groups' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiGroupsController::getGroupsAction', '_route' => 'apiGroups_get',);
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_apiGroups_get;
}
return $ret;
}
not_apiGroups_get:
}
}
// backend_user_login
if (preg_match('#^/(?P<_locale>[^/]++)/user/login$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_login')), array ( '_controller' => 'AppBundle\\Controller\\userController::loginAction', '_locale' => 'es',));
}
// backend_user_request_password
if (preg_match('#^/(?P<_locale>[^/]++)/user/requestPw$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_request_password')), array ( '_controller' => 'AppBundle\\Controller\\userController::requestPasswordAction', '_locale' => 'es',));
}
// backend_user_request_password_sendMail
if (preg_match('#^/(?P<_locale>[^/]++)/user/requestPw/sendMail$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_request_password_sendMail')), array ( '_controller' => 'AppBundle\\Controller\\userController::sendEmailAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_user_request_password_sendMail;
}
return $ret;
}
not_backend_user_request_password_sendMail:
// backend_user_list
if (preg_match('#^/(?P<_locale>[^/]++)/user/list$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_list')), array ( '_controller' => 'AppBundle\\Controller\\userController::listAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_user_list;
}
return $ret;
}
not_backend_user_list:
// backend_user_enableAccount
if (preg_match('#^/(?P<_locale>[^/]++)/user/enable$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_enableAccount')), array ( '_controller' => 'AppBundle\\Controller\\userController::enableAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_user_enableAccount;
}
return $ret;
}
not_backend_user_enableAccount:
// backend_user_validateAccount
if (preg_match('#^/(?P<_locale>[^/]++)/user/validate$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_validateAccount')), array ( '_controller' => 'AppBundle\\Controller\\userController::validateAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_user_validateAccount;
}
return $ret;
}
not_backend_user_validateAccount:
// backend_user_changePw
if (preg_match('#^/(?P<_locale>[^/]++)/user/changePw/(?P<userId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_changePw')), array ( '_controller' => 'AppBundle\\Controller\\userController::changePwAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_backend_user_changePw;
}
return $ret;
}
not_backend_user_changePw:
// backend_user_deleteUser
if (preg_match('#^/(?P<_locale>[^/]++)/user/deleteUser/(?P<userId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_deleteUser')), array ( '_controller' => 'AppBundle\\Controller\\userController::deleteUserAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('DELETE'))) {
$allow = array_merge($allow, array('DELETE'));
goto not_backend_user_deleteUser;
}
return $ret;
}
not_backend_user_deleteUser:
// backend_user_updateUser
if (preg_match('#^/(?P<_locale>[^/]++)/user/updateUser/(?P<userId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_updateUser')), array ( '_controller' => 'AppBundle\\Controller\\userController::updateUserAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('PUT'))) {
$allow = array_merge($allow, array('PUT'));
goto not_backend_user_updateUser;
}
return $ret;
}
not_backend_user_updateUser:
// backend_user_updateUserType
if (preg_match('#^/(?P<_locale>[^/]++)/user/updateUserType/(?P<userId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_updateUserType')), array ( '_controller' => 'AppBundle\\Controller\\userController::updateUserTypeAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_user_updateUserType;
}
return $ret;
}
not_backend_user_updateUserType:
// backend_user_changeSchool
if (preg_match('#^/(?P<_locale>[^/]++)/user/changeSchool/(?P<userId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_changeSchool')), array ( '_controller' => 'AppBundle\\Controller\\userController::changeSchoolAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_backend_user_changeSchool;
}
return $ret;
}
not_backend_user_changeSchool:
// backend_user_changeRol
if (preg_match('#^/(?P<_locale>[^/]++)/user/changeRol/(?P<userId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_changeRol')), array ( '_controller' => 'AppBundle\\Controller\\userController::changeRolAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_backend_user_changeRol;
}
return $ret;
}
not_backend_user_changeRol:
// backend_user_edit
if (preg_match('#^/(?P<_locale>[^/]++)/user/edit/(?P<userId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_edit')), array ( '_controller' => 'AppBundle\\Controller\\userController::editAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_backend_user_edit;
}
return $ret;
}
not_backend_user_edit:
// backend_user_delete
if (preg_match('#^/(?P<_locale>[^/]++)/user/delete/(?P<userId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_delete')), array ( '_controller' => 'AppBundle\\Controller\\userController::deleteAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('DELETE'))) {
$allow = array_merge($allow, array('DELETE'));
goto not_backend_user_delete;
}
return $ret;
}
not_backend_user_delete:
// backend_user_showInfo
if (preg_match('#^/(?P<_locale>[^/]++)/user/showInfo/(?P<userId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_showInfo')), array ( '_controller' => 'AppBundle\\Controller\\userController::showInfoAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_user_showInfo;
}
return $ret;
}
not_backend_user_showInfo:
// backend_user_getObjects
if (preg_match('#^/(?P<_locale>[^/]++)/user/objects/(?P<userId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_getObjects')), array ( '_controller' => 'AppBundle\\Controller\\userController::getObjectsAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_user_getObjects;
}
return $ret;
}
not_backend_user_getObjects:
// backend_user_getScenarios
if (preg_match('#^/(?P<_locale>[^/]++)/user/scenarios/(?P<userId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_getScenarios')), array ( '_controller' => 'AppBundle\\Controller\\userController::getScenariosAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_user_getScenarios;
}
return $ret;
}
not_backend_user_getScenarios:
// backend_user_listInvited
if (preg_match('#^/(?P<_locale>[^/]++)/user/listInvited$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_listInvited')), array ( '_controller' => 'AppBundle\\Controller\\userController::listInvitedAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_user_listInvited;
}
return $ret;
}
not_backend_user_listInvited:
// backend_user_deleteInvited
if (preg_match('#^/(?P<_locale>[^/]++)/user/deleteInvited/(?P<userId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_deleteInvited')), array ( '_controller' => 'AppBundle\\Controller\\userController::deleteInvitedAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('DELETE'))) {
$allow = array_merge($allow, array('DELETE'));
goto not_backend_user_deleteInvited;
}
return $ret;
}
not_backend_user_deleteInvited:
// backend_user_getUsersTable
if (preg_match('#^/(?P<_locale>[^/]++)/user/getUsersTable$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_getUsersTable')), array ( '_controller' => 'AppBundle\\Controller\\userController::getUsersTableAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_user_getUsersTable;
}
return $ret;
}
not_backend_user_getUsersTable:
// backend_schools_list
if (preg_match('#^/(?P<_locale>[^/]++)/schools/list$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_schools_list')), array ( '_controller' => 'AppBundle\\Controller\\schoolsController::listAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_schools_list;
}
return $ret;
}
not_backend_schools_list:
// backend_user_getSchoolsTable
if (preg_match('#^/(?P<_locale>[^/]++)/schools/getSchoolsTable$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_getSchoolsTable')), array ( '_controller' => 'AppBundle\\Controller\\schoolsController::getSchoolsTableAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_user_getSchoolsTable;
}
return $ret;
}
not_backend_user_getSchoolsTable:
// backend_schools_new
if (preg_match('#^/(?P<_locale>[^/]++)/schools/new$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_schools_new')), array ( '_controller' => 'AppBundle\\Controller\\schoolsController::newSchoolAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_schools_new;
}
return $ret;
}
not_backend_schools_new:
// backend_schools_update
if (preg_match('#^/(?P<_locale>[^/]++)/schools/update/(?P<schoolId>[^/]++)/(?P<rowIndex>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_schools_update')), array ( '_controller' => 'AppBundle\\Controller\\schoolsController::updateSchoolAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_schools_update;
}
return $ret;
}
not_backend_schools_update:
// backend_schools_show
if (preg_match('#^/(?P<_locale>[^/]++)/schools/show/(?P<schoolId>[^/]++)/(?P<rowIndex>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_schools_show')), array ( '_controller' => 'AppBundle\\Controller\\schoolsController::showSchoolAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_backend_schools_show;
}
return $ret;
}
not_backend_schools_show:
// backend_schools_checkCode
if (preg_match('#^/(?P<_locale>[^/]++)/schools/checkCode/(?P<schoolId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_schools_checkCode')), array ( '_controller' => 'AppBundle\\Controller\\schoolsController::checkSchoolCodeAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_schools_checkCode;
}
return $ret;
}
not_backend_schools_checkCode:
// backend_schools_checkEmail
if (preg_match('#^/(?P<_locale>[^/]++)/schools/checkEmail/(?P<schoolId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_schools_checkEmail')), array ( '_controller' => 'AppBundle\\Controller\\schoolsController::checkSchoolEmailAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_schools_checkEmail;
}
return $ret;
}
not_backend_schools_checkEmail:
// backend_schools_checkNewCode
if (preg_match('#^/(?P<_locale>[^/]++)/schools/checkNewCode$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_schools_checkNewCode')), array ( '_controller' => 'AppBundle\\Controller\\schoolsController::checkNewSchoolCodeAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_schools_checkNewCode;
}
return $ret;
}
not_backend_schools_checkNewCode:
// backend_schools_checkNewEmail
if (preg_match('#^/(?P<_locale>[^/]++)/schools/checkNewEmail$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_schools_checkNewEmail')), array ( '_controller' => 'AppBundle\\Controller\\schoolsController::checkNewSchoolEmailAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_schools_checkNewEmail;
}
return $ret;
}
not_backend_schools_checkNewEmail:
// backend_schools_create
if (preg_match('#^/(?P<_locale>[^/]++)/schools/create$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_schools_create')), array ( '_controller' => 'AppBundle\\Controller\\schoolsController::createSchoolAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_schools_create;
}
return $ret;
}
not_backend_schools_create:
// backend_schools_delete
if (preg_match('#^/(?P<_locale>[^/]++)/schools/delete/(?P<schoolId>[^/]++)/(?P<rowIndex>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_schools_delete')), array ( '_controller' => 'AppBundle\\Controller\\schoolsController::deleteSchoolAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_schools_delete;
}
return $ret;
}
not_backend_schools_delete:
// backend_schools_setCoordinator
if (preg_match('#^/(?P<_locale>[^/]++)/schools/setCoordinator/(?P<schoolId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_schools_setCoordinator')), array ( '_controller' => 'AppBundle\\Controller\\schoolsController::setCoordinatorAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_backend_schools_setCoordinator;
}
return $ret;
}
not_backend_schools_setCoordinator:
// backend_schools_inviteUsers
if (preg_match('#^/(?P<_locale>[^/]++)/schools/invite/(?P<schoolId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_schools_inviteUsers')), array ( '_controller' => 'AppBundle\\Controller\\schoolsController::inviteUsersAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_backend_schools_inviteUsers;
}
return $ret;
}
not_backend_schools_inviteUsers:
// backend_universities_list
if (preg_match('#^/(?P<_locale>[^/]++)/universities/list$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_universities_list')), array ( '_controller' => 'AppBundle\\Controller\\universitiesController::listAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_universities_list;
}
return $ret;
}
not_backend_universities_list:
// backend_user_getUniversitiesTable
if (preg_match('#^/(?P<_locale>[^/]++)/universities/getUniversitiesTable$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_getUniversitiesTable')), array ( '_controller' => 'AppBundle\\Controller\\universitiesController::getUniversitiesTableAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_user_getUniversitiesTable;
}
return $ret;
}
not_backend_user_getUniversitiesTable:
// backend_universities_new
if (preg_match('#^/(?P<_locale>[^/]++)/universities/new$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_universities_new')), array ( '_controller' => 'AppBundle\\Controller\\universitiesController::newUniversityAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_universities_new;
}
return $ret;
}
not_backend_universities_new:
// backend_universities_update
if (preg_match('#^/(?P<_locale>[^/]++)/universities/update/(?P<universityId>[^/]++)/(?P<rowIndex>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_universities_update')), array ( '_controller' => 'AppBundle\\Controller\\universitiesController::updateUniversityAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_universities_update;
}
return $ret;
}
not_backend_universities_update:
// backend_universities_show
if (preg_match('#^/(?P<_locale>[^/]++)/universities/show/(?P<universityId>[^/]++)/(?P<rowIndex>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_universities_show')), array ( '_controller' => 'AppBundle\\Controller\\universitiesController::showAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_backend_universities_show;
}
return $ret;
}
not_backend_universities_show:
// backend_universities_checkCode
if (preg_match('#^/(?P<_locale>[^/]++)/universities/checkCode/(?P<universityId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_universities_checkCode')), array ( '_controller' => 'AppBundle\\Controller\\universitiesController::checkUniversityCodeAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_universities_checkCode;
}
return $ret;
}
not_backend_universities_checkCode:
// backend_universities_checkEmail
if (preg_match('#^/(?P<_locale>[^/]++)/universities/checkEmail/(?P<universityId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_universities_checkEmail')), array ( '_controller' => 'AppBundle\\Controller\\universitiesController::checkUniversityEmailAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_universities_checkEmail;
}
return $ret;
}
not_backend_universities_checkEmail:
// backend_universities_checkNewCode
if (preg_match('#^/(?P<_locale>[^/]++)/universities/checkNewCode$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_universities_checkNewCode')), array ( '_controller' => 'AppBundle\\Controller\\universitiesController::checkNewUniversityCodeAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_universities_checkNewCode;
}
return $ret;
}
not_backend_universities_checkNewCode:
// backend_universities_checkNewEmail
if (preg_match('#^/(?P<_locale>[^/]++)/universities/checkNewEmail$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_universities_checkNewEmail')), array ( '_controller' => 'AppBundle\\Controller\\universitiesController::checkNewUniversityEmailAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_universities_checkNewEmail;
}
return $ret;
}
not_backend_universities_checkNewEmail:
// backend_universities_create
if (preg_match('#^/(?P<_locale>[^/]++)/universities/create$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_universities_create')), array ( '_controller' => 'AppBundle\\Controller\\universitiesController::createUniversityAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_universities_create;
}
return $ret;
}
not_backend_universities_create:
// backend_universities_delete
if (preg_match('#^/(?P<_locale>[^/]++)/universities/delete/(?P<universityId>[^/]++)/(?P<rowIndex>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_universities_delete')), array ( '_controller' => 'AppBundle\\Controller\\universitiesController::deleteUniversityAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_universities_delete;
}
return $ret;
}
not_backend_universities_delete:
// backend_cities_list
if (preg_match('#^/(?P<_locale>[^/]++)/cities/list$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_cities_list')), array ( '_controller' => 'AppBundle\\Controller\\citiesController::listCitiesAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_cities_list;
}
return $ret;
}
not_backend_cities_list:
// backend_user_getCitiesTable
if (preg_match('#^/(?P<_locale>[^/]++)/cities/getCitiesTable$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_getCitiesTable')), array ( '_controller' => 'AppBundle\\Controller\\citiesController::getCitiesTableAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_user_getCitiesTable;
}
return $ret;
}
not_backend_user_getCitiesTable:
// backend_countries_list
if (preg_match('#^/(?P<_locale>[^/]++)/cities/countries/list$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_countries_list')), array ( '_controller' => 'AppBundle\\Controller\\citiesController::listCountriesAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_countries_list;
}
return $ret;
}
not_backend_countries_list:
// backend_countries_getCountriesTable
if (preg_match('#^/(?P<_locale>[^/]++)/cities/getCountriesTable$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_countries_getCountriesTable')), array ( '_controller' => 'AppBundle\\Controller\\citiesController::getCountriesTableAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_countries_getCountriesTable;
}
return $ret;
}
not_backend_countries_getCountriesTable:
// backend_countries_getCountry
if (preg_match('#^/(?P<_locale>[^/]++)/cities/showCountry/(?P<countryId>[^/]++)/(?P<rowIndex>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_countries_getCountry')), array ( '_controller' => 'AppBundle\\Controller\\citiesController::showCountryAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_countries_getCountry;
}
return $ret;
}
not_backend_countries_getCountry:
// backend_countries_updateCountry
if (preg_match('#^/(?P<_locale>[^/]++)/cities/updateCountry/(?P<countryId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_countries_updateCountry')), array ( '_controller' => 'AppBundle\\Controller\\citiesController::updateCountryAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_countries_updateCountry;
}
return $ret;
}
not_backend_countries_updateCountry:
// backend_cities_getCity
if (preg_match('#^/(?P<_locale>[^/]++)/cities/showCity/(?P<cityId>[^/]++)/(?P<rowIndex>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_cities_getCity')), array ( '_controller' => 'AppBundle\\Controller\\citiesController::showCityAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_cities_getCity;
}
return $ret;
}
not_backend_cities_getCity:
// backend_cities_updateCountry
if (preg_match('#^/(?P<_locale>[^/]++)/cities/updateCity/(?P<cityId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_cities_updateCountry')), array ( '_controller' => 'AppBundle\\Controller\\citiesController::updateCityAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_cities_updateCountry;
}
return $ret;
}
not_backend_cities_updateCountry:
// backend_cities_newCity
if (preg_match('#^/(?P<_locale>[^/]++)/cities/newCity$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_cities_newCity')), array ( '_controller' => 'AppBundle\\Controller\\citiesController::newCityAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_cities_newCity;
}
return $ret;
}
not_backend_cities_newCity:
// backend_cities_createCity
if (preg_match('#^/(?P<_locale>[^/]++)/cities/createCity$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_cities_createCity')), array ( '_controller' => 'AppBundle\\Controller\\citiesController::createCityAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_cities_createCity;
}
return $ret;
}
not_backend_cities_createCity:
// backend_countries_newCountry
if (preg_match('#^/(?P<_locale>[^/]++)/cities/newCountry$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_countries_newCountry')), array ( '_controller' => 'AppBundle\\Controller\\citiesController::newCountryAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_countries_newCountry;
}
return $ret;
}
not_backend_countries_newCountry:
// backend_countries_createCountry
if (preg_match('#^/(?P<_locale>[^/]++)/cities/createCountry$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_countries_createCountry')), array ( '_controller' => 'AppBundle\\Controller\\citiesController::createCountryAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_countries_createCountry;
}
return $ret;
}
not_backend_countries_createCountry:
// backend_countries_checkCountryCode
if (preg_match('#^/(?P<_locale>[^/]++)/cities/checkCountryCode$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_countries_checkCountryCode')), array ( '_controller' => 'AppBundle\\Controller\\citiesController::checkCountryCodeAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_countries_checkCountryCode;
}
return $ret;
}
not_backend_countries_checkCountryCode:
// appBundle_api_uploadFile_post
if ('/api/uploadFile' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle:apiObjects:uploadFile', '_route' => 'appBundle_api_uploadFile_post',);
if (!in_array($requestMethod, array('POST', 'OPTIONS'))) {
$allow = array_merge($allow, array('POST', 'OPTIONS'));
goto not_appBundle_api_uploadFile_post;
}
return $ret;
}
not_appBundle_api_uploadFile_post:
// appBundle_loader
if (preg_match('#^/(?P<_locale>[^/]++)/loader$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_loader')), array ( '_controller' => 'AppBundle\\Controller\\DefaultController::getLoaderAction',));
}
// backend_forms_index
if (preg_match('#^/(?P<_locale>[^/]++)/forms/?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_index')), array ( '_controller' => 'AppBundle\\Controller\\formsController::indexAction', '_locale' => 'es',));
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_backend_forms_index;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'backend_forms_index'));
}
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_forms_index;
}
return $ret;
}
not_backend_forms_index:
// backend_forms_fieldProperties
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fieldProperties$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fieldProperties')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldPropertiesAction', '_locale' => 'es',));
}
// backend_forms_fieldProperties_create
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fieldProperties/create$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fieldProperties_create')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldPropertiesCreateAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_fieldProperties_create;
}
return $ret;
}
not_backend_forms_fieldProperties_create:
// backend_forms_fieldProperties_edit
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fieldProperties/edit/(?P<tagId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fieldProperties_edit')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldPropertiesEditAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_forms_fieldProperties_edit;
}
return $ret;
}
not_backend_forms_fieldProperties_edit:
// backend_forms_fieldProperties_update
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fieldProperties/update/(?P<tagId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fieldProperties_update')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldPropertiesUpdateAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_fieldProperties_update;
}
return $ret;
}
not_backend_forms_fieldProperties_update:
// backend_forms_fieldProperties_delete
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fieldProperties/delete/(?P<tagId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fieldProperties_delete')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldPropertiesDeleteAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_fieldProperties_delete;
}
return $ret;
}
not_backend_forms_fieldProperties_delete:
// backend_forms_fieldTypes
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fieldTypes$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fieldTypes')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldTypesAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_forms_fieldTypes;
}
return $ret;
}
not_backend_forms_fieldTypes:
// backend_forms_fieldTypes_create
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fieldTypes/create$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fieldTypes_create')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldTypesCreateAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_fieldTypes_create;
}
return $ret;
}
not_backend_forms_fieldTypes_create:
// backend_forms_fieldTypes_edit
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fieldTypes/edit/(?P<tagId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fieldTypes_edit')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldTypesEditAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_forms_fieldTypes_edit;
}
return $ret;
}
not_backend_forms_fieldTypes_edit:
// backend_forms_fieldTypes_update
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fieldTypes/update/(?P<tagId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fieldTypes_update')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldTypesUpdateAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_fieldTypes_update;
}
return $ret;
}
not_backend_forms_fieldTypes_update:
// backend_forms_fieldTypes_delete
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fieldTypes/delete/(?P<tagId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fieldTypes_delete')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldTypesDeleteAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_fieldTypes_delete;
}
return $ret;
}
not_backend_forms_fieldTypes_delete:
// backend_forms_fieldTypes_properties
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fieldTypes/properties$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fieldTypes_properties')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldTypesPropertiesAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_forms_fieldTypes_properties;
}
return $ret;
}
not_backend_forms_fieldTypes_properties:
// backend_forms_fieldTypes_properties_create
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fieldTypes/properties/create$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fieldTypes_properties_create')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldTypesPropertiesCreateAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_fieldTypes_properties_create;
}
return $ret;
}
not_backend_forms_fieldTypes_properties_create:
// backend_forms_fieldTypes_properties_edit
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fieldTypes/properties/edit/(?P<tagId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fieldTypes_properties_edit')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldTypesPropertiesEditAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_forms_fieldTypes_properties_edit;
}
return $ret;
}
not_backend_forms_fieldTypes_properties_edit:
// backend_forms_fieldTypes_properties_update
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fieldTypes/properties/update/(?P<tagId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fieldTypes_properties_update')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldTypesPropertiesUpdateAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_fieldTypes_properties_update;
}
return $ret;
}
not_backend_forms_fieldTypes_properties_update:
// backend_forms_fieldTypes_properties_delete
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fieldTypes/properties/delete/(?P<tagId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fieldTypes_properties_delete')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldTypesPropertiesDeleteAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_fieldTypes_properties_delete;
}
return $ret;
}
not_backend_forms_fieldTypes_properties_delete:
// backend_forms_fields
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fields$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fields')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldsAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_forms_fields;
}
return $ret;
}
not_backend_forms_fields:
// backend_forms_fields_newModal
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fields/newModal$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fields_newModal')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldsNewModalAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_forms_fields_newModal;
}
return $ret;
}
not_backend_forms_fields_newModal:
// backend_forms_fields_create
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fields/create$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fields_create')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldsCreateAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_fields_create;
}
return $ret;
}
not_backend_forms_fields_create:
// backend_forms_fields_edit
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fields/edit/(?P<tagId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fields_edit')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldsEditAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_forms_fields_edit;
}
return $ret;
}
not_backend_forms_fields_edit:
// backend_forms_fields_update
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fields/update/(?P<tagId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fields_update')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldsUpdateAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_fields_update;
}
return $ret;
}
not_backend_forms_fields_update:
// backend_forms_fields_delete
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fields/delete/(?P<tagId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fields_delete')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldsDeleteAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_fields_delete;
}
return $ret;
}
not_backend_forms_fields_delete:
// backend_forms_fields_getFieldProperties
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fields/getFieldProperties/(?P<fieldId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fields_getFieldProperties')), array ( '_controller' => 'AppBundle\\Controller\\formsController::getFieldPropertiesAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_forms_fields_getFieldProperties;
}
return $ret;
}
not_backend_forms_fields_getFieldProperties:
// backend_forms_fields_getEditFieldProperties
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fields/getEditFieldProperties/(?P<formId>[^/]++)/(?P<fieldId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fields_getEditFieldProperties')), array ( '_controller' => 'AppBundle\\Controller\\formsController::getEditFieldPropertiesAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_forms_fields_getEditFieldProperties;
}
return $ret;
}
not_backend_forms_fields_getEditFieldProperties:
// backend_forms_fields_fieldPropertiesTypes
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fields/propertiesTypes$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fields_fieldPropertiesTypes')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldPropertiesTypesAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_forms_fields_fieldPropertiesTypes;
}
return $ret;
}
not_backend_forms_fields_fieldPropertiesTypes:
// backend_forms_fields_fieldPropertiesTypes_create
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fields/propertiesTypes/create$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fields_fieldPropertiesTypes_create')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldPropertiesTypesCreateAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_fields_fieldPropertiesTypes_create;
}
return $ret;
}
not_backend_forms_fields_fieldPropertiesTypes_create:
// backend_forms_fields_fieldPropertiesTypes_showValues
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fields/propertiesTypes/showValues/(?P<tagId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fields_fieldPropertiesTypes_showValues')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldPropertiesTypesshowValuesAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_forms_fields_fieldPropertiesTypes_showValues;
}
return $ret;
}
not_backend_forms_fields_fieldPropertiesTypes_showValues:
// backend_forms_fields_fieldPropertiesTypes_showDBValues
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fields/propertiesTypes/showDBValues/(?P<tagId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fields_fieldPropertiesTypes_showDBValues')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldPropertiesTypesshowDBValuesAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_forms_fields_fieldPropertiesTypes_showDBValues;
}
return $ret;
}
not_backend_forms_fields_fieldPropertiesTypes_showDBValues:
// backend_forms_fields_fieldPropertiesTypes_editDBValues
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fields/propertiesTypes/editDBValues$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fields_fieldPropertiesTypes_editDBValues')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldPropertiesTypesEditDBValuesAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_fields_fieldPropertiesTypes_editDBValues;
}
return $ret;
}
not_backend_forms_fields_fieldPropertiesTypes_editDBValues:
// backend_forms_fields_fieldPropertiesTypes_updateDBValues
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fields/propertiesTypes/updateDBValues$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fields_fieldPropertiesTypes_updateDBValues')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldPropertiesTypesUpdateDBValuesAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_fields_fieldPropertiesTypes_updateDBValues;
}
return $ret;
}
not_backend_forms_fields_fieldPropertiesTypes_updateDBValues:
// backend_forms_fields_fieldPropertiesTypes_saveDBValues
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fields/propertiesTypes/saveDBValues$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fields_fieldPropertiesTypes_saveDBValues')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldPropertiesTypesSaveDBValuesAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_fields_fieldPropertiesTypes_saveDBValues;
}
return $ret;
}
not_backend_forms_fields_fieldPropertiesTypes_saveDBValues:
// backend_forms_fields_fieldPropertiesTypes_addValues
if (preg_match('#^/(?P<_locale>[^/]++)/forms/fields/propertiesTypes/addValues$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_fields_fieldPropertiesTypes_addValues')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldPropertiesTypesAddValuesAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_fields_fieldPropertiesTypes_addValues;
}
return $ret;
}
not_backend_forms_fields_fieldPropertiesTypes_addValues:
// backend_forms_groups
if (preg_match('#^/(?P<_locale>[^/]++)/forms/groups$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_groups')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldsGroupsAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_forms_groups;
}
return $ret;
}
not_backend_forms_groups:
// backend_forms_groups_newModal
if (preg_match('#^/(?P<_locale>[^/]++)/forms/groups/newModal$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_groups_newModal')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldsGroupsNewModalAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_forms_groups_newModal;
}
return $ret;
}
not_backend_forms_groups_newModal:
// backend_forms_groups_create
if (preg_match('#^/(?P<_locale>[^/]++)/forms/groups/create$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_groups_create')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldsGroupsCreateAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_groups_create;
}
return $ret;
}
not_backend_forms_groups_create:
// backend_forms_groups_edit
if (preg_match('#^/(?P<_locale>[^/]++)/forms/groups/edit/(?P<tagId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_groups_edit')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldsGroupsEditAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_forms_groups_edit;
}
return $ret;
}
not_backend_forms_groups_edit:
// backend_forms_groups_update
if (preg_match('#^/(?P<_locale>[^/]++)/forms/groups/update/(?P<tagId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_groups_update')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldsGroupsUpdateAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_groups_update;
}
return $ret;
}
not_backend_forms_groups_update:
// backend_forms_groups_delete
if (preg_match('#^/(?P<_locale>[^/]++)/forms/groups/delete/(?P<tagId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_groups_delete')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldsGroupsDeleteAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_groups_delete;
}
return $ret;
}
not_backend_forms_groups_delete:
// backend_forms_groups_properties
if (preg_match('#^/(?P<_locale>[^/]++)/forms/groups/properties$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_groups_properties')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldsGroupsPropertiesAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_forms_groups_properties;
}
return $ret;
}
not_backend_forms_groups_properties:
// backend_forms_groups_properties_create
if (preg_match('#^/(?P<_locale>[^/]++)/forms/groups/properties/create$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_groups_properties_create')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldsGroupsPropertiesCreateAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_groups_properties_create;
}
return $ret;
}
not_backend_forms_groups_properties_create:
// backend_forms_groups_properties_edit
if (preg_match('#^/(?P<_locale>[^/]++)/forms/groups/properties/edit/(?P<tagId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_groups_properties_edit')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldsGroupsPropertiesEditAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_forms_groups_properties_edit;
}
return $ret;
}
not_backend_forms_groups_properties_edit:
// backend_forms_groups_properties_update
if (preg_match('#^/(?P<_locale>[^/]++)/forms/groups/properties/update/(?P<tagId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_groups_properties_update')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldsGroupsPropertiesUpdateAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_groups_properties_update;
}
return $ret;
}
not_backend_forms_groups_properties_update:
// backend_forms_groups_properties_delete
if (preg_match('#^/(?P<_locale>[^/]++)/forms/groups/properties/delete/(?P<tagId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_groups_properties_delete')), array ( '_controller' => 'AppBundle\\Controller\\formsController::fieldsGroupsPropertiesDeleteAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_groups_properties_delete;
}
return $ret;
}
not_backend_forms_groups_properties_delete:
// backend_forms_groups_getGroupProperties
if (preg_match('#^/(?P<_locale>[^/]++)/forms/groups/getGroupProperties/(?P<groupId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_groups_getGroupProperties')), array ( '_controller' => 'AppBundle\\Controller\\formsController::getFieldsGroupPropertiesAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_forms_groups_getGroupProperties;
}
return $ret;
}
not_backend_forms_groups_getGroupProperties:
// backend_forms_groups_getGroupEditProperties
if (preg_match('#^/(?P<_locale>[^/]++)/forms/groups/getGroupEditProperties/(?P<formId>[^/]++)/(?P<groupId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_groups_getGroupEditProperties')), array ( '_controller' => 'AppBundle\\Controller\\formsController::getFieldsGroupEditPropertiesAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_forms_groups_getGroupEditProperties;
}
return $ret;
}
not_backend_forms_groups_getGroupEditProperties:
// backend_forms_groups_assignFieldsToGroups
if (preg_match('#^/(?P<_locale>[^/]++)/forms/groups/assignFieldsToGroups$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_groups_assignFieldsToGroups')), array ( '_controller' => 'AppBundle\\Controller\\formsController::assignFieldsToGroupsAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_groups_assignFieldsToGroups;
}
return $ret;
}
not_backend_forms_groups_assignFieldsToGroups:
// backend_forms_groups_assignFieldsToGroupsEdit
if (preg_match('#^/(?P<_locale>[^/]++)/forms/groups/assignFieldsToGroupsEdit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_forms_groups_assignFieldsToGroupsEdit')), array ( '_controller' => 'AppBundle\\Controller\\formsController::assignFieldsToGroupsEditAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_forms_groups_assignFieldsToGroupsEdit;
}
return $ret;
}
not_backend_forms_groups_assignFieldsToGroupsEdit:
// backend_objects_createForms
if (preg_match('#^/(?P<_locale>[^/]++)/forms/create$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_objects_createForms')), array ( '_controller' => 'AppBundle\\Controller\\formsController::createFormAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_objects_createForms;
}
return $ret;
}
not_backend_objects_createForms:
// backend_objects_formEdit
if (preg_match('#^/(?P<_locale>[^/]++)/forms/edit/(?P<formId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_objects_formEdit')), array ( '_controller' => 'AppBundle\\Controller\\formsController::formEditAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_objects_formEdit;
}
return $ret;
}
not_backend_objects_formEdit:
// backend_objects_updateForms
if (preg_match('#^/(?P<_locale>[^/]++)/forms/update$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_objects_updateForms')), array ( '_controller' => 'AppBundle\\Controller\\formsController::updateFormAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_objects_updateForms;
}
return $ret;
}
not_backend_objects_updateForms:
// backend_objects_deleteForms
if (preg_match('#^/(?P<_locale>[^/]++)/forms/delete/(?P<formId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_objects_deleteForms')), array ( '_controller' => 'AppBundle\\Controller\\formsController::deleteFormAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_backend_objects_deleteForms;
}
return $ret;
}
not_backend_objects_deleteForms:
// rols_rolsIndex
if (preg_match('#^/(?P<_locale>[^/]++)/rols/rolsIndex$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rols_rolsIndex')), array ( '_controller' => 'AppBundle\\Controller\\permissionsController::indexRolsAction', '_locale' => 'es',));
}
// rols_permissionsIndex
if (preg_match('#^/(?P<_locale>[^/]++)/rols/permissionsIndex$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rols_permissionsIndex')), array ( '_controller' => 'AppBundle\\Controller\\permissionsController::indexPermissionsAction', '_locale' => 'es',));
}
// rols_permissions_add
if (preg_match('#^/(?P<_locale>[^/]++)/rols/permissions/create$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'rols_permissions_add')), array ( '_controller' => 'AppBundle\\Controller\\permissionsController::createPermissionAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_rols_permissions_add;
}
return $ret;
}
not_rols_permissions_add:
// rols_add
if (preg_match('#^/(?P<_locale>[^/]++)/rols/create$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'rols_add')), array ( '_controller' => 'AppBundle\\Controller\\permissionsController::createRolAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_rols_add;
}
return $ret;
}
not_rols_add:
// rols_delete
if (preg_match('#^/(?P<_locale>[^/]++)/rols/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'rols_delete')), array ( '_controller' => 'AppBundle\\Controller\\permissionsController::deleteRolAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_rols_delete;
}
return $ret;
}
not_rols_delete:
// rols_permissions_delete
if (preg_match('#^/(?P<_locale>[^/]++)/rols/permissions/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'rols_permissions_delete')), array ( '_controller' => 'AppBundle\\Controller\\permissionsController::deletePermissionAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_rols_permissions_delete;
}
return $ret;
}
not_rols_permissions_delete:
// rols_permissions_edit
if (preg_match('#^/(?P<_locale>[^/]++)/rols/permissions/edit/(?P<permissionId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'rols_permissions_edit')), array ( '_controller' => 'AppBundle\\Controller\\permissionsController::editPermissionAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_rols_permissions_edit;
}
return $ret;
}
not_rols_permissions_edit:
// rols_edit
if (preg_match('#^/(?P<_locale>[^/]++)/rols/edit/(?P<rolId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'rols_edit')), array ( '_controller' => 'AppBundle\\Controller\\permissionsController::editRolAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_rols_edit;
}
return $ret;
}
not_rols_edit:
// rols_update
if (preg_match('#^/(?P<_locale>[^/]++)/rols/update/(?P<rolId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'rols_update')), array ( '_controller' => 'AppBundle\\Controller\\permissionsController::updateRolAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_rols_update;
}
return $ret;
}
not_rols_update:
// rols_permissions_update
if (preg_match('#^/(?P<_locale>[^/]++)/rols/permissions/update/(?P<permissionId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'rols_permissions_update')), array ( '_controller' => 'AppBundle\\Controller\\permissionsController::updatePermissionAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_rols_permissions_update;
}
return $ret;
}
not_rols_permissions_update:
// rols_rolsPermissions
if (preg_match('#^/(?P<_locale>[^/]++)/rols/rolsPermissions$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rols_rolsPermissions')), array ( '_controller' => 'AppBundle\\Controller\\permissionsController::rolsPermissionsAction', '_locale' => 'es',));
}
// rols_editRolPermissions
if (preg_match('#^/(?P<_locale>[^/]++)/rols/editRolPermissions/(?P<rolId>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rols_editRolPermissions')), array ( '_controller' => 'AppBundle\\Controller\\permissionsController::editRolPermissionsAction', '_locale' => 'es',));
}
// rols_usersPermissions
if (preg_match('#^/(?P<_locale>[^/]++)/rols/usersPermissions$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rols_usersPermissions')), array ( '_controller' => 'AppBundle\\Controller\\permissionsController::usersPermissionsAction', '_locale' => 'es',));
}
// rols_editUserPermissions
if (preg_match('#^/(?P<_locale>[^/]++)/rols/editUserPermissions/(?P<userId>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rols_editUserPermissions')), array ( '_controller' => 'AppBundle\\Controller\\permissionsController::editUsersPermissionsAction', '_locale' => 'es',));
}
// rols_updateUserPermissions
if (preg_match('#^/(?P<_locale>[^/]++)/rols/updateUserPermissions/(?P<userId>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rols_updateUserPermissions')), array ( '_controller' => 'AppBundle\\Controller\\permissionsController::updateUserPermissionsAction', '_locale' => 'es',));
}
// rols_usersRolesUpdate
if (preg_match('#^/(?P<_locale>[^/]++)/rols/userRolsupdate/(?P<userId>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rols_usersRolesUpdate')), array ( '_controller' => 'AppBundle\\Controller\\permissionsController::userRolsupdateAction', '_locale' => 'es',));
}
// rols_usersRoles
if (preg_match('#^/(?P<_locale>[^/]++)/rols/usersRoles$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rols_usersRoles')), array ( '_controller' => 'AppBundle\\Controller\\permissionsController::usersRolesAction', '_locale' => 'es',));
}
// rols_usersRolesEdit
if (preg_match('#^/(?P<_locale>[^/]++)/rols/editUserRoles/(?P<userId>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rols_usersRolesEdit')), array ( '_controller' => 'AppBundle\\Controller\\permissionsController::editUsersRolesAction', '_locale' => 'es',));
}
// rols_accessLevelIndex
if (preg_match('#^/(?P<_locale>[^/]++)/rols/accessLevel$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rols_accessLevelIndex')), array ( '_controller' => 'AppBundle\\Controller\\permissionsController::indexAccessLevelAction', '_locale' => 'es',));
}
// rols_accessLevel_create
if (preg_match('#^/(?P<_locale>[^/]++)/rols/accessLevel/create$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rols_accessLevel_create')), array ( '_controller' => 'AppBundle\\Controller\\permissionsController::createAccessLevelAction', '_locale' => 'es',));
}
// rols_accessLevel_edit
if (preg_match('#^/(?P<_locale>[^/]++)/rols/accessLevel/edit/(?P<accessLevelId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'rols_accessLevel_edit')), array ( '_controller' => 'AppBundle\\Controller\\permissionsController::editAccessLevelAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_rols_accessLevel_edit;
}
return $ret;
}
not_rols_accessLevel_edit:
// rols_accessLevel_update
if (preg_match('#^/(?P<_locale>[^/]++)/rols/accessLevel/update/(?P<accessLevelId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'rols_accessLevel_update')), array ( '_controller' => 'AppBundle\\Controller\\permissionsController::updateAccessLevelAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_rols_accessLevel_update;
}
return $ret;
}
not_rols_accessLevel_update:
// rols_accessLevel_delete
if (preg_match('#^/(?P<_locale>[^/]++)/rols/accessLevel/delete/(?P<accessLevelId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'rols_accessLevel_delete')), array ( '_controller' => 'AppBundle\\Controller\\permissionsController::deleteAccessLevelAction', '_locale' => 'es',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_rols_accessLevel_delete;
}
return $ret;
}
not_rols_accessLevel_delete:
if (0 === strpos($pathinfo, '/test')) {
// test_login
if ('/testLogin' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\DefaultController::testLoginAction', '_route' => 'test_login',);
}
if (0 === strpos($pathinfo, '/testuploads')) {
// test_uploads_index
if ('/testuploadsIndex' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\DefaultController::testFileUploadIndexAction', '_route' => 'test_uploads_index',);
}
// test_uploads
if ('/testuploads' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\DefaultController::testFileUploadAction', '_route' => 'test_uploads',);
}
}
// test_forms
if ('/testForms' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\TestController::testReturnFormAction', '_route' => 'test_forms',);
}
if (0 === strpos($pathinfo, '/tests')) {
// test_testNewObject
if ('/tests/newObject' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\TestController::testNewObjectAction', '_route' => 'test_testNewObject',);
}
// test_testNewProject
if ('/tests/newProject' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\TestController::testNewProjectAction', '_route' => 'test_testNewProject',);
}
// test_testNewFormSelect
if ('/tests/testNewFormSelect' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\TestController::testNewFormSelectAction', '_route' => 'test_testNewFormSelect',);
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_test_testNewFormSelect;
}
return $ret;
}
not_test_testNewFormSelect:
// test_testSaveProject
if ('/tests/saveProject' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\TestController::testsaveProjectAction', '_route' => 'test_testSaveProject',);
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_test_testSaveProject;
}
return $ret;
}
not_test_testSaveProject:
// test_testSaveObject
if ('/tests/saveObject' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\TestController::testsaveObjectAction', '_route' => 'test_testSaveObject',);
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_test_testSaveObject;
}
return $ret;
}
not_test_testSaveObject:
// test_testDeleteProject
if ('/tests/deleteProject' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\TestController::testDeleteProjectAction', '_route' => 'test_testDeleteProject',);
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_test_testDeleteProject;
}
return $ret;
}
not_test_testDeleteProject:
// test_testDeleteObject
if ('/tests/deleteObject' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\TestController::testDeleteObjectAction', '_route' => 'test_testDeleteObject',);
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_test_testDeleteObject;
}
return $ret;
}
not_test_testDeleteObject:
// test_testListObjects
if ('/tests/listObjects' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\TestController::testlistObjectAction', '_route' => 'test_testListObjects',);
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_test_testListObjects;
}
return $ret;
}
not_test_testListObjects:
// test_testListProjects
if ('/tests/listProjects' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\TestController::testlistProjectAction', '_route' => 'test_testListProjects',);
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_test_testListProjects;
}
return $ret;
}
not_test_testListProjects:
}
}
elseif (0 === strpos($pathinfo, '/api')) {
// apiScenarios_get_myProjects
if ('/api/myprojects' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle:apiScenarios:myProjects', '_route' => 'apiScenarios_get_myProjects',);
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_apiScenarios_get_myProjects;
}
return $ret;
}
not_apiScenarios_get_myProjects:
// appBundle_api_upload
if ('/api/upload' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiGlobalController::uploadFileAction', '_route' => 'appBundle_api_upload',);
if (!in_array($requestMethod, array('POST', 'OPTIONS'))) {
$allow = array_merge($allow, array('POST', 'OPTIONS'));
goto not_appBundle_api_upload;
}
return $ret;
}
not_appBundle_api_upload:
// appBundle_api_usersLogin
if ('/api/usersLogins' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiGlobalController::usersLoginsAction', '_route' => 'appBundle_api_usersLogin',);
if (!in_array($canonicalMethod, array('GET', 'OPTIONS'))) {
$allow = array_merge($allow, array('GET', 'OPTIONS'));
goto not_appBundle_api_usersLogin;
}
return $ret;
}
not_appBundle_api_usersLogin:
// appBundle_api_delete
if ('/api/delete' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiGlobalController::deleteFileAction', '_route' => 'appBundle_api_delete',);
if (!in_array($requestMethod, array('POST', 'OPTIONS'))) {
$allow = array_merge($allow, array('POST', 'OPTIONS'));
goto not_appBundle_api_delete;
}
return $ret;
}
not_appBundle_api_delete:
// appBundle_api_getFile
if ('/api/getFile' === $pathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\apiGlobalController::getFileAction', '_route' => 'appBundle_api_getFile',);
if (!in_array($requestMethod, array('POST', 'OPTIONS'))) {
$allow = array_merge($allow, array('POST', 'OPTIONS'));
goto not_appBundle_api_getFile;
}
return $ret;
}
not_appBundle_api_getFile:
// appBundle_api_lastLogin
if (0 === strpos($pathinfo, '/api/lastLogin') && preg_match('#^/api/lastLogin/(?P<email>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_api_lastLogin')), array ( '_controller' => 'AppBundle\\Controller\\apiGlobalController::lastLoginAction',));
if (!in_array($canonicalMethod, array('GET', 'OPTIONS'))) {
$allow = array_merge($allow, array('GET', 'OPTIONS'));
goto not_appBundle_api_lastLogin;
}
return $ret;
}
not_appBundle_api_lastLogin:
}
// backend_user_list_invalid_addresses
if (preg_match('#^/(?P<_locale>[^/]++)/mailing/invalid$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_list_invalid_addresses')), array ( '_controller' => 'AppBundle\\Controller\\mailingController::invalidMailsAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_user_list_invalid_addresses;
}
return $ret;
}
not_backend_user_list_invalid_addresses:
// backend_user_list_sended_mails
if (preg_match('#^/(?P<_locale>[^/]++)/mailing/sended$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_user_list_sended_mails')), array ( '_controller' => 'AppBundle\\Controller\\mailingController::sendedMailsAction', '_locale' => 'es',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_backend_user_list_sended_mails;
}
return $ret;
}
not_backend_user_list_sended_mails:
// api_user_list_sended_mails
if (0 === strpos($pathinfo, '/api/mailing/getInvalidAddresses') && preg_match('#^/api/mailing/getInvalidAddresses/(?P<apiKey>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'api_user_list_sended_mails')), array ( '_controller' => 'AppBundle\\Controller\\mailingController::getInvalidAddressesAction',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_api_user_list_sended_mails;
}
return $ret;
}
not_api_user_list_sended_mails:
// fos_user_security_login
if (preg_match('#^/(?P<_locale>[^/]++)/user/login$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_security_login')), array ( '_controller' => 'FOS\\UserBundle\\Controller\\SecurityController::loginAction', '_locale' => 'en',));
if (!in_array($requestMethod, array('GET POST'))) {
$allow = array_merge($allow, array('GET POST'));
goto not_fos_user_security_login;
}
return $ret;
}
not_fos_user_security_login:
// fos_user_security_check
if (preg_match('#^/(?P<_locale>[^/]++)/user/login_check$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_security_check')), array ( '_controller' => 'FOS\\UserBundle\\Controller\\SecurityController::checkAction', '_locale' => 'en',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_fos_user_security_check;
}
return $ret;
}
not_fos_user_security_check:
// fos_user_security_logout
if (preg_match('#^/(?P<_locale>[^/]++)/user/logout$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_security_logout')), array ( '_controller' => 'FOS\\UserBundle\\Controller\\SecurityController::logoutAction',));
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_fos_user_security_logout;
}
return $ret;
}
not_fos_user_security_logout:
// login_failure
if (preg_match('#^/(?P<_locale>[^/]++)/user/login$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'login_failure')), array ( '_controller' => 'FOS\\UserBundle\\Controller\\SecurityController::loginAction',));
}
// fos_user_change_password
if (preg_match('#^/(?P<_locale>[^/]++)/user/profile/change\\-password$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_change_password')), array ( '_controller' => 'FOS\\UserBundle\\Controller\\ChangePasswordController::changePasswordAction',));
if (!in_array($requestMethod, array('GET POST'))) {
$allow = array_merge($allow, array('GET POST'));
goto not_fos_user_change_password;
}
return $ret;
}
not_fos_user_change_password:
// fos_user_registration_register
if (preg_match('#^/(?P<_locale>[^/]++)/user/register/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_registration_register')), array ( '_controller' => 'FOS\\UserBundle\\Controller\\RegistrationController::editAction',));
if (!in_array($requestMethod, array('GET POST'))) {
$allow = array_merge($allow, array('GET POST'));
goto not_fos_user_registration_register;
}
return $ret;
}
not_fos_user_registration_register:
// fos_user_registration_check_email
if (preg_match('#^/(?P<_locale>[^/]++)/user/register/check\\-email$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_registration_check_email')), array ( '_controller' => 'FOS\\UserBundle\\Controller\\RegistrationController::checkEmailAction',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_fos_user_registration_check_email;
}
return $ret;
}
not_fos_user_registration_check_email:
// fos_user_registration_confirm
if (preg_match('#^/(?P<_locale>[^/]++)/user/register/confirm/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_registration_confirm')), array ( '_controller' => 'AppBundle\\Controller\\RegistrationController::confirmAction',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_fos_user_registration_confirm;
}
return $ret;
}
not_fos_user_registration_confirm:
// fos_user_registration_confirmed
if (preg_match('#^/(?P<_locale>[^/]++)/user/register/confirmed$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_registration_confirmed')), array ( '_controller' => 'AppBundle\\Controller\\RegistrationController::confirmedAction',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_fos_user_registration_confirmed;
}
return $ret;
}
not_fos_user_registration_confirmed:
// fos_user_resetting_request
if (preg_match('#^/(?P<_locale>[^/]++)/user/resetting/request$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_resetting_request')), array ( '_controller' => 'AppBundle\\Controller\\userController::requestPasswordAction',));
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_fos_user_resetting_request;
}
return $ret;
}
not_fos_user_resetting_request:
// fos_user_resetting_send_email
if (preg_match('#^/(?P<_locale>[^/]++)/user/resetting/request/$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_resetting_send_email')), array ( '_controller' => 'AppBundle\\Controller\\userController::sendEmailAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_fos_user_resetting_send_email;
}
return $ret;
}
not_fos_user_resetting_send_email:
// fos_user_resetting_check_email
if (preg_match('#^/(?P<_locale>[^/]++)/user/resetting/check\\-email$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_resetting_check_email')), array ( '_controller' => 'FOS\\UserBundle\\Controller\\ResettingController::checkEmailAction',));
if (!in_array($canonicalMethod, array('GET'))) {
$allow = array_merge($allow, array('GET'));
goto not_fos_user_resetting_check_email;
}
return $ret;
}
not_fos_user_resetting_check_email:
// fos_user_resetting_reset
if (preg_match('#^/(?P<_locale>[^/]++)/user/resetting/reset/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_resetting_reset')), array ( '_controller' => 'AppBundle\\Controller\\userController::resetAction',));
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_fos_user_resetting_reset;
}
return $ret;
}
not_fos_user_resetting_reset:
// appBundle_fillProfile
if (preg_match('#^/(?P<_locale>[^/]++)/fillProfile$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'appBundle_fillProfile')), array ( '_locale' => 'en', '_controller' => 'AppBundle\\Controller\\userController::fillProfileAction',));
if (!in_array($requestMethod, array('POST'))) {
$allow = array_merge($allow, array('POST'));
goto not_appBundle_fillProfile;
}
return $ret;
}
not_appBundle_fillProfile:
// api_v2_login_check
if ('/api/V2/login_check' === $pathinfo) {
return array('_route' => 'api_v2_login_check');
}
// test_confirmationMail
if (0 === strpos($pathinfo, '/tests/confirmationMail') && preg_match('#^/tests/confirmationMail/(?P<environment>[^/]++)/(?P<lang>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'test_confirmationMail')), array ( '_controller' => 'AppBundle\\Controller\\DefaultController::testActivationMailAction',));
}
// test_citySelect
if (preg_match('#^/(?P<_locale>[^/]++)/tests/citySelect$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'test_citySelect')), array ( '_locale' => 'en', '_controller' => 'AppBundle\\Controller\\DefaultController::testSelectCityAction',));
}
if ('/' === $pathinfo && !$allow) {
throw new Symfony\Component\Routing\Exception\NoConfigurationException();
}
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}