<?php
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;
/**
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class appDevDebugProjectContainerUrlMatcher extends Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher
{
public function __construct(RequestContext $context)
{
$this->context = $context;
}
public function match($rawPathinfo)
{
$allow = [];
$pathinfo = rawurldecode($rawPathinfo);
$trimmedPathinfo = rtrim($pathinfo, '/');
$context = $this->context;
$request = $this->request ?: $this->createRequest($pathinfo);
$requestMethod = $canonicalMethod = $context->getMethod();
if ('HEAD' === $requestMethod) {
$canonicalMethod = 'GET';
}
if (0 === strpos($pathinfo, '/_')) {
// _wdt
if (0 === strpos($pathinfo, '/_wdt') && preg_match('#^/_wdt/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_wdt']), array ( '_controller' => 'web_profiler.controller.profiler:toolbarAction',));
}
if (0 === strpos($pathinfo, '/_profiler')) {
// _profiler_home
if ('/_profiler' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'web_profiler.controller.profiler:homeAction', '_route' => '_profiler_home',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not__profiler_home;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', '_profiler_home'));
}
return $ret;
}
not__profiler_home:
if (0 === strpos($pathinfo, '/_profiler/search')) {
// _profiler_search
if ('/_profiler/search' === $pathinfo) {
return array ( '_controller' => 'web_profiler.controller.profiler:searchAction', '_route' => '_profiler_search',);
}
// _profiler_search_bar
if ('/_profiler/search_bar' === $pathinfo) {
return array ( '_controller' => 'web_profiler.controller.profiler:searchBarAction', '_route' => '_profiler_search_bar',);
}
}
// _profiler_phpinfo
if ('/_profiler/phpinfo' === $pathinfo) {
return array ( '_controller' => 'web_profiler.controller.profiler:phpinfoAction', '_route' => '_profiler_phpinfo',);
}
// _profiler_search_results
if (preg_match('#^/_profiler/(?P<token>[^/]++)/search/results$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_search_results']), array ( '_controller' => 'web_profiler.controller.profiler:searchResultsAction',));
}
// _profiler_open_file
if ('/_profiler/open' === $pathinfo) {
return array ( '_controller' => 'web_profiler.controller.profiler:openAction', '_route' => '_profiler_open_file',);
}
// _profiler
if (preg_match('#^/_profiler/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler']), array ( '_controller' => 'web_profiler.controller.profiler:panelAction',));
}
// _profiler_router
if (preg_match('#^/_profiler/(?P<token>[^/]++)/router$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_router']), array ( '_controller' => 'web_profiler.controller.router:panelAction',));
}
// _profiler_exception
if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_exception']), array ( '_controller' => 'web_profiler.controller.exception:showAction',));
}
// _profiler_exception_css
if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception\\.css$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_exception_css']), array ( '_controller' => 'web_profiler.controller.exception:cssAction',));
}
}
// _twig_error_test
if (0 === strpos($pathinfo, '/_error') && preg_match('#^/_error/(?P<code>\\d+)(?:\\.(?P<_format>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_twig_error_test']), array ( '_controller' => 'twig.controller.preview_error:previewErrorPageAction', '_format' => 'html',));
}
}
elseif (0 === strpos($pathinfo, '/c')) {
if (0 === strpos($pathinfo, '/connect')) {
// hwi_oauth_service_redirect
if (preg_match('#^/connect/(?P<service>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'hwi_oauth_service_redirect']), array ( '_controller' => 'HWI\\Bundle\\OAuthBundle\\Controller\\ConnectController::redirectToServiceAction',));
}
// hwi_oauth_connect_service
if (0 === strpos($pathinfo, '/connect/service') && preg_match('#^/connect/service/(?P<service>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'hwi_oauth_connect_service']), array ( '_controller' => 'HWI\\Bundle\\OAuthBundle\\Controller\\ConnectController::connectServiceAction',));
}
// hwi_oauth_connect_registration
if (0 === strpos($pathinfo, '/connect/registration') && preg_match('#^/connect/registration/(?P<key>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'hwi_oauth_connect_registration']), array ( '_controller' => 'HWI\\Bundle\\OAuthBundle\\Controller\\ConnectController::registrationAction',));
}
}
// comments
if (0 === strpos($pathinfo, '/comments') && preg_match('#^/comments(?:/(?P<item>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'comments']), array ( 'item' => false, '_controller' => 'AppBundle\\Controller\\MessageController::commentsAction',));
}
// cron
if ('/cron' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\OpenFDAController::cronAction', '_route' => 'cron',);
}
}
elseif (0 === strpos($pathinfo, '/ologin')) {
// hwi_oauth_connect
if ('/ologin' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'HWI\\Bundle\\OAuthBundle\\Controller\\ConnectController::connectAction', '_route' => 'hwi_oauth_connect',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_hwi_oauth_connect;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'hwi_oauth_connect'));
}
return $ret;
}
not_hwi_oauth_connect:
// ologin
if ('/ologin' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\SecurityController::loginAction', '_route' => 'ologin',);
}
// facebook_login
if ('/ologin/check-facebook' === $pathinfo) {
return ['_route' => 'facebook_login'];
}
// google_login
if ('/ologin/check-google' === $pathinfo) {
return ['_route' => 'google_login'];
}
}
elseif (0 === strpos($pathinfo, '/a')) {
if (0 === strpos($pathinfo, '/admin')) {
// easyadmin
if ('/admin' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'EasyCorp\\Bundle\\EasyAdminBundle\\Controller\\AdminController::indexAction', '_route' => 'easyadmin',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_easyadmin;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'easyadmin'));
}
return $ret;
}
not_easyadmin:
// admin
if ('/admin' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'EasyCorp\\Bundle\\EasyAdminBundle\\Controller\\AdminController::indexAction', '_route' => 'admin',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_admin;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'admin'));
}
return $ret;
}
not_admin:
// admin-import
if ('/admin-import' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\OpenFDAController::importAction', '_route' => 'admin-import',);
}
}
// adduser
if ('/adduser' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\SecurityController::addUser', '_route' => 'adduser',);
}
// app-api
if (0 === strpos($pathinfo, '/app-api') && preg_match('#^/app\\-api(?:/(?P<item>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'app-api']), array ( 'item' => false, '_controller' => 'AppBundle\\Controller\\ApiController::apiAction',));
}
// api
if (0 === strpos($pathinfo, '/api') && preg_match('#^/api(?:/(?P<item>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'api']), array ( 'item' => false, '_controller' => 'AppBundle\\Controller\\OpenFDAController::apiAction',));
}
}
elseif (0 === strpos($pathinfo, '/de')) {
if (0 === strpos($pathinfo, '/devices')) {
// devices
if ('/devices' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\DeviceEnforcementController::devicesAction', '_route' => 'devices',);
}
// save-devices
if ('/devices/save' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\PatientController::devicesSaveAction', '_route' => 'save-devices',);
}
}
// deauth
if ('/deauth' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\OpenFDAController::deauthAction', '_route' => 'deauth',);
}
// delete
if ('/delete' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\OpenFDAController::deleteAction', '_route' => 'delete',);
}
}
// dvc_mail
if ('/dvc_mail' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\OpenFDAController::deviceMailAction', '_route' => 'dvc_mail',);
}
if (0 === strpos($pathinfo, '/p')) {
// parse
if ('/parse' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\DeviceEnforcementController::parseAction', '_route' => 'parse',);
}
if (0 === strpos($pathinfo, '/patient')) {
// save-patient
if ('/patient/save' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\PatientController::patientSaveAction', '_route' => 'save-patient',);
}
// new-patient
if ('/patient/new' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\PatientController::patientNewAction', '_route' => 'new-patient',);
}
// edit-patient
if (0 === strpos($pathinfo, '/patient/edit') && preg_match('#^/patient/edit(?:/(?P<item>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'edit-patient']), array ( 'item' => false, '_controller' => 'AppBundle\\Controller\\PatientController::patientEditAction',));
}
// manage-patient
if ('/patient/manage' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\PatientController::patientManageAction', '_route' => 'manage-patient',);
}
}
// post
if (0 === strpos($pathinfo, '/post') && preg_match('#^/post(?:/(?P<item>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'post']), array ( 'item' => NULL, '_controller' => 'AppBundle\\Controller\\MessageController::postAction',));
}
if (0 === strpos($pathinfo, '/profile')) {
// fos_user_profile_show
if ('/profile' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'fos_user.profile.controller:showAction', '_route' => 'fos_user_profile_show',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_fos_user_profile_show;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'fos_user_profile_show'));
}
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_fos_user_profile_show;
}
return $ret;
}
not_fos_user_profile_show:
// fos_user_profile_edit
if ('/profile/edit' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.profile.controller:editAction', '_route' => 'fos_user_profile_edit',);
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_fos_user_profile_edit;
}
return $ret;
}
not_fos_user_profile_edit:
// fos_user_change_password
if ('/profile/change-password' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.change_password.controller:changePasswordAction', '_route' => 'fos_user_change_password',);
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_fos_user_change_password;
}
return $ret;
}
not_fos_user_change_password:
}
}
elseif (0 === strpos($pathinfo, '/epic-c')) {
// epic-call
if ('/epic-call' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\EpicController::epicCallAction', '_route' => 'epic-call',);
}
// epic-connect
if (0 === strpos($pathinfo, '/epic-connect') && preg_match('#^/epic\\-connect/(?P<item>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'epic-connect']), array ( '_controller' => 'AppBundle\\Controller\\EpicController::loginAction',));
}
// epic-create
if ('/epic-create' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\EpicController::createPatient', '_route' => 'epic-create',);
}
}
// epic-redirect
if (0 === strpos($pathinfo, '/epic-redirect') && preg_match('#^/epic\\-redirect/(?P<item>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'epic-redirect']), array ( '_controller' => 'AppBundle\\Controller\\EpicController::redirectAction',));
}
if (0 === strpos($pathinfo, '/upload')) {
// upload
if (preg_match('#^/upload(?:/(?P<item>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'upload']), array ( 'item' => false, '_controller' => 'AppBundle\\Controller\\FileController::fileAction',));
}
// uploader
if (0 === strpos($pathinfo, '/uploader') && preg_match('#^/uploader(?:/(?P<item>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'uploader']), array ( 'item' => false, '_controller' => 'AppBundle\\Controller\\FileController::uploaderAction',));
}
}
// updateuser
if ('/updateuser' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\SecurityController::updateUser', '_route' => 'updateuser',);
}
if (0 === strpos($pathinfo, '/f')) {
if (0 === strpos($pathinfo, '/fm')) {
// app_file_fm
if ('/fm' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\FileController::fmAction', '_route' => 'app_file_fm',);
}
// app_file_fm2
if ('/fm' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\FileController::fm2Action', '_route' => 'app_file_fm2',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_app_file_fm2;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'app_file_fm2'));
}
return $ret;
}
not_app_file_fm2:
}
// save-freetext
if ('/freetext/save' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\PatientController::freetextSaveAction', '_route' => 'save-freetext',);
}
// faqs
if ('/faqs' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\ShowController::faqAction', '_route' => 'faqs',);
}
}
// messages
if (0 === strpos($pathinfo, '/messages') && preg_match('#^/messages(?:/(?P<item>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'messages']), array ( 'item' => false, '_controller' => 'AppBundle\\Controller\\MessageController::messagesAction',));
}
if (0 === strpos($pathinfo, '/s')) {
// send
if (0 === strpos($pathinfo, '/send') && preg_match('#^/send(?:/(?P<item>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'send']), array ( 'item' => '4', '_controller' => 'AppBundle\\Controller\\MessageController::sendAction',));
}
if (0 === strpos($pathinfo, '/store-')) {
// app_oauth_storetoken
if (0 === strpos($pathinfo, '/store-token') && preg_match('#^/store\\-token/(?P<service>[^/]++)/(?P<user>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'app_oauth_storetoken']), array ( '_controller' => 'AppBundle\\Controller\\OAuthController::StoreTokenAction',));
}
// app_oauth_storepatient
if (0 === strpos($pathinfo, '/store-patient') && preg_match('#^/store\\-patient/(?P<service>[^/]++)/(?P<user>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'app_oauth_storepatient']), array ( '_controller' => 'AppBundle\\Controller\\OAuthController::StorePatientAction',));
}
// app_oauth_storemedication
if (0 === strpos($pathinfo, '/store-medication') && preg_match('#^/store\\-medication/(?P<service>[^/]++)/(?P<user>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'app_oauth_storemedication']), array ( '_controller' => 'AppBundle\\Controller\\OAuthController::StoreMedicationAction',));
}
// app_oauth_storedevice
if (0 === strpos($pathinfo, '/store-device') && preg_match('#^/store\\-device/(?P<service>[^/]++)/(?P<user>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'app_oauth_storedevice']), array ( '_controller' => 'AppBundle\\Controller\\OAuthController::StoreDeviceAction',));
}
}
// scan
if ('/scan' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\OpenFDAController::scanAction', '_route' => 'scan',);
}
}
// welcome_email
if (0 === strpos($pathinfo, '/welcome_email') && preg_match('#^/welcome_email(?:/(?P<item>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'welcome_email']), array ( 'item' => false, '_controller' => 'AppBundle\\Controller\\MessageController::welcomeAction',));
}
// wel_mail
if ('/wel_mail' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\OpenFDAController::mailAction', '_route' => 'wel_mail',);
}
// app_oauth_gettoken
if (0 === strpos($pathinfo, '/get-token') && preg_match('#^/get\\-token/(?P<service>[^/]++)/(?P<user>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'app_oauth_gettoken']), array ( '_controller' => 'AppBundle\\Controller\\OAuthController::GetToken',));
}
// homepage
if ('/homepage' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\OpenFDAController::homepageAction', '_route' => 'homepage',);
}
// default
if ('' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\OpenFDAController::indexAction', '_route' => 'default',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_default;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'default'));
}
return $ret;
}
not_default:
// join
if ('/join' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\OpenFDAController::joinAction', '_route' => 'join',);
}
if (0 === strpos($pathinfo, '/re')) {
// recall_mail
if ('/recall_mail' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\OpenFDAController::dailyRecallsMailAction', '_route' => 'recall_mail',);
}
// recalls
if ('/recalls' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\RecallController::recallsAction', '_route' => 'recalls',);
}
if (0 === strpos($pathinfo, '/register')) {
// fos_user.registration
if ('/register' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'FOS\\UserExtensionBundle\\Controller\\RegistrationController::registerAction', '_route' => 'fos_user.registration',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_fos_userregistration;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'fos_user.registration'));
}
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_fos_userregistration;
}
return $ret;
}
not_fos_userregistration:
// fos_user_registration_register
if ('/register' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'fos_user.registration.controller:registerAction', '_route' => 'fos_user_registration_register',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_fos_user_registration_register;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'fos_user_registration_register'));
}
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_fos_user_registration_register;
}
return $ret;
}
not_fos_user_registration_register:
// fos_user_registration_check_email
if ('/register/check-email' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.registration.controller:checkEmailAction', '_route' => 'fos_user_registration_check_email',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_fos_user_registration_check_email;
}
return $ret;
}
not_fos_user_registration_check_email:
if (0 === strpos($pathinfo, '/register/confirm')) {
// fos_user_registration_confirm
if (preg_match('#^/register/confirm/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'fos_user_registration_confirm']), array ( '_controller' => 'fos_user.registration.controller:confirmAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_fos_user_registration_confirm;
}
return $ret;
}
not_fos_user_registration_confirm:
// fos_user_registration_confirmed
if ('/register/confirmed' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.registration.controller:confirmedAction', '_route' => 'fos_user_registration_confirmed',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_fos_user_registration_confirmed;
}
return $ret;
}
not_fos_user_registration_confirmed:
}
}
elseif (0 === strpos($pathinfo, '/resetting')) {
// fos_user_resetting_request
if ('/resetting/request' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.resetting.controller:requestAction', '_route' => 'fos_user_resetting_request',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_fos_user_resetting_request;
}
return $ret;
}
not_fos_user_resetting_request:
// fos_user_resetting_reset
if (0 === strpos($pathinfo, '/resetting/reset') && preg_match('#^/resetting/reset/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'fos_user_resetting_reset']), array ( '_controller' => 'fos_user.resetting.controller:resetAction',));
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_fos_user_resetting_reset;
}
return $ret;
}
not_fos_user_resetting_reset:
// fos_user_resetting_send_email
if ('/resetting/send-email' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.resetting.controller:sendEmailAction', '_route' => 'fos_user_resetting_send_email',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_fos_user_resetting_send_email;
}
return $ret;
}
not_fos_user_resetting_send_email:
// fos_user_resetting_check_email
if ('/resetting/check-email' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.resetting.controller:checkEmailAction', '_route' => 'fos_user_resetting_check_email',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_fos_user_resetting_check_email;
}
return $ret;
}
not_fos_user_resetting_check_email:
}
}
// xlogout
if ('/xlogout' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\SecurityController::logoutAction', '_route' => 'xlogout',);
}
if (0 === strpos($pathinfo, '/l')) {
// listusers
if ('/listusers' === $pathinfo) {
return array ( '_controller' => 'AppBundle\\Controller\\SecurityController::listUsers', '_route' => 'listusers',);
}
if (0 === strpos($pathinfo, '/logout')) {
// logout
if ('/logout' === $pathinfo) {
return ['_route' => 'logout'];
}
// fos_user_security_logout
if ('/logout' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.security.controller:logoutAction', '_route' => 'fos_user_security_logout',);
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_fos_user_security_logout;
}
return $ret;
}
not_fos_user_security_logout:
}
elseif (0 === strpos($pathinfo, '/login')) {
// fos_user_security_login
if ('/login' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.security.controller:loginAction', '_route' => 'fos_user_security_login',);
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_fos_user_security_login;
}
return $ret;
}
not_fos_user_security_login:
// fos_user_security_check
if ('/login_check' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.security.controller:checkAction', '_route' => 'fos_user_security_check',);
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_fos_user_security_check;
}
return $ret;
}
not_fos_user_security_check:
}
}
elseif (0 === strpos($pathinfo, '/view')) {
// view
if (preg_match('#^/view(?:/(?P<item>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'view']), array ( 'item' => false, '_controller' => 'AppBundle\\Controller\\ShowController::viewAction',));
}
// viewed
if (0 === strpos($pathinfo, '/viewed') && preg_match('#^/viewed(?:/(?P<item>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'viewed']), array ( 'item' => false, '_controller' => 'AppBundle\\Controller\\ShowController::viewedAction',));
}
}
if ('/' === $pathinfo && !$allow) {
throw new Symfony\Component\Routing\Exception\NoConfigurationException();
}
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}