sterntours/var/cache/dev/appDevDebugProjectContainerUrlMatcher.php
2020-07-09 12:49:32 +02:00

420 lines
24 KiB
PHP

<?php
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;
/**
* appDevDebugProjectContainerUrlMatcher.
*
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class appDevDebugProjectContainerUrlMatcher extends Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher
{
/**
* Constructor.
*/
public function __construct(RequestContext $context)
{
$this->context = $context;
}
public function match($pathinfo)
{
$allow = array();
$pathinfo = rawurldecode($pathinfo);
$context = $this->context;
$request = $this->request;
if (0 === strpos($pathinfo, '/assetic')) {
if (0 === strpos($pathinfo, '/assetic/headerLogo')) {
// _assetic_headerLogo
if ($pathinfo === '/assetic/headerLogo.png') {
return array ( '_controller' => 'assetic.controller:render', 'name' => 'headerLogo', 'pos' => NULL, '_format' => 'png', '_route' => '_assetic_headerLogo',);
}
// _assetic_headerLogo_0
if ($pathinfo === '/assetic/headerLogo_wlogo_1.png') {
return array ( '_controller' => 'assetic.controller:render', 'name' => 'headerLogo', 'pos' => 0, '_format' => 'png', '_route' => '_assetic_headerLogo_0',);
}
}
if (0 === strpos($pathinfo, '/assetic/footerText')) {
// _assetic_footerText
if ($pathinfo === '/assetic/footerText.svg') {
return array ( '_controller' => 'assetic.controller:render', 'name' => 'footerText', 'pos' => NULL, '_format' => 'svg', '_route' => '_assetic_footerText',);
}
// _assetic_footerText_0
if ($pathinfo === '/assetic/footerText_footer_1.svg') {
return array ( '_controller' => 'assetic.controller:render', 'name' => 'footerText', 'pos' => 0, '_format' => 'svg', '_route' => '_assetic_footerText_0',);
}
}
}
if (0 === strpos($pathinfo, '/images')) {
if (0 === strpos($pathinfo, '/images/3626124')) {
// _assetic_3626124
if ($pathinfo === '/images/3626124.png') {
return array ( '_controller' => 'assetic.controller:render', 'name' => 3626124, 'pos' => NULL, '_format' => 'png', '_route' => '_assetic_3626124',);
}
// _assetic_3626124_0
if ($pathinfo === '/images/3626124_guetesiegel_R_V_1.png') {
return array ( '_controller' => 'assetic.controller:render', 'name' => 3626124, 'pos' => 0, '_format' => 'png', '_route' => '_assetic_3626124_0',);
}
}
if (0 === strpos($pathinfo, '/images/119d363')) {
// _assetic_119d363
if ($pathinfo === '/images/119d363.png') {
return array ( '_controller' => 'assetic.controller:render', 'name' => '119d363', 'pos' => NULL, '_format' => 'png', '_route' => '_assetic_119d363',);
}
// _assetic_119d363_0
if ($pathinfo === '/images/119d363_rundv_1.png') {
return array ( '_controller' => 'assetic.controller:render', 'name' => '119d363', 'pos' => 0, '_format' => 'png', '_route' => '_assetic_119d363_0',);
}
}
if (0 === strpos($pathinfo, '/images/3bc8286')) {
// _assetic_3bc8286
if ($pathinfo === '/images/3bc8286.png') {
return array ( '_controller' => 'assetic.controller:render', 'name' => '3bc8286', 'pos' => NULL, '_format' => 'png', '_route' => '_assetic_3bc8286',);
}
// _assetic_3bc8286_0
if ($pathinfo === '/images/3bc8286_ssl_1.png') {
return array ( '_controller' => 'assetic.controller:render', 'name' => '3bc8286', 'pos' => 0, '_format' => 'png', '_route' => '_assetic_3bc8286_0',);
}
}
}
if (0 === strpos($pathinfo, '/js/cdf7b2d')) {
// _assetic_cdf7b2d
if ($pathinfo === '/js/cdf7b2d.js') {
return array ( '_controller' => 'assetic.controller:render', 'name' => 'cdf7b2d', 'pos' => NULL, '_format' => 'js', '_route' => '_assetic_cdf7b2d',);
}
// _assetic_cdf7b2d_0
if ($pathinfo === '/js/cdf7b2d_travelProgram_1.js') {
return array ( '_controller' => 'assetic.controller:render', 'name' => 'cdf7b2d', 'pos' => 0, '_format' => 'js', '_route' => '_assetic_cdf7b2d_0',);
}
}
if (0 === strpos($pathinfo, '/css/2d0f623')) {
// _assetic_2d0f623
if ($pathinfo === '/css/2d0f623.css') {
return array ( '_controller' => 'assetic.controller:render', 'name' => '2d0f623', 'pos' => NULL, '_format' => 'css', '_route' => '_assetic_2d0f623',);
}
// _assetic_2d0f623_0
if ($pathinfo === '/css/2d0f623_daterangepicker_1.css') {
return array ( '_controller' => 'assetic.controller:render', 'name' => '2d0f623', 'pos' => 0, '_format' => 'css', '_route' => '_assetic_2d0f623_0',);
}
}
if (0 === strpos($pathinfo, '/_')) {
// _wdt
if (0 === strpos($pathinfo, '/_wdt') && preg_match('#^/_wdt/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_wdt')), array ( '_controller' => 'web_profiler.controller.profiler:toolbarAction',));
}
if (0 === strpos($pathinfo, '/_profiler')) {
// _profiler_home
if (rtrim($pathinfo, '/') === '/_profiler') {
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($pathinfo.'/', '_profiler_home');
}
return array ( '_controller' => 'web_profiler.controller.profiler:homeAction', '_route' => '_profiler_home',);
}
if (0 === strpos($pathinfo, '/_profiler/search')) {
// _profiler_search
if ($pathinfo === '/_profiler/search') {
return array ( '_controller' => 'web_profiler.controller.profiler:searchAction', '_route' => '_profiler_search',);
}
// _profiler_search_bar
if ($pathinfo === '/_profiler/search_bar') {
return array ( '_controller' => 'web_profiler.controller.profiler:searchBarAction', '_route' => '_profiler_search_bar',);
}
}
// _profiler_info
if (0 === strpos($pathinfo, '/_profiler/info') && preg_match('#^/_profiler/info/(?P<about>[^/]++)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_info')), array ( '_controller' => 'web_profiler.controller.profiler:infoAction',));
}
// _profiler_phpinfo
if ($pathinfo === '/_profiler/phpinfo') {
return array ( '_controller' => 'web_profiler.controller.profiler:phpinfoAction', '_route' => '_profiler_phpinfo',);
}
// _profiler_search_results
if (preg_match('#^/_profiler/(?P<token>[^/]++)/search/results$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_search_results')), array ( '_controller' => 'web_profiler.controller.profiler:searchResultsAction',));
}
// _profiler
if (preg_match('#^/_profiler/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler')), array ( '_controller' => 'web_profiler.controller.profiler:panelAction',));
}
// _profiler_router
if (preg_match('#^/_profiler/(?P<token>[^/]++)/router$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_router')), array ( '_controller' => 'web_profiler.controller.router:panelAction',));
}
// _profiler_exception
if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_exception')), array ( '_controller' => 'web_profiler.controller.exception:showAction',));
}
// _profiler_exception_css
if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception\\.css$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_exception_css')), array ( '_controller' => 'web_profiler.controller.exception:cssAction',));
}
}
// _twig_error_test
if (0 === strpos($pathinfo, '/_error') && preg_match('#^/_error/(?P<code>\\d+)(?:\\.(?P<_format>[^/]++))?$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_twig_error_test')), array ( '_controller' => 'twig.controller.preview_error:previewErrorPageAction', '_format' => 'html',));
}
}
// login
if ($pathinfo === '/login') {
return array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminAction', '_route' => 'login',);
}
if (0 === strpos($pathinfo, '/admin/fewo')) {
// app_admin_adminfewo
if ($pathinfo === '/admin/fewo') {
return array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoAction', '_route' => 'app_admin_adminfewo',);
}
if (0 === strpos($pathinfo, '/admin/fewo/lodging')) {
if (0 === strpos($pathinfo, '/admin/fewo/lodgings')) {
// after_login
if ($pathinfo === '/admin/fewo/lodgings') {
return array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoLodgingsAction', '_route' => 'after_login',);
}
// app_admin_adminfewonewlodging
if ($pathinfo === '/admin/fewo/lodgings/new') {
return array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoNewLodgingAction', '_route' => 'app_admin_adminfewonewlodging',);
}
// app_admin_adminfewogroupnewlodging
if ($pathinfo === '/admin/fewo/lodgings/group/new') {
return array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoGroupNewLodgingAction', '_route' => 'app_admin_adminfewogroupnewlodging',);
}
}
// app_admin_adminfewoeditlodginggroup
if (0 === strpos($pathinfo, '/admin/fewo/lodging/group') && preg_match('#^/admin/fewo/lodging/group/(?P<lodgingGroupId>\\d+)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_admin_adminfewoeditlodginggroup')), array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoEditLodgingGroupAction',));
}
if (0 === strpos($pathinfo, '/admin/fewo/lodgings')) {
// app_admin_adminfewoeditlodging
if (preg_match('#^/admin/fewo/lodgings/(?P<lodgingId>\\d+)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_admin_adminfewoeditlodging')), array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoEditLodgingAction',));
}
// app_admin_adminfewodeletelodging
if (preg_match('#^/admin/fewo/lodgings/(?P<lodgingId>\\d+)/delete$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_admin_adminfewodeletelodging')), array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoDeleteLodgingAction',));
}
}
// app_admin_adminfewodeletelodginggroup
if (0 === strpos($pathinfo, '/admin/fewo/lodging/group') && preg_match('#^/admin/fewo/lodging/group/(?P<lodgingGroupId>\\d+)/delete$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_admin_adminfewodeletelodginggroup')), array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoDeleteLodgingGroupAction',));
}
if (0 === strpos($pathinfo, '/admin/fewo/lodgings')) {
// app_admin_adminfewolodgingprogram
if (preg_match('#^/admin/fewo/lodgings/(?P<lodgingId>\\d+)/program$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_admin_adminfewolodgingprogram')), array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoLodgingProgramAction',));
}
// app_admin_adminfewonewprice
if (preg_match('#^/admin/fewo/lodgings/(?P<lodgingId>\\d+)/prices/new$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_admin_adminfewonewprice')), array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoNewPriceAction',));
}
// app_admin_adminfewoeditprice
if (preg_match('#^/admin/fewo/lodgings/(?P<lodgingId>\\d+)/prices/(?P<priceId>\\d+)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_admin_adminfewoeditprice')), array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoEditPriceAction',));
}
// app_admin_adminfewodeleteprice
if (preg_match('#^/admin/fewo/lodgings/(?P<lodgingId>\\d+)/prices/(?P<priceId>\\d+)/delete$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_admin_adminfewodeleteprice')), array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoDeletePriceAction',));
}
// app_admin_adminfewonewreservation
if (preg_match('#^/admin/fewo/lodgings/(?P<lodgingId>\\d+)/reservations/new$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_admin_adminfewonewreservation')), array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoNewReservationAction',));
}
// app_admin_adminfewonewreservationwithstartingday
if (preg_match('#^/admin/fewo/lodgings/(?P<lodgingId>\\d+)/reservations/new/(?P<fromDate>\\w+)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_admin_adminfewonewreservationwithstartingday')), array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoNewReservationWithStartingDayAction',));
}
// app_admin_adminfewoeditreservation
if (preg_match('#^/admin/fewo/lodgings/(?P<lodgingId>\\d+)/reservations/(?P<reservationId>\\d+)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_admin_adminfewoeditreservation')), array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoEditReservationAction',));
}
// app_admin_adminfewodeletereservation
if (preg_match('#^/admin/fewo/lodgings/(?P<lodgingId>\\d+)/reservations/(?P<reservationId>\\d+)/delete$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_admin_adminfewodeletereservation')), array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoDeleteReservationAction',));
}
}
}
if (0 === strpos($pathinfo, '/admin/fewo/seasons')) {
// app_admin_adminfewoseasons
if ($pathinfo === '/admin/fewo/seasons') {
return array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoSeasonsAction', '_route' => 'app_admin_adminfewoseasons',);
}
// app_admin_adminfewonewseason
if ($pathinfo === '/admin/fewo/seasons/new') {
return array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoNewSeasonAction', '_route' => 'app_admin_adminfewonewseason',);
}
// app_admin_adminfewoeditseason
if (preg_match('#^/admin/fewo/seasons/(?P<seasonId>\\d+)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_admin_adminfewoeditseason')), array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoEditSeasonAction',));
}
// app_admin_adminfewodeleteseason
if (preg_match('#^/admin/fewo/seasons/(?P<seasonId>\\d+)/delete$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_admin_adminfewodeleteseason')), array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoDeleteSeasonAction',));
}
}
if (0 === strpos($pathinfo, '/admin/fewo/lodgings')) {
// app_admin_adminfewoimagemultiupload
if (preg_match('#^/admin/fewo/lodgings/(?P<lodgingId>\\d+)/images/multi\\-upload$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_admin_adminfewoimagemultiupload')), array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoImageMultiUploadAction',));
}
// app_admin_adminfewonewimage
if (preg_match('#^/admin/fewo/lodgings/(?P<lodgingId>\\d+)/images/new$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_admin_adminfewonewimage')), array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoNewImageAction',));
}
// app_admin_adminfewoeditimage
if (preg_match('#^/admin/fewo/lodgings/(?P<lodgingId>\\d+)/images/(?P<imageId>\\d+)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_admin_adminfewoeditimage')), array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoEditImageAction',));
}
// app_admin_adminfewodeleteimage
if (preg_match('#^/admin/fewo/lodgings/(?P<lodgingId>\\d+)/images/(?P<imageId>\\d+)/delete$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_admin_adminfewodeleteimage')), array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoDeleteImageAction',));
}
if (0 === strpos($pathinfo, '/admin/fewo/lodgings/group')) {
// app_admin_adminfewogroupimagemultiupload
if (preg_match('#^/admin/fewo/lodgings/group/(?P<comp>pre|post)/(?P<lodgingGroupId>\\d+)/images/multi\\-upload$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_admin_adminfewogroupimagemultiupload')), array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoGroupImageMultiUploadAction',));
}
// app_admin_adminfewogroupnewimage
if (preg_match('#^/admin/fewo/lodgings/group/(?P<comp>pre|post)/(?P<lodgingGroupId>\\d+)/images/new$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_admin_adminfewogroupnewimage')), array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoGroupNewImageAction',));
}
// app_admin_adminfewogroupeditimage
if (preg_match('#^/admin/fewo/lodgings/group/(?P<lodgingGroupId>\\d+)/images/(?P<imageId>\\d+)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_admin_adminfewogroupeditimage')), array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoGroupEditImageAction',));
}
// app_admin_adminfewogroupdeleteimage
if (preg_match('#^/admin/fewo/lodgings/group/(?P<lodgingGroupId>\\d+)/images/(?P<imageId>\\d+)/delete$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_admin_adminfewogroupdeleteimage')), array ( '_controller' => 'AppBundle\\Controller\\AdminController::adminFewoGroupDeleteImageAction',));
}
}
}
}
// app_default_home
if (rtrim($pathinfo, '/') === '') {
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($pathinfo.'/', 'app_default_home');
}
return array ( '_controller' => 'AppBundle\\Controller\\DefaultController::homeAction', '_route' => 'app_default_home',);
}
// app_default_search
if ($pathinfo === '/suche') {
return array ( '_controller' => 'AppBundle\\Controller\\DefaultController::searchAction', '_route' => 'app_default_search',);
}
// app_default_ttsearch
if ($pathinfo === '/tt-suche') {
return array ( '_controller' => 'AppBundle\\Controller\\DefaultController::ttSearchAction', '_route' => 'app_default_ttsearch',);
}
// app_default_contact
if ($pathinfo === '/kontakt') {
return array ( '_controller' => 'AppBundle\\Controller\\DefaultController::contactAction', '_route' => 'app_default_contact',);
}
// app_default_sitemap
if ($pathinfo === '/sitemap') {
return array ( '_controller' => 'AppBundle\\Controller\\DefaultController::sitemapAction', '_route' => 'app_default_sitemap',);
}
// app_default_createtree
if ($pathinfo === '/create-tree') {
return array ( '_controller' => 'AppBundle\\Controller\\DefaultController::createTreeAction', '_route' => 'app_default_createtree',);
}
// route1
if (preg_match('#^/(?P<req>.+)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'route1')), array ( '_controller' => 'AppBundle\\Controller\\DefaultController::defaultAction',));
}
// logout
if ($pathinfo === '/logout') {
return array('_route' => 'logout');
}
// _image
if (0 === strpos($pathinfo, '/_image/') && preg_match('#^/_image//(?P<slug>[^/]++)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_image')), array ( '_controller' => 'AppBundle\\Controller\\ImageController::showAction',));
}
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}