<?php
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;
/**
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class appDevDebugProjectContainerUrlMatcher extends Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher
{
public function __construct(RequestContext $context)
{
$this->context = $context;
}
public function match($rawPathinfo)
{
$allow = array();
$pathinfo = rawurldecode($rawPathinfo);
$trimmedPathinfo = rtrim($pathinfo, '/');
$context = $this->context;
$request = $this->request;
$requestMethod = $canonicalMethod = $context->getMethod();
$scheme = $context->getScheme();
if ('HEAD' === $requestMethod) {
$canonicalMethod = 'GET';
}
if (0 === strpos($pathinfo, '/_')) {
// _wdt
if (0 === strpos($pathinfo, '/_wdt') && preg_match('#^/_wdt/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_wdt')), array ( '_controller' => 'web_profiler.controller.profiler:toolbarAction',));
}
if (0 === strpos($pathinfo, '/_profiler')) {
// _profiler_home
if ('/_profiler' === $trimmedPathinfo) {
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', '_profiler_home');
}
return array ( '_controller' => 'web_profiler.controller.profiler:homeAction', '_route' => '_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$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_search_results')), array ( '_controller' => 'web_profiler.controller.profiler:searchResultsAction',));
}
// _profiler_open_file
if ('/_profiler/open' === $pathinfo) {
return array ( '_controller' => 'web_profiler.controller.profiler:openAction', '_route' => '_profiler_open_file',);
}
// _profiler
if (preg_match('#^/_profiler/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler')), array ( '_controller' => 'web_profiler.controller.profiler:panelAction',));
}
// _profiler_router
if (preg_match('#^/_profiler/(?P<token>[^/]++)/router$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_router')), array ( '_controller' => 'web_profiler.controller.router:panelAction',));
}
// _profiler_exception
if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_exception')), array ( '_controller' => 'web_profiler.controller.exception:showAction',));
}
// _profiler_exception_css
if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception\\.css$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_exception_css')), array ( '_controller' => 'web_profiler.controller.exception:cssAction',));
}
}
// _twig_error_test
if (0 === strpos($pathinfo, '/_error') && preg_match('#^/_error/(?P<code>\\d+)(?:\\.(?P<_format>[^/]++))?$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_twig_error_test')), array ( '_controller' => 'twig.controller.preview_error:previewErrorPageAction', '_format' => 'html',));
}
}
elseif (0 === strpos($pathinfo, '/gestion-back-office/web')) {
if (0 === strpos($pathinfo, '/gestion-back-office/web/messages')) {
// app_rest_messagerest_getmessage
if (preg_match('#^/gestion\\-back\\-office/web/messages/(?P<id>[^/]++)$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_app_rest_messagerest_getmessage;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_messagerest_getmessage')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController::getMessageAction',));
}
not_app_rest_messagerest_getmessage:
// app_rest_messagerest_postmessagefichier
if (preg_match('#^/gestion\\-back\\-office/web/messages/(?P<id>[^/]++)/fichier$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_app_rest_messagerest_postmessagefichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_messagerest_postmessagefichier')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController::postMessageFichierAction',));
}
not_app_rest_messagerest_postmessagefichier:
}
elseif (0 === strpos($pathinfo, '/gestion-back-office/web/secteur')) {
// app_rest_messagerest_getmessagesbysecteur
if (preg_match('#^/gestion\\-back\\-office/web/secteur/(?P<id>[^/]++)/messages$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_app_rest_messagerest_getmessagesbysecteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_messagerest_getmessagesbysecteur')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController::getMessagesBySecteurAction',));
}
not_app_rest_messagerest_getmessagesbysecteur:
// app_rest_questionrest_getquestionsbysecteur
if (preg_match('#^/gestion\\-back\\-office/web/secteur/(?P<id>[^/]++)/questions$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_app_rest_questionrest_getquestionsbysecteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_questionrest_getquestionsbysecteur')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController::getQuestionsBySecteurAction',));
}
not_app_rest_questionrest_getquestionsbysecteur:
}
elseif (0 === strpos($pathinfo, '/gestion-back-office/web/user')) {
// app_rest_messagerest_getmessagesbycustomer
if (preg_match('#^/gestion\\-back\\-office/web/user/(?P<userId>[^/]++)/messages$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_app_rest_messagerest_getmessagesbycustomer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_messagerest_getmessagesbycustomer')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController::getMessagesByCustomerAction',));
}
not_app_rest_messagerest_getmessagesbycustomer:
// app_rest_questionrest_getquestionsbycustomer
if (preg_match('#^/gestion\\-back\\-office/web/user/(?P<userId>[^/]++)/questions$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_app_rest_questionrest_getquestionsbycustomer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_questionrest_getquestionsbycustomer')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController::getQuestionsByCustomerAction',));
}
not_app_rest_questionrest_getquestionsbycustomer:
}
// app_rest_questionrest_getquestion
if (0 === strpos($pathinfo, '/gestion-back-office/web/app/questions') && preg_match('#^/gestion\\-back\\-office/web/app/questions/(?P<id>[^/]++)$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_app_rest_questionrest_getquestion;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_questionrest_getquestion')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController::getQuestionAction',));
}
not_app_rest_questionrest_getquestion:
}
elseif (0 === strpos($pathinfo, '/calendar')) {
// event_index
if ('/calendar' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_event_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'event_index');
}
return array ( '_controller' => 'CalendarBundle\\Controller\\EventController::showAdminCalendarAction', '_route' => 'event_index',);
}
not_event_index:
// event_show
if (preg_match('#^/calendar/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_event_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'event_show')), array ( '_controller' => 'CalendarBundle\\Controller\\EventController::showAction',));
}
not_event_show:
// event_new
if ('/calendar/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_event_new;
}
return array ( '_controller' => 'CalendarBundle\\Controller\\EventController::newAction', '_route' => 'event_new',);
}
not_event_new:
// event_edit
if (preg_match('#^/calendar/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_event_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'event_edit')), array ( '_controller' => 'CalendarBundle\\Controller\\EventController::editAction',));
}
not_event_edit:
// event_delete
if (preg_match('#^/calendar/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_event_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'event_delete')), array ( '_controller' => 'CalendarBundle\\Controller\\EventController::deleteAction',));
}
not_event_delete:
// admin_calednar
if ('/calendar/admin' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_admin_calednar;
}
return array ( '_controller' => 'CalendarBundle\\Controller\\EventController::showAdminCalendarAction', '_route' => 'admin_calednar',);
}
not_admin_calednar:
// customer_calednar
if ('/calendar/front' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_customer_calednar;
}
return array ( '_controller' => 'CalendarBundle\\Controller\\EventController::showCustomerCalendarAction', '_route' => 'customer_calednar',);
}
not_customer_calednar:
}
elseif (0 === strpos($pathinfo, '/co')) {
if (0 === strpos($pathinfo, '/controle')) {
if (0 === strpos($pathinfo, '/controle/front')) {
// controle_front_new
if ('/controle/front' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_front_new;
}
return array ( '_controller' => 'ControleBundle\\Controller\\CommandeController::forntFormAction', '_route' => 'controle_front_new',);
}
not_controle_front_new:
// controle_front_commande_show
if (0 === strpos($pathinfo, '/controle/front/commande') && preg_match('#^/controle/front/commande/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_front_commande_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_front_commande_show')), array ( '_controller' => 'ControleBundle\\Controller\\CommandeController::frontShowAction',));
}
not_controle_front_commande_show:
// controle_front_devis_show
if (0 === strpos($pathinfo, '/controle/front/devis') && preg_match('#^/controle/front/devis/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_front_devis_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_front_devis_show')), array ( '_controller' => 'ControleBundle\\Controller\\DevisController::frontShowAction',));
}
not_controle_front_devis_show:
// controle_front_facture_show
if (0 === strpos($pathinfo, '/controle/front/facture') && preg_match('#^/controle/front/facture/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_front_facture_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_front_facture_show')), array ( '_controller' => 'ControleBundle\\Controller\\FactureController::frontShowAction',));
}
not_controle_front_facture_show:
}
elseif (0 === strpos($pathinfo, '/controle/facture')) {
// controle_facture_index
if ('/controle/facture' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_facture_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'controle_facture_index');
}
return array ( '_controller' => 'ControleBundle\\Controller\\FactureController::indexAction', '_route' => 'controle_facture_index',);
}
not_controle_facture_index:
// controle_facture_index_differe
if ('/controle/facture/differe' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_facture_index_differe;
}
return array ( '_controller' => 'ControleBundle\\Controller\\FactureController::indexDiffereAction', '_route' => 'controle_facture_index_differe',);
}
not_controle_facture_index_differe:
// controle_facture_index_web
if ('/controle/facture/web' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_facture_index_web;
}
return array ( '_controller' => 'ControleBundle\\Controller\\FactureController::indexWebAction', '_route' => 'controle_facture_index_web',);
}
not_controle_facture_index_web:
// controle_facture_index_liciel
if ('/controle/facture/liciel' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_facture_index_liciel;
}
return array ( '_controller' => 'ControleBundle\\Controller\\FactureController::indexlicielAction', '_route' => 'controle_facture_index_liciel',);
}
not_controle_facture_index_liciel:
// controle_facture_show
if (preg_match('#^/controle/facture/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_facture_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_facture_show')), array ( '_controller' => 'ControleBundle\\Controller\\FactureController::showAction',));
}
not_controle_facture_show:
// controle_facture_new
if ('/controle/facture/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_controle_facture_new;
}
return array ( '_controller' => 'ControleBundle\\Controller\\FactureController::newAction', '_route' => 'controle_facture_new',);
}
not_controle_facture_new:
// controle_facture_edit
if (preg_match('#^/controle/facture/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_controle_facture_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_facture_edit')), array ( '_controller' => 'ControleBundle\\Controller\\FactureController::editAction',));
}
not_controle_facture_edit:
// controle_facture_delete
if (preg_match('#^/controle/facture/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_controle_facture_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_facture_delete')), array ( '_controller' => 'ControleBundle\\Controller\\FactureController::deleteAction',));
}
not_controle_facture_delete:
}
elseif (0 === strpos($pathinfo, '/controle/commande')) {
// controle_commande_index
if ('/controle/commande' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_commande_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'controle_commande_index');
}
return array ( '_controller' => 'ControleBundle\\Controller\\CommandeController::indexAction', '_route' => 'controle_commande_index',);
}
not_controle_commande_index:
// controle_commande_list_by_filiale
if (preg_match('#^/controle/commande/(?P<filialeId>[^/]++)/filiale$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_commande_list_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_commande_list_by_filiale')), array ( '_controller' => 'ControleBundle\\Controller\\CommandeController::listCommandeByFilialeAction',));
}
not_controle_commande_list_by_filiale:
// controle_commande_show
if (preg_match('#^/controle/commande/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_commande_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_commande_show')), array ( '_controller' => 'ControleBundle\\Controller\\CommandeController::showAction',));
}
not_controle_commande_show:
// controle_commande_new
if ('/controle/commande/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_controle_commande_new;
}
return array ( '_controller' => 'ControleBundle\\Controller\\CommandeController::newAction', '_route' => 'controle_commande_new',);
}
not_controle_commande_new:
// controle_commande_edit
if (preg_match('#^/controle/commande/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_controle_commande_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_commande_edit')), array ( '_controller' => 'ControleBundle\\Controller\\CommandeController::editAction',));
}
not_controle_commande_edit:
// controle_commande_delete
if (preg_match('#^/controle/commande/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_controle_commande_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_commande_delete')), array ( '_controller' => 'ControleBundle\\Controller\\CommandeController::deleteAction',));
}
not_controle_commande_delete:
// generateuserscom_commande_users
if ('/controle/commande/generateuserscom' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_generateuserscom_commande_users;
}
return array ( '_controller' => 'ControleBundle\\Controller\\CommandeController::generateuserscomAction', '_route' => 'generateuserscom_commande_users',);
}
not_generateuserscom_commande_users:
}
elseif (0 === strpos($pathinfo, '/controle/devis')) {
// controle_devis_index
if ('/controle/devis' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_devis_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'controle_devis_index');
}
return array ( '_controller' => 'ControleBundle\\Controller\\DevisController::indexAction', '_route' => 'controle_devis_index',);
}
not_controle_devis_index:
// controle_devis_show
if (preg_match('#^/controle/devis/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_devis_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_devis_show')), array ( '_controller' => 'ControleBundle\\Controller\\DevisController::showAction',));
}
not_controle_devis_show:
// controle_devis_new
if ('/controle/devis/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_controle_devis_new;
}
return array ( '_controller' => 'ControleBundle\\Controller\\DevisController::newAction', '_route' => 'controle_devis_new',);
}
not_controle_devis_new:
// controle_devis_edit
if (preg_match('#^/controle/devis/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_controle_devis_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_devis_edit')), array ( '_controller' => 'ControleBundle\\Controller\\DevisController::editAction',));
}
not_controle_devis_edit:
// controle_devis_delete
if (preg_match('#^/controle/devis/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_controle_devis_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_devis_delete')), array ( '_controller' => 'ControleBundle\\Controller\\DevisController::deleteAction',));
}
not_controle_devis_delete:
}
}
elseif (0 === strpos($pathinfo, '/combinaison')) {
// config_combinaison_index
if ('/combinaison' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_combinaison_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'config_combinaison_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\CombinaisonController::indexAction', '_route' => 'config_combinaison_index',);
}
not_config_combinaison_index:
// config_combinaison_show
if (preg_match('#^/combinaison/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_combinaison_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_combinaison_show')), array ( '_controller' => 'ConfigBundle\\Controller\\CombinaisonController::showAction',));
}
not_config_combinaison_show:
// config_combinaison_new
if ('/combinaison/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_combinaison_new;
}
return array ( '_controller' => 'ConfigBundle\\Controller\\CombinaisonController::newAction', '_route' => 'config_combinaison_new',);
}
not_config_combinaison_new:
// config_combinaison_edit
if (preg_match('#^/combinaison/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_combinaison_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_combinaison_edit')), array ( '_controller' => 'ConfigBundle\\Controller\\CombinaisonController::editAction',));
}
not_config_combinaison_edit:
// config_combinaison_delete
if (preg_match('#^/combinaison/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_config_combinaison_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_combinaison_delete')), array ( '_controller' => 'ConfigBundle\\Controller\\CombinaisonController::deleteAction',));
}
not_config_combinaison_delete:
}
elseif (0 === strpos($pathinfo, '/codepromotion')) {
// config_codepromotion_index
if ('/codepromotion' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_codepromotion_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'config_codepromotion_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\CodePromotionController::indexAction', '_route' => 'config_codepromotion_index',);
}
not_config_codepromotion_index:
// config_codepromotion_show
if (preg_match('#^/codepromotion/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_codepromotion_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_codepromotion_show')), array ( '_controller' => 'ConfigBundle\\Controller\\CodePromotionController::showAction',));
}
not_config_codepromotion_show:
// config_codepromotion_new
if ('/codepromotion/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_codepromotion_new;
}
return array ( '_controller' => 'ConfigBundle\\Controller\\CodePromotionController::newAction', '_route' => 'config_codepromotion_new',);
}
not_config_codepromotion_new:
// config_codepromotion_edit
if (preg_match('#^/codepromotion/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_codepromotion_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_codepromotion_edit')), array ( '_controller' => 'ConfigBundle\\Controller\\CodePromotionController::editAction',));
}
not_config_codepromotion_edit:
// config_codepromotion_delete
if (preg_match('#^/codepromotion/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_config_codepromotion_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_codepromotion_delete')), array ( '_controller' => 'ConfigBundle\\Controller\\CodePromotionController::deleteAction',));
}
not_config_codepromotion_delete:
}
elseif (0 === strpos($pathinfo, '/codepostal')) {
// config_codepostal_index
if ('/codepostal' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_codepostal_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'config_codepostal_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\CodePostalController::indexAction', '_route' => 'config_codepostal_index',);
}
not_config_codepostal_index:
// config_codepostal_show
if (preg_match('#^/codepostal/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_codepostal_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_codepostal_show')), array ( '_controller' => 'ConfigBundle\\Controller\\CodePostalController::showAction',));
}
not_config_codepostal_show:
// config_codepostal_new
if ('/codepostal/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_codepostal_new;
}
return array ( '_controller' => 'ConfigBundle\\Controller\\CodePostalController::newAction', '_route' => 'config_codepostal_new',);
}
not_config_codepostal_new:
// config_codepostal_edit
if (preg_match('#^/codepostal/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_codepostal_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_codepostal_edit')), array ( '_controller' => 'ConfigBundle\\Controller\\CodePostalController::editAction',));
}
not_config_codepostal_edit:
// config_codepostal_delete
if (preg_match('#^/codepostal/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_config_codepostal_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_codepostal_delete')), array ( '_controller' => 'ConfigBundle\\Controller\\CodePostalController::deleteAction',));
}
not_config_codepostal_delete:
}
}
elseif (0 === strpos($pathinfo, '/api')) {
if (0 === strpos($pathinfo, '/api/ca')) {
if (0 === strpos($pathinfo, '/api/calendar/event')) {
// calendar_rest_events_items
if (0 === strpos($pathinfo, '/api/calendar/events') && preg_match('#^/api/calendar/events(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_calendar_rest_events_items;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'calendar_rest_events_items')), array ( '_controller' => 'CalendarBundle\\Controller\\Rest\\EventRestController::getEventsAction', '_format' => 'json',));
}
not_calendar_rest_events_items:
// calendar_rest_event_item
if (preg_match('#^/api/calendar/event/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_calendar_rest_event_item;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'calendar_rest_event_item')), array ( '_controller' => 'CalendarBundle\\Controller\\Rest\\EventRestController::getEventAction', '_format' => 'json',));
}
not_calendar_rest_event_item:
// calendar_rest_event_put_item
if (preg_match('#^/api/calendar/event/(?P<eventKey>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_calendar_rest_event_put_item;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'calendar_rest_event_put_item')), array ( '_controller' => 'CalendarBundle\\Controller\\Rest\\EventRestController::putEventAction', '_format' => 'json',));
}
not_calendar_rest_event_put_item:
// calendar_rest_event_patch_item
if (preg_match('#^/api/calendar/event/(?P<eventKey>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_calendar_rest_event_patch_item;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'calendar_rest_event_patch_item')), array ( '_controller' => 'CalendarBundle\\Controller\\Rest\\EventRestController::patchEventAction', '_format' => 'json',));
}
not_calendar_rest_event_patch_item:
// calendar_rest_event_delete_item
if (preg_match('#^/api/calendar/event/(?P<eventKey>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_calendar_rest_event_delete_item;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'calendar_rest_event_delete_item')), array ( '_controller' => 'CalendarBundle\\Controller\\Rest\\EventRestController::removeEventAction', '_format' => 'json',));
}
not_calendar_rest_event_delete_item:
}
// calendar_rest_event_post_item
if (0 === strpos($pathinfo, '/api/calendar/addEvent') && preg_match('#^/api/calendar/addEvent(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_calendar_rest_event_post_item;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'calendar_rest_event_post_item')), array ( '_controller' => 'CalendarBundle\\Controller\\Rest\\EventRestController::postEventAction', '_format' => 'json',));
}
not_calendar_rest_event_post_item:
if (0 === strpos($pathinfo, '/api/categorieerps')) {
// update_categorie_e_r_p
if (preg_match('#^/api/categorieerps/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_categorie_e_r_p;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_categorie_e_r_p')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CategorieERPRestController::updateCategorieERPAction', '_format' => 'json',));
}
not_update_categorie_e_r_p:
// remove_categorie_e_r_p
if (preg_match('#^/api/categorieerps/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_categorie_e_r_p;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_categorie_e_r_p')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CategorieERPRestController::removeCategorieERPAction', '_format' => 'json',));
}
not_remove_categorie_e_r_p:
// get_categorie_e_r_ps
if (preg_match('#^/api/categorieerps(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_categorie_e_r_ps;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_categorie_e_r_ps')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CategorieERPRestController::getCategorieERPsAction', '_format' => 'json',));
}
not_get_categorie_e_r_ps:
// get_categorie_e_r_p
if (preg_match('#^/api/categorieerps/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_categorie_e_r_p;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_categorie_e_r_p')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CategorieERPRestController::getCategorieERPAction', '_format' => 'json',));
}
not_get_categorie_e_r_p:
// post_categorie_e_r_ps
if (preg_match('#^/api/categorieerps(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_categorie_e_r_ps;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_categorie_e_r_ps')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CategorieERPRestController::postCategorieERPsAction', '_format' => 'json',));
}
not_post_categorie_e_r_ps:
// patch_categorie_e_r_p
if (preg_match('#^/api/categorieerps/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_categorie_e_r_p;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_categorie_e_r_p')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CategorieERPRestController::patchCategorieERPAction', '_format' => 'json',));
}
not_patch_categorie_e_r_p:
}
}
elseif (0 === strpos($pathinfo, '/api/co')) {
if (0 === strpos($pathinfo, '/api/controle')) {
if (0 === strpos($pathinfo, '/api/controle/commandes')) {
if (0 === strpos($pathinfo, '/api/controle/commandes-')) {
if (0 === strpos($pathinfo, '/api/controle/commandes-c')) {
// controle_rest_commandes_confirmees_list
if (0 === strpos($pathinfo, '/api/controle/commandes-confirmees-list') && preg_match('#^/api/controle/commandes\\-confirmees\\-list(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_commandes_confirmees_list;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_commandes_confirmees_list')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandesListAction', '_format' => 'json',));
}
not_controle_rest_commandes_confirmees_list:
// controle_rest_orders_count
if (0 === strpos($pathinfo, '/api/controle/commandes-count') && preg_match('#^/api/controle/commandes\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_orders_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_orders_count')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandesCSCountAction', '_format' => 'json',));
}
not_controle_rest_orders_count:
// controle_rest_ca_diag
if (0 === strpos($pathinfo, '/api/controle/commandes-ca-diag') && preg_match('#^/api/controle/commandes\\-ca\\-diag(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_ca_diag;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_ca_diag')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCaControleAction', '_format' => 'json',));
}
not_controle_rest_ca_diag:
}
// controle_rest_orders_treat_count
if (0 === strpos($pathinfo, '/api/controle/commandes-treat-count') && preg_match('#^/api/controle/commandes\\-treat\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_orders_treat_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_orders_treat_count')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandesCSTreatedCountAction', '_format' => 'json',));
}
not_controle_rest_orders_treat_count:
// controle_rest_orders_progr_count
if (0 === strpos($pathinfo, '/api/controle/commandes-prog-count') && preg_match('#^/api/controle/commandes\\-prog\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_orders_progr_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_orders_progr_count')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandesCSProgressCountAction', '_format' => 'json',));
}
not_controle_rest_orders_progr_count:
}
// controle_rest_send_commande_by_email
if (0 === strpos($pathinfo, '/api/controle/commandes/envoiemail') && preg_match('#^/api/controle/commandes/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_controle_rest_send_commande_by_email;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_send_commande_by_email')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::sendCommandeByEmailAction', '_format' => 'json',));
}
not_controle_rest_send_commande_by_email:
// controle_rest_send_test_email
if (0 === strpos($pathinfo, '/api/controle/commandes/testemail') && preg_match('#^/api/controle/commandes/testemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_controle_rest_send_test_email;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_send_test_email')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::sendTestEmailAction', '_format' => 'json',));
}
not_controle_rest_send_test_email:
// get_commande
if (preg_match('#^/api/controle/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commande')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandeAction', '_format' => 'json',));
}
not_get_commande:
// controle_rest_post_commande
if (preg_match('#^/api/controle/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_controle_rest_post_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_post_commande')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::postCommandesAction', '_format' => 'json',));
}
not_controle_rest_post_commande:
// controle_rest_put_commande
if (preg_match('#^/api/controle/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_controle_rest_put_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_put_commande')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::putCommandeAction', '_format' => 'json',));
}
not_controle_rest_put_commande:
// controle_rest_patch_commande
if (preg_match('#^/api/controle/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_controle_rest_patch_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_patch_commande')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::patchCommandeAction', '_format' => 'json',));
}
not_controle_rest_patch_commande:
// controle_rest_delete_commande
if (preg_match('#^/api/controle/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_controle_rest_delete_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_delete_commande')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::removeCommandeAction', '_format' => 'json',));
}
not_controle_rest_delete_commande:
// controle_rest_post_commande_fichier
if (preg_match('#^/api/controle/commandes/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_controle_rest_post_commande_fichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_post_commande_fichier')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::postCommandeFichierAction', '_format' => 'json',));
}
not_controle_rest_post_commande_fichier:
// controle_rest_post_commande_front
if (0 === strpos($pathinfo, '/api/controle/commandes/front') && preg_match('#^/api/controle/commandes/front(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_controle_rest_post_commande_front;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_post_commande_front')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::forntCommandeAction', '_format' => 'json',));
}
not_controle_rest_post_commande_front:
// controle_rest_patch_commande_front
if (0 === strpos($pathinfo, '/api/controle/commandesfront') && preg_match('#^/api/controle/commandesfront/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_controle_rest_patch_commande_front;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_patch_commande_front')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::patchFrontCommandeAction', '_format' => 'json',));
}
not_controle_rest_patch_commande_front:
// controle_rest_get_verif_rdv
if (preg_match('#^/api/controle/commandes/(?P<id>[^/]++)/verifRDV(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_controle_rest_get_verif_rdv;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_get_verif_rdv')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getVerifRDVAction', '_format' => 'json',));
}
not_controle_rest_get_verif_rdv:
}
// controle_rest_post_devis_front
if (0 === strpos($pathinfo, '/api/controle/commande') && preg_match('#^/api/controle/commande/(?P<commandeId>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_post_devis_front;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_post_devis_front')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::frontDevisFromCommandeAction', '_format' => 'json',));
}
not_controle_rest_post_devis_front:
if (0 === strpos($pathinfo, '/api/controle/filiale')) {
// controle_rest_orders_by_filiale_count
if (preg_match('#^/api/controle/filiale/(?P<filialeId>[^/]++)/commandes\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_orders_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_orders_by_filiale_count')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandesCSByFilialeCountAction', '_format' => 'json',));
}
not_controle_rest_orders_by_filiale_count:
// controle_rest_orders_treat_by_filiale_count
if (preg_match('#^/api/controle/filiale/(?P<filialeId>[^/]++)/commandes\\-treat\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_orders_treat_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_orders_treat_by_filiale_count')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandesCSTreatedByFilialeCountAction', '_format' => 'json',));
}
not_controle_rest_orders_treat_by_filiale_count:
// controle_rest_orders_progr_by_filiale_count
if (preg_match('#^/api/controle/filiale/(?P<filialeId>[^/]++)/commandes\\-prog\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_orders_progr_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_orders_progr_by_filiale_count')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandesCSProgressByFilialeCountAction', '_format' => 'json',));
}
not_controle_rest_orders_progr_by_filiale_count:
// controle_rest_ca_diag_by_filiale
if (preg_match('#^/api/controle/filiale/(?P<filialeId>[^/]++)/commandes\\-ca\\-diag(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_ca_diag_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_ca_diag_by_filiale')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCaControleByFilialeAction', '_format' => 'json',));
}
not_controle_rest_ca_diag_by_filiale:
// get_commandes_controle_by_filiale
if (preg_match('#^/api/controle/filiale/(?P<filialeId>[^/]++)/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_commandes_controle_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandes_controle_by_filiale')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandesCSByFilialeAction', '_format' => 'json',));
}
not_get_commandes_controle_by_filiale:
// get_ajax_commandes_controle_by_filiale
if (preg_match('#^/api/controle/filiale/(?P<filialeId>[^/]++)/ajax\\-commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_get_ajax_commandes_controle_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_ajax_commandes_controle_by_filiale')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getAjaxCommandesCSByFilialeAction', '_format' => 'json',));
}
not_get_ajax_commandes_controle_by_filiale:
// get_devis_c_s_by_filiale
if (preg_match('#^/api/controle/filiale/(?P<filialeId>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_devis_c_s_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devis_c_s_by_filiale')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::getDevisCSByFilialeAction', '_format' => 'json',));
}
not_get_devis_c_s_by_filiale:
// controle_rest_invoices_by_filiale_count
if (preg_match('#^/api/controle/filiale/(?P<filialeId>[^/]++)/invoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_invoices_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_invoices_by_filiale_count')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::getInvoicesByFilialeCountAction', '_format' => 'json',));
}
not_controle_rest_invoices_by_filiale_count:
// get_factures_c_s_by_filiale
if (preg_match('#^/api/controle/filiale/(?P<filialeId>[^/]++)/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_factures_c_s_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_factures_c_s_by_filiale')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::getFacturesCSByFilialeAction', '_format' => 'json',));
}
not_get_factures_c_s_by_filiale:
}
elseif (0 === strpos($pathinfo, '/api/controle/factures')) {
// controle_ajax_factures_cs
if (0 === strpos($pathinfo, '/api/controle/factures-ajax') && preg_match('#^/api/controle/factures\\-ajax/(?P<type>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_controle_ajax_factures_cs;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_ajax_factures_cs')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::getFacturesCSAction', '_format' => 'json',));
}
not_controle_ajax_factures_cs:
// controle_rest_facture_by_id
if (preg_match('#^/api/controle/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_facture_by_id;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_facture_by_id')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::getFactureAction', '_format' => 'json',));
}
not_controle_rest_facture_by_id:
// controle_rest_send_facture_by_mail
if (0 === strpos($pathinfo, '/api/controle/factures/envoiemail') && preg_match('#^/api/controle/factures/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_controle_rest_send_facture_by_mail;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_send_facture_by_mail')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::sendFactureByEmailAction', '_format' => 'json',));
}
not_controle_rest_send_facture_by_mail:
// controle_rest_post_facture
if (preg_match('#^/api/controle/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_controle_rest_post_facture;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_post_facture')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::postFacturesAction', '_format' => 'json',));
}
not_controle_rest_post_facture:
// controle_rest_post_facture_by_commande
if (0 === strpos($pathinfo, '/api/controle/facturesbycommande') && preg_match('#^/api/controle/facturesbycommande(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_controle_rest_post_facture_by_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_post_facture_by_commande')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::postFacturesByCommandeAction', '_format' => 'json',));
}
not_controle_rest_post_facture_by_commande:
// controle_rest_put_facture
if (preg_match('#^/api/controle/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_controle_rest_put_facture;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_put_facture')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::updateFactureAction', '_format' => 'json',));
}
not_controle_rest_put_facture:
// controle_rest_patch_facture
if (preg_match('#^/api/controle/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_controle_rest_patch_facture;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_patch_facture')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::patchFactureAction', '_format' => 'json',));
}
not_controle_rest_patch_facture:
// controle_rest_delete_facture
if (preg_match('#^/api/controle/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_controle_rest_delete_facture;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_delete_facture')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::removeFactureAction', '_format' => 'json',));
}
not_controle_rest_delete_facture:
// controle_rest_post_facture_fichier
if (preg_match('#^/api/controle/factures/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_controle_rest_post_facture_fichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_post_facture_fichier')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::postFactureFichierAction', '_format' => 'json',));
}
not_controle_rest_post_facture_fichier:
}
elseif (0 === strpos($pathinfo, '/api/controle/telecharger-')) {
// controle_rest_telechargerCommande
if (0 === strpos($pathinfo, '/api/controle/telecharger-commande') && preg_match('#^/api/controle/telecharger\\-commande/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_telechargerCommande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_telechargerCommande')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::telechargerCommandeAction', '_format' => 'json',));
}
not_controle_rest_telechargerCommande:
// controle_rest_telechargerDevis_front
if (0 === strpos($pathinfo, '/api/controle/telecharger-devis') && preg_match('#^/api/controle/telecharger\\-devis/(?P<devisId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_telechargerDevis_front;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_telechargerDevis_front')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::telechargerDevisAction', '_format' => 'json',));
}
not_controle_rest_telechargerDevis_front:
// controle_rest_telechargerFacture_front
if (0 === strpos($pathinfo, '/api/controle/telecharger-facture') && preg_match('#^/api/controle/telecharger\\-facture/(?P<factureId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_telechargerFacture_front;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_telechargerFacture_front')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::telechargerFactureAction', '_format' => 'json',));
}
not_controle_rest_telechargerFacture_front:
}
// controle_rest_test
if (0 === strpos($pathinfo, '/api/controle/test') && preg_match('#^/api/controle/test(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_test;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_test')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::testAction', '_format' => 'json',));
}
not_controle_rest_test:
// controle_rest_envoyeravisclient
if (0 === strpos($pathinfo, '/api/controle/envoyeravisclient') && preg_match('#^/api/controle/envoyeravisclient/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_envoyeravisclient;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_envoyeravisclient')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::envoyerAvisClientAction', '_format' => 'json',));
}
not_controle_rest_envoyeravisclient:
if (0 === strpos($pathinfo, '/api/controle/secteur')) {
// get_commandes_c_s_by_secteur
if (preg_match('#^/api/controle/secteur/(?P<id>[^/]++)/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_commandes_c_s_by_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandes_c_s_by_secteur')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandesCSBySecteurAction', '_format' => 'json',));
}
not_get_commandes_c_s_by_secteur:
// get_count_commandes_by_user_and_secteur
if (preg_match('#^/api/controle/secteur/(?P<secteurId>[^/]++)/commandes/count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_count_commandes_by_user_and_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_count_commandes_by_user_and_secteur')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCountCommandesByUserAndSecteurAction', '_format' => 'json',));
}
not_get_count_commandes_by_user_and_secteur:
// get_devis_c_s_by_secteur
if (preg_match('#^/api/controle/secteur/(?P<id>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_devis_c_s_by_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devis_c_s_by_secteur')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::getDevisCSBySecteurAction', '_format' => 'json',));
}
not_get_devis_c_s_by_secteur:
// get_count_devis_by_user_and_secteur
if (preg_match('#^/api/controle/secteur/(?P<secteurId>[^/]++)/devis/count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_count_devis_by_user_and_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_count_devis_by_user_and_secteur')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::getCountDevisByUserAndSecteurAction', '_format' => 'json',));
}
not_get_count_devis_by_user_and_secteur:
// get_factures_c_s_by_secteur
if (preg_match('#^/api/controle/secteur/(?P<id>[^/]++)/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_factures_c_s_by_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_factures_c_s_by_secteur')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::getFacturesCSBySecteurAction', '_format' => 'json',));
}
not_get_factures_c_s_by_secteur:
}
// get_r_d_v_by_secteur
if (0 === strpos($pathinfo, '/api/controle/rdv') && preg_match('#^/api/controle/rdv/(?P<id>[^/]++)/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_r_d_v_by_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_r_d_v_by_secteur')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getRDVBySecteurAction', '_format' => 'json',));
}
not_get_r_d_v_by_secteur:
// controle_rest_relance
if (0 === strpos($pathinfo, '/api/controle/relancefacturesimpayees') && preg_match('#^/api/controle/relancefacturesimpayees(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_relance;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_relance')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::relanceFacturesImpayeesAction', '_format' => 'json',));
}
not_controle_rest_relance:
if (0 === strpos($pathinfo, '/api/controle/user')) {
// get_commandes_by_user_and_secteur
if (preg_match('#^/api/controle/user/(?P<userId>[^/]++)/secteur/(?P<secteurId>[^/]++)/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_commandes_by_user_and_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandes_by_user_and_secteur')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandesByUserAndSecteurAction', '_format' => 'json',));
}
not_get_commandes_by_user_and_secteur:
// get_commandes_c_s_by_customer
if (preg_match('#^/api/controle/user/(?P<userId>[^/]++)/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_commandes_c_s_by_customer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandes_c_s_by_customer')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::getCommandesCSByCustomerAction', '_format' => 'json',));
}
not_get_commandes_c_s_by_customer:
// get_devis_c_s_by_user_and_secteur
if (preg_match('#^/api/controle/user/(?P<userId>[^/]++)/secteur/(?P<secteurId>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_devis_c_s_by_user_and_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devis_c_s_by_user_and_secteur')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::getDevisCSByUserAndSecteurAction', '_format' => 'json',));
}
not_get_devis_c_s_by_user_and_secteur:
// controle_get_devis_by_customer
if (preg_match('#^/api/controle/user/(?P<userId>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_get_devis_by_customer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_get_devis_by_customer')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::getDevisCSByCustomerAction', '_format' => 'json',));
}
not_controle_get_devis_by_customer:
// get_factures_c_s_by_customer
if (preg_match('#^/api/controle/user/(?P<userId>[^/]++)/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_factures_c_s_by_customer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_factures_c_s_by_customer')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::getFacturesCSByCustomerAction', '_format' => 'json',));
}
not_get_factures_c_s_by_customer:
}
// controle_rest_unpaid_invoices_count
if (0 === strpos($pathinfo, '/api/controle/unpaidinvoices-count') && preg_match('#^/api/controle/unpaidinvoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_unpaid_invoices_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_unpaid_invoices_count')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::getUnpaidInvoicesCountAction', '_format' => 'json',));
}
not_controle_rest_unpaid_invoices_count:
if (0 === strpos($pathinfo, '/api/controle/devis')) {
// controle_rest_post_commande_from_devis
if (preg_match('#^/api/controle/devis/(?P<devisId>[^/]++)/commande(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_post_commande_from_devis;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_post_commande_from_devis')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\CommandeRestController::postCommandeFromDevisAction', '_format' => 'json',));
}
not_controle_rest_post_commande_from_devis:
if (0 === strpos($pathinfo, '/api/controle/devis-count')) {
// controle_rest_devis_by_filiale_count
if (preg_match('#^/api/controle/devis\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_devis_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_devis_by_filiale_count')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::getDevisCSByFilialeCountAction', '_format' => 'json',));
}
not_controle_rest_devis_by_filiale_count:
// controle_rest_devis_count
if (preg_match('#^/api/controle/devis\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_devis_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_devis_count')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::getDevisCSCountAction', '_format' => 'json',));
}
not_controle_rest_devis_count:
}
// controle_rest_send_devis_by_email
if (0 === strpos($pathinfo, '/api/controle/devis/envoiemail') && preg_match('#^/api/controle/devis/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_controle_rest_send_devis_by_email;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_send_devis_by_email')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::sendDevisByEmailAction', '_format' => 'json',));
}
not_controle_rest_send_devis_by_email:
// get_devis_c_s
if (preg_match('#^/api/controle/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_devis_c_s;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devis_c_s')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::getDevisCSAction', '_format' => 'json',));
}
not_get_devis_c_s:
// get_ajax_devis_controle_by_filiale
if (0 === strpos($pathinfo, '/api/controle/devis-ajax') && preg_match('#^/api/controle/devis\\-ajax(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_get_ajax_devis_controle_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_ajax_devis_controle_by_filiale')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::getAjaxDevisByFilialeAction', '_format' => 'json',));
}
not_get_ajax_devis_controle_by_filiale:
// get_un_devis
if (preg_match('#^/api/controle/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_un_devis;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_un_devis')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::getUnDevisAction', '_format' => 'json',));
}
not_get_un_devis:
// controle_rest_post_devis
if (preg_match('#^/api/controle/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_controle_rest_post_devis;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_post_devis')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::postDevisAction', '_format' => 'json',));
}
not_controle_rest_post_devis:
// controle_rest_put_devis
if (preg_match('#^/api/controle/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_controle_rest_put_devis;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_put_devis')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::updateDevisAction', '_format' => 'json',));
}
not_controle_rest_put_devis:
// controle_rest_patch_devis
if (preg_match('#^/api/controle/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_controle_rest_patch_devis;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_patch_devis')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::patchDevisAction', '_format' => 'json',));
}
not_controle_rest_patch_devis:
// controle_rest_delete_devis
if (preg_match('#^/api/controle/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_controle_rest_delete_devis;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_delete_devis')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::removeDevisAction', '_format' => 'json',));
}
not_controle_rest_delete_devis:
// controle_rest_post_devis_fichier
if (preg_match('#^/api/controle/devis/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_controle_rest_post_devis_fichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_post_devis_fichier')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\DevisRestController::postDevisFichierAction', '_format' => 'json',));
}
not_controle_rest_post_devis_fichier:
}
// controle_rest_invoices_count
if (0 === strpos($pathinfo, '/api/controle/invoices-count') && preg_match('#^/api/controle/invoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_invoices_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_invoices_count')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::getInvoicesCountAction', '_format' => 'json',));
}
not_controle_rest_invoices_count:
// controle_rest_paid_invoices_count
if (0 === strpos($pathinfo, '/api/controle/paidinvoices-count') && preg_match('#^/api/controle/paidinvoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_controle_rest_paid_invoices_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'controle_rest_paid_invoices_count')), array ( '_controller' => 'ControleBundle\\Controller\\Rest\\FactureRestController::getPaidInvoicesCountAction', '_format' => 'json',));
}
not_controle_rest_paid_invoices_count:
}
elseif (0 === strpos($pathinfo, '/api/combinaisons')) {
// update_combinaison
if (preg_match('#^/api/combinaisons/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_combinaison;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_combinaison')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CombinaisonRestController::updateCombinaisonAction', '_format' => 'json',));
}
not_update_combinaison:
// remove_combinaison
if (preg_match('#^/api/combinaisons/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_combinaison;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_combinaison')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CombinaisonRestController::removeCombinaisonAction', '_format' => 'json',));
}
not_remove_combinaison:
// get_combinaisons
if (preg_match('#^/api/combinaisons(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_combinaisons;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_combinaisons')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CombinaisonRestController::getCombinaisonsAction', '_format' => 'json',));
}
not_get_combinaisons:
// get_combinaison
if (preg_match('#^/api/combinaisons/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_combinaison;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_combinaison')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CombinaisonRestController::getCombinaisonAction', '_format' => 'json',));
}
not_get_combinaison:
// post_combinaisons
if (preg_match('#^/api/combinaisons(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_combinaisons;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_combinaisons')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CombinaisonRestController::postCombinaisonsAction', '_format' => 'json',));
}
not_post_combinaisons:
// patch_combinaison
if (preg_match('#^/api/combinaisons/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_combinaison;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_combinaison')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CombinaisonRestController::patchCombinaisonAction', '_format' => 'json',));
}
not_patch_combinaison:
}
elseif (0 === strpos($pathinfo, '/api/code')) {
if (0 === strpos($pathinfo, '/api/codepromotions')) {
// update_code_promotion
if (preg_match('#^/api/codepromotions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_code_promotion;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_code_promotion')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePromotionRestController::updateCodePromotionAction', '_format' => 'json',));
}
not_update_code_promotion:
// remove_code_promotion
if (preg_match('#^/api/codepromotions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_code_promotion;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_code_promotion')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePromotionRestController::removeCodePromotionAction', '_format' => 'json',));
}
not_remove_code_promotion:
// get_code_promotions
if (preg_match('#^/api/codepromotions(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_code_promotions;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_code_promotions')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePromotionRestController::getCodePromotionsAction', '_format' => 'json',));
}
not_get_code_promotions:
// get_code_promotion
if (preg_match('#^/api/codepromotions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_code_promotion;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_code_promotion')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePromotionRestController::getCodePromotionAction', '_format' => 'json',));
}
not_get_code_promotion:
// post_code_promotions
if (preg_match('#^/api/codepromotions(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_code_promotions;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_code_promotions')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePromotionRestController::postCodePromotionsAction', '_format' => 'json',));
}
not_post_code_promotions:
// patch_code_promotion
if (preg_match('#^/api/codepromotions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_code_promotion;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_code_promotion')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePromotionRestController::patchCodePromotionAction', '_format' => 'json',));
}
not_patch_code_promotion:
}
elseif (0 === strpos($pathinfo, '/api/codepostals')) {
// config_rest_zipvilles
if (0 === strpos($pathinfo, '/api/codepostalsVilles') && preg_match('#^/api/codepostalsVilles(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_rest_zipvilles;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_rest_zipvilles')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePostalRestController::getCodePostalsVillesAction', '_format' => 'json',));
}
not_config_rest_zipvilles:
// update_code_postal
if (preg_match('#^/api/codepostals/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_code_postal;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_code_postal')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePostalRestController::updateCodePostalAction', '_format' => 'json',));
}
not_update_code_postal:
// remove_code_postal
if (preg_match('#^/api/codepostals/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_code_postal;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_code_postal')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePostalRestController::removeCodePostalAction', '_format' => 'json',));
}
not_remove_code_postal:
// get_code_postals
if (preg_match('#^/api/codepostals(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_code_postals;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_code_postals')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePostalRestController::getCodePostalsAction', '_format' => 'json',));
}
not_get_code_postals:
// post_code_postals
if (preg_match('#^/api/codepostals(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_code_postals;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_code_postals')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePostalRestController::postCodePostalsAction', '_format' => 'json',));
}
not_post_code_postals:
// patch_code_postal
if (preg_match('#^/api/codepostals/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_code_postal;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_code_postal')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePostalRestController::patchCodePostalAction', '_format' => 'json',));
}
not_patch_code_postal:
// config_rest_zipvilles_erp
if (0 === strpos($pathinfo, '/api/codepostalsVillesERP') && preg_match('#^/api/codepostalsVillesERP(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_rest_zipvilles_erp;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_rest_zipvilles_erp')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePostalERPRestController::getCodePostalsVillesAction', '_format' => 'json',));
}
not_config_rest_zipvilles_erp:
}
// config_rest_codeinsee
if (0 === strpos($pathinfo, '/api/codeinsee/') && preg_match('#^/api/codeinsee/(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_config_rest_codeinsee;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_rest_codeinsee')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\CodePostalRestController::getInseeByZipVillesAction', '_format' => 'json',));
}
not_config_rest_codeinsee:
}
}
elseif (0 === strpos($pathinfo, '/api/backup')) {
// backup_rest_config_parameters
if (0 === strpos($pathinfo, '/api/backup/parameters') && preg_match('#^/api/backup/parameters(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_backup_rest_config_parameters;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_rest_config_parameters')), array ( '_controller' => 'BackupBundle\\Controller\\Rest\\ConfigRestController::exportRemoteAction', '_format' => 'json',));
}
not_backup_rest_config_parameters:
if (0 === strpos($pathinfo, '/api/backup/config')) {
// backup_rest_config_post_items
if (preg_match('#^/api/backup/config(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_backup_rest_config_post_items;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_rest_config_post_items')), array ( '_controller' => 'BackupBundle\\Controller\\Rest\\ConfigRestController::postConfigsAction', '_format' => 'json',));
}
not_backup_rest_config_post_items:
// backup_rest_config_put_item
if (preg_match('#^/api/backup/config/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_backup_rest_config_put_item;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_rest_config_put_item')), array ( '_controller' => 'BackupBundle\\Controller\\Rest\\ConfigRestController::putConfigAction', '_format' => 'json',));
}
not_backup_rest_config_put_item:
// backup_rest_config_patch_item
if (preg_match('#^/api/backup/config/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_backup_rest_config_patch_item;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_rest_config_patch_item')), array ( '_controller' => 'BackupBundle\\Controller\\Rest\\ConfigRestController::patchConfigAction', '_format' => 'json',));
}
not_backup_rest_config_patch_item:
// backup_rest_config_delete_item
if (preg_match('#^/api/backup/config/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_backup_rest_config_delete_item;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_rest_config_delete_item')), array ( '_controller' => 'BackupBundle\\Controller\\Rest\\ConfigRestController::removeConfigAction', '_format' => 'json',));
}
not_backup_rest_config_delete_item:
}
// backup_rest_bk_full
if (0 === strpos($pathinfo, '/api/backup/bk-full') && preg_match('#^/api/backup/bk\\-full(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_backup_rest_bk_full;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_rest_bk_full')), array ( '_controller' => 'BackupBundle\\Controller\\Rest\\ExportRestController::fullBackupAction', '_format' => 'json',));
}
not_backup_rest_bk_full:
}
elseif (0 === strpos($pathinfo, '/api/banques')) {
// update_banque
if (preg_match('#^/api/banques/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_banque;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_banque')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\BanqueRestController::updateBanqueAction', '_format' => 'json',));
}
not_update_banque:
// remove_banque
if (preg_match('#^/api/banques/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_banque;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_banque')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\BanqueRestController::removeBanqueAction', '_format' => 'json',));
}
not_remove_banque:
// get_banques
if (preg_match('#^/api/banques(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_banques;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_banques')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\BanqueRestController::getBanquesAction', '_format' => 'json',));
}
not_get_banques:
// get_banque
if (preg_match('#^/api/banques/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_banque;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_banque')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\BanqueRestController::getBanqueAction', '_format' => 'json',));
}
not_get_banque:
// post_banques
if (preg_match('#^/api/banques(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_banques;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_banques')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\BanqueRestController::postBanquesAction', '_format' => 'json',));
}
not_post_banques:
// patch_banque
if (preg_match('#^/api/banques/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_banque;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_banque')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\BanqueRestController::patchBanqueAction', '_format' => 'json',));
}
not_patch_banque:
}
elseif (0 === strpos($pathinfo, '/api/d')) {
// get_commandes_by_customerget_commandes_by_lead
if (0 === strpos($pathinfo, '/api/dashboard/commercialapp/user') && preg_match('#^/api/dashboard/commercialapp/user/(?P<userId>[^/]++)/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_commandes_by_customerget_commandes_by_lead;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandes_by_customerget_commandes_by_lead')), array ( '_controller' => 'DashboardBundle\\Controller\\Rest\\CommandeRestController::getCommandesByCustomerAction', '_format' => 'json',));
}
not_get_commandes_by_customerget_commandes_by_lead:
if (0 === strpos($pathinfo, '/api/dateconstructions')) {
// update_dateconstruction
if (preg_match('#^/api/dateconstructions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_dateconstruction;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_dateconstruction')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\DateConstructionRestController::updateDateconstructionAction', '_format' => 'json',));
}
not_update_dateconstruction:
// remove_dateconstruction
if (preg_match('#^/api/dateconstructions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_dateconstruction;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_dateconstruction')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\DateConstructionRestController::removeDateconstructionAction', '_format' => 'json',));
}
not_remove_dateconstruction:
// get_dateconstructions
if (preg_match('#^/api/dateconstructions(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_dateconstructions;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_dateconstructions')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\DateConstructionRestController::getDateconstructionsAction', '_format' => 'json',));
}
not_get_dateconstructions:
// get_dateconstruction
if (preg_match('#^/api/dateconstructions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_dateconstruction;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_dateconstruction')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\DateConstructionRestController::getDateconstructionAction', '_format' => 'json',));
}
not_get_dateconstruction:
// post_dateconstructions
if (preg_match('#^/api/dateconstructions(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_dateconstructions;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_dateconstructions')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\DateConstructionRestController::postDateconstructionsAction', '_format' => 'json',));
}
not_post_dateconstructions:
// patch_dateconstruction
if (preg_match('#^/api/dateconstructions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_dateconstruction;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_dateconstruction')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\DateConstructionRestController::patchDateconstructionAction', '_format' => 'json',));
}
not_patch_dateconstruction:
}
elseif (0 === strpos($pathinfo, '/api/diagnostic-immobilier')) {
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/commandes')) {
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/commandes-')) {
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/commandes-c')) {
// diagnostic_rest_diag_commandes_list
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/commandes-confirmees-list') && preg_match('#^/api/diagnostic\\-immobilier/commandes\\-confirmees\\-list(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_diag_commandes_list;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_diag_commandes_list')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getCommandesListAction', '_format' => 'json',));
}
not_diagnostic_rest_diag_commandes_list:
// diagnostic_rest_ca_g
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/commandes-ca-g') && preg_match('#^/api/diagnostic\\-immobilier/commandes\\-ca\\-g(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_ca_g;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_ca_g')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getCaGlobalAction', '_format' => 'json',));
}
not_diagnostic_rest_ca_g:
// diagnostic_rest_ca_diag
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/commandes-ca-diag') && preg_match('#^/api/diagnostic\\-immobilier/commandes\\-ca\\-diag(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_ca_diag;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_ca_diag')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getCaDiagnosticAction', '_format' => 'json',));
}
not_diagnostic_rest_ca_diag:
}
// diagnostic_rest_orders_treat_count
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/commandes-treat-count') && preg_match('#^/api/diagnostic\\-immobilier/commandes\\-treat\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_orders_treat_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_orders_treat_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getCommandesTreatedCountAction', '_format' => 'json',));
}
not_diagnostic_rest_orders_treat_count:
// diagnostic_rest_orders_progr_count
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/commandes-prog-count') && preg_match('#^/api/diagnostic\\-immobilier/commandes\\-prog\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_orders_progr_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_orders_progr_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getCommandesProgressCountAction', '_format' => 'json',));
}
not_diagnostic_rest_orders_progr_count:
}
// diagnostic_rest_send_commande_by_email
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/commandes/envoiemail') && preg_match('#^/api/diagnostic\\-immobilier/commandes/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_send_commande_by_email;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_send_commande_by_email')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::sendCommandeByEmailAction', '_format' => 'json',));
}
not_diagnostic_rest_send_commande_by_email:
// diagnostic_rest_send_test_email
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/commandes/testemail') && preg_match('#^/api/diagnostic\\-immobilier/commandes/testemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_send_test_email;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_send_test_email')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::sendTestEmailAction', '_format' => 'json',));
}
not_diagnostic_rest_send_test_email:
// diagnostic_rest_post_commande
if (preg_match('#^/api/diagnostic\\-immobilier/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_post_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_commande')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::postCommandesAction', '_format' => 'json',));
}
not_diagnostic_rest_post_commande:
// diagnostic_rest_put_commande
if (preg_match('#^/api/diagnostic\\-immobilier/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_diagnostic_rest_put_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_put_commande')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::putCommandeAction', '_format' => 'json',));
}
not_diagnostic_rest_put_commande:
// diagnostic_rest_patch_commande
if (preg_match('#^/api/diagnostic\\-immobilier/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_diagnostic_rest_patch_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_commande')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::patchCommandeAction', '_format' => 'json',));
}
not_diagnostic_rest_patch_commande:
// diagnostic_rest_delete_commande
if (preg_match('#^/api/diagnostic\\-immobilier/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_diagnostic_rest_delete_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_delete_commande')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::removeCommandeAction', '_format' => 'json',));
}
not_diagnostic_rest_delete_commande:
// diagnostic_rest_post_commande_fichier
if (preg_match('#^/api/diagnostic\\-immobilier/commandes/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_post_commande_fichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_commande_fichier')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::postCommandeFichierAction', '_format' => 'json',));
}
not_diagnostic_rest_post_commande_fichier:
// diagnostic_rest_post_commande_front
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/commandes/front') && preg_match('#^/api/diagnostic\\-immobilier/commandes/front(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_post_commande_front;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_commande_front')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::forntCommandeAction', '_format' => 'json',));
}
not_diagnostic_rest_post_commande_front:
// diagnostic_rest_patch_commande_front
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/commandesfront') && preg_match('#^/api/diagnostic\\-immobilier/commandesfront/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_diagnostic_rest_patch_commande_front;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_commande_front')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::patchFrontCommandeAction', '_format' => 'json',));
}
not_diagnostic_rest_patch_commande_front:
// diagnostic_rest_post_ajouter_diagnostic_optionnel
if (preg_match('#^/api/diagnostic\\-immobilier/commandes/(?P<id>[^/]++)/diagnosticOptionnel/(?P<diagnosticId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_post_ajouter_diagnostic_optionnel;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_ajouter_diagnostic_optionnel')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::postdiagnosticOptionnelAction', '_format' => 'json',));
}
not_diagnostic_rest_post_ajouter_diagnostic_optionnel:
// diagnostic_rest_delete_ajouter_diagnostic_optionnel
if (preg_match('#^/api/diagnostic\\-immobilier/commandes/(?P<id>[^/]++)/diagnosticOptionnel/(?P<diagnosticId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_diagnostic_rest_delete_ajouter_diagnostic_optionnel;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_delete_ajouter_diagnostic_optionnel')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::removediagnosticOptionnelAction', '_format' => 'json',));
}
not_diagnostic_rest_delete_ajouter_diagnostic_optionnel:
// diagnostic_rest_get_verif_rdv
if (preg_match('#^/api/diagnostic\\-immobilier/commandes/(?P<id>[^/]++)/verifRDV(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_get_verif_rdv;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_get_verif_rdv')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getVerifRDVAction', '_format' => 'json',));
}
not_diagnostic_rest_get_verif_rdv:
// diagnostic_rest_get_prix_unite
if (preg_match('#^/api/diagnostic\\-immobilier/commandes/(?P<id>[^/]++)/prixunite(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_get_prix_unite;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_get_prix_unite')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getPrixUniteAction', '_format' => 'json',));
}
not_diagnostic_rest_get_prix_unite:
}
// diagnostic_rest_post_devis_front
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/commande') && preg_match('#^/api/diagnostic\\-immobilier/commande/(?P<commandeId>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_post_devis_front;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_devis_front')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::frontDevisFromCommandeAction', '_format' => 'json',));
}
not_diagnostic_rest_post_devis_front:
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/f')) {
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/filiale')) {
// diagnostic_rest_orders_by_filiale_count
if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/commandes\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_orders_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_orders_by_filiale_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getCommandesByFilialeCountAction', '_format' => 'json',));
}
not_diagnostic_rest_orders_by_filiale_count:
// diagnostic_rest_orders_treat_by_filiale_count
if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/commandes\\-treat\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_orders_treat_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_orders_treat_by_filiale_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getCommandesTreatedByFilialeCountAction', '_format' => 'json',));
}
not_diagnostic_rest_orders_treat_by_filiale_count:
// diagnostic_rest_orders_progr_by_filiale_count
if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/commandes\\-prog\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_orders_progr_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_orders_progr_by_filiale_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getCommandesProgressByFilialeCountAction', '_format' => 'json',));
}
not_diagnostic_rest_orders_progr_by_filiale_count:
// diagnostic_rest_ca_g_by_filiale
if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/commandes\\-ca\\-g(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_ca_g_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_ca_g_by_filiale')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getCaGlobalByFilialeAction', '_format' => 'json',));
}
not_diagnostic_rest_ca_g_by_filiale:
// diagnostic_rest_ca_diag_by_filiale
if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/commandes\\-ca\\-diag(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_ca_diag_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_ca_diag_by_filiale')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getCaDiagnosticByFilialeAction', '_format' => 'json',));
}
not_diagnostic_rest_ca_diag_by_filiale:
// get_ajax_commandes_by_filiale
if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/ajax\\-commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_get_ajax_commandes_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_ajax_commandes_by_filiale')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::getAjaxCommandesByFilialeAction', '_format' => 'json',));
}
not_get_ajax_commandes_by_filiale:
// diagnostic_rest_actualisations_by_filiale_count
if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/actualisations\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_actualisations_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_actualisations_by_filiale_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::getActualisationsByFilialeCountAction', '_format' => 'json',));
}
not_diagnostic_rest_actualisations_by_filiale_count:
// get_actualisations_by_filiale
if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/actualisations(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_actualisations_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_actualisations_by_filiale')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::getActualisationsByFilialeAction', '_format' => 'json',));
}
not_get_actualisations_by_filiale:
// get_facture_actualisations_by_filiale
if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/factureActualisations(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_facture_actualisations_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_facture_actualisations_by_filiale')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::getFactureActualisationsByFilialeAction', '_format' => 'json',));
}
not_get_facture_actualisations_by_filiale:
// diagnostic_rest_questions_by_filiale_count
if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/questions\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_questions_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_questions_by_filiale_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\QuestionRestController::getQuestionsByFilialeCountAction', '_format' => 'json',));
}
not_diagnostic_rest_questions_by_filiale_count:
// diagnostic_rest_partnerpayments_by_filiale_items
if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/paiements(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_partnerpayments_by_filiale_items;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_partnerpayments_by_filiale_items')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\PartnerPaymentRestController::getPartnerPaymentsByFilialeAction', '_format' => 'json',));
}
not_diagnostic_rest_partnerpayments_by_filiale_items:
// diagnostic_rest_lienPaiements_by_filiale_count
if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/lienPaiements\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_lienPaiements_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_lienPaiements_by_filiale_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::getLienPaiementsByFilialeCountAction', '_format' => 'json',));
}
not_diagnostic_rest_lienPaiements_by_filiale_count:
// get_lienPaiements_by_filiale
if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/lienPaiements(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_lienPaiements_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_lienPaiements_by_filiale')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::getLienPaiementsByFilialeAction', '_format' => 'json',));
}
not_get_lienPaiements_by_filiale:
// rappel_rest_orders_by_filiale_count
if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/rappels\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_rappel_rest_orders_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rest_orders_by_filiale_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getRappelsByFilialeCountAction', '_format' => 'json',));
}
not_rappel_rest_orders_by_filiale_count:
// rappel_rest_orders_treat_by_filiale_count
if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/rappels\\-treat\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_rappel_rest_orders_treat_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rest_orders_treat_by_filiale_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getRappelsTreatedByFilialeCountAction', '_format' => 'json',));
}
not_rappel_rest_orders_treat_by_filiale_count:
// get_rappels_by_filiale
if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/rappels(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_rappels_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_rappels_by_filiale')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getRappelsByFilialeAction', '_format' => 'json',));
}
not_get_rappels_by_filiale:
// get_rdvdpes_by_filiale
if (preg_match('#^/api/diagnostic\\-immobilier/filiale/(?P<filialeId>[^/]++)/rdvDpes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_rdvdpes_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_rdvdpes_by_filiale')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getRdvDpesByFilialeAction', '_format' => 'json',));
}
not_get_rdvdpes_by_filiale:
}
elseif (0 === strpos($pathinfo, '/api/diagnostic-immobilier/factures')) {
// diagnostic_ajax_factures
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/factures-ajax') && preg_match('#^/api/diagnostic\\-immobilier/factures\\-ajax/(?P<type>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_ajax_factures;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_ajax_factures')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::getFacturesAction', '_format' => 'json',));
}
not_diagnostic_ajax_factures:
// diagnostic_rest_facture_by_id
if (preg_match('#^/api/diagnostic\\-immobilier/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_facture_by_id;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_facture_by_id')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::getFactureAction', '_format' => 'json',));
}
not_diagnostic_rest_facture_by_id:
// diagnostic_rest_send_facture_by_mail
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/factures/envoiemail') && preg_match('#^/api/diagnostic\\-immobilier/factures/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_send_facture_by_mail;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_send_facture_by_mail')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::sendFactureByEmailAction', '_format' => 'json',));
}
not_diagnostic_rest_send_facture_by_mail:
// diagnostic_rest_post_facture
if (preg_match('#^/api/diagnostic\\-immobilier/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_post_facture;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_facture')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::postFacturesAction', '_format' => 'json',));
}
not_diagnostic_rest_post_facture:
// diagnostic_rest_post_facture_by_commande
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/facturesbycommande') && preg_match('#^/api/diagnostic\\-immobilier/facturesbycommande(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_post_facture_by_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_facture_by_commande')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::postFacturesByCommandeAction', '_format' => 'json',));
}
not_diagnostic_rest_post_facture_by_commande:
// diagnostic_rest_put_facture
if (preg_match('#^/api/diagnostic\\-immobilier/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_diagnostic_rest_put_facture;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_put_facture')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::updateFactureAction', '_format' => 'json',));
}
not_diagnostic_rest_put_facture:
// diagnostic_rest_patch_facture
if (preg_match('#^/api/diagnostic\\-immobilier/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_diagnostic_rest_patch_facture;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_facture')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::patchFactureAction', '_format' => 'json',));
}
not_diagnostic_rest_patch_facture:
// diagnostic_rest_delete_facture
if (preg_match('#^/api/diagnostic\\-immobilier/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_diagnostic_rest_delete_facture;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_delete_facture')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::removeFactureAction', '_format' => 'json',));
}
not_diagnostic_rest_delete_facture:
// diagnostic_rest_post_facture_fichier
if (preg_match('#^/api/diagnostic\\-immobilier/factures/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_post_facture_fichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_facture_fichier')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::postFactureFichierAction', '_format' => 'json',));
}
not_diagnostic_rest_post_facture_fichier:
// diagnostic_ajax_factures_actualisations
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/factures-actualisations-ajax') && preg_match('#^/api/diagnostic\\-immobilier/factures\\-actualisations\\-ajax(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_ajax_factures_actualisations;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_ajax_factures_actualisations')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::getFacturesActualisationsAction', '_format' => 'json',));
}
not_diagnostic_ajax_factures_actualisations:
// diagnostic_rest_post_factureactualisation
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/facturesActualisation') && preg_match('#^/api/diagnostic\\-immobilier/facturesActualisation(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_post_factureactualisation;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_factureactualisation')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::postFactureActualisationsAction', '_format' => 'json',));
}
not_diagnostic_rest_post_factureactualisation:
}
elseif (0 === strpos($pathinfo, '/api/diagnostic-immobilier/factureActualisations')) {
// diagnostic_rest_factureactualisation_by_id
if (preg_match('#^/api/diagnostic\\-immobilier/factureActualisations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_factureactualisation_by_id;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_factureactualisation_by_id')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::getFactureActualisationAction', '_format' => 'json',));
}
not_diagnostic_rest_factureactualisation_by_id:
// diagnostic_rest_send_factureactualisation_by_mail
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/factureActualisations/envoiemail') && preg_match('#^/api/diagnostic\\-immobilier/factureActualisations/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_send_factureactualisation_by_mail;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_send_factureactualisation_by_mail')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::sendFactureActualisationByEmailAction', '_format' => 'json',));
}
not_diagnostic_rest_send_factureactualisation_by_mail:
// get_facture_actualisations
if (preg_match('#^/api/diagnostic\\-immobilier/factureActualisations(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_facture_actualisations;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_facture_actualisations')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::getFactureActualisationsAction', '_format' => 'json',));
}
not_get_facture_actualisations:
// diagnostic_rest_post_factureactualisation_by_actualisation
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/factureActualisationsbyactualisation') && preg_match('#^/api/diagnostic\\-immobilier/factureActualisationsbyactualisation(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_post_factureactualisation_by_actualisation;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_factureactualisation_by_actualisation')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::postFactureActualisationsByActualisationAction', '_format' => 'json',));
}
not_diagnostic_rest_post_factureactualisation_by_actualisation:
// diagnostic_rest_put_factureactualisation
if (preg_match('#^/api/diagnostic\\-immobilier/factureActualisations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_diagnostic_rest_put_factureactualisation;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_put_factureactualisation')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::updateFactureActualisationAction', '_format' => 'json',));
}
not_diagnostic_rest_put_factureactualisation:
// diagnostic_rest_patch_factureactualisation
if (preg_match('#^/api/diagnostic\\-immobilier/factureActualisations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_diagnostic_rest_patch_factureactualisation;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_factureactualisation')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::patchFactureActualisationAction', '_format' => 'json',));
}
not_diagnostic_rest_patch_factureactualisation:
// diagnostic_rest_delete_factureactualisation
if (preg_match('#^/api/diagnostic\\-immobilier/factureActualisations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_diagnostic_rest_delete_factureactualisation;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_delete_factureactualisation')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::removeFactureActualisationAction', '_format' => 'json',));
}
not_diagnostic_rest_delete_factureactualisation:
// diagnostic_rest_post_factureactualisation_fichier
if (preg_match('#^/api/diagnostic\\-immobilier/factureActualisations/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_post_factureactualisation_fichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_factureactualisation_fichier')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::postFactureActualisationFichierAction', '_format' => 'json',));
}
not_diagnostic_rest_post_factureactualisation_fichier:
}
// diagnostic_rest_post_front_actualisation
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/frontactualisations') && preg_match('#^/api/diagnostic\\-immobilier/frontactualisations(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_post_front_actualisation;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_front_actualisation')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::postFrontActualisationsAction', '_format' => 'json',));
}
not_diagnostic_rest_post_front_actualisation:
// rappel_rest_post_rappel_front
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/front/rappels') && preg_match('#^/api/diagnostic\\-immobilier/front/rappels/(?P<id>[^/]++)/client(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_rappel_rest_post_rappel_front;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rest_post_rappel_front')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::forntRappelAction', '_format' => 'json',));
}
not_rappel_rest_post_rappel_front:
}
elseif (0 === strpos($pathinfo, '/api/diagnostic-immobilier/telecharger-')) {
// diagnostic_rest_telechargerCommande
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/telecharger-commande') && preg_match('#^/api/diagnostic\\-immobilier/telecharger\\-commande/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_telechargerCommande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_telechargerCommande')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::telechargerCommandeAction', '_format' => 'json',));
}
not_diagnostic_rest_telechargerCommande:
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/telecharger-fichier')) {
// diagnostic_rest_telechargerFichier
if (preg_match('#^/api/diagnostic\\-immobilier/telecharger\\-fichier/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_telechargerFichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_telechargerFichier')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::telechargerFichierAction', '_format' => 'json',));
}
not_diagnostic_rest_telechargerFichier:
// diagnostic_actualisation_rest_telechargerFichier
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/telecharger-fichier-actualisation') && preg_match('#^/api/diagnostic\\-immobilier/telecharger\\-fichier\\-actualisation/(?P<actualisationId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_actualisation_rest_telechargerFichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_actualisation_rest_telechargerFichier')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::telechargerFichierAction', '_format' => 'json',));
}
not_diagnostic_actualisation_rest_telechargerFichier:
}
elseif (0 === strpos($pathinfo, '/api/diagnostic-immobilier/telecharger-facture')) {
// diagnostic_rest_telechargerFacture_front
if (preg_match('#^/api/diagnostic\\-immobilier/telecharger\\-facture/(?P<factureId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_telechargerFacture_front;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_telechargerFacture_front')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::telechargerFactureAction', '_format' => 'json',));
}
not_diagnostic_rest_telechargerFacture_front:
// diagnostic_rest_telechargerFactureActualisation_front
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/telecharger-factureActualisation') && preg_match('#^/api/diagnostic\\-immobilier/telecharger\\-factureActualisation/(?P<factureActualisationId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_telechargerFactureActualisation_front;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_telechargerFactureActualisation_front')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::telechargerFactureActualisationAction', '_format' => 'json',));
}
not_diagnostic_rest_telechargerFactureActualisation_front:
}
// diagnostic_rest_telechargeDPE
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/telecharger-dpe') && preg_match('#^/api/diagnostic\\-immobilier/telecharger\\-dpe/(?P<reference>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_telechargeDPE;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_telechargeDPE')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::telechargerDPEAction', '_format' => 'json',));
}
not_diagnostic_rest_telechargeDPE:
// diagnostic_rest_telechargerDevis_front
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/telecharger-devis') && preg_match('#^/api/diagnostic\\-immobilier/telecharger\\-devis/(?P<devisId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_telechargerDevis_front;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_telechargerDevis_front')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::telechargerDevisAction', '_format' => 'json',));
}
not_diagnostic_rest_telechargerDevis_front:
}
// diagnostic_rest_test
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/test') && preg_match('#^/api/diagnostic\\-immobilier/test(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_test;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_test')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::testAction', '_format' => 'json',));
}
not_diagnostic_rest_test:
// diagnostic_rest_simulationDPE
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/simulation-dpe') && preg_match('#^/api/diagnostic\\-immobilier/simulation\\-dpe(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_simulationDPE;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_simulationDPE')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::simulationDpeAction', '_format' => 'json',));
}
not_diagnostic_rest_simulationDPE:
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/secteur')) {
// get_actualisations_by_secteur
if (preg_match('#^/api/diagnostic\\-immobilier/secteur/(?P<id>[^/]++)/actualisations(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_actualisations_by_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_actualisations_by_secteur')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::getActualisationsBySecteurAction', '_format' => 'json',));
}
not_get_actualisations_by_secteur:
// get_facture_actualisations_by_secteur
if (preg_match('#^/api/diagnostic\\-immobilier/secteur/(?P<id>[^/]++)/factureActualisations(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_facture_actualisations_by_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_facture_actualisations_by_secteur')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::getFactureActualisationsBySecteurAction', '_format' => 'json',));
}
not_get_facture_actualisations_by_secteur:
// get_lien_paiements_by_secteur
if (preg_match('#^/api/diagnostic\\-immobilier/secteur/(?P<id>[^/]++)/lienPaiements(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_lien_paiements_by_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_lien_paiements_by_secteur')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::getLienPaiementsBySecteurAction', '_format' => 'json',));
}
not_get_lien_paiements_by_secteur:
// get_rappels_by_secteur
if (preg_match('#^/api/diagnostic\\-immobilier/secteur/(?P<id>[^/]++)/rappels(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_rappels_by_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_rappels_by_secteur')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getRappelsBySecteurAction', '_format' => 'json',));
}
not_get_rappels_by_secteur:
// get_count_rappels_by_user_and_secteur
if (preg_match('#^/api/diagnostic\\-immobilier/secteur/(?P<secteurId>[^/]++)/rappels/count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_count_rappels_by_user_and_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_count_rappels_by_user_and_secteur')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getCountRappelsByUserAndSecteurAction', '_format' => 'json',));
}
not_get_count_rappels_by_user_and_secteur:
// get_rdv_dpes_by_secteur
if (preg_match('#^/api/diagnostic\\-immobilier/secteur/(?P<id>[^/]++)/rdvDpes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_rdv_dpes_by_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_rdv_dpes_by_secteur')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getRdvDpesBySecteurAction', '_format' => 'json',));
}
not_get_rdv_dpes_by_secteur:
// get_count_rdv_dpes_by_user_and_secteur
if (preg_match('#^/api/diagnostic\\-immobilier/secteur/(?P<secteurId>[^/]++)/rdvDpes/count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_count_rdv_dpes_by_user_and_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_count_rdv_dpes_by_user_and_secteur')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getCountRdvDpesByUserAndSecteurAction', '_format' => 'json',));
}
not_get_count_rdv_dpes_by_user_and_secteur:
}
// diagnostic_rest_envoyeravisclient
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/envoyeravisclient') && preg_match('#^/api/diagnostic\\-immobilier/envoyeravisclient/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_envoyeravisclient;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_envoyeravisclient')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::envoyerAvisClientAction', '_format' => 'json',));
}
not_diagnostic_rest_envoyeravisclient:
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/devis')) {
// diagnostic_rest_post_commande_from_devis
if (preg_match('#^/api/diagnostic\\-immobilier/devis/(?P<devisId>[^/]++)/commande(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_post_commande_from_devis;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_commande_from_devis')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\CommandeRestController::postCommandeFromDevisAction', '_format' => 'json',));
}
not_diagnostic_rest_post_commande_from_devis:
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/devis-count')) {
// diagnostic_rest_devis_by_filiale_count
if (preg_match('#^/api/diagnostic\\-immobilier/devis\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_devis_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_devis_by_filiale_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::getDevisByFilialeCountAction', '_format' => 'json',));
}
not_diagnostic_rest_devis_by_filiale_count:
// diagnostic_rest_devis_count
if (preg_match('#^/api/diagnostic\\-immobilier/devis\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_devis_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_devis_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::getDevisCountAction', '_format' => 'json',));
}
not_diagnostic_rest_devis_count:
}
// get_ajax_devis_by_filiale
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/devis-ajax') && preg_match('#^/api/diagnostic\\-immobilier/devis\\-ajax(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_get_ajax_devis_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_ajax_devis_by_filiale')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::getAjaxDevisByFilialeAction', '_format' => 'json',));
}
not_get_ajax_devis_by_filiale:
// diagnostic_rest_send_devis_by_email
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/devis/envoiemail') && preg_match('#^/api/diagnostic\\-immobilier/devis/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_send_devis_by_email;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_send_devis_by_email')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::sendDevisByEmailAction', '_format' => 'json',));
}
not_diagnostic_rest_send_devis_by_email:
// diagnostic_rest_post_devis
if (preg_match('#^/api/diagnostic\\-immobilier/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_post_devis;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_devis')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::postDevisAction', '_format' => 'json',));
}
not_diagnostic_rest_post_devis:
// diagnostic_rest_put_devis
if (preg_match('#^/api/diagnostic\\-immobilier/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_diagnostic_rest_put_devis;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_put_devis')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::updateDevisAction', '_format' => 'json',));
}
not_diagnostic_rest_put_devis:
// diagnostic_rest_patch_devis
if (preg_match('#^/api/diagnostic\\-immobilier/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_diagnostic_rest_patch_devis;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_devis')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::patchDevisAction', '_format' => 'json',));
}
not_diagnostic_rest_patch_devis:
// diagnostic_rest_delete_devis
if (preg_match('#^/api/diagnostic\\-immobilier/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_diagnostic_rest_delete_devis;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_delete_devis')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::removeDevisAction', '_format' => 'json',));
}
not_diagnostic_rest_delete_devis:
// diagnostic_rest_post_devis_fichier
if (preg_match('#^/api/diagnostic\\-immobilier/devis/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_post_devis_fichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_devis_fichier')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::postDevisFichierAction', '_format' => 'json',));
}
not_diagnostic_rest_post_devis_fichier:
}
// diagnostic_rest_day_calendar
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/day-calender') && preg_match('#^/api/diagnostic\\-immobilier/day\\-calender(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_day_calendar;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_day_calendar')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getDayCalenderAction', '_format' => 'json',));
}
not_diagnostic_rest_day_calendar:
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/u')) {
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/user')) {
// diagnostic_get_devis_by_customer
if (preg_match('#^/api/diagnostic\\-immobilier/user/(?P<userId>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_get_devis_by_customer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_get_devis_by_customer')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\DevisRestController::getDevisByCustomerAction', '_format' => 'json',));
}
not_diagnostic_get_devis_by_customer:
// get_actualisations_by_customer
if (preg_match('#^/api/diagnostic\\-immobilier/user/(?P<userId>[^/]++)/actualisations(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_actualisations_by_customer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_actualisations_by_customer')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::getActualisationsByCustomerAction', '_format' => 'json',));
}
not_get_actualisations_by_customer:
// get_facture_actualisations_by_customer
if (preg_match('#^/api/diagnostic\\-immobilier/user/(?P<userId>[^/]++)/factureActualisations(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_facture_actualisations_by_customer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_facture_actualisations_by_customer')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::getFactureActualisationsByCustomerAction', '_format' => 'json',));
}
not_get_facture_actualisations_by_customer:
// get_lien_paiements_by_customer
if (preg_match('#^/api/diagnostic\\-immobilier/user/(?P<userId>[^/]++)/lienPaiements(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_lien_paiements_by_customer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_lien_paiements_by_customer')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::getLienPaiementsByCustomerAction', '_format' => 'json',));
}
not_get_lien_paiements_by_customer:
// get_rappels_by_user_and_secteur
if (preg_match('#^/api/diagnostic\\-immobilier/user/(?P<userId>[^/]++)/secteur/(?P<secteurId>[^/]++)/rappels(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_rappels_by_user_and_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_rappels_by_user_and_secteur')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getRappelsByUserAndSecteurAction', '_format' => 'json',));
}
not_get_rappels_by_user_and_secteur:
// get_rappels_by_customer
if (preg_match('#^/api/diagnostic\\-immobilier/user/(?P<userId>[^/]++)/rappels(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_rappels_by_customer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_rappels_by_customer')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getRappelsByCustomerAction', '_format' => 'json',));
}
not_get_rappels_by_customer:
// get_rdv_dpes_by_user_and_secteur
if (preg_match('#^/api/diagnostic\\-immobilier/user/(?P<userId>[^/]++)/secteur/(?P<secteurId>[^/]++)/rdvDpes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_rdv_dpes_by_user_and_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_rdv_dpes_by_user_and_secteur')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getRdvDpesByUserAndSecteurAction', '_format' => 'json',));
}
not_get_rdv_dpes_by_user_and_secteur:
// get_rdv_dpes_by_customer
if (preg_match('#^/api/diagnostic\\-immobilier/user/(?P<userId>[^/]++)/rdvDpes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_rdv_dpes_by_customer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_rdv_dpes_by_customer')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getRdvDpesByCustomerAction', '_format' => 'json',));
}
not_get_rdv_dpes_by_customer:
}
// diagnostic_rest_unpaid_invoices_count
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/unpaidinvoices-count') && preg_match('#^/api/diagnostic\\-immobilier/unpaidinvoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_unpaid_invoices_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_unpaid_invoices_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::getUnpaidInvoicesCountAction', '_format' => 'json',));
}
not_diagnostic_rest_unpaid_invoices_count:
// diagnostic_rest_unpaidpartnerpayment_count
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/unpaidpaiementcount') && preg_match('#^/api/diagnostic\\-immobilier/unpaidpaiementcount(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_unpaidpartnerpayment_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_unpaidpartnerpayment_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\PartnerPaymentRestController::getCountUnpaidPartnerPaymentsAction', '_format' => 'json',));
}
not_diagnostic_rest_unpaidpartnerpayment_count:
}
elseif (0 === strpos($pathinfo, '/api/diagnostic-immobilier/pa')) {
// diagnostic_rest_paid_invoices_count
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/paidinvoices-count') && preg_match('#^/api/diagnostic\\-immobilier/paidinvoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_paid_invoices_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_paid_invoices_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::getPaidInvoicesCountAction', '_format' => 'json',));
}
not_diagnostic_rest_paid_invoices_count:
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/paiement')) {
// diagnostic_rest_partnerpayments_items
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/paiements') && preg_match('#^/api/diagnostic\\-immobilier/paiements(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_partnerpayments_items;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_partnerpayments_items')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\PartnerPaymentRestController::getPartnerPaymentsAction', '_format' => 'json',));
}
not_diagnostic_rest_partnerpayments_items:
// diagnostic_rest_partnerpayment_item
if (preg_match('#^/api/diagnostic\\-immobilier/paiement/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_partnerpayment_item;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_partnerpayment_item')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\PartnerPaymentRestController::getPartnerPaymentAction', '_format' => 'json',));
}
not_diagnostic_rest_partnerpayment_item:
// diagnostic_rest_partnerpayment_count
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/paiementcount') && preg_match('#^/api/diagnostic\\-immobilier/paiementcount(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_partnerpayment_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_partnerpayment_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\PartnerPaymentRestController::getCountPartnerPaymentsAction', '_format' => 'json',));
}
not_diagnostic_rest_partnerpayment_count:
// diagnostic_rest_partnerpayment_post_items
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/paiements') && preg_match('#^/api/diagnostic\\-immobilier/paiements(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_partnerpayment_post_items;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_partnerpayment_post_items')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\PartnerPaymentRestController::postPartnerPaymentsAction', '_format' => 'json',));
}
not_diagnostic_rest_partnerpayment_post_items:
// diagnostic_rest_partnerpayment_put_item
if (preg_match('#^/api/diagnostic\\-immobilier/paiement/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_diagnostic_rest_partnerpayment_put_item;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_partnerpayment_put_item')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\PartnerPaymentRestController::updatePartnerPaymentAction', '_format' => 'json',));
}
not_diagnostic_rest_partnerpayment_put_item:
// diagnostic_rest_partnerpayment_patch_item
if (preg_match('#^/api/diagnostic\\-immobilier/paiement/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_diagnostic_rest_partnerpayment_patch_item;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_partnerpayment_patch_item')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\PartnerPaymentRestController::patchPartnerPaymentAction', '_format' => 'json',));
}
not_diagnostic_rest_partnerpayment_patch_item:
// diagnostic_rest_partnerpayment_delete_item
if (preg_match('#^/api/diagnostic\\-immobilier/paiement/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_diagnostic_rest_partnerpayment_delete_item;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_partnerpayment_delete_item')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\PartnerPaymentRestController::removePartnerPaymentAction', '_format' => 'json',));
}
not_diagnostic_rest_partnerpayment_delete_item:
}
// diagnostic_rest_patch_payer_rdvdpe
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/payer-rdvpde') && preg_match('#^/api/diagnostic\\-immobilier/payer\\-rdvpde/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_diagnostic_rest_patch_payer_rdvdpe;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_payer_rdvdpe')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::payerRdvDpeAction', '_format' => 'json',));
}
not_diagnostic_rest_patch_payer_rdvdpe:
}
elseif (0 === strpos($pathinfo, '/api/diagnostic-immobilier/r')) {
// diagnostic_rest_relance
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/relancefacturesimpayees') && preg_match('#^/api/diagnostic\\-immobilier/relancefacturesimpayees(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_relance;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_relance')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureRestController::relanceFacturesImpayeesAction', '_format' => 'json',));
}
not_diagnostic_rest_relance:
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/reserver-rdvpde')) {
// diagnostic_rest_reserver-rdvpde
if (preg_match('#^/api/diagnostic\\-immobilier/reserver\\-rdvpde(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_reserverrdvpde;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_reserver-rdvpde')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::reserverRdvDpeAction', '_format' => 'json',));
}
not_diagnostic_rest_reserverrdvpde:
// diagnostic_rest_put_rdvdpe
if (preg_match('#^/api/diagnostic\\-immobilier/reserver\\-rdvpde/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_diagnostic_rest_put_rdvdpe;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_put_rdvdpe')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::putRdvDpeAction', '_format' => 'json',));
}
not_diagnostic_rest_put_rdvdpe:
// diagnostic_rest_patch_rdvdpe
if (preg_match('#^/api/diagnostic\\-immobilier/reserver\\-rdvpde/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_diagnostic_rest_patch_rdvdpe;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_rdvdpe')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::patchRdvDpeAction', '_format' => 'json',));
}
not_diagnostic_rest_patch_rdvdpe:
}
elseif (0 === strpos($pathinfo, '/api/diagnostic-immobilier/rappels')) {
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/rappels-')) {
// rappel_rest_diag_orders
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/rappels-diag') && preg_match('#^/api/diagnostic\\-immobilier/rappels\\-diag(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_rappel_rest_diag_orders;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rest_diag_orders')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getRappelsAction', '_format' => 'json',));
}
not_rappel_rest_diag_orders:
// diagnostic_ajax_rappels
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/rappels-ajax') && preg_match('#^/api/diagnostic\\-immobilier/rappels\\-ajax/(?P<pole>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_ajax_rappels;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_ajax_rappels')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getAjaxRappelsAction', '_format' => 'json',));
}
not_diagnostic_ajax_rappels:
// rappel_rest_orders_count
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/rappels-count') && preg_match('#^/api/diagnostic\\-immobilier/rappels\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_rappel_rest_orders_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rest_orders_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getRappelsCountAction', '_format' => 'json',));
}
not_rappel_rest_orders_count:
// rappel_rest_orders_treat_count
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/rappels-treat-count') && preg_match('#^/api/diagnostic\\-immobilier/rappels\\-treat\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_rappel_rest_orders_treat_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rest_orders_treat_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getRappelsTreatedCountAction', '_format' => 'json',));
}
not_rappel_rest_orders_treat_count:
}
// get_rappel
if (preg_match('#^/api/diagnostic\\-immobilier/rappels/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_rappel;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_rappel')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::getRappelAction', '_format' => 'json',));
}
not_get_rappel:
// rappel_rest_post_rappel
if (preg_match('#^/api/diagnostic\\-immobilier/rappels(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_rappel_rest_post_rappel;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rest_post_rappel')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::postRappelsAction', '_format' => 'json',));
}
not_rappel_rest_post_rappel:
// rappel_rest_put_rappel
if (preg_match('#^/api/diagnostic\\-immobilier/rappels/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_rappel_rest_put_rappel;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rest_put_rappel')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::putRappelAction', '_format' => 'json',));
}
not_rappel_rest_put_rappel:
// rappel_rest_patch_rappel
if (preg_match('#^/api/diagnostic\\-immobilier/rappels/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_rappel_rest_patch_rappel;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rest_patch_rappel')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::patchRappelAction', '_format' => 'json',));
}
not_rappel_rest_patch_rappel:
// rappel_rest_delete_rappel
if (preg_match('#^/api/diagnostic\\-immobilier/rappels/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_rappel_rest_delete_rappel;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rest_delete_rappel')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::removeRappelAction', '_format' => 'json',));
}
not_rappel_rest_delete_rappel:
// rappel_rest_patch_rappel_front
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/rappelsfront') && preg_match('#^/api/diagnostic\\-immobilier/rappelsfront/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_rappel_rest_patch_rappel_front;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rest_patch_rappel_front')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RappelRestController::patchFrontRappelAction', '_format' => 'json',));
}
not_rappel_rest_patch_rappel_front:
}
elseif (0 === strpos($pathinfo, '/api/diagnostic-immobilier/rdvDpes')) {
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/rdvDpes-')) {
// diagnostic_rest_diag_orders
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/rdvDpes-diag') && preg_match('#^/api/diagnostic\\-immobilier/rdvDpes\\-diag(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_diag_orders;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_diag_orders')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getRdvDpesAction', '_format' => 'json',));
}
not_diagnostic_rest_diag_orders:
// diagnostic_rest_diag_rdvdpes_list
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/rdvDpes-confirmees-list') && preg_match('#^/api/diagnostic\\-immobilier/rdvDpes\\-confirmees\\-list(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_diag_rdvdpes_list;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_diag_rdvdpes_list')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getRdvDpesListAction', '_format' => 'json',));
}
not_diagnostic_rest_diag_rdvdpes_list:
// diagnostic_rest_orders_count
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/rdvDpes-count') && preg_match('#^/api/diagnostic\\-immobilier/rdvDpes\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_orders_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_orders_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getRdvDpesCountAction', '_format' => 'json',));
}
not_diagnostic_rest_orders_count:
}
// get_rdv_dpe
if (preg_match('#^/api/diagnostic\\-immobilier/rdvDpes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_rdv_dpe;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_rdv_dpe')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getRdvDpeAction', '_format' => 'json',));
}
not_get_rdv_dpe:
// diagnostic_rest_post_rdvdpe
if (preg_match('#^/api/diagnostic\\-immobilier/rdvDpes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_post_rdvdpe;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_rdvdpe')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::postRdvDpesAction', '_format' => 'json',));
}
not_diagnostic_rest_post_rdvdpe:
// diagnostic_rest_delete_rdvdpe
if (preg_match('#^/api/diagnostic\\-immobilier/rdvDpes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_diagnostic_rest_delete_rdvdpe;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_delete_rdvdpe')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::removeRdvDpeAction', '_format' => 'json',));
}
not_diagnostic_rest_delete_rdvdpe:
// diagnostic_rest_patch_rdvdpe_front
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/rdvDpesfront') && preg_match('#^/api/diagnostic\\-immobilier/rdvDpesfront/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_diagnostic_rest_patch_rdvdpe_front;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_rdvdpe_front')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::patchFrontRdvDpeAction', '_format' => 'json',));
}
not_diagnostic_rest_patch_rdvdpe_front:
}
}
elseif (0 === strpos($pathinfo, '/api/diagnostic-immobilier/a')) {
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/actualisations')) {
// diagnostic_rest_actualisations
if (preg_match('#^/api/diagnostic\\-immobilier/actualisations(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_actualisations;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_actualisations')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::getActualisationsAction', '_format' => 'json',));
}
not_diagnostic_rest_actualisations:
// diagnostic_rest_actualisations_count
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/actualisations-count') && preg_match('#^/api/diagnostic\\-immobilier/actualisations\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_actualisations_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_actualisations_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::getActualisationsCountAction', '_format' => 'json',));
}
not_diagnostic_rest_actualisations_count:
// get_actualisation
if (preg_match('#^/api/diagnostic\\-immobilier/actualisations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_actualisation;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_actualisation')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::getActualisationAction', '_format' => 'json',));
}
not_get_actualisation:
// diagnostic_rest_post_actualisation
if (preg_match('#^/api/diagnostic\\-immobilier/actualisations(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_post_actualisation;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_actualisation')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::postActualisationsAction', '_format' => 'json',));
}
not_diagnostic_rest_post_actualisation:
// diagnostic_rest_put_actualisation
if (preg_match('#^/api/diagnostic\\-immobilier/actualisations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_diagnostic_rest_put_actualisation;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_put_actualisation')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::updateActualisationAction', '_format' => 'json',));
}
not_diagnostic_rest_put_actualisation:
// diagnostic_rest_patch_actualisation
if (preg_match('#^/api/diagnostic\\-immobilier/actualisations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_diagnostic_rest_patch_actualisation;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_actualisation')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::patchActualisationAction', '_format' => 'json',));
}
not_diagnostic_rest_patch_actualisation:
// diagnostic_rest_delete_actualisation
if (preg_match('#^/api/diagnostic\\-immobilier/actualisations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_diagnostic_rest_delete_actualisation;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_delete_actualisation')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::removeActualisationAction', '_format' => 'json',));
}
not_diagnostic_rest_delete_actualisation:
// diagnostic_rest_post_actualisation_fichier
if (preg_match('#^/api/diagnostic\\-immobilier/actualisations/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_post_actualisation_fichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_actualisation_fichier')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::postActualisationFichierAction', '_format' => 'json',));
}
not_diagnostic_rest_post_actualisation_fichier:
}
// get_ajax_actualisations
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/ajax-actualisation') && preg_match('#^/api/diagnostic\\-immobilier/ajax\\-actualisation(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_get_ajax_actualisations;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_ajax_actualisations')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\ActualisationRestController::getAjaxActualisationsAction', '_format' => 'json',));
}
not_get_ajax_actualisations:
// get_ajax_rdvdpes
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/ajax-rdvdpes') && preg_match('#^/api/diagnostic\\-immobilier/ajax\\-rdvdpes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_get_ajax_rdvdpes;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_ajax_rdvdpes')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getAjaxRdvDpesAction', '_format' => 'json',));
}
not_get_ajax_rdvdpes:
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/availables-rdv-dpes-by-day')) {
// diagnostic_rest_availables_rdv_dpes_by_day
if (preg_match('#^/api/diagnostic\\-immobilier/availables\\-rdv\\-dpes\\-by\\-day(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_availables_rdv_dpes_by_day;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_availables_rdv_dpes_by_day')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getAvailablesRdvDpesByDayAction', '_format' => 'json',));
}
not_diagnostic_rest_availables_rdv_dpes_by_day:
// diagnostic_rest_availables_rdv_dpes_by_day_count
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/availables-rdv-dpes-by-day-count') && preg_match('#^/api/diagnostic\\-immobilier/availables\\-rdv\\-dpes\\-by\\-day\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_availables_rdv_dpes_by_day_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_availables_rdv_dpes_by_day_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getAvailablesRdvDpesByDayCountAction', '_format' => 'json',));
}
not_diagnostic_rest_availables_rdv_dpes_by_day_count:
}
}
elseif (0 === strpos($pathinfo, '/api/diagnostic-immobilier/invoices-count')) {
// diagnostic_rest_invoices_by_filiale_count
if (preg_match('#^/api/diagnostic\\-immobilier/invoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_invoices_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_invoices_by_filiale_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::getInvoicesByFilialeCountAction', '_format' => 'json',));
}
not_diagnostic_rest_invoices_by_filiale_count:
// diagnostic_rest_invoices_count
if (preg_match('#^/api/diagnostic\\-immobilier/invoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_invoices_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_invoices_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\FactureActualisationRestController::getInvoicesCountAction', '_format' => 'json',));
}
not_diagnostic_rest_invoices_count:
}
elseif (0 === strpos($pathinfo, '/api/diagnostic-immobilier/questions')) {
// diagnostic_rest_questions
if (preg_match('#^/api/diagnostic\\-immobilier/questions(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_questions;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_questions')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\QuestionRestController::getQuestionsAction', '_format' => 'json',));
}
not_diagnostic_rest_questions:
// diagnostic_rest_questions_count
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/questions-count') && preg_match('#^/api/diagnostic\\-immobilier/questions\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_questions_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_questions_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\QuestionRestController::getQuestionsCountAction', '_format' => 'json',));
}
not_diagnostic_rest_questions_count:
// diagnostic_rest_post_question
if (preg_match('#^/api/diagnostic\\-immobilier/questions(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_post_question;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_question')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\QuestionRestController::postQuestionsAction', '_format' => 'json',));
}
not_diagnostic_rest_post_question:
// diagnostic_rest_put_question
if (preg_match('#^/api/diagnostic\\-immobilier/questions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_diagnostic_rest_put_question;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_put_question')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\QuestionRestController::updateQuestionAction', '_format' => 'json',));
}
not_diagnostic_rest_put_question:
// diagnostic_rest_patch_question
if (preg_match('#^/api/diagnostic\\-immobilier/questions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_diagnostic_rest_patch_question;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_question')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\QuestionRestController::patchQuestionAction', '_format' => 'json',));
}
not_diagnostic_rest_patch_question:
// diagnostic_rest_delete_question
if (preg_match('#^/api/diagnostic\\-immobilier/questions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_diagnostic_rest_delete_question;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_delete_question')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\QuestionRestController::removeQuestionAction', '_format' => 'json',));
}
not_diagnostic_rest_delete_question:
// post_question_fichier
if (preg_match('#^/api/diagnostic\\-immobilier/questions/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_question_fichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_question_fichier')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\QuestionRestController::postQuestionFichierAction', '_format' => 'json',));
}
not_post_question_fichier:
}
elseif (0 === strpos($pathinfo, '/api/diagnostic-immobilier/lienPaiements')) {
// diagnostic_rest_lienPaiements
if (preg_match('#^/api/diagnostic\\-immobilier/lienPaiements(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_lienPaiements;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_lienPaiements')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::getLienPaiementsAction', '_format' => 'json',));
}
not_diagnostic_rest_lienPaiements:
// diagnostic_rest_lienPaiements_count
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/lienPaiements-count') && preg_match('#^/api/diagnostic\\-immobilier/lienPaiements\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_lienPaiements_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_lienPaiements_count')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::getLienPaiementsCountAction', '_format' => 'json',));
}
not_diagnostic_rest_lienPaiements_count:
// get_lien_paiement
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/lienPaiements/factures') && preg_match('#^/api/diagnostic\\-immobilier/lienPaiements/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_lien_paiement;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_lien_paiement')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::getLienPaiementAction', '_format' => 'json',));
}
not_get_lien_paiement:
// diagnostic_rest_post_lienPaiement
if (preg_match('#^/api/diagnostic\\-immobilier/lienPaiements(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_post_lienPaiement;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_post_lienPaiement')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::postLienPaiementsAction', '_format' => 'json',));
}
not_diagnostic_rest_post_lienPaiement:
// diagnostic_rest_put_lienPaiement
if (preg_match('#^/api/diagnostic\\-immobilier/lienPaiements/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_diagnostic_rest_put_lienPaiement;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_put_lienPaiement')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::updateLienPaiementAction', '_format' => 'json',));
}
not_diagnostic_rest_put_lienPaiement:
// diagnostic_rest_patch_lienPaiement
if (preg_match('#^/api/diagnostic\\-immobilier/lienPaiements/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_diagnostic_rest_patch_lienPaiement;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_lienPaiement')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::patchLienPaiementAction', '_format' => 'json',));
}
not_diagnostic_rest_patch_lienPaiement:
// diagnostic_rest_delete_lienPaiement
if (preg_match('#^/api/diagnostic\\-immobilier/lienPaiements/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_diagnostic_rest_delete_lienPaiement;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_delete_lienPaiement')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::removeLienPaiementAction', '_format' => 'json',));
}
not_diagnostic_rest_delete_lienPaiement:
// post_lien_paiement_fichier
if (preg_match('#^/api/diagnostic\\-immobilier/lienPaiements/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_lien_paiement_fichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_lien_paiement_fichier')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::postLienPaiementFichierAction', '_format' => 'json',));
}
not_post_lien_paiement_fichier:
}
// diagnostic_ajax_liens_paiements
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/leins-paiements-ajax') && preg_match('#^/api/diagnostic\\-immobilier/leins\\-paiements\\-ajax(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_ajax_liens_paiements;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_ajax_liens_paiements')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\LienPaiementRestController::getAjaxLiensPaiementsAction', '_format' => 'json',));
}
not_diagnostic_ajax_liens_paiements:
// diagnostic_rest_month_calendar
if (0 === strpos($pathinfo, '/api/diagnostic-immobilier/month-calender') && preg_match('#^/api/diagnostic\\-immobilier/month\\-calender(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_diagnostic_rest_month_calendar;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_month_calendar')), array ( '_controller' => 'DiagnosticBundle\\Controller\\Rest\\RdvDpeRestController::getMonthCalenderAction', '_format' => 'json',));
}
not_diagnostic_rest_month_calendar:
}
elseif (0 === strpos($pathinfo, '/api/diagnostics')) {
// update_diagnistic
if (preg_match('#^/api/diagnostics/(?P<id>[^/]++)/edit(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_update_diagnistic;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_diagnistic')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\DiagnosticRestController::updateDiagnisticAction', '_format' => 'json',));
}
not_update_diagnistic:
// remove_diagnistic
if (preg_match('#^/api/diagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_diagnistic;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_diagnistic')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\DiagnosticRestController::removeDiagnisticAction', '_format' => 'json',));
}
not_remove_diagnistic:
// get_diagnistics
if (preg_match('#^/api/diagnostics(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_diagnistics;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_diagnistics')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\DiagnosticRestController::getDiagnisticsAction', '_format' => 'json',));
}
not_get_diagnistics:
// get_diagnistic
if (preg_match('#^/api/diagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_diagnistic;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_diagnistic')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\DiagnosticRestController::getDiagnisticAction', '_format' => 'json',));
}
not_get_diagnistic:
// post_diagnistics
if (preg_match('#^/api/diagnostics(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_diagnistics;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_diagnistics')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\DiagnosticRestController::postDiagnisticsAction', '_format' => 'json',));
}
not_post_diagnistics:
// patch_diagnistic
if (preg_match('#^/api/diagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_diagnistic;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_diagnistic')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\DiagnosticRestController::patchDiagnisticAction', '_format' => 'json',));
}
not_patch_diagnistic:
}
}
elseif (0 === strpos($pathinfo, '/api/e')) {
if (0 === strpos($pathinfo, '/api/esris')) {
if (0 === strpos($pathinfo, '/api/esris/offres')) {
// esris_rest_orders_count
if (0 === strpos($pathinfo, '/api/esris/offres-count') && preg_match('#^/api/esris/offres\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esris_rest_orders_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_orders_count')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\OffreRestController::getOffresCountAction', '_format' => 'json',));
}
not_esris_rest_orders_count:
// esris_rest_get_offres
if (preg_match('#^/api/esris/offres(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esris_rest_get_offres;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_get_offres')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\OffreRestController::getOffresAction', '_format' => 'json',));
}
not_esris_rest_get_offres:
// esris_rest_get_all_offre_dipro
if (0 === strpos($pathinfo, '/api/esris/offresdipro') && preg_match('#^/api/esris/offresdipro(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esris_rest_get_all_offre_dipro;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_get_all_offre_dipro')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\OffreRestController::getOffresDiProAction', '_format' => 'json',));
}
not_esris_rest_get_all_offre_dipro:
// esris_rest_post_offre
if (preg_match('#^/api/esris/offres(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_esris_rest_post_offre;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_post_offre')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\OffreRestController::postOffresAction', '_format' => 'json',));
}
not_esris_rest_post_offre:
// esris_rest_put_offre
if (preg_match('#^/api/esris/offres/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_esris_rest_put_offre;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_put_offre')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\OffreRestController::updateOffreAction', '_format' => 'json',));
}
not_esris_rest_put_offre:
// esris_rest_patch_offre
if (preg_match('#^/api/esris/offres/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_esris_rest_patch_offre;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_patch_offre')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\OffreRestController::patchOffreAction', '_format' => 'json',));
}
not_esris_rest_patch_offre:
// esris_rest_delete_offre
if (preg_match('#^/api/esris/offres/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_esris_rest_delete_offre;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_delete_offre')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\OffreRestController::removeOffreAction', '_format' => 'json',));
}
not_esris_rest_delete_offre:
}
// esris_rest_get_all_offre
if (0 === strpos($pathinfo, '/api/esris/alloffres') && preg_match('#^/api/esris/alloffres(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esris_rest_get_all_offre;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_get_all_offre')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\OffreRestController::getAllOffresAction', '_format' => 'json',));
}
not_esris_rest_get_all_offre:
// get_offre
if (0 === strpos($pathinfo, '/api/esris/Offres') && preg_match('#^/api/esris/Offres/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_offre;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_offre')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\OffreRestController::getOffreAction', '_format' => 'json',));
}
not_get_offre:
if (0 === strpos($pathinfo, '/api/esris/user')) {
// esris_rest_get_offres_by_customer
if (preg_match('#^/api/esris/user/(?P<userId>[^/]++)/offres(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esris_rest_get_offres_by_customer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_get_offres_by_customer')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\OffreRestController::getOffresByCustomerAction', '_format' => 'json',));
}
not_esris_rest_get_offres_by_customer:
// esris_rest_get_commandes_offres_by_customer
if (preg_match('#^/api/esris/user/(?P<userId>[^/]++)/commandesoffres(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esris_rest_get_commandes_offres_by_customer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_get_commandes_offres_by_customer')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeOffreRestController::getCommandesOffresByCustomerAction', '_format' => 'json',));
}
not_esris_rest_get_commandes_offres_by_customer:
// esris_rest_get_commandes_by_customer
if (preg_match('#^/api/esris/user/(?P<userId>[^/]++)/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esris_rest_get_commandes_by_customer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_get_commandes_by_customer')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeRestController::getCommandesByCustomerAction', '_format' => 'json',));
}
not_esris_rest_get_commandes_by_customer:
// esris_rest_get_factures_by_customer
if (preg_match('#^/api/esris/user/(?P<userId>[^/]++)/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esris_rest_get_factures_by_customer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_get_factures_by_customer')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::getFacturesByCustomerAction', '_format' => 'json',));
}
not_esris_rest_get_factures_by_customer:
}
elseif (0 === strpos($pathinfo, '/api/esris/telecharger-fichier')) {
// diagnostic_rest_telechargerFichierOffre
if (0 === strpos($pathinfo, '/api/esris/telecharger-fichieroffre') && preg_match('#^/api/esris/telecharger\\-fichieroffre/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_telechargerFichierOffre;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_telechargerFichierOffre')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeOffreRestController::telechargerFichierAction', '_format' => 'json',));
}
not_diagnostic_rest_telechargerFichierOffre:
// esris_rest_telechargerFichier
if (preg_match('#^/api/esris/telecharger\\-fichier/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esris_rest_telechargerFichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_telechargerFichier')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeRestController::telechargerFichierAction', '_format' => 'json',));
}
not_esris_rest_telechargerFichier:
}
// esis_rest_telechargerFacture
if (0 === strpos($pathinfo, '/api/esris/telecharger-facture') && preg_match('#^/api/esris/telecharger\\-facture/(?P<factureId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esis_rest_telechargerFacture;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esis_rest_telechargerFacture')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::telechargerFactureAction', '_format' => 'json',));
}
not_esis_rest_telechargerFacture:
if (0 === strpos($pathinfo, '/api/esris/commandeoffres')) {
// esris_rest_get_commandeoffre
if (preg_match('#^/api/esris/commandeoffres(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esris_rest_get_commandeoffre;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_get_commandeoffre')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeOffreRestController::getCommandeOffresAction', '_format' => 'json',));
}
not_esris_rest_get_commandeoffre:
// esris_rest_post_commandeoffre
if (preg_match('#^/api/esris/commandeoffres(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_esris_rest_post_commandeoffre;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_post_commandeoffre')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeOffreRestController::postCommandeOffresAction', '_format' => 'json',));
}
not_esris_rest_post_commandeoffre:
// esris_rest_put_commandeoffre
if (preg_match('#^/api/esris/commandeoffres/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_esris_rest_put_commandeoffre;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_put_commandeoffre')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeOffreRestController::updateCommandeOffreAction', '_format' => 'json',));
}
not_esris_rest_put_commandeoffre:
// esris_rest_patch_commandeoffre
if (preg_match('#^/api/esris/commandeoffres/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_esris_rest_patch_commandeoffre;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_patch_commandeoffre')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeOffreRestController::patchCommandeOffreAction', '_format' => 'json',));
}
not_esris_rest_patch_commandeoffre:
// esris_rest_delete_commandeoffre
if (preg_match('#^/api/esris/commandeoffres/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_esris_rest_delete_commandeoffre;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_delete_commandeoffre')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeOffreRestController::removeCommandeOffreAction', '_format' => 'json',));
}
not_esris_rest_delete_commandeoffre:
}
elseif (0 === strpos($pathinfo, '/api/esris/commandes')) {
// esris_rest_get_commandes
if (preg_match('#^/api/esris/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esris_rest_get_commandes;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_get_commandes')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeRestController::getCommandesAction', '_format' => 'json',));
}
not_esris_rest_get_commandes:
// esris_rest_get_commande
if (preg_match('#^/api/esris/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esris_rest_get_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_get_commande')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeRestController::getCommandeAction', '_format' => 'json',));
}
not_esris_rest_get_commande:
// esris_rest_post_commande
if (preg_match('#^/api/esris/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_esris_rest_post_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_post_commande')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeRestController::postCommandesAction', '_format' => 'json',));
}
not_esris_rest_post_commande:
// esris_rest_put_commande
if (preg_match('#^/api/esris/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_esris_rest_put_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_put_commande')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeRestController::updateCommandeAction', '_format' => 'json',));
}
not_esris_rest_put_commande:
// esris_rest_patch_commande
if (preg_match('#^/api/esris/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_esris_rest_patch_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_patch_commande')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeRestController::patchCommandeAction', '_format' => 'json',));
}
not_esris_rest_patch_commande:
// esris_rest_post_commande_fichier
if (preg_match('#^/api/esris/commandes/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_esris_rest_post_commande_fichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_post_commande_fichier')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeRestController::postCommandeFichierAction', '_format' => 'json',));
}
not_esris_rest_post_commande_fichier:
// esris_rest_delete_commande
if (preg_match('#^/api/esris/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_esris_rest_delete_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_delete_commande')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeRestController::removeCommandeAction', '_format' => 'json',));
}
not_esris_rest_delete_commande:
}
// get_commande_offre
if (0 === strpos($pathinfo, '/api/esris/CommandeOffres') && preg_match('#^/api/esris/CommandeOffres/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_commande_offre;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commande_offre')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\CommandeOffreRestController::getCommandeOffreAction', '_format' => 'json',));
}
not_get_commande_offre:
if (0 === strpos($pathinfo, '/api/esris/factures')) {
// esris_rest_invoices_count
if (0 === strpos($pathinfo, '/api/esris/factures-count') && preg_match('#^/api/esris/factures\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esris_rest_invoices_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_invoices_count')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::getFacturesCountAction', '_format' => 'json',));
}
not_esris_rest_invoices_count:
// esris_rest_paidinvoices_count
if (0 === strpos($pathinfo, '/api/esris/facturespayes-count') && preg_match('#^/api/esris/facturespayes\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esris_rest_paidinvoices_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_paidinvoices_count')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::getFacturesPayesCountAction', '_format' => 'json',));
}
not_esris_rest_paidinvoices_count:
// esris_rest_unpaidinvoices_count
if (0 === strpos($pathinfo, '/api/esris/facturesimpayes-count') && preg_match('#^/api/esris/facturesimpayes\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esris_rest_unpaidinvoices_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_unpaidinvoices_count')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::getFacturesImpayesCountAction', '_format' => 'json',));
}
not_esris_rest_unpaidinvoices_count:
// esris_rest_ca
if (0 === strpos($pathinfo, '/api/esris/factures/ca') && preg_match('#^/api/esris/factures/ca(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esris_rest_ca;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_ca')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::getCaAction', '_format' => 'json',));
}
not_esris_rest_ca:
// esris_rest_get_factures
if (preg_match('#^/api/esris/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esris_rest_get_factures;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_get_factures')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::getFacturesAction', '_format' => 'json',));
}
not_esris_rest_get_factures:
// esris_rest_post_facture
if (preg_match('#^/api/esris/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_esris_rest_post_facture;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_post_facture')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::postFacturesAction', '_format' => 'json',));
}
not_esris_rest_post_facture:
if (0 === strpos($pathinfo, '/api/esris/facturesbycommande')) {
// esris_rest_post_facture_by_commande
if (preg_match('#^/api/esris/facturesbycommande(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_esris_rest_post_facture_by_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_post_facture_by_commande')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::postFacturesByCommandeAction', '_format' => 'json',));
}
not_esris_rest_post_facture_by_commande:
// esris_rest_post_facture_by_commande_offre
if (0 === strpos($pathinfo, '/api/esris/facturesbycommandeoffre') && preg_match('#^/api/esris/facturesbycommandeoffre(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_esris_rest_post_facture_by_commande_offre;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_post_facture_by_commande_offre')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::postFacturesByCommandeOffreAction', '_format' => 'json',));
}
not_esris_rest_post_facture_by_commande_offre:
}
// esris_rest_put_facture
if (preg_match('#^/api/esris/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_esris_rest_put_facture;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_put_facture')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::updateFactureAction', '_format' => 'json',));
}
not_esris_rest_put_facture:
// esris_rest_patch_facture
if (preg_match('#^/api/esris/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_esris_rest_patch_facture;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_patch_facture')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::patchFactureAction', '_format' => 'json',));
}
not_esris_rest_patch_facture:
// esris_rest_post_facture_fichier
if (preg_match('#^/api/esris/factures/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_esris_rest_post_facture_fichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_post_facture_fichier')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::postFactureFichierAction', '_format' => 'json',));
}
not_esris_rest_post_facture_fichier:
// esris_rest_delete_facture
if (preg_match('#^/api/esris/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_esris_rest_delete_facture;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_delete_facture')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::removeFactureAction', '_format' => 'json',));
}
not_esris_rest_delete_facture:
}
// esris_rest_ca_by_filiale
if (0 === strpos($pathinfo, '/api/esris/filiale') && preg_match('#^/api/esris/filiale/(?P<filialeId>[^/]++)/factures/ca(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esris_rest_ca_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_rest_ca_by_filiale')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::getCaByFilialeAction', '_format' => 'json',));
}
not_esris_rest_ca_by_filiale:
// get_facture
if (0 === strpos($pathinfo, '/api/esris/Factures') && preg_match('#^/api/esris/Factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_facture;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_facture')), array ( '_controller' => 'ESRISBundle\\Controller\\Rest\\FactureRestController::getFactureAction', '_format' => 'json',));
}
not_get_facture:
}
elseif (0 === strpos($pathinfo, '/api/edl')) {
if (0 === strpos($pathinfo, '/api/edl/commandes')) {
if (0 === strpos($pathinfo, '/api/edl/commandes-')) {
if (0 === strpos($pathinfo, '/api/edl/commandes-c')) {
// edl_rest_commandes_list
if (0 === strpos($pathinfo, '/api/edl/commandes-confirmees-list') && preg_match('#^/api/edl/commandes\\-confirmees\\-list(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_rest_commandes_list;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_commandes_list')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandesListAction', '_format' => 'json',));
}
not_edl_rest_commandes_list:
// edl_rest_orders_count
if (0 === strpos($pathinfo, '/api/edl/commandes-count') && preg_match('#^/api/edl/commandes\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_rest_orders_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_orders_count')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandesCountAction', '_format' => 'json',));
}
not_edl_rest_orders_count:
// edl_rest_ca_edl
if (0 === strpos($pathinfo, '/api/edl/commandes-ca-edl') && preg_match('#^/api/edl/commandes\\-ca\\-edl(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_rest_ca_edl;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_ca_edl')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCaEdlAction', '_format' => 'json',));
}
not_edl_rest_ca_edl:
}
// edl_rest_orders_treat_count
if (0 === strpos($pathinfo, '/api/edl/commandes-treat-count') && preg_match('#^/api/edl/commandes\\-treat\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_rest_orders_treat_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_orders_treat_count')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandesTreatedCountAction', '_format' => 'json',));
}
not_edl_rest_orders_treat_count:
// edl_rest_orders_progr_count
if (0 === strpos($pathinfo, '/api/edl/commandes-prog-count') && preg_match('#^/api/edl/commandes\\-prog\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_rest_orders_progr_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_orders_progr_count')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandesProgressCountAction', '_format' => 'json',));
}
not_edl_rest_orders_progr_count:
}
// edl_rest_send_commande_by_email
if (0 === strpos($pathinfo, '/api/edl/commandes/envoiemail') && preg_match('#^/api/edl/commandes/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_edl_rest_send_commande_by_email;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_send_commande_by_email')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::sendCommandeByEmailAction', '_format' => 'json',));
}
not_edl_rest_send_commande_by_email:
// get_commandeedl
if (preg_match('#^/api/edl/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_commandeedl;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandeedl')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandeAction', '_format' => 'json',));
}
not_get_commandeedl:
// edl_rest_post_commande
if (preg_match('#^/api/edl/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_edl_rest_post_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_post_commande')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::postCommandesAction', '_format' => 'json',));
}
not_edl_rest_post_commande:
// edl_rest_put_commande
if (preg_match('#^/api/edl/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_edl_rest_put_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_put_commande')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::updateCommandeAction', '_format' => 'json',));
}
not_edl_rest_put_commande:
// edl_rest_patch_commande
if (preg_match('#^/api/edl/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_edl_rest_patch_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_patch_commande')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::patchCommandeAction', '_format' => 'json',));
}
not_edl_rest_patch_commande:
// edl_rest_delete_commande
if (preg_match('#^/api/edl/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_edl_rest_delete_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_delete_commande')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::removeCommandeAction', '_format' => 'json',));
}
not_edl_rest_delete_commande:
// edl_rest_post_commande_fichier
if (preg_match('#^/api/edl/commandes/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_edl_rest_post_commande_fichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_post_commande_fichier')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::postCommandeFichierAction', '_format' => 'json',));
}
not_edl_rest_post_commande_fichier:
// edl_rest_post_commande_front
if (0 === strpos($pathinfo, '/api/edl/commandes/front') && preg_match('#^/api/edl/commandes/front(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_edl_rest_post_commande_front;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_post_commande_front')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::forntCommandeAction', '_format' => 'json',));
}
not_edl_rest_post_commande_front:
// edl_rest_patch_commande_front
if (0 === strpos($pathinfo, '/api/edl/commandesfront') && preg_match('#^/api/edl/commandesfront/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_edl_rest_patch_commande_front;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_patch_commande_front')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::patchFrontCommandeAction', '_format' => 'json',));
}
not_edl_rest_patch_commande_front:
// edl_rest_get_verif_rdv
if (preg_match('#^/api/edl/commandes/(?P<id>[^/]++)/verifRDV(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_edl_rest_get_verif_rdv;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_get_verif_rdv')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getVerifRDVAction', '_format' => 'json',));
}
not_edl_rest_get_verif_rdv:
}
// edl_rest_post_devis_front
if (0 === strpos($pathinfo, '/api/edl/commande') && preg_match('#^/api/edl/commande/(?P<commandeId>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_rest_post_devis_front;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_post_devis_front')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::frontDevisFromCommandeAction', '_format' => 'json',));
}
not_edl_rest_post_devis_front:
if (0 === strpos($pathinfo, '/api/edl/filiale')) {
// edl_rest_orders_by_filiale_count
if (preg_match('#^/api/edl/filiale/(?P<filialeId>[^/]++)/commandes\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_rest_orders_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_orders_by_filiale_count')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandesByFilialeCountAction', '_format' => 'json',));
}
not_edl_rest_orders_by_filiale_count:
// edl_rest_orders_treat_by_filiale_count
if (preg_match('#^/api/edl/filiale/(?P<filialeId>[^/]++)/commandes\\-treat\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_rest_orders_treat_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_orders_treat_by_filiale_count')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandesTreatedByFilialeCountAction', '_format' => 'json',));
}
not_edl_rest_orders_treat_by_filiale_count:
// edl_rest_orders_progr_by_filiale_count
if (preg_match('#^/api/edl/filiale/(?P<filialeId>[^/]++)/commandes\\-prog\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_rest_orders_progr_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_orders_progr_by_filiale_count')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandesProgressByFilialeCountAction', '_format' => 'json',));
}
not_edl_rest_orders_progr_by_filiale_count:
// edl_rest_ca_edl_by_filiale
if (preg_match('#^/api/edl/filiale/(?P<filialeId>[^/]++)/commandes\\-ca\\-edl(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_rest_ca_edl_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_ca_edl_by_filiale')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCaEdlByFilialeAction', '_format' => 'json',));
}
not_edl_rest_ca_edl_by_filiale:
// get_ajax_commandesEDL_by_filiale
if (preg_match('#^/api/edl/filiale/(?P<filialeId>[^/]++)/ajax\\-commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_get_ajax_commandesEDL_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_ajax_commandesEDL_by_filiale')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getAjaxCommandesByFilialeAction', '_format' => 'json',));
}
not_get_ajax_commandesEDL_by_filiale:
// get_commandeedlByFiliale
if (preg_match('#^/api/edl/filiale/(?P<filialeId>[^/]++)/edl_commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_commandeedlByFiliale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandeedlByFiliale')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandesByFilialeAction', '_format' => 'json',));
}
not_get_commandeedlByFiliale:
// get_ajax_devisEDL_by_filiale
if (preg_match('#^/api/edl/filiale/(?P<filialeId>[^/]++)/ajax\\-devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_get_ajax_devisEDL_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_ajax_devisEDL_by_filiale')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::getAjaxDevisByFilialeAction', '_format' => 'json',));
}
not_get_ajax_devisEDL_by_filiale:
// get_devisedlByFiliale
if (preg_match('#^/api/edl/filiale/(?P<filialeId>[^/]++)/devisedl(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_devisedlByFiliale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devisedlByFiliale')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::getDevisByFilialeAction', '_format' => 'json',));
}
not_get_devisedlByFiliale:
// get_facturesedlByFiliale
if (preg_match('#^/api/edl/filiale/(?P<filialeId>[^/]++)/facturesedl(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_facturesedlByFiliale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_facturesedlByFiliale')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::getFacturesByFilialeAction', '_format' => 'json',));
}
not_get_facturesedlByFiliale:
}
elseif (0 === strpos($pathinfo, '/api/edl/facture')) {
if (0 === strpos($pathinfo, '/api/edl/factures')) {
// edl_ajax_factures
if (0 === strpos($pathinfo, '/api/edl/factures-ajax') && preg_match('#^/api/edl/factures\\-ajax/(?P<type>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_edl_ajax_factures;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_ajax_factures')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::getFacturesAjaxAction', '_format' => 'json',));
}
not_edl_ajax_factures:
// edl_rest_send_facture_by_email
if (0 === strpos($pathinfo, '/api/edl/factures/envoiemail') && preg_match('#^/api/edl/factures/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_edl_rest_send_facture_by_email;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_send_facture_by_email')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::sendFactureByEmailAction', '_format' => 'json',));
}
not_edl_rest_send_facture_by_email:
// get_facturesget_facturesedl
if (0 === strpos($pathinfo, '/api/edl/facturesedl') && preg_match('#^/api/edl/facturesedl(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_facturesget_facturesedl;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_facturesget_facturesedl')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::getFacturesAction', '_format' => 'json',));
}
not_get_facturesget_facturesedl:
// get_factureget_factureedl
if (preg_match('#^/api/edl/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_factureget_factureedl;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_factureget_factureedl')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::getFactureAction', '_format' => 'json',));
}
not_get_factureget_factureedl:
// edl_rest_post_facture
if (preg_match('#^/api/edl/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_edl_rest_post_facture;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_post_facture')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::postFacturesAction', '_format' => 'json',));
}
not_edl_rest_post_facture:
// edl_rest_post_facture_by_commande
if (0 === strpos($pathinfo, '/api/edl/facturesbycommande') && preg_match('#^/api/edl/facturesbycommande(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_edl_rest_post_facture_by_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_post_facture_by_commande')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::postFacturesByCommandeAction', '_format' => 'json',));
}
not_edl_rest_post_facture_by_commande:
}
// edl_rest_put_facture
if (0 === strpos($pathinfo, '/api/edl/facturetest') && preg_match('#^/api/edl/facturetest/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_rest_put_facture;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_put_facture')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::updateFactureAction', '_format' => 'json',));
}
not_edl_rest_put_facture:
// edl_rest_patch_facture
if (preg_match('#^/api/edl/facture/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_edl_rest_patch_facture;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_patch_facture')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::patchFactureAction', '_format' => 'json',));
}
not_edl_rest_patch_facture:
// edl_rest_delete_facture
if (preg_match('#^/api/edl/facture/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_edl_rest_delete_facture;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_delete_facture')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::removeFactureAction', '_format' => 'json',));
}
not_edl_rest_delete_facture:
// edl_rest_post_facture_fichier
if (preg_match('#^/api/edl/facture/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_edl_rest_post_facture_fichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_post_facture_fichier')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::postFactureFichierAction', '_format' => 'json',));
}
not_edl_rest_post_facture_fichier:
}
// edl_rest_getuser
if (0 === strpos($pathinfo, '/api/edl/getuser') && preg_match('#^/api/edl/getuser/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_rest_getuser;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_getuser')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getUserAction', '_format' => 'json',));
}
not_edl_rest_getuser:
if (0 === strpos($pathinfo, '/api/edl/telecharger-')) {
// edl_rest_telechargerCommande
if (0 === strpos($pathinfo, '/api/edl/telecharger-commande') && preg_match('#^/api/edl/telecharger\\-commande/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_rest_telechargerCommande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_telechargerCommande')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::telechargerCommandeAction', '_format' => 'json',));
}
not_edl_rest_telechargerCommande:
// edl_rest_telechargerFichier
if (0 === strpos($pathinfo, '/api/edl/telecharger-fichier') && preg_match('#^/api/edl/telecharger\\-fichier/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_rest_telechargerFichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_telechargerFichier')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::telechargerFichierAction', '_format' => 'json',));
}
not_edl_rest_telechargerFichier:
// edl_rest_telechargerFacture
if (0 === strpos($pathinfo, '/api/edl/telecharger-facture') && preg_match('#^/api/edl/telecharger\\-facture/(?P<factureId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_rest_telechargerFacture;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_telechargerFacture')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::telechargerFactureAction', '_format' => 'json',));
}
not_edl_rest_telechargerFacture:
// edl_rest_telechargerDevis_front
if (0 === strpos($pathinfo, '/api/edl/telecharger-devis') && preg_match('#^/api/edl/telecharger\\-devis/(?P<devisId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_rest_telechargerDevis_front;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_telechargerDevis_front')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::telechargerDevisAction', '_format' => 'json',));
}
not_edl_rest_telechargerDevis_front:
}
// edl_rest_envoyeravisclient
if (0 === strpos($pathinfo, '/api/edl/envoyeravisclient') && preg_match('#^/api/edl/envoyeravisclient/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_rest_envoyeravisclient;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_envoyeravisclient')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::envoyerAvisClientAction', '_format' => 'json',));
}
not_edl_rest_envoyeravisclient:
if (0 === strpos($pathinfo, '/api/edl/secteur')) {
// get_commandeedlBySecteur
if (preg_match('#^/api/edl/secteur/(?P<id>[^/]++)/edl_commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_commandeedlBySecteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandeedlBySecteur')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandesBySecteurAction', '_format' => 'json',));
}
not_get_commandeedlBySecteur:
// get_countcommandeedlByUserAndSecteur
if (preg_match('#^/api/edl/secteur/(?P<secteurId>[^/]++)/edl_commandes/count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_countcommandeedlByUserAndSecteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_countcommandeedlByUserAndSecteur')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCountCommandesByUserAndSecteurAction', '_format' => 'json',));
}
not_get_countcommandeedlByUserAndSecteur:
// get_devis_by_secteurget_devisedlBySecteur
if (preg_match('#^/api/edl/secteur/(?P<id>[^/]++)/devisedl(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_devis_by_secteurget_devisedlBySecteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devis_by_secteurget_devisedlBySecteur')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::getDevisBySecteurAction', '_format' => 'json',));
}
not_get_devis_by_secteurget_devisedlBySecteur:
// get_count_devis_by_user_and_secteurget_countdevisedlByUserAndSecteur
if (preg_match('#^/api/edl/secteur/(?P<secteurId>[^/]++)/devisedl/count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_count_devis_by_user_and_secteurget_countdevisedlByUserAndSecteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_count_devis_by_user_and_secteurget_countdevisedlByUserAndSecteur')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::getCountDevisByUserAndSecteurAction', '_format' => 'json',));
}
not_get_count_devis_by_user_and_secteurget_countdevisedlByUserAndSecteur:
// get_factures_by_secteurget_facturesedlBySecteur
if (preg_match('#^/api/edl/secteur/(?P<id>[^/]++)/facturesedl(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_factures_by_secteurget_facturesedlBySecteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_factures_by_secteurget_facturesedlBySecteur')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::getFacturesBySecteurAction', '_format' => 'json',));
}
not_get_factures_by_secteurget_facturesedlBySecteur:
}
elseif (0 === strpos($pathinfo, '/api/edl/user')) {
// get_commandeedlByUserAndSecteur
if (preg_match('#^/api/edl/user/(?P<userId>[^/]++)/secteur/(?P<secteurId>[^/]++)/edl_commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_commandeedlByUserAndSecteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandeedlByUserAndSecteur')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandesByUserAndSecteurAction', '_format' => 'json',));
}
not_get_commandeedlByUserAndSecteur:
// get_commandeedlByCustomer
if (preg_match('#^/api/edl/user/(?P<userId>[^/]++)/edl_commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_commandeedlByCustomer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandeedlByCustomer')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::getCommandesByCustomerAction', '_format' => 'json',));
}
not_get_commandeedlByCustomer:
// get_devis_by_user_and_secteurget_devisedlByUserAndSecteur
if (preg_match('#^/api/edl/user/(?P<userId>[^/]++)/secteur/(?P<secteurId>[^/]++)/devisedl(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_devis_by_user_and_secteurget_devisedlByUserAndSecteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devis_by_user_and_secteurget_devisedlByUserAndSecteur')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::getDevisByUserAndSecteurAction', '_format' => 'json',));
}
not_get_devis_by_user_and_secteurget_devisedlByUserAndSecteur:
// get_devisedlByCustomer
if (preg_match('#^/api/edl/user/(?P<userId>[^/]++)/devisedl(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_devisedlByCustomer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devisedlByCustomer')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::getDevisByCustomerAction', '_format' => 'json',));
}
not_get_devisedlByCustomer:
// get_facturesedlByCustomer
if (preg_match('#^/api/edl/user/(?P<userId>[^/]++)/facturesedl(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_facturesedlByCustomer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_facturesedlByCustomer')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::getFacturesByCustomerAction', '_format' => 'json',));
}
not_get_facturesedlByCustomer:
}
// edl_rest_unpaid_invoices_count
if (0 === strpos($pathinfo, '/api/edl/unpaidinvoices-count') && preg_match('#^/api/edl/unpaidinvoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_rest_unpaid_invoices_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_unpaid_invoices_count')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::getUnpaidInvoicesCountAction', '_format' => 'json',));
}
not_edl_rest_unpaid_invoices_count:
if (0 === strpos($pathinfo, '/api/edl/devis')) {
// edl_rest_post_commande_from_devis
if (preg_match('#^/api/edl/devis/(?P<devisId>[^/]++)/commande(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_rest_post_commande_from_devis;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_post_commande_from_devis')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\CommandeRestController::postCommandeFromDevisAction', '_format' => 'json',));
}
not_edl_rest_post_commande_from_devis:
// edl_rest_send_devis_by_email
if (0 === strpos($pathinfo, '/api/edl/devis/envoiemail') && preg_match('#^/api/edl/devis/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_edl_rest_send_devis_by_email;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_send_devis_by_email')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::sendDevisByEmailAction', '_format' => 'json',));
}
not_edl_rest_send_devis_by_email:
if (0 === strpos($pathinfo, '/api/edl/devisedl')) {
// get_devisget_devisedls
if (preg_match('#^/api/edl/devisedl(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_devisget_devisedls;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devisget_devisedls')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::getDevisAction', '_format' => 'json',));
}
not_get_devisget_devisedls:
// get_un_devisget_devisedl
if (0 === strpos($pathinfo, '/api/edl/devisedledl') && preg_match('#^/api/edl/devisedledl/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_un_devisget_devisedl;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_un_devisget_devisedl')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::getUnDevisAction', '_format' => 'json',));
}
not_get_un_devisget_devisedl:
}
// edl_rest_post_devis
if (preg_match('#^/api/edl/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_edl_rest_post_devis;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_post_devis')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::postDevisAction', '_format' => 'json',));
}
not_edl_rest_post_devis:
// edl_rest_put_devis
if (preg_match('#^/api/edl/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_edl_rest_put_devis;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_put_devis')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::updateDevisAction', '_format' => 'json',));
}
not_edl_rest_put_devis:
// edl_rest_patch_devis
if (preg_match('#^/api/edl/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_edl_rest_patch_devis;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_patch_devis')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::patchDevisAction', '_format' => 'json',));
}
not_edl_rest_patch_devis:
// edl_rest_delete_devis
if (preg_match('#^/api/edl/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_edl_rest_delete_devis;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_delete_devis')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::removeDevisAction', '_format' => 'json',));
}
not_edl_rest_delete_devis:
// edl_rest_post_devis_fichier
if (preg_match('#^/api/edl/devis/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_edl_rest_post_devis_fichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_post_devis_fichier')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\DevisRestController::postDevisFichierAction', '_format' => 'json',));
}
not_edl_rest_post_devis_fichier:
}
// edl_rest_invoices_count
if (0 === strpos($pathinfo, '/api/edl/invoices-count') && preg_match('#^/api/edl/invoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_rest_invoices_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_invoices_count')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::getInvoicesCountAction', '_format' => 'json',));
}
not_edl_rest_invoices_count:
// edl_rest_paid_invoices_count
if (0 === strpos($pathinfo, '/api/edl/paidinvoices-count') && preg_match('#^/api/edl/paidinvoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_rest_paid_invoices_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_paid_invoices_count')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::getPaidInvoicesCountAction', '_format' => 'json',));
}
not_edl_rest_paid_invoices_count:
// edl_rest_relance
if (0 === strpos($pathinfo, '/api/edl/relancefacturesimpayees') && preg_match('#^/api/edl/relancefacturesimpayees(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_rest_relance;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_rest_relance')), array ( '_controller' => 'EDLBundle\\Controller\\Rest\\FactureRestController::relanceFacturesImpayeesAction', '_format' => 'json',));
}
not_edl_rest_relance:
}
elseif (0 === strpos($pathinfo, '/api/em')) {
// get_all_job_postingsget_rest_jobpostings
if (0 === strpos($pathinfo, '/api/emplois/jobpostings') && preg_match('#^/api/emplois/jobpostings(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_all_job_postingsget_rest_jobpostings;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_all_job_postingsget_rest_jobpostings')), array ( '_controller' => 'JobsBundle\\Controller\\Rest\\JobPostingRestController::getAllJobPostingsAction', '_format' => 'json',));
}
not_get_all_job_postingsget_rest_jobpostings:
if (0 === strpos($pathinfo, '/api/emplois/application')) {
// get_applicationget_Applications
if (0 === strpos($pathinfo, '/api/emplois/applications') && preg_match('#^/api/emplois/applications(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_applicationget_Applications;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_applicationget_Applications')), array ( '_controller' => 'JobsBundle\\Controller\\Rest\\ApplicationRestController::getApplicationAction', '_format' => 'json',));
}
not_get_applicationget_Applications:
// jobs_rest_post_Application
if (preg_match('#^/api/emplois/application(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_jobs_rest_post_Application;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'jobs_rest_post_Application')), array ( '_controller' => 'JobsBundle\\Controller\\Rest\\ApplicationRestController::postApplicationAction', '_format' => 'json',));
}
not_jobs_rest_post_Application:
}
elseif (0 === strpos($pathinfo, '/api/emails')) {
// update_email
if (preg_match('#^/api/emails/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_email;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_email')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\EmailRestController::updateEmailAction', '_format' => 'json',));
}
not_update_email:
// remove_email
if (preg_match('#^/api/emails/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_email;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_email')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\EmailRestController::removeEmailAction', '_format' => 'json',));
}
not_remove_email:
// get_emails
if (preg_match('#^/api/emails(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_emails;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_emails')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\EmailRestController::getEmailsAction', '_format' => 'json',));
}
not_get_emails:
// get_email
if (preg_match('#^/api/emails/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_email;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_email')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\EmailRestController::getEmailAction', '_format' => 'json',));
}
not_get_email:
// post_emails
if (preg_match('#^/api/emails(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_emails;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_emails')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\EmailRestController::postEmailsAction', '_format' => 'json',));
}
not_post_emails:
// patch_email
if (preg_match('#^/api/emails/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_email;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_email')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\EmailRestController::patchEmailAction', '_format' => 'json',));
}
not_patch_email:
}
}
}
elseif (0 === strpos($pathinfo, '/api/risques-amiante')) {
if (0 === strpos($pathinfo, '/api/risques-amiante/commandes')) {
if (0 === strpos($pathinfo, '/api/risques-amiante/commandes-')) {
if (0 === strpos($pathinfo, '/api/risques-amiante/commandes-c')) {
// ra_rest_commandes_list
if (0 === strpos($pathinfo, '/api/risques-amiante/commandes-confirmees-list') && preg_match('#^/api/risques\\-amiante/commandes\\-confirmees\\-list(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_ra_rest_commandes_list;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'ra_rest_commandes_list')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCommandesListAction', '_format' => 'json',));
}
not_ra_rest_commandes_list:
// risques_amiante_rest_orders_count
if (0 === strpos($pathinfo, '/api/risques-amiante/commandes-count') && preg_match('#^/api/risques\\-amiante/commandes\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_rest_orders_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_orders_count')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCommandesCountAction', '_format' => 'json',));
}
not_risques_amiante_rest_orders_count:
// risques_amiante_rest_ca_diag
if (0 === strpos($pathinfo, '/api/risques-amiante/commandes-ca-diag') && preg_match('#^/api/risques\\-amiante/commandes\\-ca\\-diag(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_rest_ca_diag;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_ca_diag')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCaAmianteAction', '_format' => 'json',));
}
not_risques_amiante_rest_ca_diag:
}
// risques_amiante_rest_diag_orders
if (0 === strpos($pathinfo, '/api/risques-amiante/commandes-diag') && preg_match('#^/api/risques\\-amiante/commandes\\-diag(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_rest_diag_orders;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_diag_orders')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCommandesAction', '_format' => 'json',));
}
not_risques_amiante_rest_diag_orders:
// risques_amiante_rest_orders_treat_count
if (0 === strpos($pathinfo, '/api/risques-amiante/commandes-treat-count') && preg_match('#^/api/risques\\-amiante/commandes\\-treat\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_rest_orders_treat_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_orders_treat_count')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCommandesTreatedCountAction', '_format' => 'json',));
}
not_risques_amiante_rest_orders_treat_count:
// risques_amiante_rest_orders_progr_count
if (0 === strpos($pathinfo, '/api/risques-amiante/commandes-prog-count') && preg_match('#^/api/risques\\-amiante/commandes\\-prog\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_rest_orders_progr_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_orders_progr_count')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCommandesProgressCountAction', '_format' => 'json',));
}
not_risques_amiante_rest_orders_progr_count:
}
// risques_amiante_rest_send_commande_by_email
if (0 === strpos($pathinfo, '/api/risques-amiante/commandes/envoiemail') && preg_match('#^/api/risques\\-amiante/commandes/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_risques_amiante_rest_send_commande_by_email;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_send_commande_by_email')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::sendCommandeByEmailAction', '_format' => 'json',));
}
not_risques_amiante_rest_send_commande_by_email:
// risques_amiante_rest_send_test_email
if (0 === strpos($pathinfo, '/api/risques-amiante/commandes/testemail') && preg_match('#^/api/risques\\-amiante/commandes/testemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_risques_amiante_rest_send_test_email;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_send_test_email')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::sendTestEmailAction', '_format' => 'json',));
}
not_risques_amiante_rest_send_test_email:
// risques_amiante_rest_post_commande
if (preg_match('#^/api/risques\\-amiante/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_risques_amiante_rest_post_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_post_commande')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::postCommandesAction', '_format' => 'json',));
}
not_risques_amiante_rest_post_commande:
// risques_amiante_rest_put_commande
if (preg_match('#^/api/risques\\-amiante/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_risques_amiante_rest_put_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_put_commande')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::putCommandeAction', '_format' => 'json',));
}
not_risques_amiante_rest_put_commande:
// risques_amiante_rest_patch_commande
if (preg_match('#^/api/risques\\-amiante/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_risques_amiante_rest_patch_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_patch_commande')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::patchCommandeAction', '_format' => 'json',));
}
not_risques_amiante_rest_patch_commande:
// risques_amiante_rest_delete_commande
if (preg_match('#^/api/risques\\-amiante/commandes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_risques_amiante_rest_delete_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_delete_commande')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::removeCommandeAction', '_format' => 'json',));
}
not_risques_amiante_rest_delete_commande:
// risques_amiante_rest_post_commande_fichier
if (preg_match('#^/api/risques\\-amiante/commandes/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_risques_amiante_rest_post_commande_fichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_post_commande_fichier')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::postCommandeFichierAction', '_format' => 'json',));
}
not_risques_amiante_rest_post_commande_fichier:
// risques_amiante_rest_post_commande_front
if (0 === strpos($pathinfo, '/api/risques-amiante/commandes/front') && preg_match('#^/api/risques\\-amiante/commandes/front(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_risques_amiante_rest_post_commande_front;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_post_commande_front')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::forntCommandeAction', '_format' => 'json',));
}
not_risques_amiante_rest_post_commande_front:
// risques_amiante_rest_patch_commande_front
if (0 === strpos($pathinfo, '/api/risques-amiante/commandesfront') && preg_match('#^/api/risques\\-amiante/commandesfront/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_risques_amiante_rest_patch_commande_front;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_patch_commande_front')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::patchFrontCommandeAction', '_format' => 'json',));
}
not_risques_amiante_rest_patch_commande_front:
// risques_amiante_rest_get_verif_rdv
if (preg_match('#^/api/risques\\-amiante/commandes/(?P<id>[^/]++)/verifRDV(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_risques_amiante_rest_get_verif_rdv;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_get_verif_rdv')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getVerifRDVAction', '_format' => 'json',));
}
not_risques_amiante_rest_get_verif_rdv:
// risques_amiante_rest_get_prix_unite
if (preg_match('#^/api/risques\\-amiante/commandes/(?P<id>[^/]++)/prixunite(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_risques_amiante_rest_get_prix_unite;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_get_prix_unite')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getPrixUniteAction', '_format' => 'json',));
}
not_risques_amiante_rest_get_prix_unite:
}
// risques_amiante_rest_post_devis_front
if (0 === strpos($pathinfo, '/api/risques-amiante/commande') && preg_match('#^/api/risques\\-amiante/commande/(?P<commandeId>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_rest_post_devis_front;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_post_devis_front')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::frontDevisFromCommandeAction', '_format' => 'json',));
}
not_risques_amiante_rest_post_devis_front:
if (0 === strpos($pathinfo, '/api/risques-amiante/filiale')) {
// risques_amiante_rest_orders_by_filiale_count
if (preg_match('#^/api/risques\\-amiante/filiale/(?P<filialeId>[^/]++)/commandes\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_rest_orders_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_orders_by_filiale_count')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCommandesByFilialeCountAction', '_format' => 'json',));
}
not_risques_amiante_rest_orders_by_filiale_count:
// risques_amiante_rest_orders_treat_by_filiale_count
if (preg_match('#^/api/risques\\-amiante/filiale/(?P<filialeId>[^/]++)/commandes\\-treat\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_rest_orders_treat_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_orders_treat_by_filiale_count')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCommandesTreatedByFilialeCountAction', '_format' => 'json',));
}
not_risques_amiante_rest_orders_treat_by_filiale_count:
// risques_amiante_rest_orders_progr_by_filiale_count
if (preg_match('#^/api/risques\\-amiante/filiale/(?P<filialeId>[^/]++)/commandes\\-prog\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_rest_orders_progr_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_orders_progr_by_filiale_count')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCommandesProgressByFilialeCountAction', '_format' => 'json',));
}
not_risques_amiante_rest_orders_progr_by_filiale_count:
// get_ajax_commandesRA_by_filiale
if (preg_match('#^/api/risques\\-amiante/filiale/(?P<filialeId>[^/]++)/ajax\\-commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_get_ajax_commandesRA_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_ajax_commandesRA_by_filiale')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getAjaxCommandesByFilialeAction', '_format' => 'json',));
}
not_get_ajax_commandesRA_by_filiale:
// get_commandes_by_filiale
if (preg_match('#^/api/risques\\-amiante/filiale/(?P<filialeId>[^/]++)/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_commandes_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandes_by_filiale')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCommandesByFilialeAction', '_format' => 'json',));
}
not_get_commandes_by_filiale:
// get_ajax_devisRA_by_filiale
if (preg_match('#^/api/risques\\-amiante/filiale/(?P<filialeId>[^/]++)/ajax\\-devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_get_ajax_devisRA_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_ajax_devisRA_by_filiale')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::getAjaxDevisByFilialeAction', '_format' => 'json',));
}
not_get_ajax_devisRA_by_filiale:
// get_devis_by_filiale
if (preg_match('#^/api/risques\\-amiante/filiale/(?P<filialeId>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_devis_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devis_by_filiale')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::getDevisByFilialeAction', '_format' => 'json',));
}
not_get_devis_by_filiale:
// risques_amiante_rest_invoices_by_filiale_count
if (preg_match('#^/api/risques\\-amiante/filiale/(?P<filialeId>[^/]++)/invoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_rest_invoices_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_invoices_by_filiale_count')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::getInvoicesByFilialeCountAction', '_format' => 'json',));
}
not_risques_amiante_rest_invoices_by_filiale_count:
// get_factures_by_filiale
if (preg_match('#^/api/risques\\-amiante/filiale/(?P<filialeId>[^/]++)/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_factures_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_factures_by_filiale')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::getFacturesByFilialeAction', '_format' => 'json',));
}
not_get_factures_by_filiale:
}
elseif (0 === strpos($pathinfo, '/api/risques-amiante/factures')) {
// ra_ajax_factures
if (0 === strpos($pathinfo, '/api/risques-amiante/factures-ajax') && preg_match('#^/api/risques\\-amiante/factures\\-ajax/(?P<type>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_ra_ajax_factures;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'ra_ajax_factures')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::getFacturesAjaxAction', '_format' => 'json',));
}
not_ra_ajax_factures:
// risques_amiante_rest_facture_by_id
if (preg_match('#^/api/risques\\-amiante/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_rest_facture_by_id;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_facture_by_id')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::getFactureAction', '_format' => 'json',));
}
not_risques_amiante_rest_facture_by_id:
// risques_amiante_rest_send_facture_by_mail
if (0 === strpos($pathinfo, '/api/risques-amiante/factures/envoiemail') && preg_match('#^/api/risques\\-amiante/factures/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_risques_amiante_rest_send_facture_by_mail;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_send_facture_by_mail')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::sendFactureByEmailAction', '_format' => 'json',));
}
not_risques_amiante_rest_send_facture_by_mail:
// get_factures
if (preg_match('#^/api/risques\\-amiante/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_factures;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_factures')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::getFacturesAction', '_format' => 'json',));
}
not_get_factures:
// risques_amiante_rest_post_facture
if (preg_match('#^/api/risques\\-amiante/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_risques_amiante_rest_post_facture;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_post_facture')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::postFacturesAction', '_format' => 'json',));
}
not_risques_amiante_rest_post_facture:
// risques_amiante_rest_post_facture_by_commande
if (0 === strpos($pathinfo, '/api/risques-amiante/facturesbycommande') && preg_match('#^/api/risques\\-amiante/facturesbycommande(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_risques_amiante_rest_post_facture_by_commande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_post_facture_by_commande')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::postFacturesByCommandeAction', '_format' => 'json',));
}
not_risques_amiante_rest_post_facture_by_commande:
// risques_amiante_rest_put_facture
if (preg_match('#^/api/risques\\-amiante/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_risques_amiante_rest_put_facture;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_put_facture')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::updateFactureAction', '_format' => 'json',));
}
not_risques_amiante_rest_put_facture:
// risques_amiante_rest_patch_facture
if (preg_match('#^/api/risques\\-amiante/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_risques_amiante_rest_patch_facture;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_patch_facture')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::patchFactureAction', '_format' => 'json',));
}
not_risques_amiante_rest_patch_facture:
// risques_amiante_rest_delete_facture
if (preg_match('#^/api/risques\\-amiante/factures/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_risques_amiante_rest_delete_facture;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_delete_facture')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::removeFactureAction', '_format' => 'json',));
}
not_risques_amiante_rest_delete_facture:
// risques_amiante_rest_post_facture_fichier
if (preg_match('#^/api/risques\\-amiante/factures/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_risques_amiante_rest_post_facture_fichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_post_facture_fichier')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::postFactureFichierAction', '_format' => 'json',));
}
not_risques_amiante_rest_post_facture_fichier:
}
elseif (0 === strpos($pathinfo, '/api/risques-amiante/telecharger-')) {
// risques_amiante_rest_telechargerCommande
if (0 === strpos($pathinfo, '/api/risques-amiante/telecharger-commande') && preg_match('#^/api/risques\\-amiante/telecharger\\-commande/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_rest_telechargerCommande;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_telechargerCommande')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::telechargerCommandeAction', '_format' => 'json',));
}
not_risques_amiante_rest_telechargerCommande:
// risques_amiante_rest_telechargerFichier
if (0 === strpos($pathinfo, '/api/risques-amiante/telecharger-fichier') && preg_match('#^/api/risques\\-amiante/telecharger\\-fichier/(?P<commandeId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_rest_telechargerFichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_telechargerFichier')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::telechargerFichierAction', '_format' => 'json',));
}
not_risques_amiante_rest_telechargerFichier:
// risques_amiante_rest_telechargerFacture_front
if (0 === strpos($pathinfo, '/api/risques-amiante/telecharger-facture') && preg_match('#^/api/risques\\-amiante/telecharger\\-facture/(?P<factureId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_rest_telechargerFacture_front;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_telechargerFacture_front')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::telechargerFactureAction', '_format' => 'json',));
}
not_risques_amiante_rest_telechargerFacture_front:
// risques_amiante_rest_telechargerDevis_front
if (0 === strpos($pathinfo, '/api/risques-amiante/telecharger-devis') && preg_match('#^/api/risques\\-amiante/telecharger\\-devis/(?P<devisId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_rest_telechargerDevis_front;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_telechargerDevis_front')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::telechargerDevisAction', '_format' => 'json',));
}
not_risques_amiante_rest_telechargerDevis_front:
}
// risques_amiante_rest_testnbfacturespayees
if (0 === strpos($pathinfo, '/api/risques-amiante/testnbfacturespayees') && preg_match('#^/api/risques\\-amiante/testnbfacturespayees/(?P<userId>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_rest_testnbfacturespayees;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_testnbfacturespayees')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::testnbfacturespayeesAction', '_format' => 'json',));
}
not_risques_amiante_rest_testnbfacturespayees:
if (0 === strpos($pathinfo, '/api/risques-amiante/secteur')) {
// get_commandes_by_secteur
if (preg_match('#^/api/risques\\-amiante/secteur/(?P<id>[^/]++)/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_commandes_by_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandes_by_secteur')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCommandesBySecteurAction', '_format' => 'json',));
}
not_get_commandes_by_secteur:
// get_devis_by_secteur
if (preg_match('#^/api/risques\\-amiante/secteur/(?P<id>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_devis_by_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devis_by_secteur')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::getDevisBySecteurAction', '_format' => 'json',));
}
not_get_devis_by_secteur:
// get_factures_by_secteur
if (preg_match('#^/api/risques\\-amiante/secteur/(?P<id>[^/]++)/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_factures_by_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_factures_by_secteur')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::getFacturesBySecteurAction', '_format' => 'json',));
}
not_get_factures_by_secteur:
}
elseif (0 === strpos($pathinfo, '/api/risques-amiante/user')) {
// get_commandes_by_customer
if (preg_match('#^/api/risques\\-amiante/user/(?P<userId>[^/]++)/commandes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_commandes_by_customer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_commandes_by_customer')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::getCommandesByCustomerAction', '_format' => 'json',));
}
not_get_commandes_by_customer:
// get_devis_by_user_and_secteur
if (preg_match('#^/api/risques\\-amiante/user/(?P<userId>[^/]++)/secteur/(?P<secteurId>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_devis_by_user_and_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devis_by_user_and_secteur')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::getDevisByUserAndSecteurAction', '_format' => 'json',));
}
not_get_devis_by_user_and_secteur:
// risques_amiante_get_devis_by_customer
if (preg_match('#^/api/risques\\-amiante/user/(?P<userId>[^/]++)/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_get_devis_by_customer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_get_devis_by_customer')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::getDevisByCustomerAction', '_format' => 'json',));
}
not_risques_amiante_get_devis_by_customer:
// get_factures_by_customer
if (preg_match('#^/api/risques\\-amiante/user/(?P<userId>[^/]++)/factures(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_factures_by_customer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_factures_by_customer')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::getFacturesByCustomerAction', '_format' => 'json',));
}
not_get_factures_by_customer:
}
// risques_amiante_rest_unpaid_invoices_count
if (0 === strpos($pathinfo, '/api/risques-amiante/unpaidinvoices-count') && preg_match('#^/api/risques\\-amiante/unpaidinvoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_rest_unpaid_invoices_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_unpaid_invoices_count')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::getUnpaidInvoicesCountAction', '_format' => 'json',));
}
not_risques_amiante_rest_unpaid_invoices_count:
if (0 === strpos($pathinfo, '/api/risques-amiante/devis')) {
// risques_amiante_rest_post_commande_from_devis
if (preg_match('#^/api/risques\\-amiante/devis/(?P<devisId>[^/]++)/commande(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_rest_post_commande_from_devis;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_post_commande_from_devis')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\CommandeRestController::postCommandeFromDevisAction', '_format' => 'json',));
}
not_risques_amiante_rest_post_commande_from_devis:
if (0 === strpos($pathinfo, '/api/risques-amiante/devis-count')) {
// risques_amiante_rest_devis_by_filiale_count
if (preg_match('#^/api/risques\\-amiante/devis\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_rest_devis_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_devis_by_filiale_count')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::getDevisByFilialeCountAction', '_format' => 'json',));
}
not_risques_amiante_rest_devis_by_filiale_count:
// risques_amiante_rest_devis_count
if (preg_match('#^/api/risques\\-amiante/devis\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_rest_devis_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_devis_count')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::getDevisCountAction', '_format' => 'json',));
}
not_risques_amiante_rest_devis_count:
}
// risques_amiante_rest_send_devis_by_email
if (0 === strpos($pathinfo, '/api/risques-amiante/devis/envoiemail') && preg_match('#^/api/risques\\-amiante/devis/envoiemail(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_risques_amiante_rest_send_devis_by_email;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_send_devis_by_email')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::sendDevisByEmailAction', '_format' => 'json',));
}
not_risques_amiante_rest_send_devis_by_email:
// get_devis
if (preg_match('#^/api/risques\\-amiante/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_devis;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_devis')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::getDevisAction', '_format' => 'json',));
}
not_get_devis:
// risques_amiante_rest_post_devis
if (preg_match('#^/api/risques\\-amiante/devis(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_risques_amiante_rest_post_devis;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_post_devis')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::postDevisAction', '_format' => 'json',));
}
not_risques_amiante_rest_post_devis:
// risques_amiante_rest_put_devis
if (preg_match('#^/api/risques\\-amiante/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_risques_amiante_rest_put_devis;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_put_devis')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::updateDevisAction', '_format' => 'json',));
}
not_risques_amiante_rest_put_devis:
// risques_amiante_rest_patch_devis
if (preg_match('#^/api/risques\\-amiante/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_risques_amiante_rest_patch_devis;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_patch_devis')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::patchDevisAction', '_format' => 'json',));
}
not_risques_amiante_rest_patch_devis:
// risques_amiante_rest_delete_devis
if (preg_match('#^/api/risques\\-amiante/devis/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_risques_amiante_rest_delete_devis;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_delete_devis')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::removeDevisAction', '_format' => 'json',));
}
not_risques_amiante_rest_delete_devis:
// risques_amiante_rest_post_devis_fichier
if (preg_match('#^/api/risques\\-amiante/devis/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_risques_amiante_rest_post_devis_fichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_post_devis_fichier')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\DevisRestController::postDevisFichierAction', '_format' => 'json',));
}
not_risques_amiante_rest_post_devis_fichier:
}
// risques_amiante_rest_invoices_count
if (0 === strpos($pathinfo, '/api/risques-amiante/invoices-count') && preg_match('#^/api/risques\\-amiante/invoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_rest_invoices_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_invoices_count')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::getInvoicesCountAction', '_format' => 'json',));
}
not_risques_amiante_rest_invoices_count:
// risques_amiante_rest_paid_invoices_count
if (0 === strpos($pathinfo, '/api/risques-amiante/paidinvoices-count') && preg_match('#^/api/risques\\-amiante/paidinvoices\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_rest_paid_invoices_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_paid_invoices_count')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::getPaidInvoicesCountAction', '_format' => 'json',));
}
not_risques_amiante_rest_paid_invoices_count:
// risques_amiante_rest_relance
if (0 === strpos($pathinfo, '/api/risques-amiante/relancefacturesimpayees') && preg_match('#^/api/risques\\-amiante/relancefacturesimpayees(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_rest_relance;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_rest_relance')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\Rest\\FactureRestController::relanceFacturesImpayeesAction', '_format' => 'json',));
}
not_risques_amiante_rest_relance:
}
elseif (0 === strpos($pathinfo, '/api/regions')) {
// update_region
if (preg_match('#^/api/regions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_region;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_region')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\RegionRestController::updateRegionAction', '_format' => 'json',));
}
not_update_region:
// remove_region
if (preg_match('#^/api/regions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_region;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_region')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\RegionRestController::removeRegionAction', '_format' => 'json',));
}
not_remove_region:
// get_regions
if (preg_match('#^/api/regions(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_regions;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_regions')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\RegionRestController::getRegionsAction', '_format' => 'json',));
}
not_get_regions:
// get_region
if (preg_match('#^/api/regions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_region;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_region')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\RegionRestController::getRegionAction', '_format' => 'json',));
}
not_get_region:
// post_regions
if (preg_match('#^/api/regions(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_regions;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_regions')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\RegionRestController::postRegionsAction', '_format' => 'json',));
}
not_post_regions:
// patch_region
if (preg_match('#^/api/regions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_region;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_region')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\RegionRestController::patchRegionAction', '_format' => 'json',));
}
not_patch_region:
}
elseif (0 === strpos($pathinfo, '/api/typebiens')) {
// update_typebien
if (preg_match('#^/api/typebiens/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_typebien;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_typebien')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\TypeBienRestController::updateTypebienAction', '_format' => 'json',));
}
not_update_typebien:
// remove_typebien
if (preg_match('#^/api/typebiens/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_typebien;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_typebien')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\TypeBienRestController::removeTypebienAction', '_format' => 'json',));
}
not_remove_typebien:
// get_typebiens
if (preg_match('#^/api/typebiens(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_typebiens;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_typebiens')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\TypeBienRestController::getTypebiensAction', '_format' => 'json',));
}
not_get_typebiens:
// get_typebien
if (preg_match('#^/api/typebiens/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_typebien;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_typebien')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\TypeBienRestController::getTypebienAction', '_format' => 'json',));
}
not_get_typebien:
// post_typebiens
if (preg_match('#^/api/typebiens(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_typebiens;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_typebiens')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\TypeBienRestController::postTypebiensAction', '_format' => 'json',));
}
not_post_typebiens:
// patch_typebien
if (preg_match('#^/api/typebiens/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_typebien;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_typebien')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\TypeBienRestController::patchTypebienAction', '_format' => 'json',));
}
not_patch_typebien:
}
elseif (0 === strpos($pathinfo, '/api/transactions')) {
// update_transaction
if (preg_match('#^/api/transactions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_transaction;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_transaction')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\TransactionRestController::updateTransactionAction', '_format' => 'json',));
}
not_update_transaction:
// remove_transaction
if (preg_match('#^/api/transactions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_transaction;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_transaction')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\TransactionRestController::removeTransactionAction', '_format' => 'json',));
}
not_remove_transaction:
// get_transactions
if (preg_match('#^/api/transactions(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_transactions;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_transactions')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\TransactionRestController::getTransactionsAction', '_format' => 'json',));
}
not_get_transactions:
// get_transaction
if (preg_match('#^/api/transactions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_transaction;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_transaction')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\TransactionRestController::getTransactionAction', '_format' => 'json',));
}
not_get_transaction:
// post_transactions
if (preg_match('#^/api/transactions(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_transactions;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_transactions')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\TransactionRestController::postTransactionsAction', '_format' => 'json',));
}
not_post_transactions:
// patch_transaction
if (preg_match('#^/api/transactions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_transaction;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_transaction')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\TransactionRestController::patchTransactionAction', '_format' => 'json',));
}
not_patch_transaction:
}
elseif (0 === strpos($pathinfo, '/api/naturebiens')) {
// update_naturebien
if (preg_match('#^/api/naturebiens/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_naturebien;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_naturebien')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\NatureBienRestController::updateNaturebienAction', '_format' => 'json',));
}
not_update_naturebien:
// remove_naturebien
if (preg_match('#^/api/naturebiens/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_naturebien;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_naturebien')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\NatureBienRestController::removeNaturebienAction', '_format' => 'json',));
}
not_remove_naturebien:
// get_naturebiens
if (preg_match('#^/api/naturebiens(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_naturebiens;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_naturebiens')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\NatureBienRestController::getNaturebiensAction', '_format' => 'json',));
}
not_get_naturebiens:
// get_naturebien
if (preg_match('#^/api/naturebiens/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_naturebien;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_naturebien')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\NatureBienRestController::getNaturebienAction', '_format' => 'json',));
}
not_get_naturebien:
// post_naturebiens
if (preg_match('#^/api/naturebiens(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_naturebiens;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_naturebiens')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\NatureBienRestController::postNaturebiensAction', '_format' => 'json',));
}
not_post_naturebiens:
// patch_naturebien
if (preg_match('#^/api/naturebiens/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_naturebien;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_naturebien')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\NatureBienRestController::patchNaturebienAction', '_format' => 'json',));
}
not_patch_naturebien:
}
elseif (0 === strpos($pathinfo, '/api/pack')) {
if (0 === strpos($pathinfo, '/api/packcontroles')) {
// update_pack_controle
if (preg_match('#^/api/packcontroles/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_pack_controle;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_pack_controle')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PackControleRestController::updatePackControleAction', '_format' => 'json',));
}
not_update_pack_controle:
// remove_pack_controle
if (preg_match('#^/api/packcontroles/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_pack_controle;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_pack_controle')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PackControleRestController::removePackControleAction', '_format' => 'json',));
}
not_remove_pack_controle:
// get_pack_controles
if (preg_match('#^/api/packcontroles(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_pack_controles;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_pack_controles')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PackControleRestController::getPackControlesAction', '_format' => 'json',));
}
not_get_pack_controles:
// get_pack_controle
if (preg_match('#^/api/packcontroles/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_pack_controle;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_pack_controle')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PackControleRestController::getPackControleAction', '_format' => 'json',));
}
not_get_pack_controle:
// post_pack_controles
if (preg_match('#^/api/packcontroles(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_pack_controles;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_pack_controles')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PackControleRestController::postPackControlesAction', '_format' => 'json',));
}
not_post_pack_controles:
// patch_pack_controle
if (preg_match('#^/api/packcontroles/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_pack_controle;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_pack_controle')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PackControleRestController::patchPackControleAction', '_format' => 'json',));
}
not_patch_pack_controle:
}
elseif (0 === strpos($pathinfo, '/api/packdiagnostics')) {
// update_pack_diagnostic
if (preg_match('#^/api/packdiagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_pack_diagnostic;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_pack_diagnostic')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PackDiagnosticRestController::updatePackDiagnosticAction', '_format' => 'json',));
}
not_update_pack_diagnostic:
// remove_pack_diagnostic
if (preg_match('#^/api/packdiagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_pack_diagnostic;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_pack_diagnostic')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PackDiagnosticRestController::removePackDiagnosticAction', '_format' => 'json',));
}
not_remove_pack_diagnostic:
// get_pack_diagnostics
if (preg_match('#^/api/packdiagnostics(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_pack_diagnostics;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_pack_diagnostics')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PackDiagnosticRestController::getPackDiagnosticsAction', '_format' => 'json',));
}
not_get_pack_diagnostics:
// get_pack_diagnostic
if (preg_match('#^/api/packdiagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_pack_diagnostic;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_pack_diagnostic')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PackDiagnosticRestController::getPackDiagnosticAction', '_format' => 'json',));
}
not_get_pack_diagnostic:
// post_pack_diagnostics
if (preg_match('#^/api/packdiagnostics(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_pack_diagnostics;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_pack_diagnostics')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PackDiagnosticRestController::postPackDiagnosticsAction', '_format' => 'json',));
}
not_post_pack_diagnostics:
// patch_pack_diagnostic
if (preg_match('#^/api/packdiagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_pack_diagnostic;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_pack_diagnostic')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PackDiagnosticRestController::patchPackDiagnosticAction', '_format' => 'json',));
}
not_patch_pack_diagnostic:
}
elseif (0 === strpos($pathinfo, '/api/packedls')) {
// update_pack_edl
if (preg_match('#^/api/packedls/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_pack_edl;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_pack_edl')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PackEdlRestController::updatePackEdlAction', '_format' => 'json',));
}
not_update_pack_edl:
// remove_pack_edl
if (preg_match('#^/api/packedls/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_pack_edl;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_pack_edl')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PackEdlRestController::removePackEdlAction', '_format' => 'json',));
}
not_remove_pack_edl:
// get_pack_edls
if (preg_match('#^/api/packedls(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_pack_edls;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_pack_edls')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PackEdlRestController::getPackEdlsAction', '_format' => 'json',));
}
not_get_pack_edls:
// get_pack_edl
if (preg_match('#^/api/packedls/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_pack_edl;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_pack_edl')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PackEdlRestController::getPackEdlAction', '_format' => 'json',));
}
not_get_pack_edl:
// post_pack_edls
if (preg_match('#^/api/packedls(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_pack_edls;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_pack_edls')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PackEdlRestController::postPackEdlsAction', '_format' => 'json',));
}
not_post_pack_edls:
// patch_pack_edl
if (preg_match('#^/api/packedls/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_pack_edl;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_pack_edl')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PackEdlRestController::patchPackEdlAction', '_format' => 'json',));
}
not_patch_pack_edl:
}
}
elseif (0 === strpos($pathinfo, '/api/pr')) {
if (0 === strpos($pathinfo, '/api/produitcontroles')) {
// update_produit_controle
if (preg_match('#^/api/produitcontroles/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_produit_controle;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_produit_controle')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\ProduitControleRestController::updateProduitControleAction', '_format' => 'json',));
}
not_update_produit_controle:
// remove_produit_controle
if (preg_match('#^/api/produitcontroles/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_produit_controle;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_produit_controle')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\ProduitControleRestController::removeProduitControleAction', '_format' => 'json',));
}
not_remove_produit_controle:
// get_produit_controles
if (preg_match('#^/api/produitcontroles(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_produit_controles;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_produit_controles')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\ProduitControleRestController::getProduitControlesAction', '_format' => 'json',));
}
not_get_produit_controles:
// get_produit_controle
if (preg_match('#^/api/produitcontroles/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_produit_controle;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_produit_controle')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\ProduitControleRestController::getProduitControleAction', '_format' => 'json',));
}
not_get_produit_controle:
// post_produit_controles
if (preg_match('#^/api/produitcontroles(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_produit_controles;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_produit_controles')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\ProduitControleRestController::postProduitControlesAction', '_format' => 'json',));
}
not_post_produit_controles:
// patch_produit_controle
if (preg_match('#^/api/produitcontroles/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_produit_controle;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_produit_controle')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\ProduitControleRestController::patchProduitControleAction', '_format' => 'json',));
}
not_patch_produit_controle:
}
elseif (0 === strpos($pathinfo, '/api/prestations')) {
// update_prestation
if (preg_match('#^/api/prestations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_prestation;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_prestation')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrestationRestController::updatePrestationAction', '_format' => 'json',));
}
not_update_prestation:
// remove_prestation
if (preg_match('#^/api/prestations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_prestation;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_prestation')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrestationRestController::removePrestationAction', '_format' => 'json',));
}
not_remove_prestation:
// get_prestations
if (preg_match('#^/api/prestations(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_prestations;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_prestations')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrestationRestController::getPrestationsAction', '_format' => 'json',));
}
not_get_prestations:
// get_prestation
if (preg_match('#^/api/prestations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_prestation;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_prestation')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrestationRestController::getPrestationAction', '_format' => 'json',));
}
not_get_prestation:
// post_prestations
if (preg_match('#^/api/prestations(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_prestations;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_prestations')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrestationRestController::postPrestationsAction', '_format' => 'json',));
}
not_post_prestations:
// patch_prestation
if (preg_match('#^/api/prestations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_prestation;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_prestation')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrestationRestController::patchPrestationAction', '_format' => 'json',));
}
not_patch_prestation:
}
elseif (0 === strpos($pathinfo, '/api/prix')) {
if (0 === strpos($pathinfo, '/api/prixpackdiagnostics')) {
// update_prix_pack_diagnostic
if (preg_match('#^/api/prixpackdiagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_prix_pack_diagnostic;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_prix_pack_diagnostic')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackDiagnosticRestController::updatePrixPackDiagnosticAction', '_format' => 'json',));
}
not_update_prix_pack_diagnostic:
// remove_prix_pack_diagnostic
if (preg_match('#^/api/prixpackdiagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_prix_pack_diagnostic;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_prix_pack_diagnostic')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackDiagnosticRestController::removePrixPackDiagnosticAction', '_format' => 'json',));
}
not_remove_prix_pack_diagnostic:
// get_prix_pack_diagnostics
if (preg_match('#^/api/prixpackdiagnostics(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_prix_pack_diagnostics;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_prix_pack_diagnostics')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackDiagnosticRestController::getPrixPackDiagnosticsAction', '_format' => 'json',));
}
not_get_prix_pack_diagnostics:
// get_prix_pack_diagnostic
if (preg_match('#^/api/prixpackdiagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_prix_pack_diagnostic;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_prix_pack_diagnostic')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackDiagnosticRestController::getPrixPackDiagnosticAction', '_format' => 'json',));
}
not_get_prix_pack_diagnostic:
// post_prix_pack_diagnostics
if (preg_match('#^/api/prixpackdiagnostics(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_prix_pack_diagnostics;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_prix_pack_diagnostics')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackDiagnosticRestController::postPrixPackDiagnosticsAction', '_format' => 'json',));
}
not_post_prix_pack_diagnostics:
// patch_prix_pack_diagnostic
if (preg_match('#^/api/prixpackdiagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_prix_pack_diagnostic;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_prix_pack_diagnostic')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackDiagnosticRestController::patchPrixPackDiagnosticAction', '_format' => 'json',));
}
not_patch_prix_pack_diagnostic:
}
elseif (0 === strpos($pathinfo, '/api/prixpackedls')) {
// update_prix_pack_edl
if (preg_match('#^/api/prixpackedls/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_prix_pack_edl;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_prix_pack_edl')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackEdlRestController::updatePrixPackEdlAction', '_format' => 'json',));
}
not_update_prix_pack_edl:
// remove_prix_pack_edl
if (preg_match('#^/api/prixpackedls/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_prix_pack_edl;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_prix_pack_edl')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackEdlRestController::removePrixPackEdlAction', '_format' => 'json',));
}
not_remove_prix_pack_edl:
// get_prix_pack_edls
if (preg_match('#^/api/prixpackedls(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_prix_pack_edls;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_prix_pack_edls')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackEdlRestController::getPrixPackEdlsAction', '_format' => 'json',));
}
not_get_prix_pack_edls:
// get_prix_pack_edl
if (preg_match('#^/api/prixpackedls/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_prix_pack_edl;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_prix_pack_edl')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackEdlRestController::getPrixPackEdlAction', '_format' => 'json',));
}
not_get_prix_pack_edl:
// post_prix_pack_edls
if (preg_match('#^/api/prixpackedls(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_prix_pack_edls;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_prix_pack_edls')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackEdlRestController::postPrixPackEdlsAction', '_format' => 'json',));
}
not_post_prix_pack_edls:
// patch_prix_pack_edl
if (preg_match('#^/api/prixpackedls/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_prix_pack_edl;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_prix_pack_edl')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixPackEdlRestController::patchPrixPackEdlAction', '_format' => 'json',));
}
not_patch_prix_pack_edl:
}
elseif (0 === strpos($pathinfo, '/api/prixunitediagnostics')) {
// update_prix_unite_diagnostic
if (preg_match('#^/api/prixunitediagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_prix_unite_diagnostic;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_prix_unite_diagnostic')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteDiagnosticRestController::updatePrixUniteDiagnosticAction', '_format' => 'json',));
}
not_update_prix_unite_diagnostic:
// remove_prix_unite_diagnostic
if (preg_match('#^/api/prixunitediagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_prix_unite_diagnostic;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_prix_unite_diagnostic')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteDiagnosticRestController::removePrixUniteDiagnosticAction', '_format' => 'json',));
}
not_remove_prix_unite_diagnostic:
// get_prix_unite_diagnostics
if (preg_match('#^/api/prixunitediagnostics(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_prix_unite_diagnostics;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_prix_unite_diagnostics')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteDiagnosticRestController::getPrixUniteDiagnosticsAction', '_format' => 'json',));
}
not_get_prix_unite_diagnostics:
// get_prix_unite_diagnostic
if (preg_match('#^/api/prixunitediagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_prix_unite_diagnostic;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_prix_unite_diagnostic')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteDiagnosticRestController::getPrixUniteDiagnosticAction', '_format' => 'json',));
}
not_get_prix_unite_diagnostic:
// post_prix_unite_diagnostics
if (preg_match('#^/api/prixunitediagnostics(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_prix_unite_diagnostics;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_prix_unite_diagnostics')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteDiagnosticRestController::postPrixUniteDiagnosticsAction', '_format' => 'json',));
}
not_post_prix_unite_diagnostics:
// patch_prix_unite_diagnostic
if (preg_match('#^/api/prixunitediagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_prix_unite_diagnostic;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_prix_unite_diagnostic')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteDiagnosticRestController::patchPrixUniteDiagnosticAction', '_format' => 'json',));
}
not_patch_prix_unite_diagnostic:
}
elseif (0 === strpos($pathinfo, '/api/prixuniteamiantes')) {
// update_prix_unite_amiante
if (preg_match('#^/api/prixuniteamiantes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_prix_unite_amiante;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_prix_unite_amiante')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteAmianteRestController::updatePrixUniteAmianteAction', '_format' => 'json',));
}
not_update_prix_unite_amiante:
// remove_prix_unite_amiante
if (preg_match('#^/api/prixuniteamiantes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_prix_unite_amiante;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_prix_unite_amiante')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteAmianteRestController::removePrixUniteAmianteAction', '_format' => 'json',));
}
not_remove_prix_unite_amiante:
// get_prix_unite_amiantes
if (preg_match('#^/api/prixuniteamiantes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_prix_unite_amiantes;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_prix_unite_amiantes')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteAmianteRestController::getPrixUniteAmiantesAction', '_format' => 'json',));
}
not_get_prix_unite_amiantes:
// get_prix_unite_amiante
if (preg_match('#^/api/prixuniteamiantes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_prix_unite_amiante;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_prix_unite_amiante')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteAmianteRestController::getPrixUniteAmianteAction', '_format' => 'json',));
}
not_get_prix_unite_amiante:
// post_prix_unite_amiantes
if (preg_match('#^/api/prixuniteamiantes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_prix_unite_amiantes;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_prix_unite_amiantes')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteAmianteRestController::postPrixUniteAmiantesAction', '_format' => 'json',));
}
not_post_prix_unite_amiantes:
// patch_prix_unite_amiante
if (preg_match('#^/api/prixuniteamiantes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_prix_unite_amiante;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_prix_unite_amiante')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\PrixUniteAmianteRestController::patchPrixUniteAmianteAction', '_format' => 'json',));
}
not_patch_prix_unite_amiante:
}
}
}
elseif (0 === strpos($pathinfo, '/api/activites')) {
// update_activite
if (preg_match('#^/api/activites/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_activite;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_activite')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\ActiviteRestController::updateActiviteAction', '_format' => 'json',));
}
not_update_activite:
// remove_activite
if (preg_match('#^/api/activites/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_activite;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_activite')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\ActiviteRestController::removeActiviteAction', '_format' => 'json',));
}
not_remove_activite:
// get_activites
if (preg_match('#^/api/activites(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_activites;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_activites')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\ActiviteRestController::getActivitesAction', '_format' => 'json',));
}
not_get_activites:
// get_activite
if (preg_match('#^/api/activites/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_activite;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_activite')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\ActiviteRestController::getActiviteAction', '_format' => 'json',));
}
not_get_activite:
// post_activites
if (preg_match('#^/api/activites(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_activites;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_activites')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\ActiviteRestController::postActivitesAction', '_format' => 'json',));
}
not_post_activites:
// patch_activite
if (preg_match('#^/api/activites/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_activite;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_activite')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\ActiviteRestController::patchActiviteAction', '_format' => 'json',));
}
not_patch_activite:
}
elseif (0 === strpos($pathinfo, '/api/interventions')) {
// update_intervention
if (preg_match('#^/api/interventions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_intervention;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_intervention')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\InterventionRestController::updateInterventionAction', '_format' => 'json',));
}
not_update_intervention:
// remove_intervention
if (preg_match('#^/api/interventions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_intervention;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_intervention')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\InterventionRestController::removeInterventionAction', '_format' => 'json',));
}
not_remove_intervention:
// get_interventions
if (preg_match('#^/api/interventions(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_interventions;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_interventions')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\InterventionRestController::getInterventionsAction', '_format' => 'json',));
}
not_get_interventions:
// get_intervention
if (preg_match('#^/api/interventions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_intervention;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_intervention')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\InterventionRestController::getInterventionAction', '_format' => 'json',));
}
not_get_intervention:
// post_interventions
if (preg_match('#^/api/interventions(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_interventions;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_interventions')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\InterventionRestController::postInterventionsAction', '_format' => 'json',));
}
not_post_interventions:
// patch_intervention
if (preg_match('#^/api/interventions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_intervention;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_intervention')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\InterventionRestController::patchInterventionAction', '_format' => 'json',));
}
not_patch_intervention:
}
elseif (0 === strpos($pathinfo, '/api/filiales')) {
// update_filiale
if (preg_match('#^/api/filiales/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_filiale')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\FilialeRestController::updateFilialeAction', '_format' => 'json',));
}
not_update_filiale:
// remove_filiale
if (preg_match('#^/api/filiales/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_filiale')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\FilialeRestController::removeFilialeAction', '_format' => 'json',));
}
not_remove_filiale:
// get_filiales
if (preg_match('#^/api/filiales(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_filiales;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_filiales')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\FilialeRestController::getFilialesAction', '_format' => 'json',));
}
not_get_filiales:
// get_filiale
if (preg_match('#^/api/filiales/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_filiale')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\FilialeRestController::getFilialeAction', '_format' => 'json',));
}
not_get_filiale:
// post_filiales
if (preg_match('#^/api/filiales(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_filiales;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_filiales')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\FilialeRestController::postFilialesAction', '_format' => 'json',));
}
not_post_filiales:
// patch_filiale
if (preg_match('#^/api/filiales/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_filiale')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\FilialeRestController::patchFilialeAction', '_format' => 'json',));
}
not_patch_filiale:
// get_secteurs_by_filiale
if (preg_match('#^/api/filiales/(?P<id>[^/]++)/secteurs(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_secteurs_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_secteurs_by_filiale')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\SecteurRestController::getSecteursByFilialeAction', '_format' => 'json',));
}
not_get_secteurs_by_filiale:
}
elseif (0 === strpos($pathinfo, '/api/secteurs')) {
// update_secteur
if (preg_match('#^/api/secteurs/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_secteur')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\SecteurRestController::updateSecteurAction', '_format' => 'json',));
}
not_update_secteur:
// remove_secteur
if (preg_match('#^/api/secteurs/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_secteur')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\SecteurRestController::removeSecteurAction', '_format' => 'json',));
}
not_remove_secteur:
// get_secteurs
if (preg_match('#^/api/secteurs(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_secteurs;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_secteurs')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\SecteurRestController::getSecteursAction', '_format' => 'json',));
}
not_get_secteurs:
// get_secteur
if (preg_match('#^/api/secteurs/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_secteur')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\SecteurRestController::getSecteurAction', '_format' => 'json',));
}
not_get_secteur:
// post_secteurs
if (preg_match('#^/api/secteurs(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_secteurs;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_secteurs')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\SecteurRestController::postSecteursAction', '_format' => 'json',));
}
not_post_secteurs:
// patch_secteur
if (preg_match('#^/api/secteurs/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_secteur')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\SecteurRestController::patchSecteurAction', '_format' => 'json',));
}
not_patch_secteur:
}
elseif (0 === strpos($pathinfo, '/api/unitediagnostics')) {
// update_unite_diagnostic
if (preg_match('#^/api/unitediagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_unite_diagnostic;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_unite_diagnostic')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteDiagnosticRestController::updateUniteDiagnosticAction', '_format' => 'json',));
}
not_update_unite_diagnostic:
// remove_unite_diagnostic
if (preg_match('#^/api/unitediagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_unite_diagnostic;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_unite_diagnostic')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteDiagnosticRestController::removeUniteDiagnosticAction', '_format' => 'json',));
}
not_remove_unite_diagnostic:
// get_unite_diagnostics
if (preg_match('#^/api/unitediagnostics(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_unite_diagnostics;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_unite_diagnostics')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteDiagnosticRestController::getUniteDiagnosticsAction', '_format' => 'json',));
}
not_get_unite_diagnostics:
// get_unite_diagnostic
if (preg_match('#^/api/unitediagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_unite_diagnostic;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_unite_diagnostic')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteDiagnosticRestController::getUniteDiagnosticAction', '_format' => 'json',));
}
not_get_unite_diagnostic:
// post_unite_diagnostics
if (preg_match('#^/api/unitediagnostics(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_unite_diagnostics;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_unite_diagnostics')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteDiagnosticRestController::postUniteDiagnosticsAction', '_format' => 'json',));
}
not_post_unite_diagnostics:
// patch_unite_diagnostic
if (preg_match('#^/api/unitediagnostics/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_unite_diagnostic;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_unite_diagnostic')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteDiagnosticRestController::patchUniteDiagnosticAction', '_format' => 'json',));
}
not_patch_unite_diagnostic:
}
elseif (0 === strpos($pathinfo, '/api/uniteamiantes')) {
// update_unite_amiante
if (preg_match('#^/api/uniteamiantes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_unite_amiante;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_unite_amiante')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteAmianteRestController::updateUniteAmianteAction', '_format' => 'json',));
}
not_update_unite_amiante:
// remove_unite_amiante
if (preg_match('#^/api/uniteamiantes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_unite_amiante;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_unite_amiante')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteAmianteRestController::removeUniteAmianteAction', '_format' => 'json',));
}
not_remove_unite_amiante:
// get_unite_amiantes
if (preg_match('#^/api/uniteamiantes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_unite_amiantes;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_unite_amiantes')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteAmianteRestController::getUniteAmiantesAction', '_format' => 'json',));
}
not_get_unite_amiantes:
// get_unite_amiante
if (preg_match('#^/api/uniteamiantes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_unite_amiante;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_unite_amiante')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteAmianteRestController::getUniteAmianteAction', '_format' => 'json',));
}
not_get_unite_amiante:
// post_unite_amiantes
if (preg_match('#^/api/uniteamiantes(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_unite_amiantes;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_unite_amiantes')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteAmianteRestController::postUniteAmiantesAction', '_format' => 'json',));
}
not_post_unite_amiantes:
// patch_unite_amiante
if (preg_match('#^/api/uniteamiantes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_unite_amiante;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_unite_amiante')), array ( '_controller' => 'ConfigBundle\\Controller\\Rest\\UniteAmianteRestController::patchUniteAmianteAction', '_format' => 'json',));
}
not_patch_unite_amiante:
}
}
elseif (0 === strpos($pathinfo, '/amiante')) {
// config_amiante_index
if ('/amiante' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_amiante_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'config_amiante_index');
}
return array ( '_controller' => 'ConfigBundle:Amiante:index', '_route' => 'config_amiante_index',);
}
not_config_amiante_index:
// config_amiante_show
if (preg_match('#^/amiante/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_amiante_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_amiante_show')), array ( '_controller' => 'ConfigBundle:Amiante:show',));
}
not_config_amiante_show:
}
elseif (0 === strpos($pathinfo, '/ba')) {
if (0 === strpos($pathinfo, '/backup/config')) {
// backup_config_index
if ('/backup/config' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_backup_config_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'backup_config_index');
}
return array ( '_controller' => 'BackupBundle\\Controller\\ConfigController::indexAction', '_route' => 'backup_config_index',);
}
not_backup_config_index:
// backup_config_show
if (preg_match('#^/backup/config/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_backup_config_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_config_show')), array ( '_controller' => 'BackupBundle\\Controller\\ConfigController::showAction',));
}
not_backup_config_show:
// backup_config_new
if ('/backup/config/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_backup_config_new;
}
return array ( '_controller' => 'BackupBundle\\Controller\\ConfigController::newAction', '_route' => 'backup_config_new',);
}
not_backup_config_new:
// backup_config_edit
if (preg_match('#^/backup/config/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_backup_config_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_config_edit')), array ( '_controller' => 'BackupBundle\\Controller\\ConfigController::editAction',));
}
not_backup_config_edit:
// backup_config_delete
if (preg_match('#^/backup/config/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_backup_config_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_config_delete')), array ( '_controller' => 'BackupBundle\\Controller\\ConfigController::deleteAction',));
}
not_backup_config_delete:
}
elseif (0 === strpos($pathinfo, '/backup/export')) {
// backup_export_index
if ('/backup/export' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_backup_export_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'backup_export_index');
}
return array ( '_controller' => 'BackupBundle\\Controller\\ExportController::indexAction', '_route' => 'backup_export_index',);
}
not_backup_export_index:
// backup_export_show
if (preg_match('#^/backup/export/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_backup_export_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_export_show')), array ( '_controller' => 'BackupBundle\\Controller\\ExportController::showAction',));
}
not_backup_export_show:
// backup_export_new
if ('/backup/export/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_backup_export_new;
}
return array ( '_controller' => 'BackupBundle\\Controller\\ExportController::newAction', '_route' => 'backup_export_new',);
}
not_backup_export_new:
// backup_export_edit
if (preg_match('#^/backup/export/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_backup_export_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_export_edit')), array ( '_controller' => 'BackupBundle\\Controller\\ExportController::editAction',));
}
not_backup_export_edit:
// backup_export_delete
if (preg_match('#^/backup/export/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_backup_export_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'backup_export_delete')), array ( '_controller' => 'BackupBundle\\Controller\\ExportController::deleteAction',));
}
not_backup_export_delete:
}
elseif (0 === strpos($pathinfo, '/banque')) {
// config_banque_index
if ('/banque' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_banque_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'config_banque_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\BanqueController::indexAction', '_route' => 'config_banque_index',);
}
not_config_banque_index:
// config_banque_show
if (preg_match('#^/banque/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_banque_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_banque_show')), array ( '_controller' => 'ConfigBundle\\Controller\\BanqueController::showAction',));
}
not_config_banque_show:
// config_banque_new
if ('/banque/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_banque_new;
}
return array ( '_controller' => 'ConfigBundle\\Controller\\BanqueController::newAction', '_route' => 'config_banque_new',);
}
not_config_banque_new:
// config_banque_edit
if (preg_match('#^/banque/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_banque_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_banque_edit')), array ( '_controller' => 'ConfigBundle\\Controller\\BanqueController::editAction',));
}
not_config_banque_edit:
// config_banque_delete
if (preg_match('#^/banque/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_config_banque_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_banque_delete')), array ( '_controller' => 'ConfigBundle\\Controller\\BanqueController::deleteAction',));
}
not_config_banque_delete:
}
}
elseif (0 === strpos($pathinfo, '/d')) {
if (0 === strpos($pathinfo, '/dashboard')) {
// dashboard_index
if ('/dashboard' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_dashboard_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'dashboard_index');
}
return array ( '_controller' => 'DashboardBundle\\Controller\\DashboardController::indexAction', '_route' => 'dashboard_index',);
}
not_dashboard_index:
// dashboard_show
if (preg_match('#^/dashboard/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_dashboard_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'dashboard_show')), array ( '_controller' => 'DashboardBundle\\Controller\\DashboardController::showAction',));
}
not_dashboard_show:
// dashboard_new
if ('/dashboard/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_dashboard_new;
}
return array ( '_controller' => 'DashboardBundle\\Controller\\DashboardController::newAction', '_route' => 'dashboard_new',);
}
not_dashboard_new:
// dashboard_edit
if (preg_match('#^/dashboard/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_dashboard_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'dashboard_edit')), array ( '_controller' => 'DashboardBundle\\Controller\\DashboardController::editAction',));
}
not_dashboard_edit:
// dashboard_delete
if (preg_match('#^/dashboard/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_dashboard_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'dashboard_delete')), array ( '_controller' => 'DashboardBundle\\Controller\\DashboardController::deleteAction',));
}
not_dashboard_delete:
}
elseif (0 === strpos($pathinfo, '/dateconstruction')) {
// config_dateconstruction_index
if ('/dateconstruction' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_dateconstruction_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'config_dateconstruction_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\DateConstructionController::indexAction', '_route' => 'config_dateconstruction_index',);
}
not_config_dateconstruction_index:
// config_dateconstruction_show
if (preg_match('#^/dateconstruction/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_dateconstruction_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_dateconstruction_show')), array ( '_controller' => 'ConfigBundle\\Controller\\DateConstructionController::showAction',));
}
not_config_dateconstruction_show:
}
elseif (0 === strpos($pathinfo, '/diagnostic')) {
if (0 === strpos($pathinfo, '/diagnostic-immobilier')) {
if (0 === strpos($pathinfo, '/diagnostic-immobilier/front')) {
// diagnostic_front_new
if ('/diagnostic-immobilier/front' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_front_new;
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\CommandeController::forntFormAction', '_route' => 'diagnostic_front_new',);
}
not_diagnostic_front_new:
// diagnostic_front_commande_show
if (0 === strpos($pathinfo, '/diagnostic-immobilier/front/commande') && preg_match('#^/diagnostic\\-immobilier/front/commande/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_front_commande_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_front_commande_show')), array ( '_controller' => 'DiagnosticBundle\\Controller\\CommandeController::frontShowAction',));
}
not_diagnostic_front_commande_show:
// diagnostic_front_devis_show
if (0 === strpos($pathinfo, '/diagnostic-immobilier/front/devis') && preg_match('#^/diagnostic\\-immobilier/front/devis/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_front_devis_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_front_devis_show')), array ( '_controller' => 'DiagnosticBundle\\Controller\\DevisController::frontShowAction',));
}
not_diagnostic_front_devis_show:
if (0 === strpos($pathinfo, '/diagnostic-immobilier/front/facture')) {
// diagnostic_front_facture_show
if (preg_match('#^/diagnostic\\-immobilier/front/facture/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_front_facture_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_front_facture_show')), array ( '_controller' => 'DiagnosticBundle\\Controller\\FactureController::frontShowAction',));
}
not_diagnostic_front_facture_show:
// diagnostic_front_facture_actualisation_show
if (0 === strpos($pathinfo, '/diagnostic-immobilier/front/factureactualisation') && preg_match('#^/diagnostic\\-immobilier/front/factureactualisation/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_front_facture_actualisation_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_front_facture_actualisation_show')), array ( '_controller' => 'DiagnosticBundle\\Controller\\FactureActualisationController::frontShowAction',));
}
not_diagnostic_front_facture_actualisation_show:
}
// diagnostic_front_question_show
if (0 === strpos($pathinfo, '/diagnostic-immobilier/front/question') && preg_match('#^/diagnostic\\-immobilier/front/question/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_front_question_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_front_question_show')), array ( '_controller' => 'DiagnosticBundle\\Controller\\QuestionController::frontShowAction',));
}
not_diagnostic_front_question_show:
}
elseif (0 === strpos($pathinfo, '/diagnostic-immobilier/facture')) {
// diagnostic_facture_index
if ('/diagnostic-immobilier/facture' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_facture_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'diagnostic_facture_index');
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\FactureController::indexAction', '_route' => 'diagnostic_facture_index',);
}
not_diagnostic_facture_index:
// diagnostic_facture_index_differe
if ('/diagnostic-immobilier/facture/differe' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_facture_index_differe;
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\FactureController::indexDiffereAction', '_route' => 'diagnostic_facture_index_differe',);
}
not_diagnostic_facture_index_differe:
// diagnostic_facture_index_web
if ('/diagnostic-immobilier/facture/web' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_facture_index_web;
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\FactureController::indexWebAction', '_route' => 'diagnostic_facture_index_web',);
}
not_diagnostic_facture_index_web:
// diagnostic_facture_index_liciel
if ('/diagnostic-immobilier/facture/liciel' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_facture_index_liciel;
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\FactureController::indexlicielAction', '_route' => 'diagnostic_facture_index_liciel',);
}
not_diagnostic_facture_index_liciel:
// diagnostic_facture_show
if (preg_match('#^/diagnostic\\-immobilier/facture/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_facture_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_facture_show')), array ( '_controller' => 'DiagnosticBundle\\Controller\\FactureController::showAction',));
}
not_diagnostic_facture_show:
// diagnostic_facture_new
if ('/diagnostic-immobilier/facture/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_diagnostic_facture_new;
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\FactureController::newAction', '_route' => 'diagnostic_facture_new',);
}
not_diagnostic_facture_new:
// diagnostic_facture_edit
if (preg_match('#^/diagnostic\\-immobilier/facture/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_diagnostic_facture_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_facture_edit')), array ( '_controller' => 'DiagnosticBundle\\Controller\\FactureController::editAction',));
}
not_diagnostic_facture_edit:
// diagnostic_facture_delete
if (preg_match('#^/diagnostic\\-immobilier/facture/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_diagnostic_facture_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_facture_delete')), array ( '_controller' => 'DiagnosticBundle\\Controller\\FactureController::deleteAction',));
}
not_diagnostic_facture_delete:
if (0 === strpos($pathinfo, '/diagnostic-immobilier/factureactualisation')) {
// diagnostic_factureactualisation_index
if ('/diagnostic-immobilier/factureactualisation' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_factureactualisation_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'diagnostic_factureactualisation_index');
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\FactureActualisationController::indexAction', '_route' => 'diagnostic_factureactualisation_index',);
}
not_diagnostic_factureactualisation_index:
// diagnostic_factureactualisation_show
if (preg_match('#^/diagnostic\\-immobilier/factureactualisation/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_factureactualisation_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_factureactualisation_show')), array ( '_controller' => 'DiagnosticBundle\\Controller\\FactureActualisationController::showAction',));
}
not_diagnostic_factureactualisation_show:
// diagnostic_factureactualisation_new
if ('/diagnostic-immobilier/factureactualisation/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_diagnostic_factureactualisation_new;
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\FactureActualisationController::newAction', '_route' => 'diagnostic_factureactualisation_new',);
}
not_diagnostic_factureactualisation_new:
// diagnostic_factureactualisation_edit
if (preg_match('#^/diagnostic\\-immobilier/factureactualisation/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_diagnostic_factureactualisation_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_factureactualisation_edit')), array ( '_controller' => 'DiagnosticBundle\\Controller\\FactureActualisationController::editAction',));
}
not_diagnostic_factureactualisation_edit:
// diagnostic_factureactualisation_delete
if (preg_match('#^/diagnostic\\-immobilier/factureactualisation/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_diagnostic_factureactualisation_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_factureactualisation_delete')), array ( '_controller' => 'DiagnosticBundle\\Controller\\FactureActualisationController::deleteAction',));
}
not_diagnostic_factureactualisation_delete:
}
}
elseif (0 === strpos($pathinfo, '/diagnostic-immobilier/commande')) {
// diagnostic_commande_index
if ('/diagnostic-immobilier/commande' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_commande_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'diagnostic_commande_index');
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\CommandeController::indexAction', '_route' => 'diagnostic_commande_index',);
}
not_diagnostic_commande_index:
// diagnostic_commande_list_by_filiale
if (preg_match('#^/diagnostic\\-immobilier/commande/(?P<filialeId>[^/]++)/filiale$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_commande_list_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_commande_list_by_filiale')), array ( '_controller' => 'DiagnosticBundle\\Controller\\CommandeController::listCommandeByFilialeAction',));
}
not_diagnostic_commande_list_by_filiale:
// diagnostic_commande_show
if (preg_match('#^/diagnostic\\-immobilier/commande/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_commande_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_commande_show')), array ( '_controller' => 'DiagnosticBundle\\Controller\\CommandeController::showAction',));
}
not_diagnostic_commande_show:
// diagnostic_commande_new
if ('/diagnostic-immobilier/commande/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_diagnostic_commande_new;
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\CommandeController::newAction', '_route' => 'diagnostic_commande_new',);
}
not_diagnostic_commande_new:
// diagnostic_commande_edit
if (preg_match('#^/diagnostic\\-immobilier/commande/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_diagnostic_commande_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_commande_edit')), array ( '_controller' => 'DiagnosticBundle\\Controller\\CommandeController::editAction',));
}
not_diagnostic_commande_edit:
// diagnostic_commande_delete
if (preg_match('#^/diagnostic\\-immobilier/commande/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_diagnostic_commande_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_commande_delete')), array ( '_controller' => 'DiagnosticBundle\\Controller\\CommandeController::deleteAction',));
}
not_diagnostic_commande_delete:
}
elseif (0 === strpos($pathinfo, '/diagnostic-immobilier/devis')) {
// diagnostic_devis_index
if ('/diagnostic-immobilier/devis' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_devis_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'diagnostic_devis_index');
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\DevisController::indexAction', '_route' => 'diagnostic_devis_index',);
}
not_diagnostic_devis_index:
// diagnostic_devis_show
if (preg_match('#^/diagnostic\\-immobilier/devis/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_devis_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_devis_show')), array ( '_controller' => 'DiagnosticBundle\\Controller\\DevisController::showAction',));
}
not_diagnostic_devis_show:
// diagnostic_devis_new
if ('/diagnostic-immobilier/devis/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_diagnostic_devis_new;
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\DevisController::newAction', '_route' => 'diagnostic_devis_new',);
}
not_diagnostic_devis_new:
// diagnostic_devis_edit
if (preg_match('#^/diagnostic\\-immobilier/devis/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_diagnostic_devis_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_devis_edit')), array ( '_controller' => 'DiagnosticBundle\\Controller\\DevisController::editAction',));
}
not_diagnostic_devis_edit:
// diagnostic_devis_delete
if (preg_match('#^/diagnostic\\-immobilier/devis/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_diagnostic_devis_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_devis_delete')), array ( '_controller' => 'DiagnosticBundle\\Controller\\DevisController::deleteAction',));
}
not_diagnostic_devis_delete:
}
elseif (0 === strpos($pathinfo, '/diagnostic-immobilier/actualisation')) {
// diagnostic_actualisation_index
if ('/diagnostic-immobilier/actualisation' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_actualisation_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'diagnostic_actualisation_index');
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\ActualisationController::indexAction', '_route' => 'diagnostic_actualisation_index',);
}
not_diagnostic_actualisation_index:
// diagnostic_actualisation_show
if (preg_match('#^/diagnostic\\-immobilier/actualisation/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_actualisation_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_actualisation_show')), array ( '_controller' => 'DiagnosticBundle\\Controller\\ActualisationController::showAction',));
}
not_diagnostic_actualisation_show:
// diagnostic_actualisation_new
if ('/diagnostic-immobilier/actualisation/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_diagnostic_actualisation_new;
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\ActualisationController::newAction', '_route' => 'diagnostic_actualisation_new',);
}
not_diagnostic_actualisation_new:
// diagnostic_actualisation_edit
if (preg_match('#^/diagnostic\\-immobilier/actualisation/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_diagnostic_actualisation_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_actualisation_edit')), array ( '_controller' => 'DiagnosticBundle\\Controller\\ActualisationController::editAction',));
}
not_diagnostic_actualisation_edit:
// diagnostic_actualisation_delete
if (preg_match('#^/diagnostic\\-immobilier/actualisation/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_diagnostic_actualisation_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_actualisation_delete')), array ( '_controller' => 'DiagnosticBundle\\Controller\\ActualisationController::deleteAction',));
}
not_diagnostic_actualisation_delete:
}
elseif (0 === strpos($pathinfo, '/diagnostic-immobilier/question')) {
// diagnostic_question_index
if ('/diagnostic-immobilier/question' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_question_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'diagnostic_question_index');
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\QuestionController::indexAction', '_route' => 'diagnostic_question_index',);
}
not_diagnostic_question_index:
// diagnostic_question_show
if (preg_match('#^/diagnostic\\-immobilier/question/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_question_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_question_show')), array ( '_controller' => 'DiagnosticBundle\\Controller\\QuestionController::showAction',));
}
not_diagnostic_question_show:
// diagnostic_question_new
if ('/diagnostic-immobilier/question/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_diagnostic_question_new;
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\QuestionController::newAction', '_route' => 'diagnostic_question_new',);
}
not_diagnostic_question_new:
// diagnostic_question_edit
if (preg_match('#^/diagnostic\\-immobilier/question/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_diagnostic_question_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_question_edit')), array ( '_controller' => 'DiagnosticBundle\\Controller\\QuestionController::editAction',));
}
not_diagnostic_question_edit:
// diagnostic_question_delete
if (preg_match('#^/diagnostic\\-immobilier/question/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_diagnostic_question_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_question_delete')), array ( '_controller' => 'DiagnosticBundle\\Controller\\QuestionController::deleteAction',));
}
not_diagnostic_question_delete:
}
elseif (0 === strpos($pathinfo, '/diagnostic-immobilier/lienpaiement')) {
// diagnostic_lienPaiement_index
if ('/diagnostic-immobilier/lienpaiement' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_lienPaiement_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'diagnostic_lienPaiement_index');
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\LienPaiementController::indexAction', '_route' => 'diagnostic_lienPaiement_index',);
}
not_diagnostic_lienPaiement_index:
// diagnostic_lienPaiement_show
if (preg_match('#^/diagnostic\\-immobilier/lienpaiement/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_lienPaiement_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_lienPaiement_show')), array ( '_controller' => 'DiagnosticBundle\\Controller\\LienPaiementController::showAction',));
}
not_diagnostic_lienPaiement_show:
// diagnostic_lienPaiement_new
if ('/diagnostic-immobilier/lienpaiement/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_diagnostic_lienPaiement_new;
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\LienPaiementController::newAction', '_route' => 'diagnostic_lienPaiement_new',);
}
not_diagnostic_lienPaiement_new:
// diagnostic_lienPaiement_edit
if (preg_match('#^/diagnostic\\-immobilier/lienpaiement/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_diagnostic_lienPaiement_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_lienPaiement_edit')), array ( '_controller' => 'DiagnosticBundle\\Controller\\LienPaiementController::editAction',));
}
not_diagnostic_lienPaiement_edit:
// diagnostic_lienPaiement_delete
if (preg_match('#^/diagnostic\\-immobilier/lienpaiement/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_diagnostic_lienPaiement_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_lienPaiement_delete')), array ( '_controller' => 'DiagnosticBundle\\Controller\\LienPaiementController::deleteAction',));
}
not_diagnostic_lienPaiement_delete:
}
elseif (0 === strpos($pathinfo, '/diagnostic-immobilier/rappel')) {
// rappel_di_index
if ('/diagnostic-immobilier/rappel/di' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_rappel_di_index;
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\RappelController::listeRappelDIAction', '_route' => 'rappel_di_index',);
}
not_rappel_di_index:
// rappel_edl_index
if ('/diagnostic-immobilier/rappel/edl' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_rappel_edl_index;
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\RappelController::listeRappelEDLAction', '_route' => 'rappel_edl_index',);
}
not_rappel_edl_index:
// rappel_ra_index
if ('/diagnostic-immobilier/rappel/ra' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_rappel_ra_index;
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\RappelController::listeRappelRAAction', '_route' => 'rappel_ra_index',);
}
not_rappel_ra_index:
// rappel_rappel_list_by_filiale
if (preg_match('#^/diagnostic\\-immobilier/rappel/(?P<filialeId>[^/]++)/filiale$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_rappel_rappel_list_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rappel_list_by_filiale')), array ( '_controller' => 'DiagnosticBundle\\Controller\\RappelController::listRappelByFilialeAction',));
}
not_rappel_rappel_list_by_filiale:
// rappel_rappel_show
if (preg_match('#^/diagnostic\\-immobilier/rappel/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_rappel_rappel_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rappel_show')), array ( '_controller' => 'DiagnosticBundle\\Controller\\RappelController::showAction',));
}
not_rappel_rappel_show:
// rappel_rappel_new
if ('/diagnostic-immobilier/rappel/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_rappel_rappel_new;
}
return array ( '_controller' => 'DiagnosticBundle:CoRappelmmande:new', '_route' => 'rappel_rappel_new',);
}
not_rappel_rappel_new:
// rappel_rappel_edit
if (preg_match('#^/diagnostic\\-immobilier/rappel/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_rappel_rappel_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rappel_edit')), array ( '_controller' => 'DiagnosticBundle\\Controller\\RappelController::editAction',));
}
not_rappel_rappel_edit:
// rappel_rappel_delete
if (preg_match('#^/diagnostic\\-immobilier/rappel/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_rappel_rappel_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'rappel_rappel_delete')), array ( '_controller' => 'DiagnosticBundle\\Controller\\RappelController::deleteAction',));
}
not_rappel_rappel_delete:
}
elseif (0 === strpos($pathinfo, '/diagnostic-immobilier/rdvdpe')) {
// diagnostic_rdvdpe_index
if ('/diagnostic-immobilier/rdvdpe' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rdvdpe_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'diagnostic_rdvdpe_index');
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\RdvDpeController::indexAction', '_route' => 'diagnostic_rdvdpe_index',);
}
not_diagnostic_rdvdpe_index:
// diagnostic_rdvdpe_show
if (preg_match('#^/diagnostic\\-immobilier/rdvdpe/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rdvdpe_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rdvdpe_show')), array ( '_controller' => 'DiagnosticBundle\\Controller\\RdvDpeController::showAction',));
}
not_diagnostic_rdvdpe_show:
// diagnostic_rdvdpe_new
if ('/diagnostic-immobilier/rdvdpe/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_diagnostic_rdvdpe_new;
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\RdvDpeController::newAction', '_route' => 'diagnostic_rdvdpe_new',);
}
not_diagnostic_rdvdpe_new:
// diagnostic_rdvdpe_edit
if (preg_match('#^/diagnostic\\-immobilier/rdvdpe/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_diagnostic_rdvdpe_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rdvdpe_edit')), array ( '_controller' => 'DiagnosticBundle\\Controller\\RdvDpeController::editAction',));
}
not_diagnostic_rdvdpe_edit:
// diagnostic_rdvdpe_delete
if (preg_match('#^/diagnostic\\-immobilier/rdvdpe/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_diagnostic_rdvdpe_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rdvdpe_delete')), array ( '_controller' => 'DiagnosticBundle\\Controller\\RdvDpeController::deleteAction',));
}
not_diagnostic_rdvdpe_delete:
}
}
// config_diagnostic_index
if ('/diagnostic' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_diagnostic_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'config_diagnostic_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\DiagnosticController::indexAction', '_route' => 'config_diagnostic_index',);
}
not_config_diagnostic_index:
// config_diagnostic_show
if (preg_match('#^/diagnostic/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_diagnostic_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_diagnostic_show')), array ( '_controller' => 'ConfigBundle\\Controller\\DiagnosticController::showAction',));
}
not_config_diagnostic_show:
}
}
// dashboard_homepage
if ('' === $trimmedPathinfo) {
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'dashboard_homepage');
}
return array ( '_controller' => 'DashboardBundle\\Controller\\DefaultController::indexAction', '_route' => 'dashboard_homepage',);
}
if (0 === strpos($pathinfo, '/e')) {
if (0 === strpos($pathinfo, '/esris')) {
if (0 === strpos($pathinfo, '/esris/offre')) {
// offre_index
if ('/esris/offre' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_offre_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'offre_index');
}
return array ( '_controller' => 'ESRISBundle\\Controller\\OffreController::indexAction', '_route' => 'offre_index',);
}
not_offre_index:
// offrespersonnalisees_index
if ('/esris/offre/offrespersonnalisees' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_offrespersonnalisees_index;
}
return array ( '_controller' => 'ESRISBundle\\Controller\\OffreController::indexoffresPersonnaliseesAction', '_route' => 'offrespersonnalisees_index',);
}
not_offrespersonnalisees_index:
// offresdipro_index
if ('/esris/offre/offresdipro' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_offresdipro_index;
}
return array ( '_controller' => 'ESRISBundle\\Controller\\OffreController::indexOffresAction', '_route' => 'offresdipro_index',);
}
not_offresdipro_index:
// offre_show
if (preg_match('#^/esris/offre/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_offre_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'offre_show')), array ( '_controller' => 'ESRISBundle\\Controller\\OffreController::showAction',));
}
not_offre_show:
// offre_new
if ('/esris/offre/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_offre_new;
}
return array ( '_controller' => 'ESRISBundle\\Controller\\OffreController::newAction', '_route' => 'offre_new',);
}
not_offre_new:
// offre_edit
if (preg_match('#^/esris/offre/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_offre_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'offre_edit')), array ( '_controller' => 'ESRISBundle\\Controller\\OffreController::editAction',));
}
not_offre_edit:
// offre_delete
if (preg_match('#^/esris/offre/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_offre_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'offre_delete')), array ( '_controller' => 'ESRISBundle\\Controller\\OffreController::deleteAction',));
}
not_offre_delete:
}
elseif (0 === strpos($pathinfo, '/esris/commande')) {
if (0 === strpos($pathinfo, '/esris/commandeoffre')) {
// commandeoffre_index
if ('/esris/commandeoffre' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_commandeoffre_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'commandeoffre_index');
}
return array ( '_controller' => 'ESRISBundle\\Controller\\CommandeOffreController::indexAction', '_route' => 'commandeoffre_index',);
}
not_commandeoffre_index:
// commandeoffre_show
if (preg_match('#^/esris/commandeoffre/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_commandeoffre_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'commandeoffre_show')), array ( '_controller' => 'ESRISBundle\\Controller\\CommandeOffreController::showAction',));
}
not_commandeoffre_show:
// commandeoffre_new
if ('/esris/commandeoffre/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_commandeoffre_new;
}
return array ( '_controller' => 'ESRISBundle\\Controller\\CommandeOffreController::newAction', '_route' => 'commandeoffre_new',);
}
not_commandeoffre_new:
// commandeoffre_edit
if (preg_match('#^/esris/commandeoffre/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_commandeoffre_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'commandeoffre_edit')), array ( '_controller' => 'ESRISBundle\\Controller\\CommandeOffreController::editAction',));
}
not_commandeoffre_edit:
// commandeoffre_delete
if (preg_match('#^/esris/commandeoffre/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_commandeoffre_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'commandeoffre_delete')), array ( '_controller' => 'ESRISBundle\\Controller\\CommandeOffreController::deleteAction',));
}
not_commandeoffre_delete:
}
// esris_commande_index
if ('/esris/commande' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esris_commande_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'esris_commande_index');
}
return array ( '_controller' => 'ESRISBundle\\Controller\\CommandeController::indexAction', '_route' => 'esris_commande_index',);
}
not_esris_commande_index:
// esris_commande_show
if (preg_match('#^/esris/commande/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esris_commande_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_commande_show')), array ( '_controller' => 'ESRISBundle\\Controller\\CommandeController::showAction',));
}
not_esris_commande_show:
// esris_commande_new
if ('/esris/commande/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_esris_commande_new;
}
return array ( '_controller' => 'ESRISBundle\\Controller\\CommandeController::newAction', '_route' => 'esris_commande_new',);
}
not_esris_commande_new:
// esris_commande_edit
if (preg_match('#^/esris/commande/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_esris_commande_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_commande_edit')), array ( '_controller' => 'ESRISBundle\\Controller\\CommandeController::editAction',));
}
not_esris_commande_edit:
// esris_commande_delete
if (preg_match('#^/esris/commande/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_esris_commande_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_commande_delete')), array ( '_controller' => 'ESRISBundle\\Controller\\CommandeController::deleteAction',));
}
not_esris_commande_delete:
}
elseif (0 === strpos($pathinfo, '/esris/facture')) {
// esris_facture_index
if ('/esris/facture' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esris_facture_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'esris_facture_index');
}
return array ( '_controller' => 'ESRISBundle\\Controller\\FactureController::indexAction', '_route' => 'esris_facture_index',);
}
not_esris_facture_index:
// esris_facture_show
if (preg_match('#^/esris/facture/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esris_facture_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_facture_show')), array ( '_controller' => 'ESRISBundle\\Controller\\FactureController::showAction',));
}
not_esris_facture_show:
// esris_facture_new
if ('/esris/facture/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_esris_facture_new;
}
return array ( '_controller' => 'ESRISBundle\\Controller\\FactureController::newAction', '_route' => 'esris_facture_new',);
}
not_esris_facture_new:
// esris_facture_edit
if (preg_match('#^/esris/facture/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_esris_facture_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_facture_edit')), array ( '_controller' => 'ESRISBundle\\Controller\\FactureController::editAction',));
}
not_esris_facture_edit:
// esris_facture_delete
if (preg_match('#^/esris/facture/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_esris_facture_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_facture_delete')), array ( '_controller' => 'ESRISBundle\\Controller\\FactureController::deleteAction',));
}
not_esris_facture_delete:
}
// esris_front_facture_show
if (0 === strpos($pathinfo, '/esris/front/facture') && preg_match('#^/esris/front/facture/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_esris_front_facture_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'esris_front_facture_show')), array ( '_controller' => 'ESRISBundle\\Controller\\FactureController::frontShowAction',));
}
not_esris_front_facture_show:
}
elseif (0 === strpos($pathinfo, '/edl')) {
if (0 === strpos($pathinfo, '/edl/commande')) {
// edl_commande_index
if ('/edl/commande' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_commande_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'edl_commande_index');
}
return array ( '_controller' => 'EDLBundle\\Controller\\CommandeController::indexAction', '_route' => 'edl_commande_index',);
}
not_edl_commande_index:
// edl_commande_list_by_filiale
if (preg_match('#^/edl/commande/(?P<filialeId>[^/]++)/filiale$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_commande_list_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_commande_list_by_filiale')), array ( '_controller' => 'EDLBundle\\Controller\\CommandeController::listCommandeByFilialeAction',));
}
not_edl_commande_list_by_filiale:
// edl_commande_show
if (preg_match('#^/edl/commande/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_commande_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_commande_show')), array ( '_controller' => 'EDLBundle\\Controller\\CommandeController::showAction',));
}
not_edl_commande_show:
// edl_commande_new
if ('/edl/commande/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_edl_commande_new;
}
return array ( '_controller' => 'EDLBundle\\Controller\\CommandeController::newAction', '_route' => 'edl_commande_new',);
}
not_edl_commande_new:
// edl_commande_edit
if (preg_match('#^/edl/commande/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_edl_commande_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_commande_edit')), array ( '_controller' => 'EDLBundle\\Controller\\CommandeController::editAction',));
}
not_edl_commande_edit:
// edl_commande_delete
if (preg_match('#^/edl/commande/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_edl_commande_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_commande_delete')), array ( '_controller' => 'EDLBundle\\Controller\\CommandeController::deleteAction',));
}
not_edl_commande_delete:
}
elseif (0 === strpos($pathinfo, '/edl/devis')) {
// edl_devis_index
if ('/edl/devis' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_devis_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'edl_devis_index');
}
return array ( '_controller' => 'EDLBundle\\Controller\\DevisController::indexAction', '_route' => 'edl_devis_index',);
}
not_edl_devis_index:
// edl_devis_show
if (preg_match('#^/edl/devis/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_devis_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_devis_show')), array ( '_controller' => 'EDLBundle\\Controller\\DevisController::showAction',));
}
not_edl_devis_show:
// edl_devis_new
if ('/edl/devis/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_edl_devis_new;
}
return array ( '_controller' => 'EDLBundle\\Controller\\DevisController::newAction', '_route' => 'edl_devis_new',);
}
not_edl_devis_new:
// edl_devis_edit
if (preg_match('#^/edl/devis/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_edl_devis_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_devis_edit')), array ( '_controller' => 'EDLBundle\\Controller\\DevisController::editAction',));
}
not_edl_devis_edit:
// edl_devis_delete
if (preg_match('#^/edl/devis/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_edl_devis_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_devis_delete')), array ( '_controller' => 'EDLBundle\\Controller\\DevisController::deleteAction',));
}
not_edl_devis_delete:
}
elseif (0 === strpos($pathinfo, '/edl/facture')) {
// edl_facture_index
if ('/edl/facture' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_facture_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'edl_facture_index');
}
return array ( '_controller' => 'EDLBundle\\Controller\\FactureController::indexAction', '_route' => 'edl_facture_index',);
}
not_edl_facture_index:
// edl_facture_index_differe
if ('/edl/facture/differe' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_facture_index_differe;
}
return array ( '_controller' => 'EDLBundle\\Controller\\FactureController::indexDiffereAction', '_route' => 'edl_facture_index_differe',);
}
not_edl_facture_index_differe:
// edl_facture_index_web
if ('/edl/facture/web' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_facture_index_web;
}
return array ( '_controller' => 'EDLBundle\\Controller\\FactureController::indexWebAction', '_route' => 'edl_facture_index_web',);
}
not_edl_facture_index_web:
// edl_facture_index_liciel
if ('/edl/facture/liciel' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_facture_index_liciel;
}
return array ( '_controller' => 'EDLBundle\\Controller\\FactureController::indexLicielAction', '_route' => 'edl_facture_index_liciel',);
}
not_edl_facture_index_liciel:
// edl_facture_show
if (preg_match('#^/edl/facture/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_facture_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_facture_show')), array ( '_controller' => 'EDLBundle\\Controller\\FactureController::showAction',));
}
not_edl_facture_show:
// edl_facture_new
if ('/edl/facture/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_edl_facture_new;
}
return array ( '_controller' => 'EDLBundle\\Controller\\FactureController::newAction', '_route' => 'edl_facture_new',);
}
not_edl_facture_new:
// edl_facture_edit
if (preg_match('#^/edl/facture/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_edl_facture_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_facture_edit')), array ( '_controller' => 'EDLBundle\\Controller\\FactureController::editAction',));
}
not_edl_facture_edit:
// edl_facture_delete
if (preg_match('#^/edl/facture/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_edl_facture_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_facture_delete')), array ( '_controller' => 'EDLBundle\\Controller\\FactureController::deleteAction',));
}
not_edl_facture_delete:
}
elseif (0 === strpos($pathinfo, '/edl/front')) {
// edl_front_commande_show
if (0 === strpos($pathinfo, '/edl/front/commande') && preg_match('#^/edl/front/commande/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_front_commande_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_front_commande_show')), array ( '_controller' => 'EDLBundle\\Controller\\CommandeController::frontShowAction',));
}
not_edl_front_commande_show:
// edl_front_devis_show
if (0 === strpos($pathinfo, '/edl/front/devis') && preg_match('#^/edl/front/devis/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_front_devis_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_front_devis_show')), array ( '_controller' => 'EDLBundle\\Controller\\DevisController::frontShowAction',));
}
not_edl_front_devis_show:
// edl_front_facture_show
if (0 === strpos($pathinfo, '/edl/front/facture') && preg_match('#^/edl/front/facture/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_edl_front_facture_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'edl_front_facture_show')), array ( '_controller' => 'EDLBundle\\Controller\\FactureController::frontShowAction',));
}
not_edl_front_facture_show:
}
}
elseif (0 === strpos($pathinfo, '/em')) {
if (0 === strpos($pathinfo, '/emplois/jobposting')) {
// jobposting_index
if ('/emplois/jobposting' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_jobposting_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'jobposting_index');
}
return array ( '_controller' => 'JobsBundle\\Controller\\JobPostingController::indexAction', '_route' => 'jobposting_index',);
}
not_jobposting_index:
// jobposting_show
if (preg_match('#^/emplois/jobposting/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_jobposting_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'jobposting_show')), array ( '_controller' => 'JobsBundle\\Controller\\JobPostingController::showAction',));
}
not_jobposting_show:
// jobposting_new
if ('/emplois/jobposting/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_jobposting_new;
}
return array ( '_controller' => 'JobsBundle\\Controller\\JobPostingController::newAction', '_route' => 'jobposting_new',);
}
not_jobposting_new:
// jobposting_edit
if (preg_match('#^/emplois/jobposting/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_jobposting_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'jobposting_edit')), array ( '_controller' => 'JobsBundle\\Controller\\JobPostingController::editAction',));
}
not_jobposting_edit:
// jobposting_delete
if (preg_match('#^/emplois/jobposting/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'DELETE'))) {
$allow = array_merge($allow, array('GET', 'DELETE'));
goto not_jobposting_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'jobposting_delete')), array ( '_controller' => 'JobsBundle\\Controller\\JobPostingController::deleteAction',));
}
not_jobposting_delete:
}
elseif (0 === strpos($pathinfo, '/emplois/application')) {
// application_index
if ('/emplois/application' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_application_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'application_index');
}
return array ( '_controller' => 'JobsBundle\\Controller\\ApplicationController::indexAction', '_route' => 'application_index',);
}
not_application_index:
// application_show
if (preg_match('#^/emplois/application/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_application_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'application_show')), array ( '_controller' => 'JobsBundle\\Controller\\ApplicationController::showAction',));
}
not_application_show:
// application_new
if ('/emplois/application/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_application_new;
}
return array ( '_controller' => 'JobsBundle\\Controller\\ApplicationController::newAction', '_route' => 'application_new',);
}
not_application_new:
// application_edit
if (preg_match('#^/emplois/application/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_application_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'application_edit')), array ( '_controller' => 'JobsBundle\\Controller\\ApplicationController::editAction',));
}
not_application_edit:
// application_delete
if (preg_match('#^/emplois/application/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_application_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'application_delete')), array ( '_controller' => 'JobsBundle\\Controller\\ApplicationController::deleteAction',));
}
not_application_delete:
}
elseif (0 === strpos($pathinfo, '/email')) {
// config_email_index
if ('/email' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_email_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'config_email_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\EmailController::indexAction', '_route' => 'config_email_index',);
}
not_config_email_index:
// config_email_show
if (preg_match('#^/email/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_email_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_email_show')), array ( '_controller' => 'ConfigBundle\\Controller\\EmailController::showAction',));
}
not_config_email_show:
// config_email_new
if ('/email/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_email_new;
}
return array ( '_controller' => 'ConfigBundle\\Controller\\EmailController::newAction', '_route' => 'config_email_new',);
}
not_config_email_new:
// config_email_edit
if (preg_match('#^/email/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_email_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_email_edit')), array ( '_controller' => 'ConfigBundle\\Controller\\EmailController::editAction',));
}
not_config_email_edit:
// config_email_delete
if (preg_match('#^/email/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_config_email_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_email_delete')), array ( '_controller' => 'ConfigBundle\\Controller\\EmailController::deleteAction',));
}
not_config_email_delete:
}
}
}
elseif (0 === strpos($pathinfo, '/risques-amiante')) {
if (0 === strpos($pathinfo, '/risques-amiante/front')) {
// risques_amiante_front_new
if ('/risques-amiante/front' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_front_new;
}
return array ( '_controller' => 'RisquesAmianteBundle\\Controller\\CommandeController::forntFormAction', '_route' => 'risques_amiante_front_new',);
}
not_risques_amiante_front_new:
// risques_amiante_front_commande_show
if (0 === strpos($pathinfo, '/risques-amiante/front/commande') && preg_match('#^/risques\\-amiante/front/commande/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_front_commande_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_front_commande_show')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\CommandeController::frontShowAction',));
}
not_risques_amiante_front_commande_show:
// risques_amiante_front_devis_show
if (0 === strpos($pathinfo, '/risques-amiante/front/devis') && preg_match('#^/risques\\-amiante/front/devis/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_front_devis_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_front_devis_show')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\DevisController::frontShowAction',));
}
not_risques_amiante_front_devis_show:
if (0 === strpos($pathinfo, '/risques-amiante/front/facture')) {
// risques_amiante_front_facture_show
if (preg_match('#^/risques\\-amiante/front/facture/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_front_facture_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_front_facture_show')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\FactureController::frontShowAction',));
}
not_risques_amiante_front_facture_show:
// risques_amiante_front_facture_actualisation_show
if (0 === strpos($pathinfo, '/risques-amiante/front/factureactualisation') && preg_match('#^/risques\\-amiante/front/factureactualisation/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_front_facture_actualisation_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_front_facture_actualisation_show')), array ( '_controller' => 'RisquesAmianteBundle:FactureActualisation:frontShow',));
}
not_risques_amiante_front_facture_actualisation_show:
}
}
elseif (0 === strpos($pathinfo, '/risques-amiante/facture')) {
// risques_amiante_facture_index
if ('/risques-amiante/facture' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_facture_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'risques_amiante_facture_index');
}
return array ( '_controller' => 'RisquesAmianteBundle\\Controller\\FactureController::indexAction', '_route' => 'risques_amiante_facture_index',);
}
not_risques_amiante_facture_index:
// risques_amiante_facture_index_differe
if ('/risques-amiante/facture/differe' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_facture_index_differe;
}
return array ( '_controller' => 'RisquesAmianteBundle\\Controller\\FactureController::indexDiffereAction', '_route' => 'risques_amiante_facture_index_differe',);
}
not_risques_amiante_facture_index_differe:
// risques_amiante_facture_index_web
if ('/risques-amiante/facture/web' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_facture_index_web;
}
return array ( '_controller' => 'RisquesAmianteBundle\\Controller\\FactureController::indexWebAction', '_route' => 'risques_amiante_facture_index_web',);
}
not_risques_amiante_facture_index_web:
// risques_amiante_facture_index_liciel
if ('/risques-amiante/facture/liciel' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_facture_index_liciel;
}
return array ( '_controller' => 'RisquesAmianteBundle\\Controller\\FactureController::indexlicielAction', '_route' => 'risques_amiante_facture_index_liciel',);
}
not_risques_amiante_facture_index_liciel:
// risques_amiante_facture_show
if (preg_match('#^/risques\\-amiante/facture/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_facture_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_facture_show')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\FactureController::showAction',));
}
not_risques_amiante_facture_show:
// risques_amiante_facture_new
if ('/risques-amiante/facture/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_risques_amiante_facture_new;
}
return array ( '_controller' => 'RisquesAmianteBundle\\Controller\\FactureController::newAction', '_route' => 'risques_amiante_facture_new',);
}
not_risques_amiante_facture_new:
// risques_amiante_facture_edit
if (preg_match('#^/risques\\-amiante/facture/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_risques_amiante_facture_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_facture_edit')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\FactureController::editAction',));
}
not_risques_amiante_facture_edit:
// risques_amiante_facture_delete
if (preg_match('#^/risques\\-amiante/facture/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_risques_amiante_facture_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_facture_delete')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\FactureController::deleteAction',));
}
not_risques_amiante_facture_delete:
}
elseif (0 === strpos($pathinfo, '/risques-amiante/commande')) {
// risques_amiante_commande_index
if ('/risques-amiante/commande' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_commande_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'risques_amiante_commande_index');
}
return array ( '_controller' => 'RisquesAmianteBundle\\Controller\\CommandeController::indexAction', '_route' => 'risques_amiante_commande_index',);
}
not_risques_amiante_commande_index:
// risques_amiante_commande_arappeler
if ('/risques-amiante/commande/arappeler' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_commande_arappeler;
}
return array ( '_controller' => 'RisquesAmianteBundle\\Controller\\CommandeController::listCommandeARappelerAction', '_route' => 'risques_amiante_commande_arappeler',);
}
not_risques_amiante_commande_arappeler:
// risques_amiante_commande_list_by_filiale
if (preg_match('#^/risques\\-amiante/commande/(?P<filialeId>[^/]++)/filiale$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_commande_list_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_commande_list_by_filiale')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\CommandeController::listCommandeByFilialeAction',));
}
not_risques_amiante_commande_list_by_filiale:
// risques_amiante_commande_show
if (preg_match('#^/risques\\-amiante/commande/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_commande_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_commande_show')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\CommandeController::showAction',));
}
not_risques_amiante_commande_show:
// risques_amiante_commande_new
if ('/risques-amiante/commande/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_risques_amiante_commande_new;
}
return array ( '_controller' => 'RisquesAmianteBundle\\Controller\\CommandeController::newAction', '_route' => 'risques_amiante_commande_new',);
}
not_risques_amiante_commande_new:
// risques_amiante_commande_edit
if (preg_match('#^/risques\\-amiante/commande/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_risques_amiante_commande_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_commande_edit')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\CommandeController::editAction',));
}
not_risques_amiante_commande_edit:
// risques_amiante_commande_delete
if (preg_match('#^/risques\\-amiante/commande/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_risques_amiante_commande_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_commande_delete')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\CommandeController::deleteAction',));
}
not_risques_amiante_commande_delete:
}
elseif (0 === strpos($pathinfo, '/risques-amiante/devis')) {
// risques_amiante_devis_index
if ('/risques-amiante/devis' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_devis_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'risques_amiante_devis_index');
}
return array ( '_controller' => 'RisquesAmianteBundle\\Controller\\DevisController::indexAction', '_route' => 'risques_amiante_devis_index',);
}
not_risques_amiante_devis_index:
// risques_amiante_devis_show
if (preg_match('#^/risques\\-amiante/devis/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_risques_amiante_devis_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_devis_show')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\DevisController::showAction',));
}
not_risques_amiante_devis_show:
// risques_amiante_devis_new
if ('/risques-amiante/devis/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_risques_amiante_devis_new;
}
return array ( '_controller' => 'RisquesAmianteBundle\\Controller\\DevisController::newAction', '_route' => 'risques_amiante_devis_new',);
}
not_risques_amiante_devis_new:
// risques_amiante_devis_edit
if (preg_match('#^/risques\\-amiante/devis/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_risques_amiante_devis_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_devis_edit')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\DevisController::editAction',));
}
not_risques_amiante_devis_edit:
// risques_amiante_devis_delete
if (preg_match('#^/risques\\-amiante/devis/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_risques_amiante_devis_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'risques_amiante_devis_delete')), array ( '_controller' => 'RisquesAmianteBundle\\Controller\\DevisController::deleteAction',));
}
not_risques_amiante_devis_delete:
}
}
elseif (0 === strpos($pathinfo, '/region')) {
// config_region_index
if ('/region' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_region_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'config_region_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\RegionController::indexAction', '_route' => 'config_region_index',);
}
not_config_region_index:
// config_region_show
if (preg_match('#^/region/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_region_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_region_show')), array ( '_controller' => 'ConfigBundle\\Controller\\RegionController::showAction',));
}
not_config_region_show:
}
elseif (0 === strpos($pathinfo, '/pa')) {
if (0 === strpos($pathinfo, '/paiement')) {
// partnerpayment_index
if ('/paiement' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_partnerpayment_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'partnerpayment_index');
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\PartnerPaymentController::indexAction', '_route' => 'partnerpayment_index',);
}
not_partnerpayment_index:
// partnerpayment_show
if (preg_match('#^/paiement/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_partnerpayment_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'partnerpayment_show')), array ( '_controller' => 'DiagnosticBundle\\Controller\\PartnerPaymentController::showAction',));
}
not_partnerpayment_show:
// partnerpayment_new
if ('/paiement/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_partnerpayment_new;
}
return array ( '_controller' => 'DiagnosticBundle\\Controller\\PartnerPaymentController::newAction', '_route' => 'partnerpayment_new',);
}
not_partnerpayment_new:
// paiement_partnerpayment_edit
if (preg_match('#^/paiement/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_paiement_partnerpayment_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'paiement_partnerpayment_edit')), array ( '_controller' => 'DiagnosticBundle\\Controller\\PartnerPaymentController::editAction',));
}
not_paiement_partnerpayment_edit:
// partnerpayment_delete
if (preg_match('#^/paiement/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_partnerpayment_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'partnerpayment_delete')), array ( '_controller' => 'DiagnosticBundle\\Controller\\PartnerPaymentController::deleteAction',));
}
not_partnerpayment_delete:
}
elseif (0 === strpos($pathinfo, '/packdiagnostic')) {
// config_packdiagnostic_index
if ('/packdiagnostic' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_packdiagnostic_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'config_packdiagnostic_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\PackDiagnosticController::indexAction', '_route' => 'config_packdiagnostic_index',);
}
not_config_packdiagnostic_index:
// config_packdiagnostic_show
if (preg_match('#^/packdiagnostic/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_packdiagnostic_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_packdiagnostic_show')), array ( '_controller' => 'ConfigBundle\\Controller\\PackDiagnosticController::showAction',));
}
not_config_packdiagnostic_show:
// config_packdiagnostic_new
if ('/packdiagnostic/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_packdiagnostic_new;
}
return array ( '_controller' => 'ConfigBundle\\Controller\\PackDiagnosticController::newAction', '_route' => 'config_packdiagnostic_new',);
}
not_config_packdiagnostic_new:
// config_packdiagnostic_edit
if (preg_match('#^/packdiagnostic/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_packdiagnostic_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_packdiagnostic_edit')), array ( '_controller' => 'ConfigBundle\\Controller\\PackDiagnosticController::editAction',));
}
not_config_packdiagnostic_edit:
// config_packdiagnostic_delete
if (preg_match('#^/packdiagnostic/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_config_packdiagnostic_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_packdiagnostic_delete')), array ( '_controller' => 'ConfigBundle\\Controller\\PackDiagnosticController::deleteAction',));
}
not_config_packdiagnostic_delete:
}
elseif (0 === strpos($pathinfo, '/packedl')) {
// config_packedl_index
if ('/packedl' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_packedl_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'config_packedl_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\PackEdlController::indexAction', '_route' => 'config_packedl_index',);
}
not_config_packedl_index:
// config_packedl_show
if (preg_match('#^/packedl/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_packedl_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_packedl_show')), array ( '_controller' => 'ConfigBundle\\Controller\\PackEdlController::showAction',));
}
not_config_packedl_show:
// config_packedl_new
if ('/packedl/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_packedl_new;
}
return array ( '_controller' => 'ConfigBundle\\Controller\\PackEdlController::newAction', '_route' => 'config_packedl_new',);
}
not_config_packedl_new:
// config_packedl_edit
if (preg_match('#^/packedl/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_packedl_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_packedl_edit')), array ( '_controller' => 'ConfigBundle\\Controller\\PackEdlController::editAction',));
}
not_config_packedl_edit:
// config_packedl_delete
if (preg_match('#^/packedl/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_config_packedl_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_packedl_delete')), array ( '_controller' => 'ConfigBundle\\Controller\\PackEdlController::deleteAction',));
}
not_config_packedl_delete:
}
}
elseif (0 === strpos($pathinfo, '/prix')) {
if (0 === strpos($pathinfo, '/prixpackdiagnostic')) {
// config_prixpackdiagnostic_index
if ('/prixpackdiagnostic' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_prixpackdiagnostic_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'config_prixpackdiagnostic_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\PrixPackDiagnosticController::indexAction', '_route' => 'config_prixpackdiagnostic_index',);
}
not_config_prixpackdiagnostic_index:
// config_prixpackdiagnostic_show
if (preg_match('#^/prixpackdiagnostic/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_prixpackdiagnostic_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixpackdiagnostic_show')), array ( '_controller' => 'ConfigBundle\\Controller\\PrixPackDiagnosticController::showAction',));
}
not_config_prixpackdiagnostic_show:
// config_prixpackdiagnostic_new
if ('/prixpackdiagnostic/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_prixpackdiagnostic_new;
}
return array ( '_controller' => 'ConfigBundle\\Controller\\PrixPackDiagnosticController::newAction', '_route' => 'config_prixpackdiagnostic_new',);
}
not_config_prixpackdiagnostic_new:
// config_prixpackdiagnostic_edit
if (preg_match('#^/prixpackdiagnostic/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_prixpackdiagnostic_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixpackdiagnostic_edit')), array ( '_controller' => 'ConfigBundle\\Controller\\PrixPackDiagnosticController::editAction',));
}
not_config_prixpackdiagnostic_edit:
// config_prixpackdiagnostic_delete
if (preg_match('#^/prixpackdiagnostic/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_config_prixpackdiagnostic_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixpackdiagnostic_delete')), array ( '_controller' => 'ConfigBundle\\Controller\\PrixPackDiagnosticController::deleteAction',));
}
not_config_prixpackdiagnostic_delete:
}
elseif (0 === strpos($pathinfo, '/prixpackedl')) {
// config_prixpackedl_index
if ('/prixpackedl' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_prixpackedl_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'config_prixpackedl_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\PrixPackEdlController::indexAction', '_route' => 'config_prixpackedl_index',);
}
not_config_prixpackedl_index:
// config_prixpackedl_show
if (preg_match('#^/prixpackedl/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_prixpackedl_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixpackedl_show')), array ( '_controller' => 'ConfigBundle\\Controller\\PrixPackEdlController::showAction',));
}
not_config_prixpackedl_show:
// config_prixpackedl_new
if ('/prixpackedl/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_prixpackedl_new;
}
return array ( '_controller' => 'ConfigBundle\\Controller\\PrixPackEdlController::newAction', '_route' => 'config_prixpackedl_new',);
}
not_config_prixpackedl_new:
// config_prixpackedl_edit
if (preg_match('#^/prixpackedl/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_prixpackedl_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixpackedl_edit')), array ( '_controller' => 'ConfigBundle\\Controller\\PrixPackEdlController::editAction',));
}
not_config_prixpackedl_edit:
// config_prixpackedl_delete
if (preg_match('#^/prixpackedl/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_config_prixpackedl_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixpackedl_delete')), array ( '_controller' => 'ConfigBundle\\Controller\\PrixPackEdlController::deleteAction',));
}
not_config_prixpackedl_delete:
}
elseif (0 === strpos($pathinfo, '/prixunitediagnostic')) {
// config_prixunitediagnostic_index
if ('/prixunitediagnostic' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_prixunitediagnostic_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'config_prixunitediagnostic_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\PrixUniteDiagnosticController::indexAction', '_route' => 'config_prixunitediagnostic_index',);
}
not_config_prixunitediagnostic_index:
// config_prixunitediagnostic_show
if (preg_match('#^/prixunitediagnostic/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_prixunitediagnostic_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixunitediagnostic_show')), array ( '_controller' => 'ConfigBundle\\Controller\\PrixUniteDiagnosticController::showAction',));
}
not_config_prixunitediagnostic_show:
// config_prixunitediagnostic_new
if ('/prixunitediagnostic/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_prixunitediagnostic_new;
}
return array ( '_controller' => 'ConfigBundle\\Controller\\PrixUniteDiagnosticController::newAction', '_route' => 'config_prixunitediagnostic_new',);
}
not_config_prixunitediagnostic_new:
// config_prixunitediagnostic_edit
if (preg_match('#^/prixunitediagnostic/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_prixunitediagnostic_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixunitediagnostic_edit')), array ( '_controller' => 'ConfigBundle\\Controller\\PrixUniteDiagnosticController::editAction',));
}
not_config_prixunitediagnostic_edit:
// config_prixunitediagnostic_delete
if (preg_match('#^/prixunitediagnostic/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_config_prixunitediagnostic_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixunitediagnostic_delete')), array ( '_controller' => 'ConfigBundle\\Controller\\PrixUniteDiagnosticController::deleteAction',));
}
not_config_prixunitediagnostic_delete:
}
elseif (0 === strpos($pathinfo, '/prixuniteamiante')) {
// config_prixuniteamiante_index
if ('/prixuniteamiante' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_prixuniteamiante_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'config_prixuniteamiante_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\PrixUniteAmianteController::indexAction', '_route' => 'config_prixuniteamiante_index',);
}
not_config_prixuniteamiante_index:
// config_prixuniteamiante_show
if (preg_match('#^/prixuniteamiante/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_prixuniteamiante_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixuniteamiante_show')), array ( '_controller' => 'ConfigBundle\\Controller\\PrixUniteAmianteController::showAction',));
}
not_config_prixuniteamiante_show:
// config_prixuniteamiante_new
if ('/prixuniteamiante/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_prixuniteamiante_new;
}
return array ( '_controller' => 'ConfigBundle\\Controller\\PrixUniteAmianteController::newAction', '_route' => 'config_prixuniteamiante_new',);
}
not_config_prixuniteamiante_new:
// config_prixuniteamiante_edit
if (preg_match('#^/prixuniteamiante/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_prixuniteamiante_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixuniteamiante_edit')), array ( '_controller' => 'ConfigBundle\\Controller\\PrixUniteAmianteController::editAction',));
}
not_config_prixuniteamiante_edit:
// config_prixuniteamiante_delete
if (preg_match('#^/prixuniteamiante/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_config_prixuniteamiante_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_prixuniteamiante_delete')), array ( '_controller' => 'ConfigBundle\\Controller\\PrixUniteAmianteController::deleteAction',));
}
not_config_prixuniteamiante_delete:
}
}
elseif (0 === strpos($pathinfo, '/naturebien')) {
// config_naturebien_index
if ('/naturebien' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_naturebien_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'config_naturebien_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\NatureBienController::indexAction', '_route' => 'config_naturebien_index',);
}
not_config_naturebien_index:
// config_naturebien_show
if (preg_match('#^/naturebien/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_naturebien_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_naturebien_show')), array ( '_controller' => 'ConfigBundle\\Controller\\NatureBienController::showAction',));
}
not_config_naturebien_show:
}
elseif (0 === strpos($pathinfo, '/typebien')) {
// config_typebien_index
if ('/typebien' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_typebien_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'config_typebien_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\TypeBienController::indexAction', '_route' => 'config_typebien_index',);
}
not_config_typebien_index:
// config_typebien_show
if (preg_match('#^/typebien/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_typebien_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_typebien_show')), array ( '_controller' => 'ConfigBundle\\Controller\\TypeBienController::showAction',));
}
not_config_typebien_show:
// config_typebien_new
if ('/typebien/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_typebien_new;
}
return array ( '_controller' => 'ConfigBundle\\Controller\\TypeBienController::newAction', '_route' => 'config_typebien_new',);
}
not_config_typebien_new:
// config_typebien_edit
if (preg_match('#^/typebien/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_typebien_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_typebien_edit')), array ( '_controller' => 'ConfigBundle\\Controller\\TypeBienController::editAction',));
}
not_config_typebien_edit:
// config_typebien_delete
if (preg_match('#^/typebien/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_config_typebien_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_typebien_delete')), array ( '_controller' => 'ConfigBundle\\Controller\\TypeBienController::deleteAction',));
}
not_config_typebien_delete:
// config_typebien_api_list
if ('/typebien/list' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_typebien_api_list;
}
return array ( '_controller' => 'ConfigBundle\\Controller\\TypeBienRestController::indexAction', '_route' => 'config_typebien_api_list',);
}
not_config_typebien_api_list:
}
elseif (0 === strpos($pathinfo, '/transaction')) {
// config_transaction_index
if ('/transaction' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_transaction_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'config_transaction_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\TransactionController::indexAction', '_route' => 'config_transaction_index',);
}
not_config_transaction_index:
// config_transaction_show
if (preg_match('#^/transaction/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_transaction_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_transaction_show')), array ( '_controller' => 'ConfigBundle\\Controller\\TransactionController::showAction',));
}
not_config_transaction_show:
}
elseif (0 === strpos($pathinfo, '/filiale')) {
// config_filiale_index
if ('/filiale' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_filiale_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'config_filiale_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\FilialeController::indexAction', '_route' => 'config_filiale_index',);
}
not_config_filiale_index:
// config_filiale_show
if (preg_match('#^/filiale/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_filiale_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_filiale_show')), array ( '_controller' => 'ConfigBundle\\Controller\\FilialeController::showAction',));
}
not_config_filiale_show:
// config_filiale_new
if ('/filiale/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_filiale_new;
}
return array ( '_controller' => 'ConfigBundle\\Controller\\FilialeController::newAction', '_route' => 'config_filiale_new',);
}
not_config_filiale_new:
// config_filiale_edit
if (preg_match('#^/filiale/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_filiale_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_filiale_edit')), array ( '_controller' => 'ConfigBundle\\Controller\\FilialeController::editAction',));
}
not_config_filiale_edit:
// config_filiale_delete
if (preg_match('#^/filiale/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_config_filiale_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_filiale_delete')), array ( '_controller' => 'ConfigBundle\\Controller\\FilialeController::deleteAction',));
}
not_config_filiale_delete:
}
elseif (0 === strpos($pathinfo, '/secteur')) {
// config_secteur_index
if ('/secteur' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_secteur_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'config_secteur_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\SecteurController::indexAction', '_route' => 'config_secteur_index',);
}
not_config_secteur_index:
// config_secteur_show
if (preg_match('#^/secteur/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_secteur_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_secteur_show')), array ( '_controller' => 'ConfigBundle\\Controller\\SecteurController::showAction',));
}
not_config_secteur_show:
// config_secteur_new
if ('/secteur/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_secteur_new;
}
return array ( '_controller' => 'ConfigBundle\\Controller\\SecteurController::newAction', '_route' => 'config_secteur_new',);
}
not_config_secteur_new:
// config_secteur_edit
if (preg_match('#^/secteur/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_secteur_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_secteur_edit')), array ( '_controller' => 'ConfigBundle\\Controller\\SecteurController::editAction',));
}
not_config_secteur_edit:
// config_secteur_delete
if (preg_match('#^/secteur/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_config_secteur_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_secteur_delete')), array ( '_controller' => 'ConfigBundle\\Controller\\SecteurController::deleteAction',));
}
not_config_secteur_delete:
}
elseif (0 === strpos($pathinfo, '/unitediagnostic')) {
// config_unitediagnostic_index
if ('/unitediagnostic' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_unitediagnostic_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'config_unitediagnostic_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\UniteDiagnosticController::indexAction', '_route' => 'config_unitediagnostic_index',);
}
not_config_unitediagnostic_index:
// config_unitediagnostic_show
if (preg_match('#^/unitediagnostic/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_unitediagnostic_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_unitediagnostic_show')), array ( '_controller' => 'ConfigBundle\\Controller\\UniteDiagnosticController::showAction',));
}
not_config_unitediagnostic_show:
// config_unitediagnostic_new
if ('/unitediagnostic/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_unitediagnostic_new;
}
return array ( '_controller' => 'ConfigBundle\\Controller\\UniteDiagnosticController::newAction', '_route' => 'config_unitediagnostic_new',);
}
not_config_unitediagnostic_new:
// config_unitediagnostic_edit
if (preg_match('#^/unitediagnostic/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_unitediagnostic_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_unitediagnostic_edit')), array ( '_controller' => 'ConfigBundle\\Controller\\UniteDiagnosticController::editAction',));
}
not_config_unitediagnostic_edit:
// config_unitediagnostic_delete
if (preg_match('#^/unitediagnostic/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_config_unitediagnostic_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_unitediagnostic_delete')), array ( '_controller' => 'ConfigBundle\\Controller\\UniteDiagnosticController::deleteAction',));
}
not_config_unitediagnostic_delete:
}
elseif (0 === strpos($pathinfo, '/uniteamiante')) {
// config_uniteamiante_index
if ('/uniteamiante' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_uniteamiante_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'config_uniteamiante_index');
}
return array ( '_controller' => 'ConfigBundle:UniteAmiante:index', '_route' => 'config_uniteamiante_index',);
}
not_config_uniteamiante_index:
// config_uniteamiante_show
if (preg_match('#^/uniteamiante/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_config_uniteamiante_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_uniteamiante_show')), array ( '_controller' => 'ConfigBundle:UniteAmiante:show',));
}
not_config_uniteamiante_show:
// config_uniteamiante_new
if ('/uniteamiante/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_uniteamiante_new;
}
return array ( '_controller' => 'ConfigBundle:UniteAmiante:new', '_route' => 'config_uniteamiante_new',);
}
not_config_uniteamiante_new:
// config_uniteamiante_edit
if (preg_match('#^/uniteamiante/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_config_uniteamiante_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_uniteamiante_edit')), array ( '_controller' => 'ConfigBundle:UniteAmiante:edit',));
}
not_config_uniteamiante_edit:
// config_uniteamiante_delete
if (preg_match('#^/uniteamiante/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_config_uniteamiante_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'config_uniteamiante_delete')), array ( '_controller' => 'ConfigBundle:UniteAmiante:delete',));
}
not_config_uniteamiante_delete:
}
// intervention_index
if ('' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_intervention_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'intervention_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\InterventionController::indexAction', '_route' => 'intervention_index',);
}
not_intervention_index:
// intervention_show
if (preg_match('#^/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_intervention_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'intervention_show')), array ( '_controller' => 'ConfigBundle\\Controller\\InterventionController::showAction',));
}
not_intervention_show:
// intervention_new
if ('/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_intervention_new;
}
return array ( '_controller' => 'ConfigBundle\\Controller\\InterventionController::newAction', '_route' => 'intervention_new',);
}
not_intervention_new:
// intervention_edit
if (preg_match('#^/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_intervention_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'intervention_edit')), array ( '_controller' => 'ConfigBundle\\Controller\\InterventionController::editAction',));
}
not_intervention_edit:
// intervention_delete
if (preg_match('#^/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_intervention_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'intervention_delete')), array ( '_controller' => 'ConfigBundle\\Controller\\InterventionController::deleteAction',));
}
not_intervention_delete:
if (0 === strpos($pathinfo, '/p')) {
if (0 === strpos($pathinfo, '/pr')) {
if (0 === strpos($pathinfo, '/prestation')) {
// prestation_index
if ('/prestation' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_prestation_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'prestation_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\PrestationController::indexAction', '_route' => 'prestation_index',);
}
not_prestation_index:
// prestation_show
if (preg_match('#^/prestation/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_prestation_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'prestation_show')), array ( '_controller' => 'ConfigBundle\\Controller\\PrestationController::showAction',));
}
not_prestation_show:
// prestation_new
if ('/prestation/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_prestation_new;
}
return array ( '_controller' => 'ConfigBundle\\Controller\\PrestationController::newAction', '_route' => 'prestation_new',);
}
not_prestation_new:
// prestation_edit
if (preg_match('#^/prestation/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_prestation_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'prestation_edit')), array ( '_controller' => 'ConfigBundle\\Controller\\PrestationController::editAction',));
}
not_prestation_edit:
// prestation_delete
if (preg_match('#^/prestation/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_prestation_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'prestation_delete')), array ( '_controller' => 'ConfigBundle\\Controller\\PrestationController::deleteAction',));
}
not_prestation_delete:
}
elseif (0 === strpos($pathinfo, '/produitcontrole')) {
// produitcontrole_index
if ('/produitcontrole' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_produitcontrole_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'produitcontrole_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\ProduitControleController::indexAction', '_route' => 'produitcontrole_index',);
}
not_produitcontrole_index:
// produitcontrole_show
if (preg_match('#^/produitcontrole/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_produitcontrole_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'produitcontrole_show')), array ( '_controller' => 'ConfigBundle\\Controller\\ProduitControleController::showAction',));
}
not_produitcontrole_show:
// produitcontrole_new
if ('/produitcontrole/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_produitcontrole_new;
}
return array ( '_controller' => 'ConfigBundle\\Controller\\ProduitControleController::newAction', '_route' => 'produitcontrole_new',);
}
not_produitcontrole_new:
// produitcontrole_edit
if (preg_match('#^/produitcontrole/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_produitcontrole_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'produitcontrole_edit')), array ( '_controller' => 'ConfigBundle\\Controller\\ProduitControleController::editAction',));
}
not_produitcontrole_edit:
// produitcontrole_delete
if (preg_match('#^/produitcontrole/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_produitcontrole_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'produitcontrole_delete')), array ( '_controller' => 'ConfigBundle\\Controller\\ProduitControleController::deleteAction',));
}
not_produitcontrole_delete:
}
elseif (0 === strpos($pathinfo, '/profile')) {
// fos_user_profile_show
if (preg_match('#^/profile/(?P<user>\\d+)/?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_fos_user_profile_show;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'fos_user_profile_show');
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_profile_show')), array ( '_controller' => 'FOS\\UserBundle\\Controller\\ProfileController::showAction',));
}
not_fos_user_profile_show:
if (0 === strpos($pathinfo, '/profile/edit')) {
// fos_user_profile_edit
if ('/profile/edit' === $trimmedPathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_fos_user_profile_edit;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'fos_user_profile_edit');
}
return array ( '_controller' => 'FOS\\UserBundle\\Controller\\ProfileController::editAction', '_route' => 'fos_user_profile_edit',);
}
not_fos_user_profile_edit:
// fos_user_profile_edit_image
if ('/profile/editPhoto' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_fos_user_profile_edit_image;
}
return array ( '_controller' => 'FOS\\UserBundle\\Controller\\ProfileController::editProfileImageAction', '_route' => 'fos_user_profile_edit_image',);
}
not_fos_user_profile_edit_image:
}
// fos_user_change_password
if ('/profile/change-password' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_fos_user_change_password;
}
return array ( '_controller' => 'FOS\\UserBundle\\Controller\\ChangePasswordController::changePasswordAction', '_route' => 'fos_user_change_password',);
}
not_fos_user_change_password:
}
}
elseif (0 === strpos($pathinfo, '/packcontrole')) {
// packcontrole_index
if ('/packcontrole' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_packcontrole_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'packcontrole_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\PackControleController::indexAction', '_route' => 'packcontrole_index',);
}
not_packcontrole_index:
// packcontrole_show
if (preg_match('#^/packcontrole/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_packcontrole_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'packcontrole_show')), array ( '_controller' => 'ConfigBundle\\Controller\\PackControleController::showAction',));
}
not_packcontrole_show:
// packcontrole_new
if ('/packcontrole/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_packcontrole_new;
}
return array ( '_controller' => 'ConfigBundle\\Controller\\PackControleController::newAction', '_route' => 'packcontrole_new',);
}
not_packcontrole_new:
// packcontrole_edit
if (preg_match('#^/packcontrole/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_packcontrole_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'packcontrole_edit')), array ( '_controller' => 'ConfigBundle\\Controller\\PackControleController::editAction',));
}
not_packcontrole_edit:
// packcontrole_delete
if (preg_match('#^/packcontrole/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_packcontrole_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'packcontrole_delete')), array ( '_controller' => 'ConfigBundle\\Controller\\PackControleController::deleteAction',));
}
not_packcontrole_delete:
}
// user_user_getpartenaires
if ('/partenaires' === $pathinfo) {
return array ( '_controller' => 'UserBundle\\Controller\\UserController::getPartenairesAction', '_route' => 'user_user_getpartenaires',);
}
}
elseif (0 === strpos($pathinfo, '/a')) {
if (0 === strpos($pathinfo, '/activite')) {
// activite_index
if ('/activite' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_activite_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'activite_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\ActiviteController::indexAction', '_route' => 'activite_index',);
}
not_activite_index:
// activite_show
if (preg_match('#^/activite/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_activite_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'activite_show')), array ( '_controller' => 'ConfigBundle\\Controller\\ActiviteController::showAction',));
}
not_activite_show:
}
elseif (0 === strpos($pathinfo, '/agent')) {
// user_user_getagents
if ('/agents' === $pathinfo) {
return array ( '_controller' => 'UserBundle\\Controller\\UserController::getAgentsAction', '_route' => 'user_user_getagents',);
}
// post_agent
if ('/agent/new' === $pathinfo) {
return array ( '_controller' => 'UserBundle\\Controller\\UserController::newAction', '_route' => 'post_agent',);
}
// patch_agent
if (preg_match('#^/agent/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_agent')), array ( '_controller' => 'UserBundle\\Controller\\UserController::editAction',));
}
}
elseif (0 === strpos($pathinfo, '/ap')) {
if (0 === strpos($pathinfo, '/api')) {
if (0 === strpos($pathinfo, '/api/p')) {
if (0 === strpos($pathinfo, '/api/professionnels')) {
// user_rest_get_professionnels_count
if ('/api/professionnels-count' === $pathinfo) {
return array ( '_controller' => 'UserBundle\\Controller\\UserController::getProfessionnelsCount', '_route' => 'user_rest_get_professionnels_count',);
}
// user_rest_get_professionnels
if (preg_match('#^/api/professionnels/(?P<reference>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_user_rest_get_professionnels;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_get_professionnels')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::getProfessionnelsAction', '_format' => 'json',));
}
not_user_rest_get_professionnels:
}
elseif (0 === strpos($pathinfo, '/api/partenaires')) {
// user_rest_get_partenaires_count
if ('/api/partenaires-count' === $pathinfo) {
return array ( '_controller' => 'UserBundle\\Controller\\UserController::getPartenairesCount', '_route' => 'user_rest_get_partenaires_count',);
}
// get_partenaires
if (preg_match('#^/api/partenaires(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_partenaires;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_partenaires')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::getPartenairesAction', '_format' => 'json',));
}
not_get_partenaires:
// post_partenaires
if (preg_match('#^/api/partenaires(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_partenaires;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_partenaires')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::postPartenairesAction', '_format' => 'json',));
}
not_post_partenaires:
}
elseif (0 === strpos($pathinfo, '/api/particuliers')) {
// user_rest_get_particuliers_count
if ('/api/particuliers-count' === $pathinfo) {
return array ( '_controller' => 'UserBundle\\Controller\\UserController::getParticuliersCount', '_route' => 'user_rest_get_particuliers_count',);
}
// user_rest_get_particuliers
if (preg_match('#^/api/particuliers/(?P<reference>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_user_rest_get_particuliers;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_get_particuliers')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::getParticuliersAction', '_format' => 'json',));
}
not_user_rest_get_particuliers:
// post_particuliers
if (preg_match('#^/api/particuliers(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_particuliers;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_particuliers')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::postParticuliersAction', '_format' => 'json',));
}
not_post_particuliers:
}
}
elseif (0 === strpos($pathinfo, '/api/utilisateur')) {
if (0 === strpos($pathinfo, '/api/utilisateurs')) {
// update_user
if (preg_match('#^/api/utilisateurs/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_update_user;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'update_user')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::updateUserAction', '_format' => 'json',));
}
not_update_user:
// remove_user_photo
if (preg_match('#^/api/utilisateurs/(?P<id>[^/]++)/photo(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_user_photo;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_user_photo')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::removeUserPhotoAction', '_format' => 'json',));
}
not_remove_user_photo:
// remove_user_logo
if (preg_match('#^/api/utilisateurs/(?P<id>[^/]++)/logo(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_remove_user_logo;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'remove_user_logo')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::removeUserLogoAction', '_format' => 'json',));
}
not_remove_user_logo:
// user_rest_delete
if (preg_match('#^/api/utilisateurs/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_user_rest_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_delete')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::removeUserAction', '_format' => 'json',));
}
not_user_rest_delete:
}
// user_rest_patchpassword
if (preg_match('#^/api/utilisateur/(?P<id>[^/]++)/patchpassword(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_user_rest_patchpassword;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_patchpassword')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::patchPasswordAction', '_format' => 'json',));
}
not_user_rest_patchpassword:
// change_password
if (preg_match('#^/api/utilisateur/(?P<id>[^/]++)/change(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_change_password;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'change_password')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::changePasswordAction', '_format' => 'json',));
}
not_change_password:
// generate_password
if (preg_match('#^/api/utilisateur/(?P<id>[^/]++)/regenerermotdepasse(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_generate_password;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'generate_password')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::generatePasswordAction', '_format' => 'json',));
}
not_generate_password:
if (0 === strpos($pathinfo, '/api/utilisateurs')) {
// get_user
if (preg_match('#^/api/utilisateurs/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_user;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_user')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::getUserAction', '_format' => 'json',));
}
not_get_user:
// patch_user
if (preg_match('#^/api/utilisateurs/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_user;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_user')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::patchUserAction', '_format' => 'json',));
}
not_patch_user:
// user_rest_post_photo
if (preg_match('#^/api/utilisateurs/(?P<id>[^/]++)/photo(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_user_rest_post_photo;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_post_photo')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::postUserPhotoAction', '_format' => 'json',));
}
not_user_rest_post_photo:
// user_rest_post_logo
if (preg_match('#^/api/utilisateurs/(?P<id>[^/]++)/logo(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_user_rest_post_logo;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_post_logo')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::postUserLogoAction', '_format' => 'json',));
}
not_user_rest_post_logo:
// user_rest_post_lavatar
if (preg_match('#^/api/utilisateurs/(?P<id>[^/]++)/avatar(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_user_rest_post_lavatar;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_post_lavatar')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::postUserAvatarAction', '_format' => 'json',));
}
not_user_rest_post_lavatar:
}
// get_user_by_token
if (0 === strpos($pathinfo, '/api/utilisateurByToken') && preg_match('#^/api/utilisateurByToken(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_user_by_token;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_user_by_token')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::getUserByTokenAction', '_format' => 'json',));
}
not_get_user_by_token:
}
elseif (0 === strpos($pathinfo, '/api/user')) {
// get_questions_by_customer
if (preg_match('#^/api/user/(?P<userId>[^/]++)/questions(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_questions_by_customer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_questions_by_customer')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController:getQuestionsByCustomerAction', '_format' => 'json',));
}
not_get_questions_by_customer:
// get_messages_by_customer
if (preg_match('#^/api/user/(?P<userId>[^/]++)/messages(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_messages_by_customer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_messages_by_customer')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:getMessagesByCustomerAction', '_format' => 'json',));
}
not_get_messages_by_customer:
}
// send_email
if (0 === strpos($pathinfo, '/api/request/reset') && preg_match('#^/api/request/reset(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_send_email;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'send_email')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::sendEmailAction', '_format' => 'json',));
}
not_send_email:
if (0 === strpos($pathinfo, '/api/c')) {
if (0 === strpos($pathinfo, '/api/changermotdepasse')) {
// user_rest_resetting_reset
if (preg_match('#^/api/changermotdepasse/(?P<token>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_user_rest_resetting_reset;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_resetting_reset')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::resetAction', '_format' => 'json',));
}
not_user_rest_resetting_reset:
// user_rest_password_reset
if (preg_match('#^/api/changermotdepasse(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_user_rest_password_reset;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_password_reset')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::resetPasswordAction', '_format' => 'json',));
}
not_user_rest_password_reset:
}
// user_rest_get_commission
if (0 === strpos($pathinfo, '/api/commission') && preg_match('#^/api/commission/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_user_rest_get_commission;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_get_commission')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::getCommissionFactureDIByProAction', '_format' => 'json',));
}
not_user_rest_get_commission:
if (0 === strpos($pathinfo, '/api/clients')) {
// get_clients
if (0 === strpos($pathinfo, '/api/clients-ajax') && preg_match('#^/api/clients\\-ajax(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_get_clients;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_clients')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::getClientsAjaxAction', '_format' => 'json',));
}
not_get_clients:
// user_rest_get_clients
if (preg_match('#^/api/clients(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_user_rest_get_clients;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_get_clients')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::getClientsAction', '_format' => 'json',));
}
not_user_rest_get_clients:
// user_rest_post_client
if (preg_match('#^/api/clients(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_user_rest_post_client;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_post_client')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::postClientsAction', '_format' => 'json',));
}
not_user_rest_post_client:
}
}
elseif (0 === strpos($pathinfo, '/api/s')) {
// user_rest_sedesabonnernewsletter
if (0 === strpos($pathinfo, '/api/sedesabonnernewsletter') && preg_match('#^/api/sedesabonnernewsletter/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_user_rest_sedesabonnernewsletter;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_sedesabonnernewsletter')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::seDesabonnerNewsletterAction', '_format' => 'json',));
}
not_user_rest_sedesabonnernewsletter:
if (0 === strpos($pathinfo, '/api/secteur')) {
// get_questions_by_secteur
if (preg_match('#^/api/secteur/(?P<id>[^/]++)/questions(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_questions_by_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_questions_by_secteur')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController:getQuestionsBySecteurAction', '_format' => 'json',));
}
not_get_questions_by_secteur:
// get_messages_by_secteur
if (preg_match('#^/api/secteur/(?P<id>[^/]++)/messages(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_messages_by_secteur;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_messages_by_secteur')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:getMessagesBySecteurAction', '_format' => 'json',));
}
not_get_messages_by_secteur:
}
// user_rest_sabonnernewsletter
if (0 === strpos($pathinfo, '/api/sabonnernewsletter') && preg_match('#^/api/sabonnernewsletter/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_user_rest_sabonnernewsletter;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_sabonnernewsletter')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::sAbonnerNewsletterAction', '_format' => 'json',));
}
not_user_rest_sabonnernewsletter:
}
// user_rest_generatecontactnewsletter
if (0 === strpos($pathinfo, '/api/generatecontactnewsletter') && preg_match('#^/api/generatecontactnewsletter(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_user_rest_generatecontactnewsletter;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_generatecontactnewsletter')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::generateContactMailjetAction', '_format' => 'json',));
}
not_user_rest_generatecontactnewsletter:
if (0 === strpos($pathinfo, '/api/a')) {
if (0 === strpos($pathinfo, '/api/agents')) {
// get_agents
if (preg_match('#^/api/agents(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_agents;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_agents')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::getAgentsAction', '_format' => 'json',));
}
not_get_agents:
// post_agents
if (preg_match('#^/api/agents(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_agents;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_agents')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::postAgentsAction', '_format' => 'json',));
}
not_post_agents:
}
// patch_user_from_app_com
if (0 === strpos($pathinfo, '/api/app-com/utilisateurs') && preg_match('#^/api/app\\-com/utilisateurs/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_patch_user_from_app_com;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_user_from_app_com')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::patchUserFromAppComAction', '_format' => 'json',));
}
not_patch_user_from_app_com:
if (0 === strpos($pathinfo, '/api/app/questions')) {
// app_rest_questions
if (preg_match('#^/api/app/questions(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_app_rest_questions;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_questions')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController:getQuestionsAction', '_format' => 'json',));
}
not_app_rest_questions:
// app_rest_questions_count
if (0 === strpos($pathinfo, '/api/app/questions-count') && preg_match('#^/api/app/questions\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_app_rest_questions_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_questions_count')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController:getQuestionsCountAction', '_format' => 'json',));
}
not_app_rest_questions_count:
// get_question
if (preg_match('#^/api/app/questions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_question;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_question')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController:getQuestionAction', '_format' => 'json',));
}
not_get_question:
// app_rest_post_question
if (preg_match('#^/api/app/questions(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_app_rest_post_question;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_post_question')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController:postQuestionsAction', '_format' => 'json',));
}
not_app_rest_post_question:
// app_rest_put_question
if (preg_match('#^/api/app/questions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_app_rest_put_question;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_put_question')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController:updateQuestionAction', '_format' => 'json',));
}
not_app_rest_put_question:
// app_rest_patch_question
if (preg_match('#^/api/app/questions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_app_rest_patch_question;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_patch_question')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController:patchQuestionAction', '_format' => 'json',));
}
not_app_rest_patch_question:
// app_rest_delete_question
if (preg_match('#^/api/app/questions/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_app_rest_delete_question;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_delete_question')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController:removeQuestionAction', '_format' => 'json',));
}
not_app_rest_delete_question:
}
}
// user_rest_get_commission22
if (0 === strpos($pathinfo, '/api/impaidinvoicecount') && preg_match('#^/api/impaidinvoicecount/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_user_rest_get_commission22;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_get_commission22')), array ( '_controller' => 'UserBundle\\Controller\\rest\\UserRestController::getUnpaidInvoicesCountByCustomerAction', '_format' => 'json',));
}
not_user_rest_get_commission22:
if (0 === strpos($pathinfo, '/api/taches')) {
// get_taches
if (preg_match('#^/api/taches(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_taches;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_taches')), array ( '_controller' => 'UserBundle\\Controller\\rest\\TacheRestController::getTachesAction', '_format' => 'json',));
}
not_get_taches:
// get_tache
if (preg_match('#^/api/taches/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_tache;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_tache')), array ( '_controller' => 'UserBundle\\Controller\\rest\\TacheRestController::getTacheAction', '_format' => 'json',));
}
not_get_tache:
// user_rest_post_tache
if (preg_match('#^/api/taches(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_user_rest_post_tache;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_post_tache')), array ( '_controller' => 'UserBundle\\Controller\\rest\\TacheRestController::postTachesAction', '_format' => 'json',));
}
not_user_rest_post_tache:
// user_rest_put_tache
if (preg_match('#^/api/taches/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_user_rest_put_tache;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_put_tache')), array ( '_controller' => 'UserBundle\\Controller\\rest\\TacheRestController::updateTacheAction', '_format' => 'json',));
}
not_user_rest_put_tache:
// user_rest_patch_tache
if (preg_match('#^/api/taches/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_user_rest_patch_tache;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_patch_tache')), array ( '_controller' => 'UserBundle\\Controller\\rest\\TacheRestController::patchTacheAction', '_format' => 'json',));
}
not_user_rest_patch_tache:
// user_rest_delete_tache
if (preg_match('#^/api/taches/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_user_rest_delete_tache;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_rest_delete_tache')), array ( '_controller' => 'UserBundle\\Controller\\rest\\TacheRestController::removeTacheAction', '_format' => 'json',));
}
not_user_rest_delete_tache:
}
elseif (0 === strpos($pathinfo, '/api/email-template')) {
// app_rest_emailTemplates_items
if (0 === strpos($pathinfo, '/api/email-template/') && preg_match('#^/api/email\\-template/(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_app_rest_emailTemplates_items;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_emailTemplates_items')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\EmailTemplateRestController:getEmailTemplatesAction', '_format' => 'json',));
}
not_app_rest_emailTemplates_items:
// app_rest_emailTemplate_item
if (preg_match('#^/api/email\\-template/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_app_rest_emailTemplate_item;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_emailTemplate_item')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\EmailTemplateRestController:getEmailTemplateAction', '_format' => 'json',));
}
not_app_rest_emailTemplate_item:
// app_rest_emailTemplate_test_send
if (preg_match('#^/api/email\\-template/(?P<id>[^/]++)/test\\-send(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_app_rest_emailTemplate_test_send;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_emailTemplate_test_send')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\EmailTemplateRestController:testSendEmailTemplateAction', '_format' => 'json',));
}
not_app_rest_emailTemplate_test_send:
// app_rest_emailTemplate_post_items
if (0 === strpos($pathinfo, '/api/email-template/') && preg_match('#^/api/email\\-template/(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_app_rest_emailTemplate_post_items;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_emailTemplate_post_items')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\EmailTemplateRestController:postEmailTemplateAction', '_format' => 'json',));
}
not_app_rest_emailTemplate_post_items:
// app_rest_emailTemplate_put_item
if (preg_match('#^/api/email\\-template/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_app_rest_emailTemplate_put_item;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_emailTemplate_put_item')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\EmailTemplateRestController:putEmailTemplateAction', '_format' => 'json',));
}
not_app_rest_emailTemplate_put_item:
// app_rest_emailTemplate_patch_item
if (preg_match('#^/api/email\\-template/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_app_rest_emailTemplate_patch_item;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_emailTemplate_patch_item')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\EmailTemplateRestController:patchEmailTemplateAction', '_format' => 'json',));
}
not_app_rest_emailTemplate_patch_item:
// app_rest_emailTemplate_delete_item
if (preg_match('#^/api/email\\-template/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_app_rest_emailTemplate_delete_item;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_emailTemplate_delete_item')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\EmailTemplateRestController:removeEmailTemplateAction', '_format' => 'json',));
}
not_app_rest_emailTemplate_delete_item:
}
elseif (0 === strpos($pathinfo, '/api/filiale')) {
// app_rest_questions_by_filiale_count
if (preg_match('#^/api/filiale/(?P<filialeId>[^/]++)/questions\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_app_rest_questions_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_questions_by_filiale_count')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController:getQuestionsByFilialeCountAction', '_format' => 'json',));
}
not_app_rest_questions_by_filiale_count:
// get_questions_by_filiale
if (preg_match('#^/api/filiale/(?P<filialeId>[^/]++)/questions(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_questions_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_questions_by_filiale')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\QuestionRestController:getQuestionsByFilialeAction', '_format' => 'json',));
}
not_get_questions_by_filiale:
// diagnostic_rest_messages_by_filiale_count
if (preg_match('#^/api/filiale/(?P<filialeId>[^/]++)/messages\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_messages_by_filiale_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_messages_by_filiale_count')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:getMessagesByFilialeCountAction', '_format' => 'json',));
}
not_diagnostic_rest_messages_by_filiale_count:
// get_messages_by_filiale
if (preg_match('#^/api/filiale/(?P<filialeId>[^/]++)/messages(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_messages_by_filiale;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_messages_by_filiale')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:getMessagesByFilialeAction', '_format' => 'json',));
}
not_get_messages_by_filiale:
}
elseif (0 === strpos($pathinfo, '/api/messages')) {
// diagnostic_rest_messages
if (preg_match('#^/api/messages(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_messages;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_messages')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:getMessagesAction', '_format' => 'json',));
}
not_diagnostic_rest_messages:
// diagnostic_rest_messages_count
if (0 === strpos($pathinfo, '/api/messages-count') && preg_match('#^/api/messages\\-count(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_diagnostic_rest_messages_count;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_messages_count')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:getMessagesCountAction', '_format' => 'json',));
}
not_diagnostic_rest_messages_count:
// get_message
if (preg_match('#^/api/messages/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_get_message;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'get_message')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:getMessageAction', '_format' => 'json',));
}
not_get_message:
// app_rest_post_message
if (preg_match('#^/api/messages(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_app_rest_post_message;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_rest_post_message')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:postMessagesAction', '_format' => 'json',));
}
not_app_rest_post_message:
// diagnostic_rest_put_message
if (preg_match('#^/api/messages/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_diagnostic_rest_put_message;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_put_message')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:updateMessageAction', '_format' => 'json',));
}
not_diagnostic_rest_put_message:
// diagnostic_rest_patch_message
if (preg_match('#^/api/messages/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_diagnostic_rest_patch_message;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_patch_message')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:patchMessageAction', '_format' => 'json',));
}
not_diagnostic_rest_patch_message:
// diagnostic_rest_delete_message
if (preg_match('#^/api/messages/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_diagnostic_rest_delete_message;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'diagnostic_rest_delete_message')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:removeMessageAction', '_format' => 'json',));
}
not_diagnostic_rest_delete_message:
// post_message_fichier
if (preg_match('#^/api/messages/(?P<id>[^/]++)/fichier(?:\\.(?P<_format>json|xml|pdf|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_message_fichier;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_message_fichier')), array ( '_controller' => 'AppBundle\\Controller\\Rest\\MessageRestController:postMessageFichierAction', '_format' => 'json',));
}
not_post_message_fichier:
}
// api_login_check
if ('/api/login_check' === $pathinfo) {
return array('_route' => 'api_login_check');
}
}
elseif (0 === strpos($pathinfo, '/app/question')) {
// question_index
if ('/app/question' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_question_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'question_index');
}
return array ( '_controller' => 'AppBundle\\Controller\\QuestionController::indexAction', '_route' => 'question_index',);
}
not_question_index:
// question_show
if (preg_match('#^/app/question/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_question_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'question_show')), array ( '_controller' => 'AppBundle\\Controller\\QuestionController::showAction',));
}
not_question_show:
// question_frontshow
if (0 === strpos($pathinfo, '/app/question/front') && preg_match('#^/app/question/front/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_question_frontshow;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'question_frontshow')), array ( '_controller' => 'AppBundle\\Controller\\QuestionController::frontShowAction',));
}
not_question_frontshow:
// question_new
if ('/app/question/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_question_new;
}
return array ( '_controller' => 'AppBundle\\Controller\\QuestionController::newAction', '_route' => 'question_new',);
}
not_question_new:
// question_edit
if (preg_match('#^/app/question/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_question_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'question_edit')), array ( '_controller' => 'AppBundle\\Controller\\QuestionController::editAction',));
}
not_question_edit:
// question_delete
if (preg_match('#^/app/question/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_question_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'question_delete')), array ( '_controller' => 'AppBundle\\Controller\\QuestionController::deleteAction',));
}
not_question_delete:
}
elseif (0 === strpos($pathinfo, '/app/message')) {
// message_index
if ('/app/message' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_message_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'message_index');
}
return array ( '_controller' => 'AppBundle\\Controller\\MessageController::indexAction', '_route' => 'message_index',);
}
not_message_index:
// message_show
if (preg_match('#^/app/message/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_message_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'message_show')), array ( '_controller' => 'AppBundle\\Controller\\MessageController::showAction',));
}
not_message_show:
// message_new
if ('/app/message/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_message_new;
}
return array ( '_controller' => 'AppBundle\\Controller\\MessageController::newAction', '_route' => 'message_new',);
}
not_message_new:
// message_edit
if (preg_match('#^/app/message/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_message_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'message_edit')), array ( '_controller' => 'AppBundle\\Controller\\MessageController::editAction',));
}
not_message_edit:
// message_delete
if (preg_match('#^/app/message/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_message_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'message_delete')), array ( '_controller' => 'AppBundle\\Controller\\MessageController::deleteAction',));
}
not_message_delete:
}
}
}
elseif (0 === strpos($pathinfo, '/c')) {
if (0 === strpos($pathinfo, '/combinaisoncontrole')) {
// combinaisoncontrole_index
if ('/combinaisoncontrole' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_combinaisoncontrole_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'combinaisoncontrole_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\CombinaisonControleController::indexAction', '_route' => 'combinaisoncontrole_index',);
}
not_combinaisoncontrole_index:
// combinaisoncontrole_show
if (preg_match('#^/combinaisoncontrole/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_combinaisoncontrole_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'combinaisoncontrole_show')), array ( '_controller' => 'ConfigBundle\\Controller\\CombinaisonControleController::showAction',));
}
not_combinaisoncontrole_show:
// combinaisoncontrole_new
if ('/combinaisoncontrole/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_combinaisoncontrole_new;
}
return array ( '_controller' => 'ConfigBundle\\Controller\\CombinaisonControleController::newAction', '_route' => 'combinaisoncontrole_new',);
}
not_combinaisoncontrole_new:
// combinaisoncontrole_edit
if (preg_match('#^/combinaisoncontrole/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_combinaisoncontrole_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'combinaisoncontrole_edit')), array ( '_controller' => 'ConfigBundle\\Controller\\CombinaisonControleController::editAction',));
}
not_combinaisoncontrole_edit:
// combinaisoncontrole_delete
if (preg_match('#^/combinaisoncontrole/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_combinaisoncontrole_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'combinaisoncontrole_delete')), array ( '_controller' => 'ConfigBundle\\Controller\\CombinaisonControleController::deleteAction',));
}
not_combinaisoncontrole_delete:
}
elseif (0 === strpos($pathinfo, '/categorieerp')) {
// categorieerp_index
if ('/categorieerp' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_categorieerp_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'categorieerp_index');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\CategorieERPController::indexAction', '_route' => 'categorieerp_index',);
}
not_categorieerp_index:
// categorieerp_show
if (preg_match('#^/categorieerp/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_categorieerp_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'categorieerp_show')), array ( '_controller' => 'ConfigBundle\\Controller\\CategorieERPController::showAction',));
}
not_categorieerp_show:
// categorieerp_new
if ('/categorieerp/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_categorieerp_new;
}
return array ( '_controller' => 'ConfigBundle\\Controller\\CategorieERPController::newAction', '_route' => 'categorieerp_new',);
}
not_categorieerp_new:
// categorieerp_edit
if (preg_match('#^/categorieerp/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_categorieerp_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'categorieerp_edit')), array ( '_controller' => 'ConfigBundle\\Controller\\CategorieERPController::editAction',));
}
not_categorieerp_edit:
// categorieerp_delete
if (preg_match('#^/categorieerp/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_categorieerp_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'categorieerp_delete')), array ( '_controller' => 'ConfigBundle\\Controller\\CategorieERPController::deleteAction',));
}
not_categorieerp_delete:
}
elseif (0 === strpos($pathinfo, '/client')) {
// user_user_getclients
if ('/clients' === $pathinfo) {
return array ( '_controller' => 'UserBundle\\Controller\\UserController::getclientsAction', '_route' => 'user_user_getclients',);
}
// patch_cient
if (preg_match('#^/client/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'patch_cient')), array ( '_controller' => 'UserBundle\\Controller\\UserController::editClientAction',));
}
}
}
elseif (0 === strpos($pathinfo, '/e')) {
// user_user_profil
if (0 === strpos($pathinfo, '/espaceclient') && preg_match('#^/espaceclient/(?P<id>[^/]++)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_user_profil')), array ( '_controller' => 'UserBundle\\Controller\\UserController::profilAction',));
}
// user_user_partenaire
if (0 === strpos($pathinfo, '/espacepartenaire') && preg_match('#^/espacepartenaire/(?P<id>[^/]++)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_user_partenaire')), array ( '_controller' => 'UserBundle\\Controller\\UserController::partenaireAction',));
}
if (0 === strpos($pathinfo, '/email-template')) {
// emailTemplate_index
if ('/email-template' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_emailTemplate_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'emailTemplate_index');
}
return array ( '_controller' => 'AppBundle\\Controller\\EmailTemplateController::indexAction', '_route' => 'emailTemplate_index',);
}
not_emailTemplate_index:
// emailTemplate_show
if (preg_match('#^/email\\-template/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_emailTemplate_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'emailTemplate_show')), array ( '_controller' => 'AppBundle\\Controller\\EmailTemplateController::showAction',));
}
not_emailTemplate_show:
// emailTemplate_new
if ('/email-template/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_emailTemplate_new;
}
return array ( '_controller' => 'AppBundle\\Controller\\EmailTemplateController::newAction', '_route' => 'emailTemplate_new',);
}
not_emailTemplate_new:
// emailTemplate_edit
if (preg_match('#^/email\\-template/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_emailTemplate_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'emailTemplate_edit')), array ( '_controller' => 'AppBundle\\Controller\\EmailTemplateController::editAction',));
}
not_emailTemplate_edit:
// emailTemplate_delete
if (preg_match('#^/email\\-template/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_emailTemplate_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'emailTemplate_delete')), array ( '_controller' => 'AppBundle\\Controller\\EmailTemplateController::deleteAction',));
}
not_emailTemplate_delete:
}
}
elseif (0 === strpos($pathinfo, '/login')) {
// fos_user_security_login
if ('/login' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_fos_user_security_login;
}
return array ( '_controller' => 'FOS\\UserBundle\\Controller\\SecurityController::loginAction', '_route' => 'fos_user_security_login',);
}
not_fos_user_security_login:
// fos_user_security_check
if ('/login_check' === $pathinfo) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_fos_user_security_check;
}
return array ( '_controller' => 'FOS\\UserBundle\\Controller\\SecurityController::checkAction', '_route' => 'fos_user_security_check',);
}
not_fos_user_security_check:
}
// fos_user_security_logout
if ('/logout' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_fos_user_security_logout;
}
return array ( '_controller' => 'FOS\\UserBundle\\Controller\\SecurityController::logoutAction', '_route' => 'fos_user_security_logout',);
}
not_fos_user_security_logout:
if (0 === strpos($pathinfo, '/re')) {
// fos_user_security_twig_render_login
if ('/renderLoginView' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_fos_user_security_twig_render_login;
}
return array ( '_controller' => 'FOS\\UserBundle\\Controller\\SecurityController::twigRenderLoginAction', '_route' => 'fos_user_security_twig_render_login',);
}
not_fos_user_security_twig_render_login:
if (0 === strpos($pathinfo, '/register')) {
// fos_user_registration_register
if ('/register' === $trimmedPathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_fos_user_registration_register;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'fos_user_registration_register');
}
return array ( '_controller' => 'FOS\\UserBundle\\Controller\\RegistrationController::registerAction', '_route' => 'fos_user_registration_register',);
}
not_fos_user_registration_register:
// fos_user_registration_check_email
if ('/register/check-email' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_fos_user_registration_check_email;
}
return array ( '_controller' => 'FOS\\UserBundle\\Controller\\RegistrationController::checkEmailAction', '_route' => 'fos_user_registration_check_email',);
}
not_fos_user_registration_check_email:
if (0 === strpos($pathinfo, '/register/confirm')) {
// fos_user_registration_confirm
if (preg_match('#^/register/confirm/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_fos_user_registration_confirm;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_registration_confirm')), array ( '_controller' => 'FOS\\UserBundle\\Controller\\RegistrationController::confirmAction',));
}
not_fos_user_registration_confirm:
// fos_user_registration_confirmed
if ('/register/confirmed' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_fos_user_registration_confirmed;
}
return array ( '_controller' => 'FOS\\UserBundle\\Controller\\RegistrationController::confirmedAction', '_route' => 'fos_user_registration_confirmed',);
}
not_fos_user_registration_confirmed:
}
}
elseif (0 === strpos($pathinfo, '/resetting')) {
// fos_user_resetting_request
if ('/resetting/request' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_fos_user_resetting_request;
}
return array ( '_controller' => 'UserBundle\\Controller\\ResettingController::requestAction', '_route' => 'fos_user_resetting_request',);
}
not_fos_user_resetting_request:
// fos_user_resetting_reset
if (0 === strpos($pathinfo, '/resetting/reset') && preg_match('#^/resetting/reset/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_fos_user_resetting_reset;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_resetting_reset')), array ( '_controller' => 'UserBundle\\Controller\\ResettingController::resetAction',));
}
not_fos_user_resetting_reset:
// fos_user_resetting_send_email
if ('/resetting/send-email' === $pathinfo) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_fos_user_resetting_send_email;
}
return array ( '_controller' => 'UserBundle\\Controller\\ResettingController::sendEmailAction', '_route' => 'fos_user_resetting_send_email',);
}
not_fos_user_resetting_send_email:
// fos_user_resetting_check_email
if ('/resetting/check-email' === $pathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_fos_user_resetting_check_email;
}
return array ( '_controller' => 'UserBundle\\Controller\\ResettingController::checkEmailAction', '_route' => 'fos_user_resetting_check_email',);
}
not_fos_user_resetting_check_email:
}
}
elseif (0 === strpos($pathinfo, '/tache')) {
// tache_index
if ('/tache' === $trimmedPathinfo) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_tache_index;
}
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'tache_index');
}
return array ( '_controller' => 'UserBundle\\Controller\\TacheController::indexAction', '_route' => 'tache_index',);
}
not_tache_index:
// tache_show
if (preg_match('#^/tache/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_tache_show;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'tache_show')), array ( '_controller' => 'UserBundle\\Controller\\TacheController::showAction',));
}
not_tache_show:
// user_tache_new
if ('/tache/new' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_user_tache_new;
}
return array ( '_controller' => 'UserBundle\\Controller\\TacheController::newAction', '_route' => 'user_tache_new',);
}
not_user_tache_new:
// user_tache_edit
if (preg_match('#^/tache/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_user_tache_edit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_tache_edit')), array ( '_controller' => 'UserBundle\\Controller\\TacheController::editAction',));
}
not_user_tache_edit:
// tache_delete
if (preg_match('#^/tache/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_tache_delete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'tache_delete')), array ( '_controller' => 'UserBundle\\Controller\\TacheController::deleteAction',));
}
not_tache_delete:
}
// app_home
if ('' === $trimmedPathinfo) {
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($rawPathinfo.'/', 'app_home');
}
return array ( '_controller' => 'ConfigBundle\\Controller\\BanqueController::indexAction', '_route' => 'app_home',);
}
// fos_js_routing_js
if (0 === strpos($pathinfo, '/js/routing') && preg_match('#^/js/routing(?:\\.(?P<_format>js|json))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_fos_js_routing_js;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_js_routing_js')), array ( '_controller' => 'fos_js_routing.controller:indexAction', '_format' => 'js',));
}
not_fos_js_routing_js:
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}