<?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 appProd_adminDebugProjectContainerUrlMatcher extends Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher
{
public function __construct(RequestContext $context)
{
$this->context = $context;
}
public function match($pathinfo)
{
$allow = array();
$pathinfo = rawurldecode($pathinfo);
$trimmedPathinfo = rtrim($pathinfo, '/');
$context = $this->context;
$request = $this->request;
$requestMethod = $canonicalMethod = $context->getMethod();
$scheme = $context->getScheme();
if ('HEAD' === $requestMethod) {
$canonicalMethod = 'GET';
}
if (0 === strpos($pathinfo, '/_')) {
// _wdt
if (0 === strpos($pathinfo, '/_wdt') && preg_match('#^/_wdt/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_wdt')), array ( '_controller' => 'web_profiler.controller.profiler:toolbarAction',));
}
if (0 === strpos($pathinfo, '/_profiler')) {
// _profiler_home
if ('/_profiler' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'web_profiler.controller.profiler:homeAction', '_route' => '_profiler_home',);
if (substr($pathinfo, -1) !== '/') {
return array_replace($ret, $this->redirect($pathinfo.'/', '_profiler_home'));
}
return $ret;
}
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$#s', $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>[^/]++)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler')), array ( '_controller' => 'web_profiler.controller.profiler:panelAction',));
}
// _profiler_router
if (preg_match('#^/_profiler/(?P<token>[^/]++)/router$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_router')), array ( '_controller' => 'web_profiler.controller.router:panelAction',));
}
// _profiler_exception
if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_exception')), array ( '_controller' => 'web_profiler.controller.exception:showAction',));
}
// _profiler_exception_css
if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception\\.css$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_exception_css')), array ( '_controller' => 'web_profiler.controller.exception:cssAction',));
}
}
// _twig_error_test
if (0 === strpos($pathinfo, '/_error') && preg_match('#^/_error/(?P<code>\\d+)(?:\\.(?P<_format>[^/]++))?$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_twig_error_test')), array ( '_controller' => 'twig.controller.preview_error:previewErrorPageAction', '_format' => 'html',));
}
}
elseif (0 === strpos($pathinfo, '/l')) {
if (0 === strpos($pathinfo, '/login')) {
// fos_user_security_login
if ('/login' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_fos_user_security_login;
}
return array ( '_controller' => 'fos_user.security.controller:loginAction', '_route' => 'fos_user_security_login',);
}
not_fos_user_security_login:
// fos_user_security_check
if ('/login_check' === $pathinfo) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_fos_user_security_check;
}
return array ( '_controller' => 'fos_user.security.controller:checkAction', '_route' => 'fos_user_security_check',);
}
not_fos_user_security_check:
}
// fos_user_security_logout
if ('/logout' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_fos_user_security_logout;
}
return array ( '_controller' => 'fos_user.security.controller:logoutAction', '_route' => 'fos_user_security_logout',);
}
not_fos_user_security_logout:
if (0 === strpos($pathinfo, '/language')) {
// admin_language_list
if ('/language/list' === $pathinfo) {
return array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::listAction', '_sonata_admin' => 'admin.language', '_sonata_name' => 'admin_language_list', '_route' => 'admin_language_list',);
}
// admin_language_create
if ('/language/create' === $pathinfo) {
return array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::createAction', '_sonata_admin' => 'admin.language', '_sonata_name' => 'admin_language_create', '_route' => 'admin_language_create',);
}
// admin_language_batch
if ('/language/batch' === $pathinfo) {
return array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::batchAction', '_sonata_admin' => 'admin.language', '_sonata_name' => 'admin_language_batch', '_route' => 'admin_language_batch',);
}
// admin_language_edit
if (preg_match('#^/language/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_language_edit')), array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::editAction', '_sonata_admin' => 'admin.language', '_sonata_name' => 'admin_language_edit',));
}
// admin_language_show
if (preg_match('#^/language/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_language_show')), array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::showAction', '_sonata_admin' => 'admin.language', '_sonata_name' => 'admin_language_show',));
}
if (0 === strpos($pathinfo, '/language_dialect')) {
// admin_language_dialect_list
if ('/language_dialect/list' === $pathinfo) {
return array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::listAction', '_sonata_admin' => 'admin.language_dialect', '_sonata_name' => 'admin_language_dialect_list', '_route' => 'admin_language_dialect_list',);
}
// admin_language_dialect_create
if ('/language_dialect/create' === $pathinfo) {
return array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::createAction', '_sonata_admin' => 'admin.language_dialect', '_sonata_name' => 'admin_language_dialect_create', '_route' => 'admin_language_dialect_create',);
}
// admin_language_dialect_batch
if ('/language_dialect/batch' === $pathinfo) {
return array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::batchAction', '_sonata_admin' => 'admin.language_dialect', '_sonata_name' => 'admin_language_dialect_batch', '_route' => 'admin_language_dialect_batch',);
}
// admin_language_dialect_edit
if (preg_match('#^/language_dialect/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_language_dialect_edit')), array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::editAction', '_sonata_admin' => 'admin.language_dialect', '_sonata_name' => 'admin_language_dialect_edit',));
}
// admin_language_dialect_delete
if (preg_match('#^/language_dialect/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_language_dialect_delete')), array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::deleteAction', '_sonata_admin' => 'admin.language_dialect', '_sonata_name' => 'admin_language_dialect_delete',));
}
}
}
}
elseif (0 === strpos($pathinfo, '/profile')) {
// fos_user_profile_show
if ('/profile' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_fos_user_profile_show;
}
$ret = array ( '_controller' => 'fos_user.profile.controller:showAction', '_route' => 'fos_user_profile_show',);
if (substr($pathinfo, -1) !== '/') {
return array_replace($ret, $this->redirect($pathinfo.'/', 'fos_user_profile_show'));
}
return $ret;
}
not_fos_user_profile_show:
// fos_user_profile_edit
if ('/profile/edit' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_fos_user_profile_edit;
}
return array ( '_controller' => 'fos_user.profile.controller:editAction', '_route' => 'fos_user_profile_edit',);
}
not_fos_user_profile_edit:
// fos_user_change_password
if ('/profile/change-password' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_fos_user_change_password;
}
return array ( '_controller' => 'fos_user.change_password.controller:changePasswordAction', '_route' => 'fos_user_change_password',);
}
not_fos_user_change_password:
}
elseif (0 === strpos($pathinfo, '/register')) {
// fos_user_registration_register
if ('/register' === $trimmedPathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_fos_user_registration_register;
}
$ret = array ( '_controller' => 'fos_user.registration.controller:registerAction', '_route' => 'fos_user_registration_register',);
if (substr($pathinfo, -1) !== '/') {
return array_replace($ret, $this->redirect($pathinfo.'/', 'fos_user_registration_register'));
}
return $ret;
}
not_fos_user_registration_register:
// fos_user_registration_check_email
if ('/register/check-email' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_fos_user_registration_check_email;
}
return array ( '_controller' => 'fos_user.registration.controller:checkEmailAction', '_route' => 'fos_user_registration_check_email',);
}
not_fos_user_registration_check_email:
if (0 === strpos($pathinfo, '/register/confirm')) {
// fos_user_registration_confirm
if (preg_match('#^/register/confirm/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_fos_user_registration_confirm;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_registration_confirm')), array ( '_controller' => 'fos_user.registration.controller:confirmAction',));
}
not_fos_user_registration_confirm:
// fos_user_registration_confirmed
if ('/register/confirmed' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_fos_user_registration_confirmed;
}
return array ( '_controller' => 'fos_user.registration.controller:confirmedAction', '_route' => 'fos_user_registration_confirmed',);
}
not_fos_user_registration_confirmed:
}
}
elseif (0 === strpos($pathinfo, '/resetting')) {
// fos_user_resetting_request
if ('/resetting/request' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_fos_user_resetting_request;
}
return array ( '_controller' => 'fos_user.resetting.controller:requestAction', '_route' => 'fos_user_resetting_request',);
}
not_fos_user_resetting_request:
// fos_user_resetting_reset
if (0 === strpos($pathinfo, '/resetting/reset') && preg_match('#^/resetting/reset/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_fos_user_resetting_reset;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_resetting_reset')), array ( '_controller' => 'fos_user.resetting.controller:resetAction',));
}
not_fos_user_resetting_reset:
// fos_user_resetting_send_email
if ('/resetting/send-email' === $pathinfo) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_fos_user_resetting_send_email;
}
return array ( '_controller' => 'fos_user.resetting.controller:sendEmailAction', '_route' => 'fos_user_resetting_send_email',);
}
not_fos_user_resetting_send_email:
// fos_user_resetting_check_email
if ('/resetting/check-email' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_fos_user_resetting_check_email;
}
return array ( '_controller' => 'fos_user.resetting.controller:checkEmailAction', '_route' => 'fos_user_resetting_check_email',);
}
not_fos_user_resetting_check_email:
}
// sonata_admin_redirect
if ('' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'Symfony\\Bundle\\FrameworkBundle\\Controller\\RedirectController::redirectAction', 'route' => 'sonata_admin_dashboard', 'permanent' => 'true', '_route' => 'sonata_admin_redirect',);
if (substr($pathinfo, -1) !== '/') {
return array_replace($ret, $this->redirect($pathinfo.'/', 'sonata_admin_redirect'));
}
return $ret;
}
// sonata_admin_dashboard
if ('/dashboard' === $pathinfo) {
return array ( '_controller' => 'Sonata\\AdminBundle\\Action\\DashboardAction', '_route' => 'sonata_admin_dashboard',);
}
if (0 === strpos($pathinfo, '/core')) {
if (0 === strpos($pathinfo, '/core/get-')) {
// sonata_admin_retrieve_form_element
if ('/core/get-form-field-element' === $pathinfo) {
return array ( '_controller' => 'sonata.admin.action.retrieve_form_field_element', '_route' => 'sonata_admin_retrieve_form_element',);
}
// sonata_admin_short_object_information
if (0 === strpos($pathinfo, '/core/get-short-object-description') && preg_match('#^/core/get\\-short\\-object\\-description(?:\\.(?P<_format>html|json))?$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'sonata_admin_short_object_information')), array ( '_controller' => 'sonata.admin.action.get_short_object_description', '_format' => 'html',));
}
// sonata_admin_retrieve_autocomplete_items
if ('/core/get-autocomplete-items' === $pathinfo) {
return array ( '_controller' => 'sonata.admin.action.retrieve_autocomplete_items', '_route' => 'sonata_admin_retrieve_autocomplete_items',);
}
}
// sonata_admin_append_form_element
if ('/core/append-form-field-element' === $pathinfo) {
return array ( '_controller' => 'sonata.admin.action.append_form_field_element', '_route' => 'sonata_admin_append_form_element',);
}
// sonata_admin_set_object_field_value
if ('/core/set-object-field-value' === $pathinfo) {
return array ( '_controller' => 'sonata.admin.action.set_object_field_value', '_route' => 'sonata_admin_set_object_field_value',);
}
}
elseif (0 === strpos($pathinfo, '/s')) {
// sonata_admin_search
if ('/search' === $pathinfo) {
return array ( '_controller' => 'Sonata\\AdminBundle\\Action\\SearchAction', '_route' => 'sonata_admin_search',);
}
if (0 === strpos($pathinfo, '/search_engine')) {
// admin_search_engine_list
if ('/search_engine/list' === $pathinfo) {
return array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::listAction', '_sonata_admin' => 'admin.search_engine', '_sonata_name' => 'admin_search_engine_list', '_route' => 'admin_search_engine_list',);
}
// admin_search_engine_create
if ('/search_engine/create' === $pathinfo) {
return array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::createAction', '_sonata_admin' => 'admin.search_engine', '_sonata_name' => 'admin_search_engine_create', '_route' => 'admin_search_engine_create',);
}
// admin_search_engine_batch
if ('/search_engine/batch' === $pathinfo) {
return array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::batchAction', '_sonata_admin' => 'admin.search_engine', '_sonata_name' => 'admin_search_engine_batch', '_route' => 'admin_search_engine_batch',);
}
// admin_search_engine_edit
if (preg_match('#^/search_engine/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_search_engine_edit')), array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::editAction', '_sonata_admin' => 'admin.search_engine', '_sonata_name' => 'admin_search_engine_edit',));
}
// admin_search_engine_show
if (preg_match('#^/search_engine/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_search_engine_show')), array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::showAction', '_sonata_admin' => 'admin.search_engine', '_sonata_name' => 'admin_search_engine_show',));
}
}
elseif (0 === strpos($pathinfo, '/stop_words')) {
// admin_stop_words_list
if ('/stop_words/list' === $pathinfo) {
return array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::listAction', '_sonata_admin' => 'admin.stop_words', '_sonata_name' => 'admin_stop_words_list', '_route' => 'admin_stop_words_list',);
}
// admin_stop_words_create
if ('/stop_words/create' === $pathinfo) {
return array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::createAction', '_sonata_admin' => 'admin.stop_words', '_sonata_name' => 'admin_stop_words_create', '_route' => 'admin_stop_words_create',);
}
// admin_stop_words_batch
if ('/stop_words/batch' === $pathinfo) {
return array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::batchAction', '_sonata_admin' => 'admin.stop_words', '_sonata_name' => 'admin_stop_words_batch', '_route' => 'admin_stop_words_batch',);
}
// admin_stop_words_edit
if (preg_match('#^/stop_words/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_stop_words_edit')), array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::editAction', '_sonata_admin' => 'admin.stop_words', '_sonata_name' => 'admin_stop_words_edit',));
}
// admin_stop_words_show
if (preg_match('#^/stop_words/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_stop_words_show')), array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::showAction', '_sonata_admin' => 'admin.stop_words', '_sonata_name' => 'admin_stop_words_show',));
}
}
}
elseif (0 === strpos($pathinfo, '/base_task')) {
// admin_base_task_list
if ('/base_task/list' === $pathinfo) {
return array ( '_controller' => 'CoreBundle\\Controller\\BaseTaskController::listAction', '_sonata_admin' => 'admin.base_task', '_sonata_name' => 'admin_base_task_list', '_route' => 'admin_base_task_list',);
}
// admin_base_task_batch
if ('/base_task/batch' === $pathinfo) {
return array ( '_controller' => 'CoreBundle\\Controller\\BaseTaskController::batchAction', '_sonata_admin' => 'admin.base_task', '_sonata_name' => 'admin_base_task_batch', '_route' => 'admin_base_task_batch',);
}
// admin_base_task_show
if (preg_match('#^/base_task/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_base_task_show')), array ( '_controller' => 'CoreBundle\\Controller\\BaseTaskController::showAction', '_sonata_admin' => 'admin.base_task', '_sonata_name' => 'admin_base_task_show',));
}
}
elseif (0 === strpos($pathinfo, '/user_plagiarism')) {
// admin_user_plagiarism_list
if ('/user_plagiarism/list' === $pathinfo) {
return array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::listAction', '_sonata_admin' => 'admin.user_plagiarism', '_sonata_name' => 'admin_user_plagiarism_list', '_route' => 'admin_user_plagiarism_list',);
}
// admin_user_plagiarism_batch
if ('/user_plagiarism/batch' === $pathinfo) {
return array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::batchAction', '_sonata_admin' => 'admin.user_plagiarism', '_sonata_name' => 'admin_user_plagiarism_batch', '_route' => 'admin_user_plagiarism_batch',);
}
// admin_user_plagiarism_show
if (preg_match('#^/user_plagiarism/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_user_plagiarism_show')), array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::showAction', '_sonata_admin' => 'admin.user_plagiarism', '_sonata_name' => 'admin_user_plagiarism_show',));
}
}
elseif (0 === strpos($pathinfo, '/message/message')) {
// admin_message_message_list
if ('/message/message/list' === $pathinfo) {
return array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::listAction', '_sonata_admin' => 'sonata.trans.message', '_sonata_name' => 'admin_message_message_list', '_route' => 'admin_message_message_list',);
}
// admin_message_message_create
if ('/message/message/create' === $pathinfo) {
return array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::createAction', '_sonata_admin' => 'sonata.trans.message', '_sonata_name' => 'admin_message_message_create', '_route' => 'admin_message_message_create',);
}
// admin_message_message_batch
if ('/message/message/batch' === $pathinfo) {
return array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::batchAction', '_sonata_admin' => 'sonata.trans.message', '_sonata_name' => 'admin_message_message_batch', '_route' => 'admin_message_message_batch',);
}
// admin_message_message_edit
if (preg_match('#^/message/message/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_message_message_edit')), array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::editAction', '_sonata_admin' => 'sonata.trans.message', '_sonata_name' => 'admin_message_message_edit',));
}
// admin_message_message_delete
if (preg_match('#^/message/message/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_message_message_delete')), array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::deleteAction', '_sonata_admin' => 'sonata.trans.message', '_sonata_name' => 'admin_message_message_delete',));
}
// admin_message_message_show
if (preg_match('#^/message/message/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_message_message_show')), array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::showAction', '_sonata_admin' => 'sonata.trans.message', '_sonata_name' => 'admin_message_message_show',));
}
// admin_message_message_export
if ('/message/message/export' === $pathinfo) {
return array ( '_controller' => 'Sonata\\AdminBundle\\Controller\\CRUDController::exportAction', '_sonata_admin' => 'sonata.trans.message', '_sonata_name' => 'admin_message_message_export', '_route' => 'admin_message_message_export',);
}
}
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}