<?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 = [];
$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, '/action')) {
if (0 === strpos($pathinfo, '/actions')) {
// edit_action
if (preg_match('#^/actions/(?P<rowid>[^/]++)/edit$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'edit_action']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\ActionController::edit',));
}
// new_action
if ('/actions/new' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\ActionController::edit', '_route' => 'new_action',);
}
// show_action
if (preg_match('#^/actions(?:/(?P<rowid>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'show_action']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\ActionController::show',));
}
// show_actions
if ('/actions' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'App\\Controller\\ActionController::showActions', '_route' => 'show_actions',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_show_actions;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'show_actions'));
}
return $ret;
}
not_show_actions:
// delete_action
if (preg_match('#^/actions/(?P<rowid>[^/]++)/delete$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'delete_action']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\ActionController::delete',));
}
// get_action_document
if (preg_match('#^/actions/(?P<action_rowid>[^/]++)/document(?:/(?P<document_rowid>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'get_action_document']), array ( 'action_rowid' => NULL, 'document_rowid' => NULL, '_controller' => 'App\\Controller\\ActionController::getActionDocument',));
}
// get_action_documents
if (preg_match('#^/actions/(?P<action_rowid>[^/]++)/documents$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'get_action_documents']), array ( 'action_rowid' => NULL, '_controller' => 'App\\Controller\\ActionController::getActionDocuments',));
}
// edit_action_translations
if (preg_match('#^/actions/(?P<action_rowid>[^/]++)/edittranslations$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'edit_action_translations']), array ( 'action_rowid' => NULL, '_controller' => 'App\\Controller\\ActionController::editActionTranslations',));
}
// new_milestone_action
if (preg_match('#^/actions/(?P<action_rowid>[^/]++)/milestones/new$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'new_milestone_action']), array ( 'action_rowid' => NULL, '_controller' => 'App\\Controller\\MilestoneController::edit',));
}
// show_milestones_action
if (preg_match('#^/actions/(?P<action_rowid>[^/]++)/milestones$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'show_milestones_action']), array ( 'action_rowid' => NULL, '_controller' => 'App\\Controller\\MilestoneController::showMilestones',));
}
// update_request_extension_time
if (preg_match('#^/actions/(?P<action_rowid>[^/]++)/company_entity/(?P<company_entity_rowid>[^/]++)/request_extension_time$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'update_request_extension_time']), array ( 'action_rowid' => NULL, 'company_entity_rowid' => NULL, '_controller' => 'App\\Controller\\PlanController::update_request_extension_time',));
}
// update_request_new_milestone
if (preg_match('#^/actions/(?P<action_rowid>[^/]++)/company_entity/(?P<company_entity_rowid>[^/]++)/update_request_new_milestone$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'update_request_new_milestone']), array ( 'action_rowid' => NULL, 'company_entity_rowid' => NULL, '_controller' => 'App\\Controller\\PlanController::update_request_new_milestone',));
}
}
elseif (0 === strpos($pathinfo, '/action_company_entity')) {
// get_action_company_entity_document
if (preg_match('#^/action_company_entity/(?P<action_company_entity_rowid>[^/]++)/document(?:/(?P<document_company_entity_rowid>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'get_action_company_entity_document']), array ( 'action_company_entity_rowid' => NULL, 'document_company_entity_rowid' => NULL, '_controller' => 'App\\Controller\\ActionController::getActionCompanyEntityDocument',));
}
// get_action_company_entity_document_gantt
if (preg_match('#^/action_company_entity/(?P<action_company_entity_rowid>[^/]++)/document(?:/(?P<document_company_entity_rowid>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'get_action_company_entity_document_gantt']), array ( 'action_company_entity_rowid' => NULL, 'document_company_entity_rowid' => NULL, '_controller' => 'App\\Controller\\PlanController::getActionCompanyEntityDocumentGantt',));
}
}
// get_actions_datatable
if ('/action/getactionsdatatable' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\PartnerController::getActionsDatatable', '_route' => 'get_actions_datatable',);
}
}
elseif (0 === strpos($pathinfo, '/p')) {
if (0 === strpos($pathinfo, '/plan')) {
if (0 === strpos($pathinfo, '/plans')) {
// new_action_plan
if (preg_match('#^/plans/(?P<plan_rowid>[^/]++)/actions/new$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'new_action_plan']), array ( 'plan_rowid' => NULL, '_controller' => 'App\\Controller\\ActionController::edit',));
}
// new_action_params
if (preg_match('#^/plans/(?P<plan_rowid>[^/]++)/department/(?P<department_rowid>[^/]++)/partnercontract/(?P<partner_contract_rowid>[^/]++)/mandatory/(?P<mandatory>[^/]++)/actions/new$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'new_action_params']), array ( 'plan_rowid' => NULL, 'department_rowid' => NULL, 'partner_contract_rowid' => NULL, 'mandatory' => NULL, '_controller' => 'App\\Controller\\ActionController::edit',));
}
}
// show_actions_plan
if (preg_match('#^/plan/(?P<plan_rowid>[^/]++)/actions$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'show_actions_plan']), array ( 'plan_rowid' => NULL, '_controller' => 'App\\Controller\\ActionController::showActions',));
}
// show_actions_plan_market
if (preg_match('#^/plan/(?P<plan_rowid>[^/]++)/markets/(?P<market_rowid>[^/]++)/actions$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'show_actions_plan_market']), array ( 'plan_rowid' => NULL, 'market_rowid' => NULL, '_controller' => 'App\\Controller\\ActionController::showActions',));
}
if (0 === strpos($pathinfo, '/plans')) {
// delete_action_plan
if (preg_match('#^/plans/(?P<plan_rowid>[^/]++)/actions/(?P<rowid>[^/]++)/delete$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'delete_action_plan']), array ( 'rowid' => NULL, 'plan_rowid' => NULL, '_controller' => 'App\\Controller\\ActionController::delete',));
}
// delete_action_plan_market
if (preg_match('#^/plans/(?P<plan_rowid>[^/]++)/markets/(?P<market_rowid>[^/]++)/actions/(?P<rowid>[^/]++)/delete$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'delete_action_plan_market']), array ( 'rowid' => NULL, 'plan_rowid' => NULL, 'market_rowid' => NULL, '_controller' => 'App\\Controller\\ActionController::delete',));
}
// get_data_plan
if (preg_match('#^/plans/(?P<plan_rowid>[^/]++)/action/getdatabyplan$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'get_data_plan']), array ( 'plan_rowid' => NULL, '_controller' => 'App\\Controller\\ActionController::getDataByPlan',));
}
// get_actions_plan
if (preg_match('#^/plans/(?P<plan_rowid>[^/]++)/getactions/?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'get_actions_plan']), array ( '_controller' => 'App\\Controller\\MilestoneController::getActionsByPlan',));
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_get_actions_plan;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'get_actions_plan'));
}
return $ret;
}
not_get_actions_plan:
// approve_plan_partner
if (preg_match('#^/plans/(?P<plan_rowid>[^/]++)/companyentities/(?P<company_entity_rowid>[^/]++)/partners/approveplan(?:/(?P<plan_approve_status>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'approve_plan_partner']), array ( 'plan_rowid' => NULL, 'company_entity_rowid' => NULL, 'plan_approve_status' => NULL, '_controller' => 'App\\Controller\\PartnerController::approvePlanPartner',));
}
// edit_plan
if (preg_match('#^/plans/(?P<rowid>[^/]++)/edit/?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'edit_plan']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\PlanController::edit',));
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_edit_plan;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'edit_plan'));
}
return $ret;
}
not_edit_plan:
// new_plan
if ('/plans/new' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'App\\Controller\\PlanController::edit', '_route' => 'new_plan',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_new_plan;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'new_plan'));
}
return $ret;
}
not_new_plan:
// edit_actions_levels_time
if (preg_match('#^/plans/(?P<plan_rowid>[^/]++)/editactionstime$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'edit_actions_levels_time']), array ( 'plan_rowid' => NULL, '_controller' => 'App\\Controller\\PlanController::editPlanActionsTime',));
}
}
// edit_plan_actions_number
if (preg_match('#^/plan/(?P<plan_rowid>[^/]++)/editactionsnumber$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'edit_plan_actions_number']), array ( 'plan_rowid' => NULL, '_controller' => 'App\\Controller\\PlanController::editPlanActionsNumber',));
}
if (0 === strpos($pathinfo, '/plans')) {
// update_plan_actions_number
if (preg_match('#^/plans/(?P<plan_rowid>[^/]++)/updateplanactionsNumber/?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'update_plan_actions_number']), array ( 'plan_rowid' => NULL, '_controller' => 'App\\Controller\\PlanController::updatePlanActionNumber',));
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_update_plan_actions_number;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'update_plan_actions_number'));
}
return $ret;
}
not_update_plan_actions_number:
// show_plan
if (preg_match('#^/plans(?:/(?P<rowid>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'show_plan']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\PlanController::show',));
}
// update_plan_status
if (preg_match('#^/plans/(?P<rowid>[^/]++)/updatestatus(?:/(?P<status_code>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'update_plan_status']), array ( 'rowid' => NULL, 'status_code' => NULL, '_controller' => 'App\\Controller\\PlanController::setPlanStatus',));
}
// show_plans
if ('/plans' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'App\\Controller\\PlanController::showPlans', '_route' => 'show_plans',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_show_plans;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'show_plans'));
}
return $ret;
}
not_show_plans:
// delete_plan
if (preg_match('#^/plans/(?P<rowid>[^/]++)/delete$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'delete_plan']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\PlanController::delete',));
}
// plan_execution_gantt
if (preg_match('#^/plans/(?P<plan_rowid>[^/]++)/partners/(?P<partner_rowid>[^/]++)/execution$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'plan_execution_gantt']), array ( 'plan_rowid' => NULL, 'partner_rowid' => NULL, '_controller' => 'App\\Controller\\PlanController::executionGantt',));
}
// approve_plan
if (preg_match('#^/plans/(?P<plan_rowid>[^/]++)/company_entity/(?P<company_entity_rowid>[^/]++)/approveplan$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'approve_plan']), array ( 'plan_rowid' => NULL, 'company_entity_rowid' => NULL, '_controller' => 'App\\Controller\\PlanController::approvePlan',));
}
// general_plan_status
if (preg_match('#^/plans/(?P<plan_rowid>[^/]++)/status$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'general_plan_status']), array ( 'plan_rowid' => NULL, '_controller' => 'App\\Controller\\PlanController::showGeneralPlanStatus',));
}
}
// get_plans_datatable
if ('/plan/getplansdatatable' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\PlanController::getPlansDatatable', '_route' => 'get_plans_datatable',);
}
}
elseif (0 === strpos($pathinfo, '/partner')) {
if (0 === strpos($pathinfo, '/partnercontracts')) {
// edit_partner_contract
if (preg_match('#^/partnercontracts/(?P<rowid>[^/]++)/edit$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'edit_partner_contract']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\PartnerContractController::edit',));
}
// new_partner_contract
if ('/partnercontracts/new' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\PartnerContractController::edit', '_route' => 'new_partner_contract',);
}
// show_partner_contract
if (preg_match('#^/partnercontracts(?:/(?P<rowid>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'show_partner_contract']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\PartnerContractController::show',));
}
// show_partner_contracts
if ('/partnercontracts' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'App\\Controller\\PartnerContractController::showPartnerContracts', '_route' => 'show_partner_contracts',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_show_partner_contracts;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'show_partner_contracts'));
}
return $ret;
}
not_show_partner_contracts:
}
// delete_partner_contract
if (0 === strpos($pathinfo, '/partnercontract') && preg_match('#^/partnercontract/(?P<rowid>[^/]++)/delete$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'delete_partner_contract']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\PartnerContractController::delete',));
}
if (0 === strpos($pathinfo, '/partners')) {
// edit_partner
if (preg_match('#^/partners/(?P<rowid>[^/]++)/edit$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'edit_partner']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\PartnerController::edit',));
}
// new_partner
if ('/partners/new' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\PartnerController::edit', '_route' => 'new_partner',);
}
// partner_get_territories_market
if (preg_match('#^/partners/(?P<rowid>[^/]++)/market/(?P<market_rowid>[^/]++)/getterritoriesbymarket/?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'partner_get_territories_market']), array ( 'rowid' => NULL, 'market_rowid' => NULL, '_controller' => 'App\\Controller\\PartnerController::getTerritoriesByMarket',));
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_partner_get_territories_market;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'partner_get_territories_market'));
}
return $ret;
}
not_partner_get_territories_market:
// show_partner
if (preg_match('#^/partners(?:/(?P<rowid>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'show_partner']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\PartnerController::show',));
}
// show_partners
if ('/partners' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'App\\Controller\\PartnerController::showPartners', '_route' => 'show_partners',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_show_partners;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'show_partners'));
}
return $ret;
}
not_show_partners:
// show_partners_selected
if (0 === strpos($pathinfo, '/partners/rowids') && preg_match('#^/partners/rowids(?:/(?P<rowids>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'show_partners_selected']), array ( 'rowids' => NULL, '_controller' => 'App\\Controller\\PartnerController::showPartners',));
}
// actions_list_choose
if (preg_match('#^/partners/(?P<partner_rowid>[^/]++)/plan/(?P<plan_rowid>[^/]++)/selection$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'actions_list_choose']), array ( 'partner_rowid' => NULL, 'plan_rowid' => NULL, '_controller' => 'App\\Controller\\PartnerController::actionsListChoose',));
}
// actions_list_choose_partner_list
if (0 === strpos($pathinfo, '/partners/plan') && preg_match('#^/partners/plan/(?P<plan_rowid>[^/]++)/choosepartner$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'actions_list_choose_partner_list']), array ( 'plan_rowid' => NULL, '_controller' => 'App\\Controller\\PartnerController::showPartnersActionsChoosed',));
}
// update_actions_choosed
if ('/partners/updateactionschoosed' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'App\\Controller\\PartnerController::updateActionsChoosed', '_route' => 'update_actions_choosed',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_update_actions_choosed;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'update_actions_choosed'));
}
return $ret;
}
not_update_actions_choosed:
// actions_list_choose_validate
if (preg_match('#^/partners/(?P<partner_rowid>[^/]++)/plan/(?P<plan_rowid>[^/]++)/validation$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'actions_list_choose_validate']), array ( 'partner_rowid' => NULL, 'plan_rowid' => NULL, '_controller' => 'App\\Controller\\PartnerController::validateActionsListChoose',));
}
// update_actions_choosed_validate
if ('/partners/updateactionschoosedvalidate' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'App\\Controller\\PartnerController::updateActionsChoosedValidate', '_route' => 'update_actions_choosed_validate',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_update_actions_choosed_validate;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'update_actions_choosed_validate'));
}
return $ret;
}
not_update_actions_choosed_validate:
// request_approve_plan_partner
if ('/partners/requestapproveplan' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'App\\Controller\\PartnerController::requestApprovePlanPartner', '_route' => 'request_approve_plan_partner',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_request_approve_plan_partner;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'request_approve_plan_partner'));
}
return $ret;
}
not_request_approve_plan_partner:
// get_actions_list_choose_datatable
if ('/partners/getactionsListChoosedatatable' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\PartnerController::getActionsListChooseDatatable', '_route' => 'get_actions_list_choose_datatable',);
}
// update_execution_gantt
if (preg_match('#^/partners/(?P<plan_rowid>[^/]++)/updateexecution$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'update_execution_gantt']), array ( 'plan_rowid' => NULL, '_controller' => 'App\\Controller\\PlanController::updateExecutionGantt',));
}
}
}
elseif (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, '/m')) {
if (0 === strpos($pathinfo, '/milestone_company_entity')) {
// get_milestone_company_entity_document
if (preg_match('#^/milestone_company_entity/(?P<milestone_company_entity_rowid>[^/]++)/document(?:/(?P<document_company_entity_rowid>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'get_milestone_company_entity_document']), array ( 'milestone_company_entity_rowid' => NULL, 'document_company_entity_rowid' => NULL, '_controller' => 'App\\Controller\\ActionController::getMilestoneCompanyEntityDocument',));
}
// get_milestone_company_entity_document_gantt
if (preg_match('#^/milestone_company_entity/(?P<milestone_company_entity_rowid>[^/]++)/document(?:/(?P<document_company_entity_rowid>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'get_milestone_company_entity_document_gantt']), array ( 'milestone_company_entity_rowid' => NULL, 'document_company_entity_rowid' => NULL, '_controller' => 'App\\Controller\\PlanController::getMilestoneCompanyEntityDocumentGantt',));
}
}
elseif (0 === strpos($pathinfo, '/milestones')) {
// edit_milestone
if (preg_match('#^/milestones/(?P<rowid>[^/]++)/edit$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'edit_milestone']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\MilestoneController::edit',));
}
// new_milestone
if ('/milestones/new' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\MilestoneController::edit', '_route' => 'new_milestone',);
}
// show_milestone
if (preg_match('#^/milestones(?:/(?P<rowid>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'show_milestone']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\MilestoneController::show',));
}
// show_milestones
if ('/milestones' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'App\\Controller\\MilestoneController::showMilestones', '_route' => 'show_milestones',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_show_milestones;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'show_milestones'));
}
return $ret;
}
not_show_milestones:
// delete_milestone
if (preg_match('#^/milestones/(?P<rowid>[^/]++)/delete$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'delete_milestone']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\MilestoneController::delete',));
}
}
elseif (0 === strpos($pathinfo, '/markets')) {
// edit_market
if (preg_match('#^/markets/(?P<rowid>[^/]++)/edit$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'edit_market']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\MarketController::edit',));
}
// new_market
if ('/markets/new' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\MarketController::edit', '_route' => 'new_market',);
}
// show_market
if (preg_match('#^/markets(?:/(?P<rowid>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'show_market']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\MarketController::show',));
}
// show_markets
if ('/markets' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'App\\Controller\\MarketController::showMarkets', '_route' => 'show_markets',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_show_markets;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'show_markets'));
}
return $ret;
}
not_show_markets:
// show_markets_selected
if (0 === strpos($pathinfo, '/markets/rowids') && preg_match('#^/markets/rowids(?:/(?P<rowids>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'show_markets_selected']), array ( 'rowids' => NULL, '_controller' => 'App\\Controller\\MarketController::showMarkets',));
}
// plan_execution_choose_market_list
if (0 === strpos($pathinfo, '/markets/plan') && preg_match('#^/markets/plan/(?P<plan_rowid>[^/]++)/choosemarket$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'plan_execution_choose_market_list']), array ( 'plan_rowid' => NULL, '_controller' => 'App\\Controller\\MarketController::showMarketsChoosed',));
}
// get_partners_markets
if ('/markets/getpartners' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'App\\Controller\\MilestoneController::getPartnersByMarkets', '_route' => 'get_partners_markets',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_get_partners_markets;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'get_partners_markets'));
}
return $ret;
}
not_get_partners_markets:
// get_data_milestone_from_action
if (0 === strpos($pathinfo, '/markets/getdatamilestone/actions') && preg_match('#^/markets/getdatamilestone/actions(?:/(?P<action_rowid>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'get_data_milestone_from_action']), array ( 'action_rowid' => NULL, '_controller' => 'App\\Controller\\MilestoneController::getDataMilestoneFromAction',));
}
// show_territories_market
if (preg_match('#^/markets/(?P<market_rowid>[^/]++)/territories$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'show_territories_market']), array ( 'market_rowid' => NULL, '_controller' => 'App\\Controller\\TerritoryController::showTerritories',));
}
}
}
// delete_company_entity
if (0 === strpos($pathinfo, '/companyentity') && preg_match('#^/companyentity/(?P<rowid>[^/]++)/delete$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'delete_company_entity']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\CompanyEntityController::delete',));
}
if (0 === strpos($pathinfo, '/dashboard')) {
// dashboard
if (preg_match('#^/dashboard(?:/(?P<plan_rowid>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'dashboard']), array ( 'plan_rowid' => NULL, '_controller' => 'App\\Controller\\DashboardController::dashboard',));
}
// dashboard_plans_actions
if ('/dashboard/dashboardplansactions' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\DashboardController::getPlansActionsChart', '_route' => 'dashboard_plans_actions',);
}
// dashboard_partners_territory
if ('/dashboard/getPartnersByTerritory' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\DashboardController::getPartnerByTerritory', '_route' => 'dashboard_partners_territory',);
}
// dashboard_plan_statistics
if ('/dashboard/getPlanStatistics' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\DashboardController::getPlanStatistics', '_route' => 'dashboard_plan_statistics',);
}
}
elseif (0 === strpos($pathinfo, '/de')) {
if (0 === strpos($pathinfo, '/departments')) {
// edit_department
if (preg_match('#^/departments/(?P<rowid>[^/]++)/edit$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'edit_department']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\DepartmentController::edit',));
}
// new_department
if ('/departments/new' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\DepartmentController::edit', '_route' => 'new_department',);
}
// show_department
if (preg_match('#^/departments(?:/(?P<rowid>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'show_department']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\DepartmentController::show',));
}
// show_departments
if ('/departments' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'App\\Controller\\DepartmentController::showDepartments', '_route' => 'show_departments',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_show_departments;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'show_departments'));
}
return $ret;
}
not_show_departments:
// delete_department
if (preg_match('#^/departments/(?P<rowid>[^/]++)/delete$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'delete_department']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\DepartmentController::delete',));
}
}
// get_departments_datatable
if ('/department/getdepartmentsdatatable' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\DepartmentController::getDepartmentsDatatable', '_route' => 'get_departments_datatable',);
}
// ajax_delete_action_company_entity_document
if ('/delete_action_company_entity_document' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\PlanController::ajax_delete_action_company_entity_document', '_route' => 'ajax_delete_action_company_entity_document',);
}
}
elseif (0 === strpos($pathinfo, '/t')) {
if (0 === strpos($pathinfo, '/toplevelentities')) {
// edit_eu_entity
if (preg_match('#^/toplevelentities/(?P<rowid>[^/]++)/edit$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'edit_eu_entity']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\EuEntityController::edit',));
}
// new_eu_entity
if ('/toplevelentities/new' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\EuEntityController::edit', '_route' => 'new_eu_entity',);
}
// show_eu_entity
if (preg_match('#^/toplevelentities(?:/(?P<rowid>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'show_eu_entity']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\EuEntityController::show',));
}
// show_eu_entities
if ('/toplevelentities' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'App\\Controller\\EuEntityController::showEuEntities', '_route' => 'show_eu_entities',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_show_eu_entities;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'show_eu_entities'));
}
return $ret;
}
not_show_eu_entities:
}
elseif (0 === strpos($pathinfo, '/territories')) {
// edit_territory
if (preg_match('#^/territories/(?P<rowid>[^/]++)/edit$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'edit_territory']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\TerritoryController::edit',));
}
// new_territory
if ('/territories/new' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\TerritoryController::edit', '_route' => 'new_territory',);
}
// show_territory
if (preg_match('#^/territories(?:/(?P<rowid>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'show_territory']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\TerritoryController::show',));
}
// show_territories
if ('/territories' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'App\\Controller\\TerritoryController::showTerritories', '_route' => 'show_territories',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_show_territories;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'show_territories'));
}
return $ret;
}
not_show_territories:
// get_territories_datatable
if ('/territories/getterritoriesdatatable' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\TerritoryController::getCompanyEntityDatatable', '_route' => 'get_territories_datatable',);
}
}
// delete_territory
if (0 === strpos($pathinfo, '/territory') && preg_match('#^/territory/(?P<rowid>[^/]++)/delete$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'delete_territory']), array ( 'rowid' => NULL, '_controller' => 'App\\Controller\\TerritoryController::delete',));
}
}
// execute_messaging_pool
if ('/emails/executemessagingpool' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'App\\Controller\\MessagingPoolController::executeMessagingPool', '_route' => 'execute_messaging_pool',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_execute_messaging_pool;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'execute_messaging_pool'));
}
return $ret;
}
not_execute_messaging_pool:
if (0 === strpos($pathinfo, '/emails/send')) {
// send_rejected_plan_email
if (0 === strpos($pathinfo, '/emails/sendrejectedplanemail') && preg_match('#^/emails/sendrejectedplanemail/(?P<plan_company_entity_rowid>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'send_rejected_plan_email']), array ( '_controller' => 'App\\Controller\\MessagingPoolController::sendRejectedPlanEmail',));
}
// send_started_plan_timing_create_email
if ('/emails/sendstartedplantimingcreateemail' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'App\\Controller\\MessagingPoolController::sendStartedPlanTimingCreateEmail', '_route' => 'send_started_plan_timing_create_email',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_send_started_plan_timing_create_email;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'send_started_plan_timing_create_email'));
}
return $ret;
}
not_send_started_plan_timing_create_email:
// send_statics_email
if ('/emails/sendstaticsemail' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'App\\Controller\\MessagingPoolController::sendStaticsEmail', '_route' => 'send_statics_email',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_send_statics_email;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'send_statics_email'));
}
return $ret;
}
not_send_statics_email:
// send_action_time_request_rejected_email
if ('/emails/sendplanfinishedemail' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'App\\Controller\\MessagingPoolController::sendPlanFinishedEmail', '_route' => 'send_action_time_request_rejected_email',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_send_action_time_request_rejected_email;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'send_action_time_request_rejected_email'));
}
return $ret;
}
not_send_action_time_request_rejected_email:
}
elseif (0 === strpos($pathinfo, '/u')) {
// update_action_company_status
if (0 === strpos($pathinfo, '/update_action_company_status') && preg_match('#^/update_action_company_status(?:/(?P<company_entity>[^/]++)(?:/(?P<action_rowid>[^/]++))?)?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'update_action_company_status']), array ( 'company_entity' => NULL, 'action_rowid' => NULL, '_controller' => 'App\\Controller\\PlanController::update_action_company_status',));
}
// ajax_upload_action_company_entity_document
if ('/upload_action_company_entity_document' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\PlanController::ajax_upload_action_company_entity_document', '_route' => 'ajax_upload_action_company_entity_document',);
}
if (0 === strpos($pathinfo, '/users')) {
// edit_user
if (preg_match('#^/users/(?P<id>[^/]++)/edit/?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'edit_user']), array ( 'id' => NULL, '_controller' => 'App\\Controller\\UserController::edit',));
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_edit_user;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'edit_user'));
}
return $ret;
}
not_edit_user:
// new_user
if ('/users/new' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'App\\Controller\\UserController::edit', '_route' => 'new_user',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_new_user;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'new_user'));
}
return $ret;
}
not_new_user:
// show_user
if (preg_match('#^/users(?:/(?P<id>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'show_user']), array ( 'id' => NULL, '_controller' => 'App\\Controller\\UserController::show',));
}
// show_users
if ('/users' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'App\\Controller\\UserController::showUsers', '_route' => 'show_users',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_show_users;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'show_users'));
}
return $ret;
}
not_show_users:
// delete_user
if (preg_match('#^/users/(?P<id>[^/]++)/delete/?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'delete_user']), array ( 'id' => NULL, '_controller' => 'App\\Controller\\UserController::delete',));
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_delete_user;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'delete_user'));
}
return $ret;
}
not_delete_user:
}
// get_users_datatable
if ('/user/getusersdatatable' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\UserController::getUserDatatable', '_route' => 'get_users_datatable',);
}
}
elseif (0 === strpos($pathinfo, '/get')) {
// user_companies_entities_level
if ('/getcompanyentitiesbylevel' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\UserController::getCompanyEntitiesByLevel', '_route' => 'user_companies_entities_level',);
}
// partner_contract_partner
if ('/getpartnercontractsbypartner' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\UserController::getPartnerContractByPartner', '_route' => 'partner_contract_partner',);
}
// get_territories_market
if ('/getterritoriesbymarket' === $pathinfo) {
return array ( '_controller' => 'App\\Controller\\UserController::getTerritoriesByMarket', '_route' => 'get_territories_market',);
}
}
elseif (0 === strpos($pathinfo, '/group')) {
// fos_user_group_list
if ('/group/list' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.group.controller:listAction', '_route' => 'fos_user_group_list',);
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_fos_user_group_list;
}
return $ret;
}
not_fos_user_group_list:
// fos_user_group_new
if ('/group/new' === $pathinfo) {
$ret = array ( '_controller' => 'fos_user.group.controller:newAction', '_route' => 'fos_user_group_new',);
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_fos_user_group_new;
}
return $ret;
}
not_fos_user_group_new:
// fos_user_group_show
if (preg_match('#^/group/(?P<groupName>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'fos_user_group_show']), array ( '_controller' => 'fos_user.group.controller:showAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_fos_user_group_show;
}
return $ret;
}
not_fos_user_group_show:
// fos_user_group_edit
if (preg_match('#^/group/(?P<groupName>[^/]++)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'fos_user_group_edit']), array ( '_controller' => 'fos_user.group.controller:editAction',));
if (!in_array($canonicalMethod, ['GET', 'POST'])) {
$allow = array_merge($allow, ['GET', 'POST']);
goto not_fos_user_group_edit;
}
return $ret;
}
not_fos_user_group_edit:
// fos_user_group_delete
if (preg_match('#^/group/(?P<groupName>[^/]++)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'fos_user_group_delete']), array ( '_controller' => 'fos_user.group.controller:deleteAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_fos_user_group_delete;
}
return $ret;
}
not_fos_user_group_delete:
}
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:
}
// 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:
if (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, ['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:
}
elseif (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, ['_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, ['_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',));
}
}
}
// index
if ('' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'App\\Controller\\DashboardController::dashboard', '_route' => 'index',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_index;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'index'));
}
return $ret;
}
not_index:
if ('/' === $pathinfo && !$allow) {
throw new Symfony\Component\Routing\Exception\NoConfigurationException();
}
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}