<?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 srcDevDebugProjectContainerUrlMatcher 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, '/a')) {
if (0 === strpos($pathinfo, '/ac')) {
// activities
if ('/activities' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\ActivityController::indexAction', '_route' => 'activities',);
}
// activity_list
if ('/activity/list' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\ActivityController::listAction', '_route' => 'activity_list',);
}
// account
if ('/account' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\UserController::account', '_route' => 'account',);
}
}
elseif (0 === strpos($pathinfo, '/admana2')) {
// admana2
if (preg_match('#^/admana2/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'admana2')), array ( '_controller' => 'App\\Controller\\Admana2Controller::indexAction',));
}
// admana2_invocation
if (preg_match('#^/admana2/(?P<id>[^/]++)/invocation$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'admana2_invocation')), array ( '_controller' => 'App\\Controller\\Admana2Controller::invoAction',));
}
// admana2_invocation_code
if (preg_match('#^/admana2/(?P<id>[^/]++)/invocation\\-code$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'admana2_invocation_code')), array ( '_controller' => 'App\\Controller\\Admana2Controller::zoneAction',));
}
}
elseif (0 === strpos($pathinfo, '/advertiser')) {
// advertisers
if ('/advertisers' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\AdvertiserController::index', '_route' => 'advertisers',);
}
// advertiser_list
if ('/advertiser/list' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\AdvertiserController::listAction', '_route' => 'advertiser_list',);
}
// advertiser_campaign_add
if (preg_match('#^/advertiser/(?P<id>[^/]++)/campaign\\-add$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'advertiser_campaign_add')), array ( '_controller' => 'App\\Controller\\AdvertiserController::create',));
}
// advertiser_campaign_link
if (preg_match('#^/advertiser/(?P<id>[^/]++)/campaign\\-link$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'advertiser_campaign_link')), array ( '_controller' => 'App\\Controller\\AdvertiserController::link',));
}
// advertiser_view
if (preg_match('#^/advertiser/(?P<id>[^/]++)/view$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'advertiser_view')), array ( '_controller' => 'App\\Controller\\AdvertiserController::view',));
}
// advertiser_check
if ('/advertiser/check' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\AdvertiserController::checkAction', '_route' => 'advertiser_check',);
}
// advertiser_delete
if (preg_match('#^/advertiser/(?P<id>[^/]++)/delete$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'advertiser_delete')), array ( '_controller' => 'App\\Controller\\AdvertiserController::deleteAction',));
}
}
}
elseif (0 === strpos($pathinfo, '/c')) {
if (0 === strpos($pathinfo, '/campaign')) {
// campaigns
if ('/campaigns' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\CampaignController::index', '_route' => 'campaigns',);
}
// campaign_edit
if (preg_match('#^/campaign/(?P<id>[^/]++)/edit$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'campaign_edit')), array ( '_controller' => 'App\\Controller\\CampaignController::edit',));
}
// campaign_list
if ('/campaigns/list' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\CampaignController::listAction', '_route' => 'campaign_list',);
}
// campaign_creatives
if (preg_match('#^/campaign/(?P<id>[^/]++)/creatives$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'campaign_creatives')), array ( '_controller' => 'App\\Controller\\CampaignController::creative',));
}
// campaign_email
if (preg_match('#^/campaign/(?P<id>[^/]++)/email$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'campaign_email')), array ( '_controller' => 'App\\Controller\\CampaignController::sendEmail',));
}
// campaign_status
if (preg_match('#^/campaign/(?P<id>[^/]++)/status$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'campaign_status')), array ( '_controller' => 'App\\Controller\\CampaignController::statusAction',));
}
// approve_payment
if (preg_match('#^/campaign/(?P<id>[^/]++)/approve\\-payment$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'approve_payment')), array ( '_controller' => 'App\\Controller\\CampaignController::paymentAction',));
}
if (0 === strpos($pathinfo, '/campaign-requests')) {
// campaign_requests
if ('/campaign-requests' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\CampaignRequestController::index', '_route' => 'campaign_requests',);
}
// campaign_requests_show
if (preg_match('#^/campaign\\-requests/(?P<id>[^/]++)/show$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'campaign_requests_show')), array ( '_controller' => 'App\\Controller\\CampaignRequestController::show',));
}
// campaign_requests_approve
if (preg_match('#^/campaign\\-requests/(?P<id>[^/]++)/approve$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'campaign_requests_approve')), array ( '_controller' => 'App\\Controller\\CampaignRequestController::approve',));
}
// campaign_requests_reject
if (preg_match('#^/campaign\\-requests/(?P<id>[^/]++)/reject$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'campaign_requests_reject')), array ( '_controller' => 'App\\Controller\\CampaignRequestController::reject',));
}
// campaign_requests_delete
if (preg_match('#^/campaign\\-requests/(?P<id>[^/]++)/delete$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'campaign_requests_delete')), array ( '_controller' => 'App\\Controller\\CampaignRequestController::delete',));
}
}
}
// plugin
if ('/category' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\PluginController::index', '_route' => 'plugin',);
}
// bulk_delete
if (0 === strpos($pathinfo, '/creative') && preg_match('#^/creative/(?P<id>[^/]++)/delete$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'bulk_delete')), array ( '_controller' => 'App\\Controller\\CampaignController::bulkDeleteAction',));
}
}
// bulk_replace
if (0 === strpos($pathinfo, '/banner') && preg_match('#^/banner/(?P<id>[^/]++)/replace$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'bulk_replace')), array ( '_controller' => 'App\\Controller\\CampaignController::bulkReplaceAction',));
}
if (0 === strpos($pathinfo, '/re')) {
if (0 === strpos($pathinfo, '/revenue')) {
// revenue_type_create
if ('/revenue/type/create' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\CampaignController::typeAction', '_route' => 'revenue_type_create',);
}
// revenue_type_delete
if (0 === strpos($pathinfo, '/revenue/del-type') && preg_match('#^/revenue/del\\-type/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'revenue_type_delete')), array ( '_format' => 'json', '_controller' => 'App\\Controller\\CampaignController::deleteTypeAction',));
}
// revenue_type_edit
if (0 === strpos($pathinfo, '/revenue/edit-type') && preg_match('#^/revenue/edit\\-type/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'revenue_type_edit')), array ( '_format' => 'json', '_controller' => 'App\\Controller\\CampaignController::editTypeAction',));
}
}
elseif (0 === strpos($pathinfo, '/request')) {
// requests_list
if ('/requests/list' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\CampaignRequestController::listAction', '_route' => 'requests_list',);
}
// signup_request_approve
if (preg_match('#^/request/(?P<id>[^/]++)/approve$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'signup_request_approve')), array ( '_controller' => 'App\\Controller\\UserController::approve',));
}
// signup_request_reject
if (preg_match('#^/request/(?P<id>[^/]++)/reject$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'signup_request_reject')), array ( '_controller' => 'App\\Controller\\UserController::reject',));
}
}
elseif (0 === strpos($pathinfo, '/report_')) {
if (0 === strpos($pathinfo, '/report_browser')) {
// report_browser
if ('/report_browser' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\ReportBrowserController::index', '_route' => 'report_browser',);
}
// report_browser_list
if ('/report_browser/list' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\ReportBrowserController::listAction', '_route' => 'report_browser_list',);
}
// report_browser_download
if ('/report_browser_download' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\ReportBrowserController::downloadAction', '_route' => 'report_browser_download',);
}
}
elseif (0 === strpos($pathinfo, '/report_city')) {
// report_city
if ('/report_city' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\ReportCityController::index', '_route' => 'report_city',);
}
// report_city_list
if ('/report_city/list' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\ReportCityController::listAction', '_route' => 'report_city_list',);
}
// report_city_download
if ('/report_city_download' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\ReportCityController::downloadAction', '_route' => 'report_city_download',);
}
}
elseif (0 === strpos($pathinfo, '/report_country')) {
// report_country
if ('/report_country' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\ReportCountryController::index', '_route' => 'report_country',);
}
// report_country_list
if ('/report_country/list' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\ReportCountryController::listAction', '_route' => 'report_country_list',);
}
// report_country_download
if ('/report_country_download' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\ReportCountryController::downloadAction', '_route' => 'report_country_download',);
}
}
elseif (0 === strpos($pathinfo, '/report_os')) {
// report_os
if ('/report_os' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\ReportOsController::index', '_route' => 'report_os',);
}
// report_os_list
if ('/report_os/list' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\ReportOsController::listAction', '_route' => 'report_os_list',);
}
// report_os_download
if ('/report_os_download' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\ReportOsController::downloadAction', '_route' => 'report_os_download',);
}
}
elseif (0 === strpos($pathinfo, '/report_overall')) {
// report_overall
if ('/report_overall' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\ReportOverallController::index', '_route' => 'report_overall',);
}
// report_overall_list
if ('/report_overall/list' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\ReportOverallController::listAction', '_route' => 'report_overall_list',);
}
// report_overall_download
if ('/report_overall_download' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\ReportOverallController::downloadAction', '_route' => 'report_overall_download',);
}
}
elseif (0 === strpos($pathinfo, '/report_region')) {
// report_region
if ('/report_region' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\ReportRegionController::index', '_route' => 'report_region',);
}
// report_region_list
if ('/report_region/list' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\ReportRegionController::listAction', '_route' => 'report_region_list',);
}
// report_region_download
if ('/report_region_download' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\ReportRegionController::downloadAction', '_route' => 'report_region_download',);
}
}
elseif (0 === strpos($pathinfo, '/report_url')) {
// report_url
if ('/report_url' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\ReportUrlController::index', '_route' => 'report_url',);
}
// report_url_list
if ('/report_url/list' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\ReportUrlController::listAction', '_route' => 'report_url_list',);
}
// report_url_download
if ('/report_url_download' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\ReportUrlController::downloadAction', '_route' => 'report_url_download',);
}
}
elseif (0 === strpos($pathinfo, '/report_width')) {
// report_width
if ('/report_width' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\ReportWidthController::index', '_route' => 'report_width',);
}
// report_width_list
if ('/report_width/list' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\ReportWidthController::listAction', '_route' => 'report_width_list',);
}
// report_width_download
if ('/report_width_download' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\ReportWidthController::downloadAction', '_route' => 'report_width_download',);
}
}
}
elseif (0 === strpos($pathinfo, '/register')) {
// 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, 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 ('/register/check-email' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.registration.controller:checkEmailAction', '_route' => 'fos_user_registration_check_email',);
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:
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, array('_route' => 'fos_user_registration_confirm')), array ( '_controller' => 'fos_user.registration.controller: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 ('/register/confirmed' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.registration.controller:confirmedAction', '_route' => 'fos_user_registration_confirmed',);
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:
}
}
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, array('GET'))) {
$allow = array_merge($allow, array('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, array('_route' => 'fos_user_resetting_reset')), array ( '_controller' => 'fos_user.resetting.controller: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:
// 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, 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 ('/resetting/check-email' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.resetting.controller:checkEmailAction', '_route' => 'fos_user_resetting_check_email',);
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:
}
}
elseif (0 === strpos($pathinfo, '/rtb')) {
// rtb
if ('/rtb' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\RtbController::index', '_route' => 'rtb',);
}
// rtb_email
if ('/rtb/email' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\RtbController::mail', '_route' => 'rtb_email',);
}
}
elseif (0 === strpos($pathinfo, '/d')) {
// default_ads
if ('/default/ads' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\CampaignRequestController::default', '_route' => 'default_ads',);
}
// default_change
if (0 === strpos($pathinfo, '/default-change') && preg_match('#^/default\\-change/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'default_change')), array ( '_format' => 'json', '_controller' => 'App\\Controller\\CampaignRequestController::editTypeAction',));
}
// dashboard
if ('/dashboard' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\DashboardController::index', '_route' => 'dashboard',);
}
}
elseif (0 === strpos($pathinfo, '/feedback')) {
// feedbacks
if ('/feedbacks' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\FeedbackController::indexAction', '_route' => 'feedbacks',);
}
// feedback_list
if ('/feedback/list' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\FeedbackController::listAction', '_route' => 'feedback_list',);
}
// feedback_delete
if (preg_match('#^/feedback/(?P<id>[^/]++)/delete$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'feedback_delete')), array ( '_controller' => 'App\\Controller\\FeedbackController::deleteAction',));
}
}
// home
if ('' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'App\\Controller\\HomeController::index', '_route' => 'home',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_home;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'home'));
}
return $ret;
}
not_home:
if (0 === strpos($pathinfo, '/interface')) {
// interfaces
if ('/interfaces' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\InterfaceController::index', '_route' => 'interfaces',);
}
// interface_add
if ('/interface/add' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\InterfaceController::create', '_route' => 'interface_add',);
}
// interface_edit
if (preg_match('#^/interface/(?P<id>[^/]++)/edit$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'interface_edit')), array ( '_controller' => 'App\\Controller\\InterfaceController::edit',));
}
// interface_list
if ('/interface/list' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\InterfaceController::listAction', '_route' => 'interface_list',);
}
// interface_delete
if (preg_match('#^/interface/(?P<id>[^/]++)/delete$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'interface_delete')), array ( '_controller' => 'App\\Controller\\InterfaceController::bulkDeleteAction',));
}
// interface_view
if (preg_match('#^/interface/(?P<id>[^/]++)/view$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'interface_view')), array ( '_controller' => 'App\\Controller\\InterfaceController::viewAction',));
}
// delete_image_interface
if ('/interface/image_delete' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\InterfaceController::removeImage', '_route' => 'delete_image_interface',);
}
}
elseif (0 === strpos($pathinfo, '/l')) {
if (0 === strpos($pathinfo, '/li')) {
// lifetime
if ('/lifetime-stats' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\LifetimeController::index', '_route' => 'lifetime',);
}
// lifetime_list
if ('/lifetime/list' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\LifetimeController::listAction', '_route' => 'lifetime_list',);
}
// limit_reset
if ('/limit/reset' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\StatsController::limit', '_route' => 'limit_reset',);
}
}
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, 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 ('/login_check' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.security.controller:checkAction', '_route' => 'fos_user_security_check',);
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 ('/logout' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.security.controller:logoutAction', '_route' => 'fos_user_security_logout',);
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:
}
elseif (0 === strpos($pathinfo, '/m')) {
if (0 === strpos($pathinfo, '/mapping')) {
// mappings
if ('/mappings' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\MappingController::index', '_route' => 'mappings',);
}
// mapping_link
if (preg_match('#^/mapping/(?P<id>[^/]++)/link$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'mapping_link')), array ( '_controller' => 'App\\Controller\\MappingController::link',));
}
// mapping_status_change
if (preg_match('#^/mapping/(?P<id>[^/]++)/status/change$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'mapping_status_change')), array ( '_controller' => 'App\\Controller\\MappingController::status',));
}
// mapping_list
if ('/mappings/list' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\MappingController::listAction', '_route' => 'mapping_list',);
}
}
// main_pages
if ('/main-pages' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\PagesController::index', '_route' => 'main_pages',);
}
if (0 === strpos($pathinfo, '/migrate')) {
// migrate
if ('/migrate' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\MigrateController::index', '_route' => 'migrate',);
}
// generate_migrate
if ('/migrate/generate' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\MigrateController::generate', '_route' => 'generate_migrate',);
}
}
}
elseif (0 === strpos($pathinfo, '/p')) {
if (0 === strpos($pathinfo, '/pa')) {
if (0 === strpos($pathinfo, '/page')) {
// page_edit
if (preg_match('#^/page/(?P<id>[^/]++)/edit$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'page_edit')), array ( '_controller' => 'App\\Controller\\PagesController::edit',));
}
// page_delete
if (preg_match('#^/page/(?P<id>[^/]++)/delete$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'page_delete')), array ( '_controller' => 'App\\Controller\\PagesController::deleteAction',));
}
// page_list
if ('/page/list' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\PagesController::listAction', '_route' => 'page_list',);
}
}
elseif (0 === strpos($pathinfo, '/payment')) {
// payments
if ('/payments' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\PaymentsHistoryController::index', '_route' => 'payments',);
}
// payment_list
if ('/payment/list' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\PaymentsHistoryController::listAction', '_route' => 'payment_list',);
}
// payment_view
if (preg_match('#^/payment/(?P<id>[^/]++)/view$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'payment_view')), array ( '_controller' => 'App\\Controller\\PaymentsHistoryController::viewAction',));
}
// payment_verify
if (0 === strpos($pathinfo, '/payment/verify') && preg_match('#^/payment/verify/(?P<id>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'payment_verify')), array ( '_format' => 'json', '_controller' => 'App\\Controller\\PaymentsHistoryController::editTypeAction',));
}
}
// password_update
if (0 === strpos($pathinfo, '/password') && preg_match('#^/password/(?P<id>[^/]++)/update$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'password_update')), array ( '_controller' => 'App\\Controller\\UserController::passwordUpdate',));
}
}
elseif (0 === strpos($pathinfo, '/plugin')) {
// plugin_check
if ('/plugin/check' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\PluginController::checkAction', '_route' => 'plugin_check',);
}
// plugin_list
if ('/plugin/list' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\PluginController::listAction', '_route' => 'plugin_list',);
}
// plugin_data
if (preg_match('#^/plugin/(?P<id>[^/]++)/data$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'plugin_data')), array ( '_controller' => 'App\\Controller\\PluginController::dataAction',));
}
}
elseif (0 === strpos($pathinfo, '/publisher')) {
// publishers
if ('/publishers' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\PublisherController::index', '_route' => 'publishers',);
}
// publisher_list
if ('/publisher/list' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\PublisherController::listAction', '_route' => 'publisher_list',);
}
// publisher_campaign_add
if (preg_match('#^/publisher/(?P<id>[^/]++)/campaign\\-add$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'publisher_campaign_add')), array ( '_controller' => 'App\\Controller\\PublisherController::create',));
}
// publisher_campaign_stats
if (preg_match('#^/publisher/(?P<id>[^/]++)/campaign\\-stats$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'publisher_campaign_stats')), array ( '_controller' => 'App\\Controller\\PublisherController::campStatAction',));
}
// publisher_site_stats
if (preg_match('#^/publisher/(?P<id>[^/]++)/site\\-stats$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'publisher_site_stats')), array ( '_controller' => 'App\\Controller\\PublisherController::siteStatAction',));
}
// site_check
if ('/publisher/check' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\PublisherController::checkAction', '_route' => 'site_check',);
}
// publisher_status_approve
if (preg_match('#^/publisher/(?P<id>[^/]++)/approve$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'publisher_status_approve')), array ( '_controller' => 'App\\Controller\\PublisherController::approveAction',));
}
// publisher_add_comment
if (preg_match('#^/publisher/(?P<id>[^/]++)/add\\-comment$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'publisher_add_comment')), array ( '_controller' => 'App\\Controller\\PublisherController::commentAction',));
}
// publisher_status_decline
if (preg_match('#^/publisher/(?P<id>[^/]++)/decline$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'publisher_status_decline')), array ( '_controller' => 'App\\Controller\\PublisherController::declineAction',));
}
// publisher_decline_comment
if (preg_match('#^/publisher/(?P<id>[^/]++)/decline\\-comment$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'publisher_decline_comment')), array ( '_controller' => 'App\\Controller\\PublisherController::declineCommentAction',));
}
// publisher_category
if (preg_match('#^/publisher/(?P<id>[^/]++)/category$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'publisher_category')), array ( '_controller' => 'App\\Controller\\PublisherController::categoryAction',));
}
// publisher_delete
if (preg_match('#^/publisher/(?P<id>[^/]++)/delete$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'publisher_delete')), array ( '_controller' => 'App\\Controller\\PublisherController::deleteAction',));
}
}
elseif (0 === strpos($pathinfo, '/profile')) {
// profile
if ('/profile' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\UserController::index', '_route' => 'profile',);
}
// profile_update
if (preg_match('#^/profile/(?P<id>[^/]++)/update$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'profile_update')), array ( '_controller' => 'App\\Controller\\UserController::profileUpdate',));
}
// 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, array('GET'))) {
$allow = array_merge($allow, array('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, array('GET', 'POST'))) {
$allow = array_merge($allow, array('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, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_fos_user_change_password;
}
return $ret;
}
not_fos_user_change_password:
}
}
// zone_district
if ('/zone_district' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\PublisherController::zoneAction', '_route' => 'zone_district',);
}
if (0 === strpos($pathinfo, '/s')) {
if (0 === strpos($pathinfo, '/signup')) {
// signup_requests
if ('/signup/requests' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\SignupRequestController::index', '_route' => 'signup_requests',);
}
// signup_list
if ('/signup/list' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\SignupRequestController::listAction', '_route' => 'signup_list',);
}
// signup_type_change
if ('/signup/type/change' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\SignupRequestController::change', '_route' => 'signup_type_change',);
}
}
elseif (0 === strpos($pathinfo, '/stat/campaign')) {
// stats_campaign_list
if (preg_match('#^/stat/campaign/(?P<id>[^/]++)/list$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'stats_campaign_list')), array ( '_controller' => 'App\\Controller\\StatsController::view',));
}
// stats_campaign_daily
if ('/stat/campaign/daily' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\StatsController::daily', '_route' => 'stats_campaign_daily',);
}
}
// ssh_test
if ('/ssh/test' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\StatsController::ssh', '_route' => 'ssh_test',);
}
if (0 === strpos($pathinfo, '/support')) {
if (0 === strpos($pathinfo, '/support-tickets')) {
// support_tickets
if ('/support-tickets' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\SupportTicketController::index', '_route' => 'support_tickets',);
}
// support_tickets_reply
if (preg_match('#^/support\\-tickets/(?P<id>[^/]++)/reply$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'support_tickets_reply')), array ( '_controller' => 'App\\Controller\\SupportTicketController::show',));
}
}
// support_tickets_list
if ('/support-ticket/list' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\SupportTicketController::listAction', '_route' => 'support_tickets_list',);
}
// support_details
if ('/support/details' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\SupportTicketController::detailsAction', '_route' => 'support_details',);
}
}
}
elseif (0 === strpos($pathinfo, '/transaction')) {
// transactions
if ('/transactions' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\TransactionController::index', '_route' => 'transactions',);
}
// transaction_add
if ('/transaction/add' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\TransactionController::create', '_route' => 'transaction_add',);
}
// transaction_edit
if (preg_match('#^/transaction/(?P<id>[^/]++)/edit$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'transaction_edit')), array ( '_controller' => 'App\\Controller\\TransactionController::edit',));
}
// transaction_list
if ('/transaction/list' === $pathinfo) {
return array ( '_format' => 'json', '_controller' => 'App\\Controller\\TransactionController::listAction', '_route' => 'transaction_list',);
}
// transaction_delete
if (preg_match('#^/transaction/(?P<id>[^/]++)/delete$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'transaction_delete')), array ( '_controller' => 'App\\Controller\\TransactionController::bulkDeleteAction',));
}
// transaction_view
if (preg_match('#^/transaction/(?P<id>[^/]++)/view$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'transaction_view')), array ( '_controller' => 'App\\Controller\\TransactionController::viewAction',));
}
}
// email_update
if (0 === strpos($pathinfo, '/email') && preg_match('#^/email/(?P<id>[^/]++)/update$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'email_update')), array ( '_controller' => 'App\\Controller\\UserController::emailUpdate',));
}
// users
if ('/users' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\UserController::users', '_route' => 'users',);
}
if (0 === strpos($pathinfo, '/_')) {
// _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',));
}
// _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',));
}
}
}
if ('/' === $pathinfo && !$allow) {
throw new Symfony\Component\Routing\Exception\NoConfigurationException();
}
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}