app/cache/staging/appStagingDebugProjectContainerUrlMatcher.php line 4171

Open in your IDE?
  1. <?php
  2. use Symfony\Component\Routing\Exception\MethodNotAllowedException;
  3. use Symfony\Component\Routing\Exception\ResourceNotFoundException;
  4. use Symfony\Component\Routing\RequestContext;
  5. /**
  6.  * This class has been auto-generated
  7.  * by the Symfony Routing Component.
  8.  */
  9. class appStagingDebugProjectContainerUrlMatcher extends Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher
  10. {
  11.     public function __construct(RequestContext $context)
  12.     {
  13.         $this->context $context;
  14.     }
  15.     public function match($rawPathinfo)
  16.     {
  17.         $allow = array();
  18.         $pathinfo rawurldecode($rawPathinfo);
  19.         $trimmedPathinfo rtrim($pathinfo'/');
  20.         $context $this->context;
  21.         $request $this->request;
  22.         $requestMethod $canonicalMethod $context->getMethod();
  23.         $scheme $context->getScheme();
  24.         if ('HEAD' === $requestMethod) {
  25.             $canonicalMethod 'GET';
  26.         }
  27.         if (=== strpos($pathinfo'/_')) {
  28.             // _wdt
  29.             if (=== strpos($pathinfo'/_wdt') && preg_match('#^/_wdt/(?P<token>[^/]++)$#s'$pathinfo$matches)) {
  30.                 return $this->mergeDefaults(array_replace($matches, array('_route' => '_wdt')), array (  '_controller' => 'web_profiler.controller.profiler:toolbarAction',));
  31.             }
  32.             if (=== strpos($pathinfo'/_profiler')) {
  33.                 // _profiler_home
  34.                 if ('/_profiler' === $trimmedPathinfo) {
  35.                     $ret = array (  '_controller' => 'web_profiler.controller.profiler:homeAction',  '_route' => '_profiler_home',);
  36.                     if (substr($pathinfo, -1) !== '/') {
  37.                         return array_replace($ret$this->redirect($rawPathinfo.'/''_profiler_home'));
  38.                     }
  39.                     return $ret;
  40.                 }
  41.                 if (=== strpos($pathinfo'/_profiler/search')) {
  42.                     // _profiler_search
  43.                     if ('/_profiler/search' === $pathinfo) {
  44.                         return array (  '_controller' => 'web_profiler.controller.profiler:searchAction',  '_route' => '_profiler_search',);
  45.                     }
  46.                     // _profiler_search_bar
  47.                     if ('/_profiler/search_bar' === $pathinfo) {
  48.                         return array (  '_controller' => 'web_profiler.controller.profiler:searchBarAction',  '_route' => '_profiler_search_bar',);
  49.                     }
  50.                 }
  51.                 // _profiler_phpinfo
  52.                 if ('/_profiler/phpinfo' === $pathinfo) {
  53.                     return array (  '_controller' => 'web_profiler.controller.profiler:phpinfoAction',  '_route' => '_profiler_phpinfo',);
  54.                 }
  55.                 // _profiler_search_results
  56.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/search/results$#s'$pathinfo$matches)) {
  57.                     return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_search_results')), array (  '_controller' => 'web_profiler.controller.profiler:searchResultsAction',));
  58.                 }
  59.                 // _profiler_open_file
  60.                 if ('/_profiler/open' === $pathinfo) {
  61.                     return array (  '_controller' => 'web_profiler.controller.profiler:openAction',  '_route' => '_profiler_open_file',);
  62.                 }
  63.                 // _profiler
  64.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)$#s'$pathinfo$matches)) {
  65.                     return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler')), array (  '_controller' => 'web_profiler.controller.profiler:panelAction',));
  66.                 }
  67.                 // _profiler_router
  68.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/router$#s'$pathinfo$matches)) {
  69.                     return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_router')), array (  '_controller' => 'web_profiler.controller.router:panelAction',));
  70.                 }
  71.                 // _profiler_exception
  72.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception$#s'$pathinfo$matches)) {
  73.                     return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_exception')), array (  '_controller' => 'web_profiler.controller.exception:showAction',));
  74.                 }
  75.                 // _profiler_exception_css
  76.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception\\.css$#s'$pathinfo$matches)) {
  77.                     return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_exception_css')), array (  '_controller' => 'web_profiler.controller.exception:cssAction',));
  78.                 }
  79.             }
  80.             // _twig_error_test
  81.             if (=== strpos($pathinfo'/_error') && preg_match('#^/_error/(?P<code>\\d+)(?:\\.(?P<_format>[^/]++))?$#s'$pathinfo$matches)) {
  82.                 return $this->mergeDefaults(array_replace($matches, array('_route' => '_twig_error_test')), array (  '_controller' => 'twig.controller.preview_error:previewErrorPageAction',  '_format' => 'html',));
  83.             }
  84.         }
  85.         elseif (=== strpos($pathinfo'/api')) {
  86.             if (=== strpos($pathinfo'/api/customers')) {
  87.                 if (=== strpos($pathinfo'/api/customers/import')) {
  88.                     // api_get_customer_import
  89.                     if (preg_match('#^/api/customers/import(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  90.                         if ('GET' !== $canonicalMethod) {
  91.                             $allow[] = 'GET';
  92.                             goto not_api_get_customer_import;
  93.                         }
  94.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_customer_import')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerController::getImportAction',  '_format' => 'json',));
  95.                     }
  96.                     not_api_get_customer_import:
  97.                     // api_post_customer_import
  98.                     if (preg_match('#^/api/customers/import(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  99.                         if ('POST' !== $canonicalMethod) {
  100.                             $allow[] = 'POST';
  101.                             goto not_api_post_customer_import;
  102.                         }
  103.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_customer_import')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerController::postImportAction',  '_format' => 'json',));
  104.                     }
  105.                     not_api_post_customer_import:
  106.                 }
  107.                 // api_get_customers
  108.                 if (preg_match('#^/api/customers(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  109.                     if ('GET' !== $canonicalMethod) {
  110.                         $allow[] = 'GET';
  111.                         goto not_api_get_customers;
  112.                     }
  113.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_customers')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerController::cgetAction',  '_format' => 'json',));
  114.                 }
  115.                 not_api_get_customers:
  116.                 // api_get_customer
  117.                 if (preg_match('#^/api/customers/(?P<customer>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  118.                     if ('GET' !== $canonicalMethod) {
  119.                         $allow[] = 'GET';
  120.                         goto not_api_get_customer;
  121.                     }
  122.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_customer')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerController::getAction',  '_format' => 'json',));
  123.                 }
  124.                 not_api_get_customer:
  125.                 // api_post_customer
  126.                 if (preg_match('#^/api/customers(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  127.                     if ('POST' !== $canonicalMethod) {
  128.                         $allow[] = 'POST';
  129.                         goto not_api_post_customer;
  130.                     }
  131.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_customer')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerController::postAction',  '_format' => 'json',));
  132.                 }
  133.                 not_api_post_customer:
  134.                 // api_patch_customer
  135.                 if (preg_match('#^/api/customers/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  136.                     if ('PATCH' !== $canonicalMethod) {
  137.                         $allow[] = 'PATCH';
  138.                         goto not_api_patch_customer;
  139.                     }
  140.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_customer')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerController::patchAction',  '_format' => 'json',));
  141.                 }
  142.                 not_api_patch_customer:
  143.                 // api_delete_customer
  144.                 if (preg_match('#^/api/customers/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  145.                     if ('DELETE' !== $canonicalMethod) {
  146.                         $allow[] = 'DELETE';
  147.                         goto not_api_delete_customer;
  148.                     }
  149.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_customer')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerController::deleteAction',  '_format' => 'json',));
  150.                 }
  151.                 not_api_delete_customer:
  152.             }
  153.             elseif (=== strpos($pathinfo'/api/batchlocations')) {
  154.                 // api_get_batchlocations
  155.                 if (preg_match('#^/api/batchlocations(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  156.                     if ('GET' !== $canonicalMethod) {
  157.                         $allow[] = 'GET';
  158.                         goto not_api_get_batchlocations;
  159.                     }
  160.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_batchlocations')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Batch\\BatchlocationController::cgetAction',  '_format' => 'json',));
  161.                 }
  162.                 not_api_get_batchlocations:
  163.                 // api_get_batchlocation
  164.                 if (preg_match('#^/api/batchlocations/(?P<batchLocation>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  165.                     if ('GET' !== $canonicalMethod) {
  166.                         $allow[] = 'GET';
  167.                         goto not_api_get_batchlocation;
  168.                     }
  169.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_batchlocation')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Batch\\BatchlocationController::getAction',  '_format' => 'json',));
  170.                 }
  171.                 not_api_get_batchlocation:
  172.             }
  173.             elseif (=== strpos($pathinfo'/api/batches')) {
  174.                 // api_get_batches
  175.                 if (preg_match('#^/api/batches(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  176.                     if ('GET' !== $canonicalMethod) {
  177.                         $allow[] = 'GET';
  178.                         goto not_api_get_batches;
  179.                     }
  180.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_batches')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Batch\\BatchController::cgetAction',  '_format' => 'json',));
  181.                 }
  182.                 not_api_get_batches:
  183.                 // api_get_batch
  184.                 if (preg_match('#^/api/batches/(?P<batch>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  185.                     if ('GET' !== $canonicalMethod) {
  186.                         $allow[] = 'GET';
  187.                         goto not_api_get_batch;
  188.                     }
  189.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_batch')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Batch\\BatchController::getAction',  '_format' => 'json',));
  190.                 }
  191.                 not_api_get_batch:
  192.                 // api_post_batch
  193.                 if (preg_match('#^/api/batches(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  194.                     if ('POST' !== $canonicalMethod) {
  195.                         $allow[] = 'POST';
  196.                         goto not_api_post_batch;
  197.                     }
  198.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_batch')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Batch\\BatchController::postAction',  '_format' => 'json',));
  199.                 }
  200.                 not_api_post_batch:
  201.             }
  202.             elseif (=== strpos($pathinfo'/api/re')) {
  203.                 if (=== strpos($pathinfo'/api/reserved-batch-numbers')) {
  204.                     // api_cget_reserved-batch-numbers
  205.                     if (preg_match('#^/api/reserved\\-batch\\-numbers(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  206.                         if ('GET' !== $canonicalMethod) {
  207.                             $allow[] = 'GET';
  208.                             goto not_api_cget_reservedbatchnumbers;
  209.                         }
  210.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_cget_reserved-batch-numbers')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Batch\\ReservedBatchNumberController::cgetAction',  '_format' => 'json',));
  211.                     }
  212.                     not_api_cget_reservedbatchnumbers:
  213.                     // api_get_reserved-batch-numbers
  214.                     if (preg_match('#^/api/reserved\\-batch\\-numbers(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  215.                         if ('GET' !== $canonicalMethod) {
  216.                             $allow[] = 'GET';
  217.                             goto not_api_get_reservedbatchnumbers;
  218.                         }
  219.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_reserved-batch-numbers')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Batch\\ReservedBatchNumberController::cgetAction',  '_format' => 'json',));
  220.                     }
  221.                     not_api_get_reservedbatchnumbers:
  222.                 }
  223.                 elseif (=== strpos($pathinfo'/api/relations')) {
  224.                     // api_get_relations
  225.                     if (preg_match('#^/api/relations(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  226.                         if ('GET' !== $canonicalMethod) {
  227.                             $allow[] = 'GET';
  228.                             goto not_api_get_relations;
  229.                         }
  230.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_relations')), array (  '_controller' => 'WebserviceBundle\\Controller\\RelationController::cgetAction',  '_format' => 'json',));
  231.                     }
  232.                     not_api_get_relations:
  233.                     // api_get_relation
  234.                     if (preg_match('#^/api/relations/(?P<relation>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  235.                         if ('GET' !== $canonicalMethod) {
  236.                             $allow[] = 'GET';
  237.                             goto not_api_get_relation;
  238.                         }
  239.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_relation')), array (  '_controller' => 'WebserviceBundle\\Controller\\RelationController::getAction',  '_format' => 'json',));
  240.                     }
  241.                     not_api_get_relation:
  242.                     // api_post_relation
  243.                     if (preg_match('#^/api/relations(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  244.                         if ('POST' !== $canonicalMethod) {
  245.                             $allow[] = 'POST';
  246.                             goto not_api_post_relation;
  247.                         }
  248.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_relation')), array (  '_controller' => 'WebserviceBundle\\Controller\\RelationController::postAction',  '_format' => 'json',));
  249.                     }
  250.                     not_api_post_relation:
  251.                     // api_patch_relation
  252.                     if (preg_match('#^/api/relations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  253.                         if ('PATCH' !== $canonicalMethod) {
  254.                             $allow[] = 'PATCH';
  255.                             goto not_api_patch_relation;
  256.                         }
  257.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_relation')), array (  '_controller' => 'WebserviceBundle\\Controller\\RelationController::patchAction',  '_format' => 'json',));
  258.                     }
  259.                     not_api_patch_relation:
  260.                     // api_put_relation_print
  261.                     if (preg_match('#^/api/relations/(?P<relation>[^/]++)/print(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  262.                         if ('PUT' !== $canonicalMethod) {
  263.                             $allow[] = 'PUT';
  264.                             goto not_api_put_relation_print;
  265.                         }
  266.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_relation_print')), array (  '_controller' => 'WebserviceBundle\\Controller\\RelationController::putPrintAction',  '_format' => 'json',));
  267.                     }
  268.                     not_api_put_relation_print:
  269.                     // api_delete_relation
  270.                     if (preg_match('#^/api/relations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  271.                         if ('DELETE' !== $canonicalMethod) {
  272.                             $allow[] = 'DELETE';
  273.                             goto not_api_delete_relation;
  274.                         }
  275.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_relation')), array (  '_controller' => 'WebserviceBundle\\Controller\\RelationController::deleteAction',  '_format' => 'json',));
  276.                     }
  277.                     not_api_delete_relation:
  278.                 }
  279.                 elseif (=== strpos($pathinfo'/api/relation_addresses')) {
  280.                     // api_cget_relation_addresses
  281.                     if (preg_match('#^/api/relation_addresses(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  282.                         if ('GET' !== $canonicalMethod) {
  283.                             $allow[] = 'GET';
  284.                             goto not_api_cget_relation_addresses;
  285.                         }
  286.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_cget_relation_addresses')), array (  '_controller' => 'WebserviceBundle\\Controller\\RelationAddressesController::cgetAction',  '_format' => 'json',));
  287.                     }
  288.                     not_api_cget_relation_addresses:
  289.                     // api_get_relation_addresses
  290.                     if (preg_match('#^/api/relation_addresses(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  291.                         if ('GET' !== $canonicalMethod) {
  292.                             $allow[] = 'GET';
  293.                             goto not_api_get_relation_addresses;
  294.                         }
  295.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_relation_addresses')), array (  '_controller' => 'WebserviceBundle\\Controller\\RelationAddressesController::cgetAction',  '_format' => 'json',));
  296.                     }
  297.                     not_api_get_relation_addresses:
  298.                     // api_patch_relation_addresses
  299.                     if (preg_match('#^/api/relation_addresses/(?P<relationAddress>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  300.                         if ('PATCH' !== $canonicalMethod) {
  301.                             $allow[] = 'PATCH';
  302.                             goto not_api_patch_relation_addresses;
  303.                         }
  304.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_relation_addresses')), array (  '_controller' => 'WebserviceBundle\\Controller\\RelationAddressesController::patchAction',  '_format' => 'json',));
  305.                     }
  306.                     not_api_patch_relation_addresses:
  307.                     // api_get_relation_addresses_relation_addresses
  308.                     if (preg_match('#^/api/relation_addresses/(?P<relationAddress>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  309.                         if ('GET' !== $canonicalMethod) {
  310.                             $allow[] = 'GET';
  311.                             goto not_api_get_relation_addresses_relation_addresses;
  312.                         }
  313.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_relation_addresses_relation_addresses')), array (  '_controller' => 'WebserviceBundle\\Controller\\RelationAddressesController::getRelationAddressesAction',  '_format' => 'json',));
  314.                     }
  315.                     not_api_get_relation_addresses_relation_addresses:
  316.                     // api_post_relation_addresses
  317.                     if (preg_match('#^/api/relation_addresses(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  318.                         if ('POST' !== $canonicalMethod) {
  319.                             $allow[] = 'POST';
  320.                             goto not_api_post_relation_addresses;
  321.                         }
  322.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_relation_addresses')), array (  '_controller' => 'WebserviceBundle\\Controller\\RelationAddressesController::postAction',  '_format' => 'json',));
  323.                     }
  324.                     not_api_post_relation_addresses:
  325.                     // api_delete_relation_addresses
  326.                     if (preg_match('#^/api/relation_addresses/(?P<relationAddress>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  327.                         if ('DELETE' !== $canonicalMethod) {
  328.                             $allow[] = 'DELETE';
  329.                             goto not_api_delete_relation_addresses;
  330.                         }
  331.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_relation_addresses')), array (  '_controller' => 'WebserviceBundle\\Controller\\RelationAddressesController::deleteAction',  '_format' => 'json',));
  332.                     }
  333.                     not_api_delete_relation_addresses:
  334.                 }
  335.             }
  336.             // api_get_roles
  337.             if (=== strpos($pathinfo'/api/roles') && preg_match('#^/api/roles(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  338.                 if ('GET' !== $canonicalMethod) {
  339.                     $allow[] = 'GET';
  340.                     goto not_api_get_roles;
  341.                 }
  342.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_roles')), array (  '_controller' => 'WebserviceBundle\\Controller\\RoleController::cgetAction',  '_format' => 'json',));
  343.             }
  344.             not_api_get_roles:
  345.             if (=== strpos($pathinfo'/api/export')) {
  346.                 // api_get_export
  347.                 if (preg_match('#^/api/export(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  348.                     if ('GET' !== $canonicalMethod) {
  349.                         $allow[] = 'GET';
  350.                         goto not_api_get_export;
  351.                     }
  352.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_export')), array (  '_controller' => 'WebserviceBundle\\Controller\\ExportController::getAction',  '_format' => 'json',));
  353.                 }
  354.                 not_api_get_export:
  355.                 // api_get_export_customer_financial
  356.                 if (=== strpos($pathinfo'/api/exports/customer') && preg_match('#^/api/exports/customer/(?P<customer>[^/]++)/financial(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  357.                     if ('GET' !== $canonicalMethod) {
  358.                         $allow[] = 'GET';
  359.                         goto not_api_get_export_customer_financial;
  360.                     }
  361.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_export_customer_financial')), array (  '_controller' => 'WebserviceBundle\\Controller\\ExportController::getCustomerFinancialAction',  '_format' => 'json',));
  362.                 }
  363.                 not_api_get_export_customer_financial:
  364.             }
  365.             elseif (=== strpos($pathinfo'/api/articles')) {
  366.                 if (=== strpos($pathinfo'/api/articles/import')) {
  367.                     // api_get_article_import
  368.                     if (preg_match('#^/api/articles/import(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  369.                         if ('GET' !== $canonicalMethod) {
  370.                             $allow[] = 'GET';
  371.                             goto not_api_get_article_import;
  372.                         }
  373.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_article_import')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticleController::getImportAction',  '_format' => 'json',));
  374.                     }
  375.                     not_api_get_article_import:
  376.                     // api_post_article_import
  377.                     if (preg_match('#^/api/articles/import(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  378.                         if ('POST' !== $canonicalMethod) {
  379.                             $allow[] = 'POST';
  380.                             goto not_api_post_article_import;
  381.                         }
  382.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_article_import')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticleController::postImportAction',  '_format' => 'json',));
  383.                     }
  384.                     not_api_post_article_import:
  385.                 }
  386.                 // api_get_articles
  387.                 if (preg_match('#^/api/articles(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  388.                     if ('GET' !== $canonicalMethod) {
  389.                         $allow[] = 'GET';
  390.                         goto not_api_get_articles;
  391.                     }
  392.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_articles')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticleController::cgetAction',  '_format' => 'json',));
  393.                 }
  394.                 not_api_get_articles:
  395.                 // api_get_article
  396.                 if (preg_match('#^/api/articles/(?P<article>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  397.                     if ('GET' !== $canonicalMethod) {
  398.                         $allow[] = 'GET';
  399.                         goto not_api_get_article;
  400.                     }
  401.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_article')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticleController::getAction',  '_format' => 'json',));
  402.                 }
  403.                 not_api_get_article:
  404.                 // api_post_article
  405.                 if (preg_match('#^/api/articles(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  406.                     if ('POST' !== $canonicalMethod) {
  407.                         $allow[] = 'POST';
  408.                         goto not_api_post_article;
  409.                     }
  410.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_article')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticleController::postAction',  '_format' => 'json',));
  411.                 }
  412.                 not_api_post_article:
  413.                 // api_patch_article
  414.                 if (preg_match('#^/api/articles/(?P<article>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  415.                     if ('PATCH' !== $canonicalMethod) {
  416.                         $allow[] = 'PATCH';
  417.                         goto not_api_patch_article;
  418.                     }
  419.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_article')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticleController::patchAction',  '_format' => 'json',));
  420.                 }
  421.                 not_api_patch_article:
  422.                 // api_delete_article
  423.                 if (preg_match('#^/api/articles/(?P<article>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  424.                     if ('DELETE' !== $canonicalMethod) {
  425.                         $allow[] = 'DELETE';
  426.                         goto not_api_delete_article;
  427.                     }
  428.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_article')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticleController::deleteAction',  '_format' => 'json',));
  429.                 }
  430.                 not_api_delete_article:
  431.             }
  432.             elseif (=== strpos($pathinfo'/api/addresses')) {
  433.                 // api_get_addresses
  434.                 if (preg_match('#^/api/addresses(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  435.                     if ('GET' !== $canonicalMethod) {
  436.                         $allow[] = 'GET';
  437.                         goto not_api_get_addresses;
  438.                     }
  439.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_addresses')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Address\\AddressController::cgetAction',  '_format' => 'json',));
  440.                 }
  441.                 not_api_get_addresses:
  442.                 // api_get_address
  443.                 if (preg_match('#^/api/addresses/(?P<address>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  444.                     if ('GET' !== $canonicalMethod) {
  445.                         $allow[] = 'GET';
  446.                         goto not_api_get_address;
  447.                     }
  448.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_address')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Address\\AddressController::getAction',  '_format' => 'json',));
  449.                 }
  450.                 not_api_get_address:
  451.                 // api_post_address
  452.                 if (preg_match('#^/api/addresses(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  453.                     if ('POST' !== $canonicalMethod) {
  454.                         $allow[] = 'POST';
  455.                         goto not_api_post_address;
  456.                     }
  457.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_address')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Address\\AddressController::postAction',  '_format' => 'json',));
  458.                 }
  459.                 not_api_post_address:
  460.                 // api_patch_address
  461.                 if (preg_match('#^/api/addresses/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  462.                     if ('PATCH' !== $canonicalMethod) {
  463.                         $allow[] = 'PATCH';
  464.                         goto not_api_patch_address;
  465.                     }
  466.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_address')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Address\\AddressController::patchAction',  '_format' => 'json',));
  467.                 }
  468.                 not_api_patch_address:
  469.                 // api_delete_address
  470.                 if (preg_match('#^/api/addresses/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  471.                     if ('DELETE' !== $canonicalMethod) {
  472.                         $allow[] = 'DELETE';
  473.                         goto not_api_delete_address;
  474.                     }
  475.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_address')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Address\\AddressController::deleteAction',  '_format' => 'json',));
  476.                 }
  477.                 not_api_delete_address:
  478.             }
  479.             elseif (=== strpos($pathinfo'/api/variants')) {
  480.                 // api_get_variants
  481.                 if (preg_match('#^/api/variants(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  482.                     if ('GET' !== $canonicalMethod) {
  483.                         $allow[] = 'GET';
  484.                         goto not_api_get_variants;
  485.                     }
  486.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variants')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::cgetAction',  '_format' => 'json',));
  487.                 }
  488.                 not_api_get_variants:
  489.                 // api_get_variant
  490.                 if (preg_match('#^/api/variants/(?P<variant>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  491.                     if ('GET' !== $canonicalMethod) {
  492.                         $allow[] = 'GET';
  493.                         goto not_api_get_variant;
  494.                     }
  495.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variant')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::getAction',  '_format' => 'json',));
  496.                 }
  497.                 not_api_get_variant:
  498.                 // api_get_variants_search
  499.                 if (=== strpos($pathinfo'/api/variants/search') && preg_match('#^/api/variants/search(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  500.                     if ('GET' !== $canonicalMethod) {
  501.                         $allow[] = 'GET';
  502.                         goto not_api_get_variants_search;
  503.                     }
  504.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variants_search')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::cgetSearchAction',  '_format' => 'json',));
  505.                 }
  506.                 not_api_get_variants_search:
  507.                 // api_post_variant
  508.                 if (preg_match('#^/api/variants(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  509.                     if ('POST' !== $canonicalMethod) {
  510.                         $allow[] = 'POST';
  511.                         goto not_api_post_variant;
  512.                     }
  513.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_variant')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::postAction',  '_format' => 'json',));
  514.                 }
  515.                 not_api_post_variant:
  516.                 // api_patch_variant
  517.                 if (preg_match('#^/api/variants/(?P<variant>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  518.                     if ('PATCH' !== $canonicalMethod) {
  519.                         $allow[] = 'PATCH';
  520.                         goto not_api_patch_variant;
  521.                     }
  522.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_variant')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::patchAction',  '_format' => 'json',));
  523.                 }
  524.                 not_api_patch_variant:
  525.                 // api_delete_variant
  526.                 if (preg_match('#^/api/variants/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  527.                     if ('DELETE' !== $canonicalMethod) {
  528.                         $allow[] = 'DELETE';
  529.                         goto not_api_delete_variant;
  530.                     }
  531.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_variant')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::deleteAction',  '_format' => 'json',));
  532.                 }
  533.                 not_api_delete_variant:
  534.                 // api_get_variant_picklocation
  535.                 if (preg_match('#^/api/variants/(?P<id>[^/]++)/picklocation(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  536.                     if ('GET' !== $canonicalMethod) {
  537.                         $allow[] = 'GET';
  538.                         goto not_api_get_variant_picklocation;
  539.                     }
  540.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variant_picklocation')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::getPicklocationAction',  '_format' => 'json',));
  541.                 }
  542.                 not_api_get_variant_picklocation:
  543.                 // api_get_variant_transferlocations
  544.                 if (preg_match('#^/api/variants/(?P<id>[^/]++)/suggested\\-locations(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  545.                     if ('GET' !== $canonicalMethod) {
  546.                         $allow[] = 'GET';
  547.                         goto not_api_get_variant_transferlocations;
  548.                     }
  549.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variant_transferlocations')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::getTransferlocationsAction',  '_format' => 'json',));
  550.                 }
  551.                 not_api_get_variant_transferlocations:
  552.                 // api_get_variant_suggested_pick_zones
  553.                 if (preg_match('#^/api/variants/(?P<id>[^/]++)/suggested\\-pick\\-zones(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  554.                     if ('GET' !== $canonicalMethod) {
  555.                         $allow[] = 'GET';
  556.                         goto not_api_get_variant_suggested_pick_zones;
  557.                     }
  558.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variant_suggested_pick_zones')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::getSuggestedPickZonesAction',  '_format' => 'json',));
  559.                 }
  560.                 not_api_get_variant_suggested_pick_zones:
  561.                 // api_get_variant_open_production_orders
  562.                 if (preg_match('#^/api/variants/(?P<id>[^/]++)/open\\-production\\-orders(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  563.                     if ('GET' !== $canonicalMethod) {
  564.                         $allow[] = 'GET';
  565.                         goto not_api_get_variant_open_production_orders;
  566.                     }
  567.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variant_open_production_orders')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::getOpenProductionOrdersActions',  '_format' => 'json',));
  568.                 }
  569.                 not_api_get_variant_open_production_orders:
  570.                 // api_get_variant_locations
  571.                 if (preg_match('#^/api/variants/(?P<id>[^/]++)/locations(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  572.                     if ('GET' !== $canonicalMethod) {
  573.                         $allow[] = 'GET';
  574.                         goto not_api_get_variant_locations;
  575.                     }
  576.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variant_locations')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::getLocationsAction',  '_format' => 'json',));
  577.                 }
  578.                 not_api_get_variant_locations:
  579.                 // api_get_variant_open_orders
  580.                 if (preg_match('#^/api/variants/(?P<variant>[^/]++)/open/orders(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  581.                     if ('GET' !== $canonicalMethod) {
  582.                         $allow[] = 'GET';
  583.                         goto not_api_get_variant_open_orders;
  584.                     }
  585.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variant_open_orders')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::getOpenOrdersAction',  '_format' => 'json',));
  586.                 }
  587.                 not_api_get_variant_open_orders:
  588.                 // api_get_variant_open_picklists
  589.                 if (preg_match('#^/api/variants/(?P<variant>[^/]++)/open/picklists(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  590.                     if ('GET' !== $canonicalMethod) {
  591.                         $allow[] = 'GET';
  592.                         goto not_api_get_variant_open_picklists;
  593.                     }
  594.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variant_open_picklists')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::getOpenPicklistsAction',  '_format' => 'json',));
  595.                 }
  596.                 not_api_get_variant_open_picklists:
  597.                 // api_get_variant_open_inbounds
  598.                 if (preg_match('#^/api/variants/(?P<variant>[^/]++)/open/inbounds(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  599.                     if ('GET' !== $canonicalMethod) {
  600.                         $allow[] = 'GET';
  601.                         goto not_api_get_variant_open_inbounds;
  602.                     }
  603.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variant_open_inbounds')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::getOpenInboundsAction',  '_format' => 'json',));
  604.                 }
  605.                 not_api_get_variant_open_inbounds:
  606.                 // api_put_variant_print
  607.                 if (preg_match('#^/api/variants/(?P<variant>[^/]++)/print(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  608.                     if ('PUT' !== $canonicalMethod) {
  609.                         $allow[] = 'PUT';
  610.                         goto not_api_put_variant_print;
  611.                     }
  612.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_variant_print')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::putPrintAction',  '_format' => 'json',));
  613.                 }
  614.                 not_api_put_variant_print:
  615.                 // api_get_variant_download
  616.                 if (preg_match('#^/api/variants/(?P<id>[^/]++)/download(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  617.                     if ('GET' !== $canonicalMethod) {
  618.                         $allow[] = 'GET';
  619.                         goto not_api_get_variant_download;
  620.                     }
  621.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variant_download')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::getDownloadAction',  '_format' => 'json',));
  622.                 }
  623.                 not_api_get_variant_download:
  624.             }
  625.             elseif (=== strpos($pathinfo'/api/warehouses')) {
  626.                 // api_get_warehouses
  627.                 if (preg_match('#^/api/warehouses(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  628.                     if ('GET' !== $canonicalMethod) {
  629.                         $allow[] = 'GET';
  630.                         goto not_api_get_warehouses;
  631.                     }
  632.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_warehouses')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Warehouse\\WarehouseController::cgetAction',  '_format' => 'json',));
  633.                 }
  634.                 not_api_get_warehouses:
  635.                 // api_get_warehouse
  636.                 if (preg_match('#^/api/warehouses/(?P<warehouse>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  637.                     if ('GET' !== $canonicalMethod) {
  638.                         $allow[] = 'GET';
  639.                         goto not_api_get_warehouse;
  640.                     }
  641.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_warehouse')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Warehouse\\WarehouseController::getAction',  '_format' => 'json',));
  642.                 }
  643.                 not_api_get_warehouse:
  644.                 // api_post_warehouse
  645.                 if (preg_match('#^/api/warehouses(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  646.                     if ('POST' !== $canonicalMethod) {
  647.                         $allow[] = 'POST';
  648.                         goto not_api_post_warehouse;
  649.                     }
  650.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_warehouse')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Warehouse\\WarehouseController::postAction',  '_format' => 'json',));
  651.                 }
  652.                 not_api_post_warehouse:
  653.                 // api_patch_warehouse
  654.                 if (preg_match('#^/api/warehouses/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  655.                     if ('PATCH' !== $canonicalMethod) {
  656.                         $allow[] = 'PATCH';
  657.                         goto not_api_patch_warehouse;
  658.                     }
  659.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_warehouse')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Warehouse\\WarehouseController::patchAction',  '_format' => 'json',));
  660.                 }
  661.                 not_api_patch_warehouse:
  662.                 // api_delete_warehouse
  663.                 if (preg_match('#^/api/warehouses/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  664.                     if ('DELETE' !== $canonicalMethod) {
  665.                         $allow[] = 'DELETE';
  666.                         goto not_api_delete_warehouse;
  667.                     }
  668.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_warehouse')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Warehouse\\WarehouseController::deleteAction',  '_format' => 'json',));
  669.                 }
  670.                 not_api_delete_warehouse:
  671.             }
  672.             elseif (=== strpos($pathinfo'/api/warehousetransfers')) {
  673.                 // api_get_warehousetransfers
  674.                 if (preg_match('#^/api/warehousetransfers(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  675.                     if ('GET' !== $canonicalMethod) {
  676.                         $allow[] = 'GET';
  677.                         goto not_api_get_warehousetransfers;
  678.                     }
  679.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_warehousetransfers')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\WarehouseTransfer\\WarehousetransferController::cgetAction',  '_format' => 'json',));
  680.                 }
  681.                 not_api_get_warehousetransfers:
  682.                 // api_get_warehousetransfer
  683.                 if (preg_match('#^/api/warehousetransfers/(?P<warehouseTransfer>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  684.                     if ('GET' !== $canonicalMethod) {
  685.                         $allow[] = 'GET';
  686.                         goto not_api_get_warehousetransfer;
  687.                     }
  688.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_warehousetransfer')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\WarehouseTransfer\\WarehousetransferController::getAction',  '_format' => 'json',));
  689.                 }
  690.                 not_api_get_warehousetransfer:
  691.                 // api_post_warehousetransfer
  692.                 if (preg_match('#^/api/warehousetransfers(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  693.                     if ('POST' !== $canonicalMethod) {
  694.                         $allow[] = 'POST';
  695.                         goto not_api_post_warehousetransfer;
  696.                     }
  697.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_warehousetransfer')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\WarehouseTransfer\\WarehousetransferController::postAction',  '_format' => 'json',));
  698.                 }
  699.                 not_api_post_warehousetransfer:
  700.                 // api_put_warehousetransfer_inbound
  701.                 if (preg_match('#^/api/warehousetransfers/(?P<warehouseTransfer>[^/]++)/inbound(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  702.                     if ('PUT' !== $canonicalMethod) {
  703.                         $allow[] = 'PUT';
  704.                         goto not_api_put_warehousetransfer_inbound;
  705.                     }
  706.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_warehousetransfer_inbound')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\WarehouseTransfer\\WarehousetransferController::putInboundAction',  '_format' => 'json',));
  707.                 }
  708.                 not_api_put_warehousetransfer_inbound:
  709.                 // api_put_warehousetransfer_cancel
  710.                 if (preg_match('#^/api/warehousetransfers/(?P<warehouseTransfer>[^/]++)/cancel(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  711.                     if ('PUT' !== $canonicalMethod) {
  712.                         $allow[] = 'PUT';
  713.                         goto not_api_put_warehousetransfer_cancel;
  714.                     }
  715.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_warehousetransfer_cancel')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\WarehouseTransfer\\WarehousetransferController::putCancelAction',  '_format' => 'json',));
  716.                 }
  717.                 not_api_put_warehousetransfer_cancel:
  718.             }
  719.             elseif (=== strpos($pathinfo'/api/zones')) {
  720.                 if (=== strpos($pathinfo'/api/zones/import')) {
  721.                     // api_get_zone_import
  722.                     if (preg_match('#^/api/zones/import(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  723.                         if ('GET' !== $canonicalMethod) {
  724.                             $allow[] = 'GET';
  725.                             goto not_api_get_zone_import;
  726.                         }
  727.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_zone_import')), array (  '_controller' => 'WebserviceBundle\\Controller\\ZoneController::getImportAction',  '_format' => 'json',));
  728.                     }
  729.                     not_api_get_zone_import:
  730.                     // api_post_zone_import
  731.                     if (preg_match('#^/api/zones/import(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  732.                         if ('POST' !== $canonicalMethod) {
  733.                             $allow[] = 'POST';
  734.                             goto not_api_post_zone_import;
  735.                         }
  736.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_zone_import')), array (  '_controller' => 'WebserviceBundle\\Controller\\ZoneController::postImportAction',  '_format' => 'json',));
  737.                     }
  738.                     not_api_post_zone_import:
  739.                 }
  740.                 // api_get_zones
  741.                 if (preg_match('#^/api/zones(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  742.                     if ('GET' !== $canonicalMethod) {
  743.                         $allow[] = 'GET';
  744.                         goto not_api_get_zones;
  745.                     }
  746.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_zones')), array (  '_controller' => 'WebserviceBundle\\Controller\\ZoneController::cgetAction',  '_format' => 'json',));
  747.                 }
  748.                 not_api_get_zones:
  749.                 // api_get_zone
  750.                 if (preg_match('#^/api/zones/(?P<zone>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  751.                     if ('GET' !== $canonicalMethod) {
  752.                         $allow[] = 'GET';
  753.                         goto not_api_get_zone;
  754.                     }
  755.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_zone')), array (  '_controller' => 'WebserviceBundle\\Controller\\ZoneController::getAction',  '_format' => 'json',));
  756.                 }
  757.                 not_api_get_zone:
  758.                 // api_post_zone
  759.                 if (preg_match('#^/api/zones/(?P<warehouseId>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  760.                     if ('POST' !== $canonicalMethod) {
  761.                         $allow[] = 'POST';
  762.                         goto not_api_post_zone;
  763.                     }
  764.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_zone')), array (  '_controller' => 'WebserviceBundle\\Controller\\ZoneController::postAction',  '_format' => 'json',));
  765.                 }
  766.                 not_api_post_zone:
  767.                 // api_patch_zone
  768.                 if (preg_match('#^/api/zones/(?P<warehouseId>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  769.                     if ('PATCH' !== $canonicalMethod) {
  770.                         $allow[] = 'PATCH';
  771.                         goto not_api_patch_zone;
  772.                     }
  773.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_zone')), array (  '_controller' => 'WebserviceBundle\\Controller\\ZoneController::patchAction',  '_format' => 'json',));
  774.                 }
  775.                 not_api_patch_zone:
  776.                 // api_delete_zone
  777.                 if (preg_match('#^/api/zones/(?P<warehouseId>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  778.                     if ('DELETE' !== $canonicalMethod) {
  779.                         $allow[] = 'DELETE';
  780.                         goto not_api_delete_zone;
  781.                     }
  782.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_zone')), array (  '_controller' => 'WebserviceBundle\\Controller\\ZoneController::deleteAction',  '_format' => 'json',));
  783.                 }
  784.                 not_api_delete_zone:
  785.             }
  786.             elseif (=== strpos($pathinfo'/api/users')) {
  787.                 if (=== strpos($pathinfo'/api/users/customers/import')) {
  788.                     // api_get_user_customers_import
  789.                     if (preg_match('#^/api/users/customers/import(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  790.                         if ('GET' !== $canonicalMethod) {
  791.                             $allow[] = 'GET';
  792.                             goto not_api_get_user_customers_import;
  793.                         }
  794.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_user_customers_import')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\UserController::getCustomersImportAction',  '_format' => 'json',));
  795.                     }
  796.                     not_api_get_user_customers_import:
  797.                     // api_post_user_customers_import
  798.                     if (preg_match('#^/api/users/customers/import(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  799.                         if ('POST' !== $canonicalMethod) {
  800.                             $allow[] = 'POST';
  801.                             goto not_api_post_user_customers_import;
  802.                         }
  803.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_user_customers_import')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\UserController::postCustomersImportAction',  '_format' => 'json',));
  804.                     }
  805.                     not_api_post_user_customers_import:
  806.                 }
  807.                 elseif (=== strpos($pathinfo'/api/users/employees/import')) {
  808.                     // api_get_user_employees_import
  809.                     if (preg_match('#^/api/users/employees/import(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  810.                         if ('GET' !== $canonicalMethod) {
  811.                             $allow[] = 'GET';
  812.                             goto not_api_get_user_employees_import;
  813.                         }
  814.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_user_employees_import')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\UserController::getEmployeesImportAction',  '_format' => 'json',));
  815.                     }
  816.                     not_api_get_user_employees_import:
  817.                     // api_post_user_employees_import
  818.                     if (preg_match('#^/api/users/employees/import(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  819.                         if ('POST' !== $canonicalMethod) {
  820.                             $allow[] = 'POST';
  821.                             goto not_api_post_user_employees_import;
  822.                         }
  823.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_user_employees_import')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\UserController::postEmployeesImportAction',  '_format' => 'json',));
  824.                     }
  825.                     not_api_post_user_employees_import:
  826.                 }
  827.                 // api_get_users
  828.                 if (preg_match('#^/api/users(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  829.                     if ('GET' !== $canonicalMethod) {
  830.                         $allow[] = 'GET';
  831.                         goto not_api_get_users;
  832.                     }
  833.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_users')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\UserController::cgetAction',  '_format' => 'json',));
  834.                 }
  835.                 not_api_get_users:
  836.                 // api_get_user_me
  837.                 if (=== strpos($pathinfo'/api/users/me') && preg_match('#^/api/users/me(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  838.                     if ('GET' !== $canonicalMethod) {
  839.                         $allow[] = 'GET';
  840.                         goto not_api_get_user_me;
  841.                     }
  842.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_user_me')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\UserController::getMeAction',  '_format' => 'json',));
  843.                 }
  844.                 not_api_get_user_me:
  845.                 // api_get_user
  846.                 if (preg_match('#^/api/users/(?P<user>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  847.                     if ('GET' !== $canonicalMethod) {
  848.                         $allow[] = 'GET';
  849.                         goto not_api_get_user;
  850.                     }
  851.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_user')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\UserController::getAction',  '_format' => 'json',));
  852.                 }
  853.                 not_api_get_user:
  854.                 // api_post_user
  855.                 if (preg_match('#^/api/users(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  856.                     if ('POST' !== $canonicalMethod) {
  857.                         $allow[] = 'POST';
  858.                         goto not_api_post_user;
  859.                     }
  860.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_user')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\UserController::postAction',  '_format' => 'json',));
  861.                 }
  862.                 not_api_post_user:
  863.                 // api_patch_user
  864.                 if (preg_match('#^/api/users/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  865.                     if ('PATCH' !== $canonicalMethod) {
  866.                         $allow[] = 'PATCH';
  867.                         goto not_api_patch_user;
  868.                     }
  869.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_user')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\UserController::patchAction',  '_format' => 'json',));
  870.                 }
  871.                 not_api_patch_user:
  872.                 // api_delete_user
  873.                 if (preg_match('#^/api/users/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  874.                     if ('DELETE' !== $canonicalMethod) {
  875.                         $allow[] = 'DELETE';
  876.                         goto not_api_delete_user;
  877.                     }
  878.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_user')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\UserController::deleteAction',  '_format' => 'json',));
  879.                 }
  880.                 not_api_delete_user:
  881.             }
  882.             elseif (=== strpos($pathinfo'/api/groups')) {
  883.                 // api_get_groups
  884.                 if (preg_match('#^/api/groups(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  885.                     if ('GET' !== $canonicalMethod) {
  886.                         $allow[] = 'GET';
  887.                         goto not_api_get_groups;
  888.                     }
  889.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_groups')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\GroupController::cgetAction',  '_format' => 'json',));
  890.                 }
  891.                 not_api_get_groups:
  892.                 // api_get_group
  893.                 if (preg_match('#^/api/groups/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  894.                     if ('GET' !== $canonicalMethod) {
  895.                         $allow[] = 'GET';
  896.                         goto not_api_get_group;
  897.                     }
  898.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_group')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\GroupController::getAction',  '_format' => 'json',));
  899.                 }
  900.                 not_api_get_group:
  901.                 // api_post_group
  902.                 if (preg_match('#^/api/groups(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  903.                     if ('POST' !== $canonicalMethod) {
  904.                         $allow[] = 'POST';
  905.                         goto not_api_post_group;
  906.                     }
  907.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_group')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\GroupController::postAction',  '_format' => 'json',));
  908.                 }
  909.                 not_api_post_group:
  910.                 // api_patch_group
  911.                 if (preg_match('#^/api/groups/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  912.                     if ('PATCH' !== $canonicalMethod) {
  913.                         $allow[] = 'PATCH';
  914.                         goto not_api_patch_group;
  915.                     }
  916.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_group')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\GroupController::patchAction',  '_format' => 'json',));
  917.                 }
  918.                 not_api_patch_group:
  919.                 // api_delete_group
  920.                 if (preg_match('#^/api/groups/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  921.                     if ('DELETE' !== $canonicalMethod) {
  922.                         $allow[] = 'DELETE';
  923.                         goto not_api_delete_group;
  924.                     }
  925.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_group')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\GroupController::deleteAction',  '_format' => 'json',));
  926.                 }
  927.                 not_api_delete_group:
  928.             }
  929.             elseif (=== strpos($pathinfo'/api/stock')) {
  930.                 if (=== strpos($pathinfo'/api/stock/import')) {
  931.                     // api_get_import
  932.                     if (preg_match('#^/api/stock/import(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  933.                         if ('GET' !== $canonicalMethod) {
  934.                             $allow[] = 'GET';
  935.                             goto not_api_get_import;
  936.                         }
  937.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_import')), array (  '_controller' => 'WebserviceBundle\\Controller\\StockController::getImportAction',  '_format' => 'json',));
  938.                     }
  939.                     not_api_get_import:
  940.                     // api_post_import
  941.                     if (preg_match('#^/api/stock/import(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  942.                         if ('POST' !== $canonicalMethod) {
  943.                             $allow[] = 'POST';
  944.                             goto not_api_post_import;
  945.                         }
  946.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_import')), array (  '_controller' => 'WebserviceBundle\\Controller\\StockController::postImportAction',  '_format' => 'json',));
  947.                     }
  948.                     not_api_post_import:
  949.                     // api_get_import_bobbins
  950.                     if (=== strpos($pathinfo'/api/stock/import-bobbins') && preg_match('#^/api/stock/import\\-bobbins(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  951.                         if ('GET' !== $canonicalMethod) {
  952.                             $allow[] = 'GET';
  953.                             goto not_api_get_import_bobbins;
  954.                         }
  955.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_import_bobbins')), array (  '_controller' => 'WebserviceBundle\\Controller\\StockController::getImportBobbinsAction',  '_format' => 'json',));
  956.                     }
  957.                     not_api_get_import_bobbins:
  958.                 }
  959.                 // api_post_import_bobbins
  960.                 if (=== strpos($pathinfo'/api/stock/bobbins/import') && preg_match('#^/api/stock/bobbins/import(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  961.                     if ('POST' !== $canonicalMethod) {
  962.                         $allow[] = 'POST';
  963.                         goto not_api_post_import_bobbins;
  964.                     }
  965.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_import_bobbins')), array (  '_controller' => 'WebserviceBundle\\Controller\\StockController::postImportBobbinsAction',  '_format' => 'json',));
  966.                 }
  967.                 not_api_post_import_bobbins:
  968.                 // api_get_stock
  969.                 if (preg_match('#^/api/stock(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  970.                     if ('GET' !== $canonicalMethod) {
  971.                         $allow[] = 'GET';
  972.                         goto not_api_get_stock;
  973.                     }
  974.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_stock')), array (  '_controller' => 'WebserviceBundle\\Controller\\StockController::getStockAction',  '_format' => 'json',));
  975.                 }
  976.                 not_api_get_stock:
  977.                 if (=== strpos($pathinfo'/api/stocks')) {
  978.                     // api_get_stock_histories
  979.                     if (preg_match('#^/api/stocks/(?P<variant>[^/]++)/histories(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  980.                         if ('GET' !== $canonicalMethod) {
  981.                             $allow[] = 'GET';
  982.                             goto not_api_get_stock_histories;
  983.                         }
  984.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_stock_histories')), array (  '_controller' => 'WebserviceBundle\\Controller\\StockController::getStockHistoriesAction',  '_format' => 'json',));
  985.                     }
  986.                     not_api_get_stock_histories:
  987.                     // api_get_stock_history
  988.                     if (preg_match('#^/api/stocks/(?P<variant>[^/]++)/histories/(?P<mutation>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  989.                         if ('GET' !== $canonicalMethod) {
  990.                             $allow[] = 'GET';
  991.                             goto not_api_get_stock_history;
  992.                         }
  993.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_stock_history')), array (  '_controller' => 'WebserviceBundle\\Controller\\StockController::getStockHistoryAction',  '_format' => 'json',));
  994.                     }
  995.                     not_api_get_stock_history:
  996.                 }
  997.             }
  998.             elseif (=== strpos($pathinfo'/api/locations')) {
  999.                 if (=== strpos($pathinfo'/api/locations/import')) {
  1000.                     // api_get_location_import
  1001.                     if (preg_match('#^/api/locations/import(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1002.                         if ('GET' !== $canonicalMethod) {
  1003.                             $allow[] = 'GET';
  1004.                             goto not_api_get_location_import;
  1005.                         }
  1006.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_location_import')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationController::getImportAction',  '_format' => 'json',));
  1007.                     }
  1008.                     not_api_get_location_import:
  1009.                     // api_post_location_import
  1010.                     if (preg_match('#^/api/locations/import(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1011.                         if ('POST' !== $canonicalMethod) {
  1012.                             $allow[] = 'POST';
  1013.                             goto not_api_post_location_import;
  1014.                         }
  1015.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_location_import')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationController::postImportAction',  '_format' => 'json',));
  1016.                     }
  1017.                     not_api_post_location_import:
  1018.                 }
  1019.                 // api_get_locations
  1020.                 if (preg_match('#^/api/locations(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1021.                     if ('GET' !== $canonicalMethod) {
  1022.                         $allow[] = 'GET';
  1023.                         goto not_api_get_locations;
  1024.                     }
  1025.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_locations')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationController::cgetAction',  '_format' => 'json',));
  1026.                 }
  1027.                 not_api_get_locations:
  1028.                 // api_get_location
  1029.                 if (preg_match('#^/api/locations/(?P<location>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1030.                     if ('GET' !== $canonicalMethod) {
  1031.                         $allow[] = 'GET';
  1032.                         goto not_api_get_location;
  1033.                     }
  1034.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_location')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationController::getAction',  '_format' => 'json',));
  1035.                 }
  1036.                 not_api_get_location:
  1037.                 // api_post_location
  1038.                 if (preg_match('#^/api/locations(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1039.                     if ('POST' !== $canonicalMethod) {
  1040.                         $allow[] = 'POST';
  1041.                         goto not_api_post_location;
  1042.                     }
  1043.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_location')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationController::postAction',  '_format' => 'json',));
  1044.                 }
  1045.                 not_api_post_location:
  1046.                 // api_patch_location
  1047.                 if (preg_match('#^/api/locations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1048.                     if ('PATCH' !== $canonicalMethod) {
  1049.                         $allow[] = 'PATCH';
  1050.                         goto not_api_patch_location;
  1051.                     }
  1052.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_location')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationController::patchAction',  '_format' => 'json',));
  1053.                 }
  1054.                 not_api_patch_location:
  1055.                 // api_put_location_print
  1056.                 if (preg_match('#^/api/locations/(?P<location>[^/]++)/print(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1057.                     if ('PUT' !== $canonicalMethod) {
  1058.                         $allow[] = 'PUT';
  1059.                         goto not_api_put_location_print;
  1060.                     }
  1061.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_location_print')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationController::putPrintAction',  '_format' => 'json',));
  1062.                 }
  1063.                 not_api_put_location_print:
  1064.                 // api_get_location_download
  1065.                 if (preg_match('#^/api/locations/(?P<id>[^/]++)/download(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1066.                     if ('GET' !== $canonicalMethod) {
  1067.                         $allow[] = 'GET';
  1068.                         goto not_api_get_location_download;
  1069.                     }
  1070.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_location_download')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationController::getDownloadAction',  '_format' => 'json',));
  1071.                 }
  1072.                 not_api_get_location_download:
  1073.                 // api_get_location_next
  1074.                 if (preg_match('#^/api/locations/(?P<location>[^/]++)/next(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1075.                     if ('GET' !== $canonicalMethod) {
  1076.                         $allow[] = 'GET';
  1077.                         goto not_api_get_location_next;
  1078.                     }
  1079.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_location_next')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationController::getNextAction',  '_format' => 'json',));
  1080.                 }
  1081.                 not_api_get_location_next:
  1082.                 // api_post_location_next
  1083.                 if (=== strpos($pathinfo'/api/locations/next') && preg_match('#^/api/locations/next(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1084.                     if ('POST' !== $canonicalMethod) {
  1085.                         $allow[] = 'POST';
  1086.                         goto not_api_post_location_next;
  1087.                     }
  1088.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_location_next')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationController::postNextAction',  '_format' => 'json',));
  1089.                 }
  1090.                 not_api_post_location_next:
  1091.                 // api_post_location_generate_packing_slip_by_locations
  1092.                 if (=== strpos($pathinfo'/api/locations/generate-packing-slip-by-locations') && preg_match('#^/api/locations/generate\\-packing\\-slip\\-by\\-locations(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1093.                     if ('POST' !== $canonicalMethod) {
  1094.                         $allow[] = 'POST';
  1095.                         goto not_api_post_location_generate_packing_slip_by_locations;
  1096.                     }
  1097.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_location_generate_packing_slip_by_locations')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationController::postGeneratePackingSlipByLocationsAction',  '_format' => 'json',));
  1098.                 }
  1099.                 not_api_post_location_generate_packing_slip_by_locations:
  1100.             }
  1101.             elseif (=== strpos($pathinfo'/api/location-groups')) {
  1102.                 // api_cget_location-groups
  1103.                 if (preg_match('#^/api/location\\-groups(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1104.                     if ('GET' !== $canonicalMethod) {
  1105.                         $allow[] = 'GET';
  1106.                         goto not_api_cget_locationgroups;
  1107.                     }
  1108.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_cget_location-groups')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationGroupController::cgetAction',  '_format' => 'json',));
  1109.                 }
  1110.                 not_api_cget_locationgroups:
  1111.                 // api_get_location-groups
  1112.                 if (preg_match('#^/api/location\\-groups/(?P<locationGroup>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1113.                     if ('GET' !== $canonicalMethod) {
  1114.                         $allow[] = 'GET';
  1115.                         goto not_api_get_locationgroups;
  1116.                     }
  1117.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_location-groups')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationGroupController::getAction',  '_format' => 'json',));
  1118.                 }
  1119.                 not_api_get_locationgroups:
  1120.                 // api_post_location-groups
  1121.                 if (preg_match('#^/api/location\\-groups(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1122.                     if ('POST' !== $canonicalMethod) {
  1123.                         $allow[] = 'POST';
  1124.                         goto not_api_post_locationgroups;
  1125.                     }
  1126.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_location-groups')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationGroupController::postAction',  '_format' => 'json',));
  1127.                 }
  1128.                 not_api_post_locationgroups:
  1129.                 // api_patch_location-groups
  1130.                 if (preg_match('#^/api/location\\-groups/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1131.                     if ('PATCH' !== $canonicalMethod) {
  1132.                         $allow[] = 'PATCH';
  1133.                         goto not_api_patch_locationgroups;
  1134.                     }
  1135.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_location-groups')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationGroupController::patchAction',  '_format' => 'json',));
  1136.                 }
  1137.                 not_api_patch_locationgroups:
  1138.                 // api_delete_location-groups
  1139.                 if (preg_match('#^/api/location\\-groups/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1140.                     if ('DELETE' !== $canonicalMethod) {
  1141.                         $allow[] = 'DELETE';
  1142.                         goto not_api_delete_locationgroups;
  1143.                     }
  1144.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_location-groups')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationGroupController::deleteAction',  '_format' => 'json',));
  1145.                 }
  1146.                 not_api_delete_locationgroups:
  1147.             }
  1148.             elseif (=== strpos($pathinfo'/api/processes')) {
  1149.                 // api_get_processes
  1150.                 if (preg_match('#^/api/processes(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1151.                     if ('GET' !== $canonicalMethod) {
  1152.                         $allow[] = 'GET';
  1153.                         goto not_api_get_processes;
  1154.                     }
  1155.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_processes')), array (  '_controller' => 'WebserviceBundle\\Controller\\ProcessController::cgetAction',  '_format' => 'json',));
  1156.                 }
  1157.                 not_api_get_processes:
  1158.                 // api_get_process
  1159.                 if (preg_match('#^/api/processes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1160.                     if ('GET' !== $canonicalMethod) {
  1161.                         $allow[] = 'GET';
  1162.                         goto not_api_get_process;
  1163.                     }
  1164.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_process')), array (  '_controller' => 'WebserviceBundle\\Controller\\ProcessController::getAction',  '_format' => 'json',));
  1165.                 }
  1166.                 not_api_get_process:
  1167.             }
  1168.             elseif (=== strpos($pathinfo'/api/modifications')) {
  1169.                 // api_get_modifications
  1170.                 if (preg_match('#^/api/modifications(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1171.                     if ('GET' !== $canonicalMethod) {
  1172.                         $allow[] = 'GET';
  1173.                         goto not_api_get_modifications;
  1174.                     }
  1175.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_modifications')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationController::cgetAction',  '_format' => 'json',));
  1176.                 }
  1177.                 not_api_get_modifications:
  1178.                 // api_get_modification
  1179.                 if (preg_match('#^/api/modifications/(?P<modification>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1180.                     if ('GET' !== $canonicalMethod) {
  1181.                         $allow[] = 'GET';
  1182.                         goto not_api_get_modification;
  1183.                     }
  1184.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_modification')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationController::getAction',  '_format' => 'json',));
  1185.                 }
  1186.                 not_api_get_modification:
  1187.                 // api_post_modification
  1188.                 if (preg_match('#^/api/modifications(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1189.                     if ('POST' !== $canonicalMethod) {
  1190.                         $allow[] = 'POST';
  1191.                         goto not_api_post_modification;
  1192.                     }
  1193.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_modification')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationController::postAction',  '_format' => 'json',));
  1194.                 }
  1195.                 not_api_post_modification:
  1196.                 // api_patch_modification
  1197.                 if (preg_match('#^/api/modifications/(?P<modification>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1198.                     if ('PATCH' !== $canonicalMethod) {
  1199.                         $allow[] = 'PATCH';
  1200.                         goto not_api_patch_modification;
  1201.                     }
  1202.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_modification')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationController::patchAction',  '_format' => 'json',));
  1203.                 }
  1204.                 not_api_patch_modification:
  1205.                 // api_put_modification_approve
  1206.                 if (preg_match('#^/api/modifications/(?P<modification>[^/]++)/approve(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1207.                     if ('PUT' !== $canonicalMethod) {
  1208.                         $allow[] = 'PUT';
  1209.                         goto not_api_put_modification_approve;
  1210.                     }
  1211.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_modification_approve')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationController::putApproveAction',  '_format' => 'json',));
  1212.                 }
  1213.                 not_api_put_modification_approve:
  1214.                 // api_put_modification_disapprove
  1215.                 if (preg_match('#^/api/modifications/(?P<modification>[^/]++)/disapprove(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1216.                     if ('PUT' !== $canonicalMethod) {
  1217.                         $allow[] = 'PUT';
  1218.                         goto not_api_put_modification_disapprove;
  1219.                     }
  1220.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_modification_disapprove')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationController::putDisapproveAction',  '_format' => 'json',));
  1221.                 }
  1222.                 not_api_put_modification_disapprove:
  1223.                 // api_put_modification_print
  1224.                 if (preg_match('#^/api/modifications/(?P<modification>[^/]++)/print(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1225.                     if ('PUT' !== $canonicalMethod) {
  1226.                         $allow[] = 'PUT';
  1227.                         goto not_api_put_modification_print;
  1228.                     }
  1229.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_modification_print')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationController::putPrintAction',  '_format' => 'json',));
  1230.                 }
  1231.                 not_api_put_modification_print:
  1232.                 // api_get_modification_lines
  1233.                 if (preg_match('#^/api/modifications/(?P<modification>[^/]++)/lines(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1234.                     if ('GET' !== $canonicalMethod) {
  1235.                         $allow[] = 'GET';
  1236.                         goto not_api_get_modification_lines;
  1237.                     }
  1238.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_modification_lines')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationLineController::cgetAction',  '_format' => 'json',));
  1239.                 }
  1240.                 not_api_get_modification_lines:
  1241.                 // api_get_modification_line
  1242.                 if (preg_match('#^/api/modifications/(?P<modification>[^/]++)/lines/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1243.                     if ('GET' !== $canonicalMethod) {
  1244.                         $allow[] = 'GET';
  1245.                         goto not_api_get_modification_line;
  1246.                     }
  1247.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_modification_line')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationLineController::getAction',  '_format' => 'json',));
  1248.                 }
  1249.                 not_api_get_modification_line:
  1250.                 // api_post_modification_line
  1251.                 if (preg_match('#^/api/modifications/(?P<modification>[^/]++)/lines(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1252.                     if ('POST' !== $canonicalMethod) {
  1253.                         $allow[] = 'POST';
  1254.                         goto not_api_post_modification_line;
  1255.                     }
  1256.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_modification_line')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationLineController::postAction',  '_format' => 'json',));
  1257.                 }
  1258.                 not_api_post_modification_line:
  1259.                 // api_patch_modification_line
  1260.                 if (preg_match('#^/api/modifications/(?P<modification>[^/]++)/lines/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1261.                     if ('PATCH' !== $canonicalMethod) {
  1262.                         $allow[] = 'PATCH';
  1263.                         goto not_api_patch_modification_line;
  1264.                     }
  1265.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_modification_line')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationLineController::patchAction',  '_format' => 'json',));
  1266.                 }
  1267.                 not_api_patch_modification_line:
  1268.                 // api_delete_modification_line
  1269.                 if (preg_match('#^/api/modifications/(?P<modification>[^/]++)/lines/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1270.                     if ('DELETE' !== $canonicalMethod) {
  1271.                         $allow[] = 'DELETE';
  1272.                         goto not_api_delete_modification_line;
  1273.                     }
  1274.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_modification_line')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationLineController::deleteAction',  '_format' => 'json',));
  1275.                 }
  1276.                 not_api_delete_modification_line:
  1277.             }
  1278.             elseif (=== strpos($pathinfo'/api/inbound')) {
  1279.                 // api_get_inbound_inbound_import
  1280.                 if (preg_match('#^/api/inbound/(?P<inbound>[^/]++)/import(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1281.                     if ('GET' !== $canonicalMethod) {
  1282.                         $allow[] = 'GET';
  1283.                         goto not_api_get_inbound_inbound_import;
  1284.                     }
  1285.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbound_inbound_import')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::getInboundImportAction',  '_format' => 'json',));
  1286.                 }
  1287.                 not_api_get_inbound_inbound_import:
  1288.                 // api_post_inbound_inbound_import
  1289.                 if (preg_match('#^/api/inbound/(?P<inbound>[^/]++)/import(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1290.                     if ('POST' !== $canonicalMethod) {
  1291.                         $allow[] = 'POST';
  1292.                         goto not_api_post_inbound_inbound_import;
  1293.                     }
  1294.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_inbound_inbound_import')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::postInboundImportAction',  '_format' => 'json',));
  1295.                 }
  1296.                 not_api_post_inbound_inbound_import:
  1297.                 if (=== strpos($pathinfo'/api/inbounds')) {
  1298.                     // api_get_inbounds
  1299.                     if (preg_match('#^/api/inbounds(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1300.                         if ('GET' !== $canonicalMethod) {
  1301.                             $allow[] = 'GET';
  1302.                             goto not_api_get_inbounds;
  1303.                         }
  1304.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbounds')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::cgetAction',  '_format' => 'json',));
  1305.                     }
  1306.                     not_api_get_inbounds:
  1307.                     // api_get_inbound
  1308.                     if (preg_match('#^/api/inbounds/(?P<inbound>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1309.                         if ('GET' !== $canonicalMethod) {
  1310.                             $allow[] = 'GET';
  1311.                             goto not_api_get_inbound;
  1312.                         }
  1313.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbound')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::getAction',  '_format' => 'json',));
  1314.                     }
  1315.                     not_api_get_inbound:
  1316.                     // api_post_inbound
  1317.                     if (preg_match('#^/api/inbounds(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1318.                         if ('POST' !== $canonicalMethod) {
  1319.                             $allow[] = 'POST';
  1320.                             goto not_api_post_inbound;
  1321.                         }
  1322.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_inbound')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::postAction',  '_format' => 'json',));
  1323.                     }
  1324.                     not_api_post_inbound:
  1325.                     // api_post_inbound_release
  1326.                     if (preg_match('#^/api/inbounds/(?P<id>[^/]++)/release/(?P<locationGroupId>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1327.                         if ('POST' !== $canonicalMethod) {
  1328.                             $allow[] = 'POST';
  1329.                             goto not_api_post_inbound_release;
  1330.                         }
  1331.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_inbound_release')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::postReleaseAction',  '_format' => 'json',));
  1332.                     }
  1333.                     not_api_post_inbound_release:
  1334.                     // api_patch_inbound
  1335.                     if (preg_match('#^/api/inbounds/(?P<inbound>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1336.                         if ('PATCH' !== $canonicalMethod) {
  1337.                             $allow[] = 'PATCH';
  1338.                             goto not_api_patch_inbound;
  1339.                         }
  1340.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_inbound')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::patchAction',  '_format' => 'json',));
  1341.                     }
  1342.                     not_api_patch_inbound:
  1343.                     // api_delete_inbound
  1344.                     if (preg_match('#^/api/inbounds/(?P<inbound>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1345.                         if ('DELETE' !== $canonicalMethod) {
  1346.                             $allow[] = 'DELETE';
  1347.                             goto not_api_delete_inbound;
  1348.                         }
  1349.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_inbound')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::deleteAction',  '_format' => 'json',));
  1350.                     }
  1351.                     not_api_delete_inbound:
  1352.                     // api_put_inbound_hold
  1353.                     if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/hold(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1354.                         if ('PUT' !== $canonicalMethod) {
  1355.                             $allow[] = 'PUT';
  1356.                             goto not_api_put_inbound_hold;
  1357.                         }
  1358.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_inbound_hold')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::putHoldAction',  '_format' => 'json',));
  1359.                     }
  1360.                     not_api_put_inbound_hold:
  1361.                     // api_put_inbound_unhold
  1362.                     if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/unhold(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1363.                         if ('PUT' !== $canonicalMethod) {
  1364.                             $allow[] = 'PUT';
  1365.                             goto not_api_put_inbound_unhold;
  1366.                         }
  1367.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_inbound_unhold')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::putUnholdAction',  '_format' => 'json',));
  1368.                     }
  1369.                     not_api_put_inbound_unhold:
  1370.                     // api_put_inbound_cancel
  1371.                     if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/cancel(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1372.                         if ('PUT' !== $canonicalMethod) {
  1373.                             $allow[] = 'PUT';
  1374.                             goto not_api_put_inbound_cancel;
  1375.                         }
  1376.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_inbound_cancel')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::putCancelAction',  '_format' => 'json',));
  1377.                     }
  1378.                     not_api_put_inbound_cancel:
  1379.                     // api_put_inbound_progress
  1380.                     if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/progress(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1381.                         if ('PUT' !== $canonicalMethod) {
  1382.                             $allow[] = 'PUT';
  1383.                             goto not_api_put_inbound_progress;
  1384.                         }
  1385.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_inbound_progress')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::putProgressAction',  '_format' => 'json',));
  1386.                     }
  1387.                     not_api_put_inbound_progress:
  1388.                     // api_put_inbound_transfer
  1389.                     if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/transfer(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1390.                         if ('PUT' !== $canonicalMethod) {
  1391.                             $allow[] = 'PUT';
  1392.                             goto not_api_put_inbound_transfer;
  1393.                         }
  1394.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_inbound_transfer')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::putTransferAction',  '_format' => 'json',));
  1395.                     }
  1396.                     not_api_put_inbound_transfer:
  1397.                     // api_put_inbound_wait
  1398.                     if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/wait(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1399.                         if ('PUT' !== $canonicalMethod) {
  1400.                             $allow[] = 'PUT';
  1401.                             goto not_api_put_inbound_wait;
  1402.                         }
  1403.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_inbound_wait')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::putWaitAction',  '_format' => 'json',));
  1404.                     }
  1405.                     not_api_put_inbound_wait:
  1406.                     // api_put_inbound_print
  1407.                     if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/print(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1408.                         if ('PUT' !== $canonicalMethod) {
  1409.                             $allow[] = 'PUT';
  1410.                             goto not_api_put_inbound_print;
  1411.                         }
  1412.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_inbound_print')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::putPrintAction',  '_format' => 'json',));
  1413.                     }
  1414.                     not_api_put_inbound_print:
  1415.                     // api_get_inbound_lines
  1416.                     if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/lines(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1417.                         if ('GET' !== $canonicalMethod) {
  1418.                             $allow[] = 'GET';
  1419.                             goto not_api_get_inbound_lines;
  1420.                         }
  1421.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbound_lines')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundLineController::cgetAction',  '_format' => 'json',));
  1422.                     }
  1423.                     not_api_get_inbound_lines:
  1424.                     // api_get_inbound_line_pallet
  1425.                     if (preg_match('#^/api/inbounds/(?P<pallet>[^/]++)/line/pallet(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1426.                         if ('GET' !== $canonicalMethod) {
  1427.                             $allow[] = 'GET';
  1428.                             goto not_api_get_inbound_line_pallet;
  1429.                         }
  1430.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbound_line_pallet')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundLineController::getPalletAction',  '_format' => 'json',));
  1431.                     }
  1432.                     not_api_get_inbound_line_pallet:
  1433.                     // api_get_inbound_line
  1434.                     if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/lines/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1435.                         if ('GET' !== $canonicalMethod) {
  1436.                             $allow[] = 'GET';
  1437.                             goto not_api_get_inbound_line;
  1438.                         }
  1439.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbound_line')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundLineController::getAction',  '_format' => 'json',));
  1440.                     }
  1441.                     not_api_get_inbound_line:
  1442.                     // api_patch_inbound_line
  1443.                     if (preg_match('#^/api/inbounds/(?P<inboundId>[^/]++)/lines/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1444.                         if ('PATCH' !== $canonicalMethod) {
  1445.                             $allow[] = 'PATCH';
  1446.                             goto not_api_patch_inbound_line;
  1447.                         }
  1448.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_inbound_line')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundLineController::patchAction',  '_format' => 'json',));
  1449.                     }
  1450.                     not_api_patch_inbound_line:
  1451.                     // api_delete_inbound_line
  1452.                     if (preg_match('#^/api/inbounds/(?P<inboundId>[^/]++)/lines/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1453.                         if ('DELETE' !== $canonicalMethod) {
  1454.                             $allow[] = 'DELETE';
  1455.                             goto not_api_delete_inbound_line;
  1456.                         }
  1457.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_inbound_line')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundLineController::deleteAction',  '_format' => 'json',));
  1458.                     }
  1459.                     not_api_delete_inbound_line:
  1460.                     // api_put_inbound_line_process
  1461.                     if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/lines/(?P<inboundLine>[^/]++)/process(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1462.                         if ('PUT' !== $canonicalMethod) {
  1463.                             $allow[] = 'PUT';
  1464.                             goto not_api_put_inbound_line_process;
  1465.                         }
  1466.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_inbound_line_process')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundLineController::putProcessAction',  '_format' => 'json',));
  1467.                     }
  1468.                     not_api_put_inbound_line_process:
  1469.                     // api_put_inbound_line_print
  1470.                     if (preg_match('#^/api/inbounds/(?P<inboundLine>[^/]++)/line/print(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1471.                         if ('PUT' !== $canonicalMethod) {
  1472.                             $allow[] = 'PUT';
  1473.                             goto not_api_put_inbound_line_print;
  1474.                         }
  1475.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_inbound_line_print')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundLineController::putPrintAction',  '_format' => 'json',));
  1476.                     }
  1477.                     not_api_put_inbound_line_print:
  1478.                     // api_get_inbound_line_location
  1479.                     if (preg_match('#^/api/inbounds/(?P<palletId>[^/]++)/line/location(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1480.                         if ('GET' !== $canonicalMethod) {
  1481.                             $allow[] = 'GET';
  1482.                             goto not_api_get_inbound_line_location;
  1483.                         }
  1484.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbound_line_location')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundLineController::getLocationAction',  '_format' => 'json',));
  1485.                     }
  1486.                     not_api_get_inbound_line_location:
  1487.                     // api_get_inbound_line_batchnumber
  1488.                     if (preg_match('#^/api/inbounds/(?P<batchNumber>[^/]++)/line/batchnumber(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1489.                         if ('GET' !== $canonicalMethod) {
  1490.                             $allow[] = 'GET';
  1491.                             goto not_api_get_inbound_line_batchnumber;
  1492.                         }
  1493.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbound_line_batchnumber')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundLineController::getBatchnumberAction',  '_format' => 'json',));
  1494.                     }
  1495.                     not_api_get_inbound_line_batchnumber:
  1496.                     // api_get_inbound_documents
  1497.                     if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/documents(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1498.                         if ('GET' !== $canonicalMethod) {
  1499.                             $allow[] = 'GET';
  1500.                             goto not_api_get_inbound_documents;
  1501.                         }
  1502.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbound_documents')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundDocumentController::cgetAction',  '_format' => 'json',));
  1503.                     }
  1504.                     not_api_get_inbound_documents:
  1505.                     // api_get_inbound_document
  1506.                     if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/documents/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1507.                         if ('GET' !== $canonicalMethod) {
  1508.                             $allow[] = 'GET';
  1509.                             goto not_api_get_inbound_document;
  1510.                         }
  1511.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbound_document')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundDocumentController::getAction',  '_format' => 'json',));
  1512.                     }
  1513.                     not_api_get_inbound_document:
  1514.                     // api_get_inbound_document_content
  1515.                     if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/documents/(?P<id>[^/]++)/content(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1516.                         if ('GET' !== $canonicalMethod) {
  1517.                             $allow[] = 'GET';
  1518.                             goto not_api_get_inbound_document_content;
  1519.                         }
  1520.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbound_document_content')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundDocumentController::getContentAction',  '_format' => 'json',));
  1521.                     }
  1522.                     not_api_get_inbound_document_content:
  1523.                     // api_post_inbound_document
  1524.                     if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/documents(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1525.                         if ('POST' !== $canonicalMethod) {
  1526.                             $allow[] = 'POST';
  1527.                             goto not_api_post_inbound_document;
  1528.                         }
  1529.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_inbound_document')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundDocumentController::postAction',  '_format' => 'json',));
  1530.                     }
  1531.                     not_api_post_inbound_document:
  1532.                     // api_delete_inbound_document
  1533.                     if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/documents/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1534.                         if ('DELETE' !== $canonicalMethod) {
  1535.                             $allow[] = 'DELETE';
  1536.                             goto not_api_delete_inbound_document;
  1537.                         }
  1538.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_inbound_document')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundDocumentController::deleteAction',  '_format' => 'json',));
  1539.                     }
  1540.                     not_api_delete_inbound_document:
  1541.                 }
  1542.                 // api_get_inbound_tasks
  1543.                 if (=== strpos($pathinfo'/api/inbound/tasks') && preg_match('#^/api/inbound/tasks(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1544.                     if ('GET' !== $canonicalMethod) {
  1545.                         $allow[] = 'GET';
  1546.                         goto not_api_get_inbound_tasks;
  1547.                     }
  1548.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbound_tasks')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::getTasksAction',  '_format' => 'json',));
  1549.                 }
  1550.                 not_api_get_inbound_tasks:
  1551.                 // api_post_inbound_quick
  1552.                 if (=== strpos($pathinfo'/api/inbound/quick-actions') && preg_match('#^/api/inbound/quick\\-actions/(?P<id>[^/]++)/import(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1553.                     if ('POST' !== $canonicalMethod) {
  1554.                         $allow[] = 'POST';
  1555.                         goto not_api_post_inbound_quick;
  1556.                     }
  1557.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_inbound_quick')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::postQuickActionImport',  '_format' => 'json',));
  1558.                 }
  1559.                 not_api_post_inbound_quick:
  1560.                 if (=== strpos($pathinfo'/api/inboundlines')) {
  1561.                     // api_get_inboundlines
  1562.                     if (preg_match('#^/api/inboundlines(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1563.                         if ('GET' !== $canonicalMethod) {
  1564.                             $allow[] = 'GET';
  1565.                             goto not_api_get_inboundlines;
  1566.                         }
  1567.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inboundlines')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Resource\\InboundlineController::cgetAction',  '_format' => 'json',));
  1568.                     }
  1569.                     not_api_get_inboundlines:
  1570.                     // api_get_inboundline
  1571.                     if (preg_match('#^/api/inboundlines/(?P<inbound>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1572.                         if ('GET' !== $canonicalMethod) {
  1573.                             $allow[] = 'GET';
  1574.                             goto not_api_get_inboundline;
  1575.                         }
  1576.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inboundline')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Resource\\InboundlineController::getAction',  '_format' => 'json',));
  1577.                     }
  1578.                     not_api_get_inboundline:
  1579.                 }
  1580.             }
  1581.             elseif (=== strpos($pathinfo'/api/transfer')) {
  1582.                 if (=== strpos($pathinfo'/api/transfers')) {
  1583.                     // api_get_transfer_migrate
  1584.                     if (=== strpos($pathinfo'/api/transfers/move') && preg_match('#^/api/transfers/move(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1585.                         if ('GET' !== $canonicalMethod) {
  1586.                             $allow[] = 'GET';
  1587.                             goto not_api_get_transfer_migrate;
  1588.                         }
  1589.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_transfer_migrate')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::getMigrateAction',  '_format' => 'json',));
  1590.                     }
  1591.                     not_api_get_transfer_migrate:
  1592.                     // api_get_transfers
  1593.                     if (preg_match('#^/api/transfers(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1594.                         if ('GET' !== $canonicalMethod) {
  1595.                             $allow[] = 'GET';
  1596.                             goto not_api_get_transfers;
  1597.                         }
  1598.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_transfers')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::cgetAction',  '_format' => 'json',));
  1599.                     }
  1600.                     not_api_get_transfers:
  1601.                     // api_get_transfer
  1602.                     if (preg_match('#^/api/transfers/(?P<transfer>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1603.                         if ('GET' !== $canonicalMethod) {
  1604.                             $allow[] = 'GET';
  1605.                             goto not_api_get_transfer;
  1606.                         }
  1607.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_transfer')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::getAction',  '_format' => 'json',));
  1608.                     }
  1609.                     not_api_get_transfer:
  1610.                     // api_post_transfer
  1611.                     if (preg_match('#^/api/transfers(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1612.                         if ('POST' !== $canonicalMethod) {
  1613.                             $allow[] = 'POST';
  1614.                             goto not_api_post_transfer;
  1615.                         }
  1616.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_transfer')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::postAction',  '_format' => 'json',));
  1617.                     }
  1618.                     not_api_post_transfer:
  1619.                     // api_post_transfer_bobbin
  1620.                     if (=== strpos($pathinfo'/api/transfers/bobbins') && preg_match('#^/api/transfers/bobbins(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1621.                         if ('POST' !== $canonicalMethod) {
  1622.                             $allow[] = 'POST';
  1623.                             goto not_api_post_transfer_bobbin;
  1624.                         }
  1625.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_transfer_bobbin')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::postBobbinAction',  '_format' => 'json',));
  1626.                     }
  1627.                     not_api_post_transfer_bobbin:
  1628.                     // api_patch_transfer
  1629.                     if (preg_match('#^/api/transfers/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1630.                         if ('PATCH' !== $canonicalMethod) {
  1631.                             $allow[] = 'PATCH';
  1632.                             goto not_api_patch_transfer;
  1633.                         }
  1634.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_transfer')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::patchAction',  '_format' => 'json',));
  1635.                     }
  1636.                     not_api_patch_transfer:
  1637.                     // api_delete_transfer
  1638.                     if (preg_match('#^/api/transfers/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1639.                         if ('DELETE' !== $canonicalMethod) {
  1640.                             $allow[] = 'DELETE';
  1641.                             goto not_api_delete_transfer;
  1642.                         }
  1643.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_transfer')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::deleteAction',  '_format' => 'json',));
  1644.                     }
  1645.                     not_api_delete_transfer:
  1646.                     // api_put_transfer_start
  1647.                     if (preg_match('#^/api/transfers/(?P<id>[^/]++)/start(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1648.                         if ('PUT' !== $canonicalMethod) {
  1649.                             $allow[] = 'PUT';
  1650.                             goto not_api_put_transfer_start;
  1651.                         }
  1652.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_transfer_start')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::putStartAction',  '_format' => 'json',));
  1653.                     }
  1654.                     not_api_put_transfer_start:
  1655.                     // api_put_transfer_unassign
  1656.                     if (preg_match('#^/api/transfers/(?P<id>[^/]++)/unassign(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1657.                         if ('PUT' !== $canonicalMethod) {
  1658.                             $allow[] = 'PUT';
  1659.                             goto not_api_put_transfer_unassign;
  1660.                         }
  1661.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_transfer_unassign')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::putUnassignAction',  '_format' => 'json',));
  1662.                     }
  1663.                     not_api_put_transfer_unassign:
  1664.                     // api_put_transfer_plan
  1665.                     if (preg_match('#^/api/transfers/(?P<id>[^/]++)/plan(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1666.                         if ('PUT' !== $canonicalMethod) {
  1667.                             $allow[] = 'PUT';
  1668.                             goto not_api_put_transfer_plan;
  1669.                         }
  1670.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_transfer_plan')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::putPlanAction',  '_format' => 'json',));
  1671.                     }
  1672.                     not_api_put_transfer_plan:
  1673.                     // api_put_transfer_hold
  1674.                     if (preg_match('#^/api/transfers/(?P<id>[^/]++)/hold(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1675.                         if ('PUT' !== $canonicalMethod) {
  1676.                             $allow[] = 'PUT';
  1677.                             goto not_api_put_transfer_hold;
  1678.                         }
  1679.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_transfer_hold')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::putHoldAction',  '_format' => 'json',));
  1680.                     }
  1681.                     not_api_put_transfer_hold:
  1682.                     // api_put_transfer_unhold
  1683.                     if (preg_match('#^/api/transfers/(?P<id>[^/]++)/unhold(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1684.                         if ('PUT' !== $canonicalMethod) {
  1685.                             $allow[] = 'PUT';
  1686.                             goto not_api_put_transfer_unhold;
  1687.                         }
  1688.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_transfer_unhold')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::putUnholdAction',  '_format' => 'json',));
  1689.                     }
  1690.                     not_api_put_transfer_unhold:
  1691.                     // api_put_transfer_cancel
  1692.                     if (preg_match('#^/api/transfers/(?P<id>[^/]++)/cancel(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1693.                         if ('PUT' !== $canonicalMethod) {
  1694.                             $allow[] = 'PUT';
  1695.                             goto not_api_put_transfer_cancel;
  1696.                         }
  1697.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_transfer_cancel')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::putCancelAction',  '_format' => 'json',));
  1698.                     }
  1699.                     not_api_put_transfer_cancel:
  1700.                     // api_put_transfer_progress
  1701.                     if (preg_match('#^/api/transfers/(?P<id>[^/]++)/progress(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1702.                         if ('PUT' !== $canonicalMethod) {
  1703.                             $allow[] = 'PUT';
  1704.                             goto not_api_put_transfer_progress;
  1705.                         }
  1706.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_transfer_progress')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::putProgressAction',  '_format' => 'json',));
  1707.                     }
  1708.                     not_api_put_transfer_progress:
  1709.                     // api_put_transfer_complete
  1710.                     if (preg_match('#^/api/transfers/(?P<id>[^/]++)/complete(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1711.                         if ('PUT' !== $canonicalMethod) {
  1712.                             $allow[] = 'PUT';
  1713.                             goto not_api_put_transfer_complete;
  1714.                         }
  1715.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_transfer_complete')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::putCompleteAction',  '_format' => 'json',));
  1716.                     }
  1717.                     not_api_put_transfer_complete:
  1718.                     // api_put_transfer_print
  1719.                     if (preg_match('#^/api/transfers/(?P<transfer>[^/]++)/print(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1720.                         if ('PUT' !== $canonicalMethod) {
  1721.                             $allow[] = 'PUT';
  1722.                             goto not_api_put_transfer_print;
  1723.                         }
  1724.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_transfer_print')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::putPrintAction',  '_format' => 'json',));
  1725.                     }
  1726.                     not_api_put_transfer_print:
  1727.                     // api_get_transfer_lines
  1728.                     if (preg_match('#^/api/transfers/(?P<transferId>[^/]++)/lines(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1729.                         if ('GET' !== $canonicalMethod) {
  1730.                             $allow[] = 'GET';
  1731.                             goto not_api_get_transfer_lines;
  1732.                         }
  1733.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_transfer_lines')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferLineController::cgetAction',  '_format' => 'json',));
  1734.                     }
  1735.                     not_api_get_transfer_lines:
  1736.                     // api_get_transfer_line
  1737.                     if (preg_match('#^/api/transfers/(?P<transferId>[^/]++)/lines/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1738.                         if ('GET' !== $canonicalMethod) {
  1739.                             $allow[] = 'GET';
  1740.                             goto not_api_get_transfer_line;
  1741.                         }
  1742.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_transfer_line')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferLineController::getAction',  '_format' => 'json',));
  1743.                     }
  1744.                     not_api_get_transfer_line:
  1745.                     // api_post_transfer_line
  1746.                     if (preg_match('#^/api/transfers/(?P<transferId>[^/]++)/lines(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1747.                         if ('POST' !== $canonicalMethod) {
  1748.                             $allow[] = 'POST';
  1749.                             goto not_api_post_transfer_line;
  1750.                         }
  1751.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_transfer_line')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferLineController::postAction',  '_format' => 'json',));
  1752.                     }
  1753.                     not_api_post_transfer_line:
  1754.                     // api_patch_transfer_line
  1755.                     if (preg_match('#^/api/transfers/(?P<transferId>[^/]++)/lines/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1756.                         if ('PATCH' !== $canonicalMethod) {
  1757.                             $allow[] = 'PATCH';
  1758.                             goto not_api_patch_transfer_line;
  1759.                         }
  1760.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_transfer_line')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferLineController::patchAction',  '_format' => 'json',));
  1761.                     }
  1762.                     not_api_patch_transfer_line:
  1763.                     // api_delete_transfer_line
  1764.                     if (preg_match('#^/api/transfers/(?P<transferId>[^/]++)/lines/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1765.                         if ('DELETE' !== $canonicalMethod) {
  1766.                             $allow[] = 'DELETE';
  1767.                             goto not_api_delete_transfer_line;
  1768.                         }
  1769.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_transfer_line')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferLineController::deleteAction',  '_format' => 'json',));
  1770.                     }
  1771.                     not_api_delete_transfer_line:
  1772.                 }
  1773.                 // api_put_transfer_move_location
  1774.                 if (=== strpos($pathinfo'/api/transfer/move/location') && preg_match('#^/api/transfer/move/location(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1775.                     if ('PUT' !== $canonicalMethod) {
  1776.                         $allow[] = 'PUT';
  1777.                         goto not_api_put_transfer_move_location;
  1778.                     }
  1779.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_transfer_move_location')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::putMoveLocationAction',  '_format' => 'json',));
  1780.                 }
  1781.                 not_api_put_transfer_move_location:
  1782.                 // api_put_transfer_line_start
  1783.                 if (=== strpos($pathinfo'/api/transfer_lines') && preg_match('#^/api/transfer_lines/(?P<id>[^/]++)/start(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1784.                     if ('PUT' !== $canonicalMethod) {
  1785.                         $allow[] = 'PUT';
  1786.                         goto not_api_put_transfer_line_start;
  1787.                     }
  1788.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_transfer_line_start')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferLineController::putStartAction',  '_format' => 'json',));
  1789.                 }
  1790.                 not_api_put_transfer_line_start:
  1791.             }
  1792.             // api_get_tasks
  1793.             if (=== strpos($pathinfo'/api/tasks') && preg_match('#^/api/tasks(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1794.                 if ('GET' !== $canonicalMethod) {
  1795.                     $allow[] = 'GET';
  1796.                     goto not_api_get_tasks;
  1797.                 }
  1798.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_tasks')), array (  '_controller' => 'WebserviceBundle\\Controller\\TaskController::cgetAction',  '_format' => 'json',));
  1799.             }
  1800.             not_api_get_tasks:
  1801.             // api_post_task_progress
  1802.             if (preg_match('#^/api/(?P<object>[^/]+)s/(?P<id>[^/]++)/progress(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1803.                 if (!in_array($requestMethod, array('POST''PUT'))) {
  1804.                     $allow array_merge($allow, array('POST''PUT'));
  1805.                     goto not_api_post_task_progress;
  1806.                 }
  1807.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_task_progress')), array (  '_controller' => 'WebserviceBundle\\Controller\\TaskController::postProgressAction',  '_format' => 'json',));
  1808.             }
  1809.             not_api_post_task_progress:
  1810.             if (=== strpos($pathinfo'/api/s')) {
  1811.                 // api_get_scans
  1812.                 if (=== strpos($pathinfo'/api/scans') && preg_match('#^/api/scans(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1813.                     if ('GET' !== $canonicalMethod) {
  1814.                         $allow[] = 'GET';
  1815.                         goto not_api_get_scans;
  1816.                     }
  1817.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_scans')), array (  '_controller' => 'WebserviceBundle\\Controller\\ScanController::cgetAction',  '_format' => 'json',));
  1818.                 }
  1819.                 not_api_get_scans:
  1820.                 if (=== strpos($pathinfo'/api/ship')) {
  1821.                     if (=== strpos($pathinfo'/api/shipping')) {
  1822.                         if (=== strpos($pathinfo'/api/shippingmethods')) {
  1823.                             // api_get_shippingmethods
  1824.                             if (preg_match('#^/api/shippingmethods(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1825.                                 if ('GET' !== $canonicalMethod) {
  1826.                                     $allow[] = 'GET';
  1827.                                     goto not_api_get_shippingmethods;
  1828.                                 }
  1829.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shippingmethods')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmethodController::cgetAction',  '_format' => 'json',));
  1830.                             }
  1831.                             not_api_get_shippingmethods:
  1832.                             // api_get_shippingmethod
  1833.                             if (preg_match('#^/api/shippingmethods/(?P<shippingMethod>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1834.                                 if ('GET' !== $canonicalMethod) {
  1835.                                     $allow[] = 'GET';
  1836.                                     goto not_api_get_shippingmethod;
  1837.                                 }
  1838.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shippingmethod')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmethodController::getAction',  '_format' => 'json',));
  1839.                             }
  1840.                             not_api_get_shippingmethod:
  1841.                             // api_put_shippingmethod_automatic
  1842.                             if (preg_match('#^/api/shippingmethods/(?P<order>[^/]++)/automatic(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1843.                                 if ('PUT' !== $canonicalMethod) {
  1844.                                     $allow[] = 'PUT';
  1845.                                     goto not_api_put_shippingmethod_automatic;
  1846.                                 }
  1847.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_shippingmethod_automatic')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmethodController::putAutomaticAction',  '_format' => 'json',));
  1848.                             }
  1849.                             not_api_put_shippingmethod_automatic:
  1850.                             // api_patch_shippingmethod
  1851.                             if (preg_match('#^/api/shippingmethods/(?P<shippingMethod>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1852.                                 if ('PATCH' !== $canonicalMethod) {
  1853.                                     $allow[] = 'PATCH';
  1854.                                     goto not_api_patch_shippingmethod;
  1855.                                 }
  1856.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_shippingmethod')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmethodController::patchAction',  '_format' => 'json',));
  1857.                             }
  1858.                             not_api_patch_shippingmethod:
  1859.                             // api_get_shippingmethod_options
  1860.                             if (preg_match('#^/api/shippingmethods/(?P<paazlShipmentOption>[^/]++)/options(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1861.                                 if ('GET' !== $canonicalMethod) {
  1862.                                     $allow[] = 'GET';
  1863.                                     goto not_api_get_shippingmethod_options;
  1864.                                 }
  1865.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shippingmethod_options')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmethodOptionController::cgetAction',  '_format' => 'json',));
  1866.                             }
  1867.                             not_api_get_shippingmethod_options:
  1868.                             // api_get_shippingmethod_option
  1869.                             if (preg_match('#^/api/shippingmethods/(?P<paazlShipmentOption>[^/]++)/options/(?P<shippingMethodOption>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1870.                                 if ('GET' !== $canonicalMethod) {
  1871.                                     $allow[] = 'GET';
  1872.                                     goto not_api_get_shippingmethod_option;
  1873.                                 }
  1874.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shippingmethod_option')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmethodOptionController::getAction',  '_format' => 'json',));
  1875.                             }
  1876.                             not_api_get_shippingmethod_option:
  1877.                             // api_patch_shippingmethod_option
  1878.                             if (preg_match('#^/api/shippingmethods/(?P<paazlShipmentOption>[^/]++)/options/(?P<shippingMethodOption>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1879.                                 if ('PATCH' !== $canonicalMethod) {
  1880.                                     $allow[] = 'PATCH';
  1881.                                     goto not_api_patch_shippingmethod_option;
  1882.                                 }
  1883.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_shippingmethod_option')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmethodOptionController::patchAction',  '_format' => 'json',));
  1884.                             }
  1885.                             not_api_patch_shippingmethod_option:
  1886.                         }
  1887.                         elseif (=== strpos($pathinfo'/api/shippingmatrices')) {
  1888.                             // api_matrix_shippingmatrix
  1889.                             if (=== strpos($pathinfo'/api/shippingmatrices/matrix') && preg_match('#^/api/shippingmatrices/matrix(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1890.                                 if ('GET' !== $canonicalMethod) {
  1891.                                     $allow[] = 'GET';
  1892.                                     goto not_api_matrix_shippingmatrix;
  1893.                                 }
  1894.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_matrix_shippingmatrix')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmatrixController::matrixAction',  '_format' => 'json',));
  1895.                             }
  1896.                             not_api_matrix_shippingmatrix:
  1897.                             // api_get_shippingmatrices
  1898.                             if (preg_match('#^/api/shippingmatrices(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1899.                                 if ('GET' !== $canonicalMethod) {
  1900.                                     $allow[] = 'GET';
  1901.                                     goto not_api_get_shippingmatrices;
  1902.                                 }
  1903.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shippingmatrices')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmatrixController::cgetAction',  '_format' => 'json',));
  1904.                             }
  1905.                             not_api_get_shippingmatrices:
  1906.                             // api_get_shippingmatrix
  1907.                             if (preg_match('#^/api/shippingmatrices/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1908.                                 if ('GET' !== $canonicalMethod) {
  1909.                                     $allow[] = 'GET';
  1910.                                     goto not_api_get_shippingmatrix;
  1911.                                 }
  1912.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shippingmatrix')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmatrixController::getAction',  '_format' => 'json',));
  1913.                             }
  1914.                             not_api_get_shippingmatrix:
  1915.                             // api_patch_shippingmatrix
  1916.                             if (preg_match('#^/api/shippingmatrices/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1917.                                 if ('PATCH' !== $canonicalMethod) {
  1918.                                     $allow[] = 'PATCH';
  1919.                                     goto not_api_patch_shippingmatrix;
  1920.                                 }
  1921.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_shippingmatrix')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmatrixController::patchAction',  '_format' => 'json',));
  1922.                             }
  1923.                             not_api_patch_shippingmatrix:
  1924.                             // api_delete_shippingmatrix
  1925.                             if (preg_match('#^/api/shippingmatrices/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1926.                                 if ('DELETE' !== $canonicalMethod) {
  1927.                                     $allow[] = 'DELETE';
  1928.                                     goto not_api_delete_shippingmatrix;
  1929.                                 }
  1930.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_shippingmatrix')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmatrixController::deleteAction',  '_format' => 'json',));
  1931.                             }
  1932.                             not_api_delete_shippingmatrix:
  1933.                         }
  1934.                         elseif (=== strpos($pathinfo'/api/shippingtemplates')) {
  1935.                             // api_get_shippingtemplates
  1936.                             if (preg_match('#^/api/shippingtemplates(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1937.                                 if ('GET' !== $canonicalMethod) {
  1938.                                     $allow[] = 'GET';
  1939.                                     goto not_api_get_shippingtemplates;
  1940.                                 }
  1941.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shippingtemplates')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingtemplateController::cgetAction',  '_format' => 'json',));
  1942.                             }
  1943.                             not_api_get_shippingtemplates:
  1944.                             // api_get_shippingtemplate
  1945.                             if (preg_match('#^/api/shippingtemplates/(?P<shippingTemplate>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1946.                                 if ('GET' !== $canonicalMethod) {
  1947.                                     $allow[] = 'GET';
  1948.                                     goto not_api_get_shippingtemplate;
  1949.                                 }
  1950.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shippingtemplate')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingtemplateController::getAction',  '_format' => 'json',));
  1951.                             }
  1952.                             not_api_get_shippingtemplate:
  1953.                             // api_post_shippingtemplate_preview
  1954.                             if (=== strpos($pathinfo'/api/shippingtemplates/previews') && preg_match('#^/api/shippingtemplates/previews(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1955.                                 if ('POST' !== $canonicalMethod) {
  1956.                                     $allow[] = 'POST';
  1957.                                     goto not_api_post_shippingtemplate_preview;
  1958.                                 }
  1959.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_shippingtemplate_preview')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingtemplateController::postPreviewAction',  '_format' => 'json',));
  1960.                             }
  1961.                             not_api_post_shippingtemplate_preview:
  1962.                             // api_patch_shippingtemplate
  1963.                             if (preg_match('#^/api/shippingtemplates/(?P<shippingTemplate>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1964.                                 if ('PATCH' !== $canonicalMethod) {
  1965.                                     $allow[] = 'PATCH';
  1966.                                     goto not_api_patch_shippingtemplate;
  1967.                                 }
  1968.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_shippingtemplate')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingtemplateController::patchAction',  '_format' => 'json',));
  1969.                             }
  1970.                             not_api_patch_shippingtemplate:
  1971.                         }
  1972.                     }
  1973.                     elseif (=== strpos($pathinfo'/api/shipments')) {
  1974.                         // api_get_shipments
  1975.                         if (preg_match('#^/api/shipments(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1976.                             if ('GET' !== $canonicalMethod) {
  1977.                                 $allow[] = 'GET';
  1978.                                 goto not_api_get_shipments;
  1979.                             }
  1980.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shipments')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShipmentController::cgetAction',  '_format' => 'json',));
  1981.                         }
  1982.                         not_api_get_shipments:
  1983.                         // api_get_shipment
  1984.                         if (preg_match('#^/api/shipments/(?P<shipment>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1985.                             if ('GET' !== $canonicalMethod) {
  1986.                                 $allow[] = 'GET';
  1987.                                 goto not_api_get_shipment;
  1988.                             }
  1989.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shipment')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShipmentController::getAction',  '_format' => 'json',));
  1990.                         }
  1991.                         not_api_get_shipment:
  1992.                         // api_post_shipment
  1993.                         if (preg_match('#^/api/shipments(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  1994.                             if ('POST' !== $canonicalMethod) {
  1995.                                 $allow[] = 'POST';
  1996.                                 goto not_api_post_shipment;
  1997.                             }
  1998.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_shipment')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShipmentController::postAction',  '_format' => 'json',));
  1999.                         }
  2000.                         not_api_post_shipment:
  2001.                         // api_put_shipment_print
  2002.                         if (preg_match('#^/api/shipments/(?P<id>[^/]++)/print(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2003.                             if ('PUT' !== $canonicalMethod) {
  2004.                                 $allow[] = 'PUT';
  2005.                                 goto not_api_put_shipment_print;
  2006.                             }
  2007.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_shipment_print')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShipmentController::putPrintAction',  '_format' => 'json',));
  2008.                         }
  2009.                         not_api_put_shipment_print:
  2010.                         // api_put_shipment_print_labels
  2011.                         if (preg_match('#^/api/shipments/(?P<id>[^/]++)/print/labels(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2012.                             if ('PUT' !== $canonicalMethod) {
  2013.                                 $allow[] = 'PUT';
  2014.                                 goto not_api_put_shipment_print_labels;
  2015.                             }
  2016.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_shipment_print_labels')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShipmentController::putPrintLabelsAction',  '_format' => 'json',));
  2017.                         }
  2018.                         not_api_put_shipment_print_labels:
  2019.                         // api_get_shipment_download_slip
  2020.                         if (preg_match('#^/api/shipments/(?P<id>[^/]++)/download/slip(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2021.                             if ('GET' !== $canonicalMethod) {
  2022.                                 $allow[] = 'GET';
  2023.                                 goto not_api_get_shipment_download_slip;
  2024.                             }
  2025.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shipment_download_slip')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShipmentController::getDownloadSlipAction',  '_format' => 'json',));
  2026.                         }
  2027.                         not_api_get_shipment_download_slip:
  2028.                         // api_get_shipment_download_labels
  2029.                         if (preg_match('#^/api/shipments/(?P<id>[^/]++)/download/labels(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2030.                             if ('GET' !== $canonicalMethod) {
  2031.                                 $allow[] = 'GET';
  2032.                                 goto not_api_get_shipment_download_labels;
  2033.                             }
  2034.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shipment_download_labels')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShipmentController::getDownloadLabelsAction',  '_format' => 'json',));
  2035.                         }
  2036.                         not_api_get_shipment_download_labels:
  2037.                         // api_get_shipment_download_cmr
  2038.                         if (preg_match('#^/api/shipments/(?P<shipment>[^/]++)/download/cmr(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2039.                             if ('GET' !== $canonicalMethod) {
  2040.                                 $allow[] = 'GET';
  2041.                                 goto not_api_get_shipment_download_cmr;
  2042.                             }
  2043.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shipment_download_cmr')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShipmentController::getDownloadCmrAction',  '_format' => 'json',));
  2044.                         }
  2045.                         not_api_get_shipment_download_cmr:
  2046.                         // api_get_shipment_tracking
  2047.                         if (preg_match('#^/api/shipments/(?P<id>[^/]++)/tracking(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2048.                             if ('GET' !== $canonicalMethod) {
  2049.                                 $allow[] = 'GET';
  2050.                                 goto not_api_get_shipment_tracking;
  2051.                             }
  2052.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shipment_tracking')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShipmentController::getTrackingAction',  '_format' => 'json',));
  2053.                         }
  2054.                         not_api_get_shipment_tracking:
  2055.                     }
  2056.                     elseif (=== strpos($pathinfo'/api/shipment-couriers')) {
  2057.                         // api_cget_shipment-couriers
  2058.                         if (preg_match('#^/api/shipment\\-couriers(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2059.                             if ('GET' !== $canonicalMethod) {
  2060.                                 $allow[] = 'GET';
  2061.                                 goto not_api_cget_shipmentcouriers;
  2062.                             }
  2063.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_cget_shipment-couriers')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipment\\ShipmentCourierController::cgetAction',  '_format' => 'json',));
  2064.                         }
  2065.                         not_api_cget_shipmentcouriers:
  2066.                         // api_get_shipment-couriers
  2067.                         if (preg_match('#^/api/shipment\\-couriers/(?P<shipmentCourier>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2068.                             if ('GET' !== $canonicalMethod) {
  2069.                                 $allow[] = 'GET';
  2070.                                 goto not_api_get_shipmentcouriers;
  2071.                             }
  2072.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shipment-couriers')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipment\\ShipmentCourierController::getAction',  '_format' => 'json',));
  2073.                         }
  2074.                         not_api_get_shipmentcouriers:
  2075.                         // api_post_shipment-couriers
  2076.                         if (preg_match('#^/api/shipment\\-couriers(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2077.                             if ('POST' !== $canonicalMethod) {
  2078.                                 $allow[] = 'POST';
  2079.                                 goto not_api_post_shipmentcouriers;
  2080.                             }
  2081.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_shipment-couriers')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipment\\ShipmentCourierController::postAction',  '_format' => 'json',));
  2082.                         }
  2083.                         not_api_post_shipmentcouriers:
  2084.                         // api_patch_shipment-couriers
  2085.                         if (preg_match('#^/api/shipment\\-couriers/(?P<shipmentCourier>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2086.                             if ('PATCH' !== $canonicalMethod) {
  2087.                                 $allow[] = 'PATCH';
  2088.                                 goto not_api_patch_shipmentcouriers;
  2089.                             }
  2090.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_shipment-couriers')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipment\\ShipmentCourierController::patchAction',  '_format' => 'json',));
  2091.                         }
  2092.                         not_api_patch_shipmentcouriers:
  2093.                     }
  2094.                 }
  2095.                 // api_get_status_order
  2096.                 if (=== strpos($pathinfo'/api/status/order') && preg_match('#^/api/status/order(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2097.                     if ('GET' !== $canonicalMethod) {
  2098.                         $allow[] = 'GET';
  2099.                         goto not_api_get_status_order;
  2100.                     }
  2101.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_status_order')), array (  '_controller' => 'WebserviceBundle\\Controller\\SystemStatusController::getStatusOrderAction',  '_format' => 'json',));
  2102.                 }
  2103.                 not_api_get_status_order:
  2104.                 // api_get_status_system
  2105.                 if (=== strpos($pathinfo'/api/status/system') && preg_match('#^/api/status/system(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2106.                     if ('GET' !== $canonicalMethod) {
  2107.                         $allow[] = 'GET';
  2108.                         goto not_api_get_status_system;
  2109.                     }
  2110.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_status_system')), array (  '_controller' => 'WebserviceBundle\\Controller\\SystemStatusController::getStatusSystemAction',  '_format' => 'json',));
  2111.                 }
  2112.                 not_api_get_status_system:
  2113.                 // post_serialnumber
  2114.                 if (=== strpos($pathinfo'/api/serialnumbers') && preg_match('#^/api/serialnumbers(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2115.                     if ('POST' !== $canonicalMethod) {
  2116.                         $allow[] = 'POST';
  2117.                         goto not_post_serialnumber;
  2118.                     }
  2119.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_serialnumber')), array (  '_controller' => 'WebserviceBundle\\Controller\\SerialnumberController::postAction',  '_format' => 'json',));
  2120.                 }
  2121.                 not_post_serialnumber:
  2122.             }
  2123.             elseif (=== strpos($pathinfo'/api/c')) {
  2124.                 if (=== strpos($pathinfo'/api/customers')) {
  2125.                     // api_get_customer_prices
  2126.                     if (preg_match('#^/api/customers/(?P<customer>[^/]++)/prices(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2127.                         if ('GET' !== $canonicalMethod) {
  2128.                             $allow[] = 'GET';
  2129.                             goto not_api_get_customer_prices;
  2130.                         }
  2131.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_customer_prices')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerPriceController::cgetAction',  '_format' => 'json',));
  2132.                     }
  2133.                     not_api_get_customer_prices:
  2134.                     // api_get_customer_price
  2135.                     if (preg_match('#^/api/customers/(?P<customerId>[^/]++)/prices/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2136.                         if ('GET' !== $canonicalMethod) {
  2137.                             $allow[] = 'GET';
  2138.                             goto not_api_get_customer_price;
  2139.                         }
  2140.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_customer_price')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerPriceController::getAction',  '_format' => 'json',));
  2141.                     }
  2142.                     not_api_get_customer_price:
  2143.                     // api_post_customer_price
  2144.                     if (preg_match('#^/api/customers/(?P<customerId>[^/]++)/prices(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2145.                         if ('POST' !== $canonicalMethod) {
  2146.                             $allow[] = 'POST';
  2147.                             goto not_api_post_customer_price;
  2148.                         }
  2149.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_customer_price')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerPriceController::postAction',  '_format' => 'json',));
  2150.                     }
  2151.                     not_api_post_customer_price:
  2152.                     // api_patch_customer_price
  2153.                     if (preg_match('#^/api/customers/(?P<customerId>[^/]++)/prices/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2154.                         if ('PATCH' !== $canonicalMethod) {
  2155.                             $allow[] = 'PATCH';
  2156.                             goto not_api_patch_customer_price;
  2157.                         }
  2158.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_customer_price')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerPriceController::patchAction',  '_format' => 'json',));
  2159.                     }
  2160.                     not_api_patch_customer_price:
  2161.                 }
  2162.                 elseif (=== strpos($pathinfo'/api/customer-groups')) {
  2163.                     // api_cget_customer-groups
  2164.                     if (preg_match('#^/api/customer\\-groups(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2165.                         if ('GET' !== $canonicalMethod) {
  2166.                             $allow[] = 'GET';
  2167.                             goto not_api_cget_customergroups;
  2168.                         }
  2169.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_cget_customer-groups')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerGroupController::cgetAction',  '_format' => 'json',));
  2170.                     }
  2171.                     not_api_cget_customergroups:
  2172.                     // api_get_customer-groups
  2173.                     if (preg_match('#^/api/customer\\-groups/(?P<customerGroup>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2174.                         if ('GET' !== $canonicalMethod) {
  2175.                             $allow[] = 'GET';
  2176.                             goto not_api_get_customergroups;
  2177.                         }
  2178.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_customer-groups')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerGroupController::getAction',  '_format' => 'json',));
  2179.                     }
  2180.                     not_api_get_customergroups:
  2181.                     // api_post_customer-groups
  2182.                     if (preg_match('#^/api/customer\\-groups(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2183.                         if ('POST' !== $canonicalMethod) {
  2184.                             $allow[] = 'POST';
  2185.                             goto not_api_post_customergroups;
  2186.                         }
  2187.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_customer-groups')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerGroupController::postAction',  '_format' => 'json',));
  2188.                     }
  2189.                     not_api_post_customergroups:
  2190.                     // api_patch_customer-groups
  2191.                     if (preg_match('#^/api/customer\\-groups/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2192.                         if ('PATCH' !== $canonicalMethod) {
  2193.                             $allow[] = 'PATCH';
  2194.                             goto not_api_patch_customergroups;
  2195.                         }
  2196.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_customer-groups')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerGroupController::patchAction',  '_format' => 'json',));
  2197.                     }
  2198.                     not_api_patch_customergroups:
  2199.                     // api_delete_customer-groups
  2200.                     if (preg_match('#^/api/customer\\-groups/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2201.                         if ('DELETE' !== $canonicalMethod) {
  2202.                             $allow[] = 'DELETE';
  2203.                             goto not_api_delete_customergroups;
  2204.                         }
  2205.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_customer-groups')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerGroupController::deleteAction',  '_format' => 'json',));
  2206.                     }
  2207.                     not_api_delete_customergroups:
  2208.                 }
  2209.                 elseif (=== strpos($pathinfo'/api/collotypes')) {
  2210.                     if (=== strpos($pathinfo'/api/collotypes/import')) {
  2211.                         // api_get_collotype_import
  2212.                         if (preg_match('#^/api/collotypes/import(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2213.                             if ('GET' !== $canonicalMethod) {
  2214.                                 $allow[] = 'GET';
  2215.                                 goto not_api_get_collotype_import;
  2216.                             }
  2217.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_collotype_import')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\CollotypeController::getImportAction',  '_format' => 'json',));
  2218.                         }
  2219.                         not_api_get_collotype_import:
  2220.                         // api_post_collotype_import
  2221.                         if (=== strpos($pathinfo'/api/collotypes/imports') && preg_match('#^/api/collotypes/imports(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2222.                             if ('POST' !== $canonicalMethod) {
  2223.                                 $allow[] = 'POST';
  2224.                                 goto not_api_post_collotype_import;
  2225.                             }
  2226.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_collotype_import')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\CollotypeController::postImportAction',  '_format' => 'json',));
  2227.                         }
  2228.                         not_api_post_collotype_import:
  2229.                     }
  2230.                     // api_get_collotypes
  2231.                     if (preg_match('#^/api/collotypes(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2232.                         if ('GET' !== $canonicalMethod) {
  2233.                             $allow[] = 'GET';
  2234.                             goto not_api_get_collotypes;
  2235.                         }
  2236.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_collotypes')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\CollotypeController::cgetAction',  '_format' => 'json',));
  2237.                     }
  2238.                     not_api_get_collotypes:
  2239.                     // api_get_collotype
  2240.                     if (preg_match('#^/api/collotypes/(?P<collotype>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2241.                         if ('GET' !== $canonicalMethod) {
  2242.                             $allow[] = 'GET';
  2243.                             goto not_api_get_collotype;
  2244.                         }
  2245.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_collotype')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\CollotypeController::getAction',  '_format' => 'json',));
  2246.                     }
  2247.                     not_api_get_collotype:
  2248.                 }
  2249.                 elseif (=== strpos($pathinfo'/api/countries')) {
  2250.                     // api_get_countries
  2251.                     if (preg_match('#^/api/countries(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2252.                         if ('GET' !== $canonicalMethod) {
  2253.                             $allow[] = 'GET';
  2254.                             goto not_api_get_countries;
  2255.                         }
  2256.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_countries')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Country\\CountryController::cgetAction',  '_format' => 'json',));
  2257.                     }
  2258.                     not_api_get_countries:
  2259.                     // api_get_country
  2260.                     if (preg_match('#^/api/countries/(?P<country>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2261.                         if ('GET' !== $canonicalMethod) {
  2262.                             $allow[] = 'GET';
  2263.                             goto not_api_get_country;
  2264.                         }
  2265.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_country')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Country\\CountryController::getAction',  '_format' => 'json',));
  2266.                     }
  2267.                     not_api_get_country:
  2268.                 }
  2269.             }
  2270.             elseif (=== strpos($pathinfo'/api/p')) {
  2271.                 if (=== strpos($pathinfo'/api/pa')) {
  2272.                     // api_get_paazlshipment_options
  2273.                     if (=== strpos($pathinfo'/api/paazlshipment/options') && preg_match('#^/api/paazlshipment/options(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2274.                         if ('GET' !== $canonicalMethod) {
  2275.                             $allow[] = 'GET';
  2276.                             goto not_api_get_paazlshipment_options;
  2277.                         }
  2278.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_paazlshipment_options')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\PaazlShipmentOptionController::cgetAction',  '_format' => 'json',));
  2279.                     }
  2280.                     not_api_get_paazlshipment_options:
  2281.                     if (=== strpos($pathinfo'/api/paazlshipments')) {
  2282.                         // api_get_paazlshipment_option
  2283.                         if (preg_match('#^/api/paazlshipments/(?P<paazlShipmentOption>[^/]++)/option(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2284.                             if ('GET' !== $canonicalMethod) {
  2285.                                 $allow[] = 'GET';
  2286.                                 goto not_api_get_paazlshipment_option;
  2287.                             }
  2288.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_paazlshipment_option')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\PaazlShipmentOptionController::getAction',  '_format' => 'json',));
  2289.                         }
  2290.                         not_api_get_paazlshipment_option:
  2291.                         // api_put_paazlshipment_option_automatic
  2292.                         if (preg_match('#^/api/paazlshipments/(?P<order>[^/]++)/option/automatic(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2293.                             if ('PUT' !== $canonicalMethod) {
  2294.                                 $allow[] = 'PUT';
  2295.                                 goto not_api_put_paazlshipment_option_automatic;
  2296.                             }
  2297.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_paazlshipment_option_automatic')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\PaazlShipmentOptionController::putAutomaticAction',  '_format' => 'json',));
  2298.                         }
  2299.                         not_api_put_paazlshipment_option_automatic:
  2300.                     }
  2301.                     elseif (=== strpos($pathinfo'/api/packingtables')) {
  2302.                         // api_get_packingtables
  2303.                         if (preg_match('#^/api/packingtables(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2304.                             if ('GET' !== $canonicalMethod) {
  2305.                                 $allow[] = 'GET';
  2306.                                 goto not_api_get_packingtables;
  2307.                             }
  2308.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_packingtables')), array (  '_controller' => 'WebserviceBundle\\Controller\\PackingtableController::cgetAction',  '_format' => 'json',));
  2309.                         }
  2310.                         not_api_get_packingtables:
  2311.                         // api_post_packingtable
  2312.                         if (preg_match('#^/api/packingtables(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2313.                             if ('POST' !== $canonicalMethod) {
  2314.                                 $allow[] = 'POST';
  2315.                                 goto not_api_post_packingtable;
  2316.                             }
  2317.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_packingtable')), array (  '_controller' => 'WebserviceBundle\\Controller\\PackingtableController::postAction',  '_format' => 'json',));
  2318.                         }
  2319.                         not_api_post_packingtable:
  2320.                         // api_get_packingtable
  2321.                         if (preg_match('#^/api/packingtables/(?P<packingtable>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2322.                             if ('GET' !== $canonicalMethod) {
  2323.                                 $allow[] = 'GET';
  2324.                                 goto not_api_get_packingtable;
  2325.                             }
  2326.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_packingtable')), array (  '_controller' => 'WebserviceBundle\\Controller\\PackingtableController::getAction',  '_format' => 'json',));
  2327.                         }
  2328.                         not_api_get_packingtable:
  2329.                         // api_get_packingtable_ping
  2330.                         if (preg_match('#^/api/packingtables/(?P<id>[^/]++)/ping(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2331.                             if ('GET' !== $canonicalMethod) {
  2332.                                 $allow[] = 'GET';
  2333.                                 goto not_api_get_packingtable_ping;
  2334.                             }
  2335.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_packingtable_ping')), array (  '_controller' => 'WebserviceBundle\\Controller\\PackingtableController::getPingAction',  '_format' => 'json',));
  2336.                         }
  2337.                         not_api_get_packingtable_ping:
  2338.                         // api_get_packingtable_order
  2339.                         if (preg_match('#^/api/packingtables/(?P<order>[^/]++)/order(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2340.                             if ('GET' !== $canonicalMethod) {
  2341.                                 $allow[] = 'GET';
  2342.                                 goto not_api_get_packingtable_order;
  2343.                             }
  2344.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_packingtable_order')), array (  '_controller' => 'WebserviceBundle\\Controller\\PackingtableController::getOrderAction',  '_format' => 'json',));
  2345.                         }
  2346.                         not_api_get_packingtable_order:
  2347.                     }
  2348.                 }
  2349.                 elseif (=== strpos($pathinfo'/api/picklists')) {
  2350.                     // api_get_picklists
  2351.                     if (preg_match('#^/api/picklists(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2352.                         if ('GET' !== $canonicalMethod) {
  2353.                             $allow[] = 'GET';
  2354.                             goto not_api_get_picklists;
  2355.                         }
  2356.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_picklists')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::cgetAction',  '_format' => 'json',));
  2357.                     }
  2358.                     not_api_get_picklists:
  2359.                     // api_get_picklist
  2360.                     if (preg_match('#^/api/picklists/(?P<pickList>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2361.                         if ('GET' !== $canonicalMethod) {
  2362.                             $allow[] = 'GET';
  2363.                             goto not_api_get_picklist;
  2364.                         }
  2365.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_picklist')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::getAction',  '_format' => 'json',));
  2366.                     }
  2367.                     not_api_get_picklist:
  2368.                     // api_patch_picklist
  2369.                     if (preg_match('#^/api/picklists/(?P<pickList>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2370.                         if ('PATCH' !== $canonicalMethod) {
  2371.                             $allow[] = 'PATCH';
  2372.                             goto not_api_patch_picklist;
  2373.                         }
  2374.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_picklist')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::patchAction',  '_format' => 'json',));
  2375.                     }
  2376.                     not_api_patch_picklist:
  2377.                     // api_put_picklist_unassign
  2378.                     if (preg_match('#^/api/picklists/(?P<id>[^/]++)/unassign(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2379.                         if ('PUT' !== $canonicalMethod) {
  2380.                             $allow[] = 'PUT';
  2381.                             goto not_api_put_picklist_unassign;
  2382.                         }
  2383.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_picklist_unassign')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::putUnassignAction',  '_format' => 'json',));
  2384.                     }
  2385.                     not_api_put_picklist_unassign:
  2386.                     // api_put_picklist_cancel
  2387.                     if (preg_match('#^/api/picklists/(?P<id>[^/]++)/cancel(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2388.                         if ('PUT' !== $canonicalMethod) {
  2389.                             $allow[] = 'PUT';
  2390.                             goto not_api_put_picklist_cancel;
  2391.                         }
  2392.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_picklist_cancel')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::putCancelAction',  '_format' => 'json',));
  2393.                     }
  2394.                     not_api_put_picklist_cancel:
  2395.                     // api_put_picklist_problem
  2396.                     if (preg_match('#^/api/picklists/(?P<id>[^/]++)/problem(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2397.                         if ('PUT' !== $canonicalMethod) {
  2398.                             $allow[] = 'PUT';
  2399.                             goto not_api_put_picklist_problem;
  2400.                         }
  2401.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_picklist_problem')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::putProblemAction',  '_format' => 'json',));
  2402.                     }
  2403.                     not_api_put_picklist_problem:
  2404.                     // api_put_picklist_start
  2405.                     if (preg_match('#^/api/picklists/(?P<pickList>[^/]++)/start(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2406.                         if ('PUT' !== $canonicalMethod) {
  2407.                             $allow[] = 'PUT';
  2408.                             goto not_api_put_picklist_start;
  2409.                         }
  2410.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_picklist_start')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::putStartAction',  '_format' => 'json',));
  2411.                     }
  2412.                     not_api_put_picklist_start:
  2413.                     // api_post_picklist_find_table
  2414.                     if (preg_match('#^/api/picklists/(?P<md5NotiveString>[^/]++)/find_table(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2415.                         if ('POST' !== $canonicalMethod) {
  2416.                             $allow[] = 'POST';
  2417.                             goto not_api_post_picklist_find_table;
  2418.                         }
  2419.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_picklist_find_table')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::postFindTableAction',  '_format' => 'json',));
  2420.                     }
  2421.                     not_api_post_picklist_find_table:
  2422.                     // api_put_picklist_print
  2423.                     if (preg_match('#^/api/picklists/(?P<id>[^/]++)/print(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2424.                         if ('PUT' !== $canonicalMethod) {
  2425.                             $allow[] = 'PUT';
  2426.                             goto not_api_put_picklist_print;
  2427.                         }
  2428.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_picklist_print')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::putPrintAction',  '_format' => 'json',));
  2429.                     }
  2430.                     not_api_put_picklist_print:
  2431.                     // api_get_picklist_download
  2432.                     if (preg_match('#^/api/picklists/(?P<id>[^/]++)/download(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2433.                         if ('GET' !== $canonicalMethod) {
  2434.                             $allow[] = 'GET';
  2435.                             goto not_api_get_picklist_download;
  2436.                         }
  2437.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_picklist_download')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::getDownloadAction',  '_format' => 'json',));
  2438.                     }
  2439.                     not_api_get_picklist_download:
  2440.                     // api_get_picklist_download_packing_slips
  2441.                     if (preg_match('#^/api/picklists/(?P<pickList>[^/]++)/download/packing/slips(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2442.                         if ('GET' !== $canonicalMethod) {
  2443.                             $allow[] = 'GET';
  2444.                             goto not_api_get_picklist_download_packing_slips;
  2445.                         }
  2446.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_picklist_download_packing_slips')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::getDownloadPackingSlipsAction',  '_format' => 'json',));
  2447.                     }
  2448.                     not_api_get_picklist_download_packing_slips:
  2449.                     // api_get_picklist_download_cmr
  2450.                     if (preg_match('#^/api/picklists/(?P<pickList>[^/]++)/download/cmr(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2451.                         if ('GET' !== $canonicalMethod) {
  2452.                             $allow[] = 'GET';
  2453.                             goto not_api_get_picklist_download_cmr;
  2454.                         }
  2455.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_picklist_download_cmr')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::getDownloadCmrAction',  '_format' => 'json',));
  2456.                     }
  2457.                     not_api_get_picklist_download_cmr:
  2458.                 }
  2459.                 elseif (=== strpos($pathinfo'/api/pr')) {
  2460.                     // api_get_printers
  2461.                     if (=== strpos($pathinfo'/api/printers') && preg_match('#^/api/printers(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2462.                         if ('GET' !== $canonicalMethod) {
  2463.                             $allow[] = 'GET';
  2464.                             goto not_api_get_printers;
  2465.                         }
  2466.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_printers')), array (  '_controller' => 'WebserviceBundle\\Controller\\PrinterController::cgetAction',  '_format' => 'json',));
  2467.                     }
  2468.                     not_api_get_printers:
  2469.                     if (=== strpos($pathinfo'/api/problem_picklists')) {
  2470.                         // api_get_problem_picklist
  2471.                         if (preg_match('#^/api/problem_picklists/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2472.                             if ('GET' !== $canonicalMethod) {
  2473.                                 $allow[] = 'GET';
  2474.                                 goto not_api_get_problem_picklist;
  2475.                             }
  2476.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_problem_picklist')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\ProblemPicklistController::getAction',  '_format' => 'json',));
  2477.                         }
  2478.                         not_api_get_problem_picklist:
  2479.                         // api_put_problem_picklist_start
  2480.                         if (preg_match('#^/api/problem_picklists/(?P<id>[^/]++)/start(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2481.                             if ('PUT' !== $canonicalMethod) {
  2482.                                 $allow[] = 'PUT';
  2483.                                 goto not_api_put_problem_picklist_start;
  2484.                             }
  2485.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_problem_picklist_start')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\ProblemPicklistController::putStartAction',  '_format' => 'json',));
  2486.                         }
  2487.                         not_api_put_problem_picklist_start:
  2488.                         // api_post_problem_picklist_find_table
  2489.                         if (preg_match('#^/api/problem_picklists/(?P<id>[^/]++)/find_table(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2490.                             if ('POST' !== $canonicalMethod) {
  2491.                                 $allow[] = 'POST';
  2492.                                 goto not_api_post_problem_picklist_find_table;
  2493.                             }
  2494.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_problem_picklist_find_table')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\ProblemPicklistController::postFindTableAction',  '_format' => 'json',));
  2495.                         }
  2496.                         not_api_post_problem_picklist_find_table:
  2497.                     }
  2498.                     elseif (=== strpos($pathinfo'/api/production')) {
  2499.                         if (=== strpos($pathinfo'/api/productionorders')) {
  2500.                             // api_complete_productionorder
  2501.                             if (preg_match('#^/api/productionorders/(?P<productionOrder>[^/]++)/complete(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2502.                                 if ('PATCH' !== $canonicalMethod) {
  2503.                                     $allow[] = 'PATCH';
  2504.                                     goto not_api_complete_productionorder;
  2505.                                 }
  2506.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_complete_productionorder')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionorderController::completeAction',  '_format' => 'json',));
  2507.                             }
  2508.                             not_api_complete_productionorder:
  2509.                             // api_get_productionorders
  2510.                             if (preg_match('#^/api/productionorders(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2511.                                 if ('GET' !== $canonicalMethod) {
  2512.                                     $allow[] = 'GET';
  2513.                                     goto not_api_get_productionorders;
  2514.                                 }
  2515.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_productionorders')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionorderController::cgetAction',  '_format' => 'json',));
  2516.                             }
  2517.                             not_api_get_productionorders:
  2518.                             // api_get_productionorder
  2519.                             if (preg_match('#^/api/productionorders/(?P<productionOrder>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2520.                                 if ('GET' !== $canonicalMethod) {
  2521.                                     $allow[] = 'GET';
  2522.                                     goto not_api_get_productionorder;
  2523.                                 }
  2524.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_productionorder')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionorderController::getAction',  '_format' => 'json',));
  2525.                             }
  2526.                             not_api_get_productionorder:
  2527.                             // api_post_productionorder
  2528.                             if (preg_match('#^/api/productionorders(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2529.                                 if ('POST' !== $canonicalMethod) {
  2530.                                     $allow[] = 'POST';
  2531.                                     goto not_api_post_productionorder;
  2532.                                 }
  2533.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_productionorder')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionorderController::postAction',  '_format' => 'json',));
  2534.                             }
  2535.                             not_api_post_productionorder:
  2536.                             // api_patch_productionorder
  2537.                             if (preg_match('#^/api/productionorders/(?P<productionOrder>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2538.                                 if ('PATCH' !== $canonicalMethod) {
  2539.                                     $allow[] = 'PATCH';
  2540.                                     goto not_api_patch_productionorder;
  2541.                                 }
  2542.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_productionorder')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionorderController::patchAction',  '_format' => 'json',));
  2543.                             }
  2544.                             not_api_patch_productionorder:
  2545.                             // api_put_productionorder_transfer
  2546.                             if (preg_match('#^/api/productionorders/(?P<productionOrder>[^/]++)/transfer(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2547.                                 if ('PUT' !== $canonicalMethod) {
  2548.                                     $allow[] = 'PUT';
  2549.                                     goto not_api_put_productionorder_transfer;
  2550.                                 }
  2551.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_productionorder_transfer')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionorderController::putTransferAction',  '_format' => 'json',));
  2552.                             }
  2553.                             not_api_put_productionorder_transfer:
  2554.                             // api_post_productionorder_print
  2555.                             if (preg_match('#^/api/productionorders/(?P<productionOrder>[^/]++)/prints(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2556.                                 if ('POST' !== $canonicalMethod) {
  2557.                                     $allow[] = 'POST';
  2558.                                     goto not_api_post_productionorder_print;
  2559.                                 }
  2560.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_productionorder_print')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionorderController::postPrintAction',  '_format' => 'json',));
  2561.                             }
  2562.                             not_api_post_productionorder_print:
  2563.                             // api_get_productionorder_locations
  2564.                             if (preg_match('#^/api/productionorders/(?P<productionOrder>[^/]++)/locations(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2565.                                 if ('GET' !== $canonicalMethod) {
  2566.                                     $allow[] = 'GET';
  2567.                                     goto not_api_get_productionorder_locations;
  2568.                                 }
  2569.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_productionorder_locations')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionorderController::getLocationsAction',  '_format' => 'json',));
  2570.                             }
  2571.                             not_api_get_productionorder_locations:
  2572.                             // api_put_productionorder_cancel
  2573.                             if (preg_match('#^/api/productionorders/(?P<productionOrder>[^/]++)/cancel(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2574.                                 if ('PUT' !== $canonicalMethod) {
  2575.                                     $allow[] = 'PUT';
  2576.                                     goto not_api_put_productionorder_cancel;
  2577.                                 }
  2578.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_productionorder_cancel')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionorderController::putCancelAction',  '_format' => 'json',));
  2579.                             }
  2580.                             not_api_put_productionorder_cancel:
  2581.                             // api_get_productionorder_barcode
  2582.                             if (preg_match('#^/api/productionorders/(?P<productionOrder>[^/]++)/barcode(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2583.                                 if ('GET' !== $canonicalMethod) {
  2584.                                     $allow[] = 'GET';
  2585.                                     goto not_api_get_productionorder_barcode;
  2586.                                 }
  2587.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_productionorder_barcode')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionorderController::getBarcodeAction',  '_format' => 'json',));
  2588.                             }
  2589.                             not_api_get_productionorder_barcode:
  2590.                         }
  2591.                         // api_put_productionorder_start
  2592.                         if (=== strpos($pathinfo'/api/productionOrders') && preg_match('#^/api/productionOrders/(?P<id>[^/]++)/start(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2593.                             if ('PUT' !== $canonicalMethod) {
  2594.                                 $allow[] = 'PUT';
  2595.                                 goto not_api_put_productionorder_start;
  2596.                             }
  2597.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_productionorder_start')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionorderController::putStartAction',  '_format' => 'json',));
  2598.                         }
  2599.                         not_api_put_productionorder_start:
  2600.                         if (=== strpos($pathinfo'/api/productionissues')) {
  2601.                             // api_get_productionissue
  2602.                             if (preg_match('#^/api/productionissues/(?P<productionIssue>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2603.                                 if ('GET' !== $canonicalMethod) {
  2604.                                     $allow[] = 'GET';
  2605.                                     goto not_api_get_productionissue;
  2606.                                 }
  2607.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_productionissue')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionissueController::getAction',  '_format' => 'json',));
  2608.                             }
  2609.                             not_api_get_productionissue:
  2610.                             // api_post_productionissue
  2611.                             if (preg_match('#^/api/productionissues(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2612.                                 if ('POST' !== $canonicalMethod) {
  2613.                                     $allow[] = 'POST';
  2614.                                     goto not_api_post_productionissue;
  2615.                                 }
  2616.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_productionissue')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionissueController::postAction',  '_format' => 'json',));
  2617.                             }
  2618.                             not_api_post_productionissue:
  2619.                             // api_patch_productionissue
  2620.                             if (preg_match('#^/api/productionissues/(?P<productionIssue>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2621.                                 if ('PATCH' !== $canonicalMethod) {
  2622.                                     $allow[] = 'PATCH';
  2623.                                     goto not_api_patch_productionissue;
  2624.                                 }
  2625.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_productionissue')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionissueController::patchAction',  '_format' => 'json',));
  2626.                             }
  2627.                             not_api_patch_productionissue:
  2628.                             // api_put_productionissue_cancel
  2629.                             if (preg_match('#^/api/productionissues/(?P<productionIssue>[^/]++)/cancel(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2630.                                 if ('PUT' !== $canonicalMethod) {
  2631.                                     $allow[] = 'PUT';
  2632.                                     goto not_api_put_productionissue_cancel;
  2633.                                 }
  2634.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_productionissue_cancel')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionissueController::putCancelAction',  '_format' => 'json',));
  2635.                             }
  2636.                             not_api_put_productionissue_cancel:
  2637.                             // api_put_productionissue_transfer
  2638.                             if (preg_match('#^/api/productionissues/(?P<productionIssue>[^/]++)/transfer(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2639.                                 if ('PUT' !== $canonicalMethod) {
  2640.                                     $allow[] = 'PUT';
  2641.                                     goto not_api_put_productionissue_transfer;
  2642.                                 }
  2643.                                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_productionissue_transfer')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionissueController::putTransferAction',  '_format' => 'json',));
  2644.                             }
  2645.                             not_api_put_productionissue_transfer:
  2646.                         }
  2647.                     }
  2648.                 }
  2649.                 elseif (=== strpos($pathinfo'/api/portal')) {
  2650.                     // api_portal_post_article
  2651.                     if (=== strpos($pathinfo'/api/portal/articles') && preg_match('#^/api/portal/articles(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2652.                         if ('POST' !== $canonicalMethod) {
  2653.                             $allow[] = 'POST';
  2654.                             goto not_api_portal_post_article;
  2655.                         }
  2656.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_portal_post_article')), array (  '_controller' => 'WebserviceBundle\\Controller\\Portal\\ArticleController::postAction',  '_format' => 'json',));
  2657.                     }
  2658.                     not_api_portal_post_article:
  2659.                     // api_portal_post_inbound
  2660.                     if (=== strpos($pathinfo'/api/portal/inbounds') && preg_match('#^/api/portal/inbounds(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2661.                         if ('POST' !== $canonicalMethod) {
  2662.                             $allow[] = 'POST';
  2663.                             goto not_api_portal_post_inbound;
  2664.                         }
  2665.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_portal_post_inbound')), array (  '_controller' => 'WebserviceBundle\\Controller\\Portal\\InboundController::postAction',  '_format' => 'json',));
  2666.                     }
  2667.                     not_api_portal_post_inbound:
  2668.                     if (=== strpos($pathinfo'/api/portal/orders')) {
  2669.                         // api_portal_post_order
  2670.                         if (preg_match('#^/api/portal/orders(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2671.                             if ('POST' !== $canonicalMethod) {
  2672.                                 $allow[] = 'POST';
  2673.                                 goto not_api_portal_post_order;
  2674.                             }
  2675.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_portal_post_order')), array (  '_controller' => 'WebserviceBundle\\Controller\\Portal\\OrderController::postAction',  '_format' => 'json',));
  2676.                         }
  2677.                         not_api_portal_post_order:
  2678.                         // api_portal_put_order
  2679.                         if (preg_match('#^/api/portal/orders/(?P<order>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2680.                             if ('PUT' !== $canonicalMethod) {
  2681.                                 $allow[] = 'PUT';
  2682.                                 goto not_api_portal_put_order;
  2683.                             }
  2684.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_portal_put_order')), array (  '_controller' => 'WebserviceBundle\\Controller\\Portal\\OrderController::putAction',  '_format' => 'json',));
  2685.                         }
  2686.                         not_api_portal_put_order:
  2687.                         // api_portal_post_order_shipped
  2688.                         if (=== strpos($pathinfo'/api/portal/orders/shipped') && preg_match('#^/api/portal/orders/shipped(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2689.                             if ('POST' !== $canonicalMethod) {
  2690.                                 $allow[] = 'POST';
  2691.                                 goto not_api_portal_post_order_shipped;
  2692.                             }
  2693.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_portal_post_order_shipped')), array (  '_controller' => 'WebserviceBundle\\Controller\\Portal\\OrderController::postShippedAction',  '_format' => 'json',));
  2694.                         }
  2695.                         not_api_portal_post_order_shipped:
  2696.                     }
  2697.                     // api_portal_get_order_shipped
  2698.                     if (=== strpos($pathinfo'/api/portal/order/shipped') && preg_match('#^/api/portal/order/shipped(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2699.                         if ('GET' !== $canonicalMethod) {
  2700.                             $allow[] = 'GET';
  2701.                             goto not_api_portal_get_order_shipped;
  2702.                         }
  2703.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_portal_get_order_shipped')), array (  '_controller' => 'WebserviceBundle\\Controller\\Portal\\OrderController::getShippedAction',  '_format' => 'json',));
  2704.                     }
  2705.                     not_api_portal_get_order_shipped:
  2706.                     // api_portal_get_order_trackingportal_tracking_get
  2707.                     if (=== strpos($pathinfo'/api/portal/tracking') && preg_match('#^/api/portal/tracking/(?P<reference>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2708.                         if ('GET' !== $canonicalMethod) {
  2709.                             $allow[] = 'GET';
  2710.                             goto not_api_portal_get_order_trackingportal_tracking_get;
  2711.                         }
  2712.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_portal_get_order_trackingportal_tracking_get')), array (  '_controller' => 'WebserviceBundle\\Controller\\Portal\\OrderController::getTrackingAction',  '_format' => 'json',));
  2713.                     }
  2714.                     not_api_portal_get_order_trackingportal_tracking_get:
  2715.                 }
  2716.             }
  2717.             elseif (=== strpos($pathinfo'/api/l')) {
  2718.                 // api_get_location_types
  2719.                 if (=== strpos($pathinfo'/api/location/types') && preg_match('#^/api/location/types(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2720.                     if ('GET' !== $canonicalMethod) {
  2721.                         $allow[] = 'GET';
  2722.                         goto not_api_get_location_types;
  2723.                     }
  2724.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_location_types')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationTypeController::cgetAction',  '_format' => 'json',));
  2725.                 }
  2726.                 not_api_get_location_types:
  2727.                 // api_get_languages
  2728.                 if (=== strpos($pathinfo'/api/languages') && preg_match('#^/api/languages(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2729.                     if ('GET' !== $canonicalMethod) {
  2730.                         $allow[] = 'GET';
  2731.                         goto not_api_get_languages;
  2732.                     }
  2733.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_languages')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\LanguageController::cgetAction',  '_format' => 'json',));
  2734.                 }
  2735.                 not_api_get_languages:
  2736.                 if (=== strpos($pathinfo'/api/labels')) {
  2737.                     // api_post_label_locations
  2738.                     if (=== strpos($pathinfo'/api/labels/locations') && preg_match('#^/api/labels/locations(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2739.                         if ('POST' !== $canonicalMethod) {
  2740.                             $allow[] = 'POST';
  2741.                             goto not_api_post_label_locations;
  2742.                         }
  2743.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_label_locations')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Label\\LabelController::postLocationsAction',  '_format' => 'json',));
  2744.                     }
  2745.                     not_api_post_label_locations:
  2746.                     if (=== strpos($pathinfo'/api/labels/location-bobbins')) {
  2747.                         // api_post_label_location_bobbins
  2748.                         if (preg_match('#^/api/labels/location\\-bobbins(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2749.                             if ('POST' !== $canonicalMethod) {
  2750.                                 $allow[] = 'POST';
  2751.                                 goto not_api_post_label_location_bobbins;
  2752.                             }
  2753.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_label_location_bobbins')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Label\\LabelController::postLocationBobbinsAction',  '_format' => 'json',));
  2754.                         }
  2755.                         not_api_post_label_location_bobbins:
  2756.                         // api_post_label_location_bobbins_location
  2757.                         if (=== strpos($pathinfo'/api/labels/location-bobbins-location') && preg_match('#^/api/labels/location\\-bobbins\\-location(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2758.                             if ('POST' !== $canonicalMethod) {
  2759.                                 $allow[] = 'POST';
  2760.                                 goto not_api_post_label_location_bobbins_location;
  2761.                             }
  2762.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_label_location_bobbins_location')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Label\\LabelController::postLocationBobbinsLocationAction',  '_format' => 'json',));
  2763.                         }
  2764.                         not_api_post_label_location_bobbins_location:
  2765.                         // api_post_label_location_bobbins_bobbin
  2766.                         if (=== strpos($pathinfo'/api/labels/location-bobbins-bobbin') && preg_match('#^/api/labels/location\\-bobbins\\-bobbin(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2767.                             if ('POST' !== $canonicalMethod) {
  2768.                                 $allow[] = 'POST';
  2769.                                 goto not_api_post_label_location_bobbins_bobbin;
  2770.                             }
  2771.                             return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_label_location_bobbins_bobbin')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Label\\LabelController::postLocationBobbinsBobbinAction',  '_format' => 'json',));
  2772.                         }
  2773.                         not_api_post_label_location_bobbins_bobbin:
  2774.                     }
  2775.                     // api_post_label_bobbin
  2776.                     if (=== strpos($pathinfo'/api/labels/bobbin') && preg_match('#^/api/labels/bobbin(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2777.                         if ('POST' !== $canonicalMethod) {
  2778.                             $allow[] = 'POST';
  2779.                             goto not_api_post_label_bobbin;
  2780.                         }
  2781.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_label_bobbin')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Label\\LabelController::postBobbinAction',  '_format' => 'json',));
  2782.                     }
  2783.                     not_api_post_label_bobbin:
  2784.                 }
  2785.             }
  2786.             elseif (=== strpos($pathinfo'/api/fillingtypes')) {
  2787.                 if (=== strpos($pathinfo'/api/fillingtypes/import')) {
  2788.                     // api_get_fillingtype_import
  2789.                     if (preg_match('#^/api/fillingtypes/import(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2790.                         if ('GET' !== $canonicalMethod) {
  2791.                             $allow[] = 'GET';
  2792.                             goto not_api_get_fillingtype_import;
  2793.                         }
  2794.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_fillingtype_import')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\FillingtypeController::getImportAction',  '_format' => 'json',));
  2795.                     }
  2796.                     not_api_get_fillingtype_import:
  2797.                     // api_post_fillingtype_import
  2798.                     if (preg_match('#^/api/fillingtypes/import(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2799.                         if ('POST' !== $canonicalMethod) {
  2800.                             $allow[] = 'POST';
  2801.                             goto not_api_post_fillingtype_import;
  2802.                         }
  2803.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_fillingtype_import')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\FillingtypeController::postImportAction',  '_format' => 'json',));
  2804.                     }
  2805.                     not_api_post_fillingtype_import:
  2806.                 }
  2807.                 // api_get_fillingtypes
  2808.                 if (preg_match('#^/api/fillingtypes(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2809.                     if ('GET' !== $canonicalMethod) {
  2810.                         $allow[] = 'GET';
  2811.                         goto not_api_get_fillingtypes;
  2812.                     }
  2813.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_fillingtypes')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\FillingtypeController::cgetAction',  '_format' => 'json',));
  2814.                 }
  2815.                 not_api_get_fillingtypes:
  2816.                 // api_get_fillingtype
  2817.                 if (preg_match('#^/api/fillingtypes/(?P<fillingType>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2818.                     if ('GET' !== $canonicalMethod) {
  2819.                         $allow[] = 'GET';
  2820.                         goto not_api_get_fillingtype;
  2821.                     }
  2822.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_fillingtype')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\FillingtypeController::getAction',  '_format' => 'json',));
  2823.                 }
  2824.                 not_api_get_fillingtype:
  2825.             }
  2826.             elseif (=== strpos($pathinfo'/api/orders')) {
  2827.                 // api_get_orders
  2828.                 if (preg_match('#^/api/orders(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2829.                     if ('GET' !== $canonicalMethod) {
  2830.                         $allow[] = 'GET';
  2831.                         goto not_api_get_orders;
  2832.                     }
  2833.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_orders')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::cgetAction',  '_format' => 'json',));
  2834.                 }
  2835.                 not_api_get_orders:
  2836.                 // api_get_order
  2837.                 if (preg_match('#^/api/orders/(?P<order>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2838.                     if ('GET' !== $canonicalMethod) {
  2839.                         $allow[] = 'GET';
  2840.                         goto not_api_get_order;
  2841.                     }
  2842.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_order')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::getAction',  '_format' => 'json',));
  2843.                 }
  2844.                 not_api_get_order:
  2845.                 // api_get_order_picklist_active
  2846.                 if (preg_match('#^/api/orders/(?P<order>[^/]++)/picklist/active(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2847.                     if ('GET' !== $canonicalMethod) {
  2848.                         $allow[] = 'GET';
  2849.                         goto not_api_get_order_picklist_active;
  2850.                     }
  2851.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_order_picklist_active')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::getPicklistActiveAction',  '_format' => 'json',));
  2852.                 }
  2853.                 not_api_get_order_picklist_active:
  2854.                 // api_post_order
  2855.                 if (preg_match('#^/api/orders(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2856.                     if ('POST' !== $canonicalMethod) {
  2857.                         $allow[] = 'POST';
  2858.                         goto not_api_post_order;
  2859.                     }
  2860.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_order')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::postAction',  '_format' => 'json',));
  2861.                 }
  2862.                 not_api_post_order:
  2863.                 // api_patch_order_plan
  2864.                 if (=== strpos($pathinfo'/api/orders/plan') && preg_match('#^/api/orders/plan(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2865.                     if ('PATCH' !== $canonicalMethod) {
  2866.                         $allow[] = 'PATCH';
  2867.                         goto not_api_patch_order_plan;
  2868.                     }
  2869.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_order_plan')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::patchPlanAction',  '_format' => 'json',));
  2870.                 }
  2871.                 not_api_patch_order_plan:
  2872.                 // api_get_order_shipments
  2873.                 if (preg_match('#^/api/orders/(?P<order>[^/]++)/shipments(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2874.                     if ('GET' !== $canonicalMethod) {
  2875.                         $allow[] = 'GET';
  2876.                         goto not_api_get_order_shipments;
  2877.                     }
  2878.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_order_shipments')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::getShipmentsAction',  '_format' => 'json',));
  2879.                 }
  2880.                 not_api_get_order_shipments:
  2881.                 // api_put_order_address
  2882.                 if (preg_match('#^/api/orders/(?P<order>[^/]++)/address(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2883.                     if ('PUT' !== $canonicalMethod) {
  2884.                         $allow[] = 'PUT';
  2885.                         goto not_api_put_order_address;
  2886.                     }
  2887.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_order_address')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::putAddressAction',  '_format' => 'json',));
  2888.                 }
  2889.                 not_api_put_order_address:
  2890.                 // api_delete_order
  2891.                 if (preg_match('#^/api/orders/(?P<order>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2892.                     if ('DELETE' !== $canonicalMethod) {
  2893.                         $allow[] = 'DELETE';
  2894.                         goto not_api_delete_order;
  2895.                     }
  2896.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_order')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::deleteAction',  '_format' => 'json',));
  2897.                 }
  2898.                 not_api_delete_order:
  2899.                 // api_put_order_cancel
  2900.                 if (preg_match('#^/api/orders/(?P<order>[^/]++)/cancel(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2901.                     if ('PUT' !== $canonicalMethod) {
  2902.                         $allow[] = 'PUT';
  2903.                         goto not_api_put_order_cancel;
  2904.                     }
  2905.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_order_cancel')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::putCancelAction',  '_format' => 'json',));
  2906.                 }
  2907.                 not_api_put_order_cancel:
  2908.                 // api_put_order_await
  2909.                 if (preg_match('#^/api/orders/(?P<order>[^/]++)/await(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2910.                     if ('PUT' !== $canonicalMethod) {
  2911.                         $allow[] = 'PUT';
  2912.                         goto not_api_put_order_await;
  2913.                     }
  2914.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_order_await')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::putAwaitAction',  '_format' => 'json',));
  2915.                 }
  2916.                 not_api_put_order_await:
  2917.                 // api_post_order_document
  2918.                 if (preg_match('#^/api/orders/(?P<order>[^/]++)/documents(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2919.                     if ('POST' !== $canonicalMethod) {
  2920.                         $allow[] = 'POST';
  2921.                         goto not_api_post_order_document;
  2922.                     }
  2923.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_order_document')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::postDocumentAction',  '_format' => 'json',));
  2924.                 }
  2925.                 not_api_post_order_document:
  2926.                 // api_patch_order_documents_complete
  2927.                 if (preg_match('#^/api/orders/(?P<order>[^/]++)/documents/complete(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2928.                     if ('PATCH' !== $canonicalMethod) {
  2929.                         $allow[] = 'PATCH';
  2930.                         goto not_api_patch_order_documents_complete;
  2931.                     }
  2932.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_order_documents_complete')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::patchDocumentsCompleteAction',  '_format' => 'json',));
  2933.                 }
  2934.                 not_api_patch_order_documents_complete:
  2935.                 // api_patch_order_document
  2936.                 if (preg_match('#^/api/orders/(?P<order>[^/]++)/documents/(?P<documentId>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2937.                     if ('PATCH' !== $canonicalMethod) {
  2938.                         $allow[] = 'PATCH';
  2939.                         goto not_api_patch_order_document;
  2940.                     }
  2941.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_order_document')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::patchDocumentAction',  '_format' => 'json',));
  2942.                 }
  2943.                 not_api_patch_order_document:
  2944.                 // api_get_order_document
  2945.                 if (preg_match('#^/api/orders/(?P<order>[^/]++)/documents/(?P<documentId>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2946.                     if ('GET' !== $canonicalMethod) {
  2947.                         $allow[] = 'GET';
  2948.                         goto not_api_get_order_document;
  2949.                     }
  2950.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_order_document')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::getDocumentAction',  '_format' => 'json',));
  2951.                 }
  2952.                 not_api_get_order_document:
  2953.                 // api_delete_order_document
  2954.                 if (preg_match('#^/api/orders/(?P<order>[^/]++)/documents/(?P<documentId>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2955.                     if ('DELETE' !== $canonicalMethod) {
  2956.                         $allow[] = 'DELETE';
  2957.                         goto not_api_delete_order_document;
  2958.                     }
  2959.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_order_document')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::deleteDocumentAction',  '_format' => 'json',));
  2960.                 }
  2961.                 not_api_delete_order_document:
  2962.                 // api_put_order_hold
  2963.                 if (preg_match('#^/api/orders/(?P<order>[^/]++)/hold(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2964.                     if ('PUT' !== $canonicalMethod) {
  2965.                         $allow[] = 'PUT';
  2966.                         goto not_api_put_order_hold;
  2967.                     }
  2968.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_order_hold')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::putHoldAction',  '_format' => 'json',));
  2969.                 }
  2970.                 not_api_put_order_hold:
  2971.                 // api_put_order_unhold
  2972.                 if (preg_match('#^/api/orders/(?P<order>[^/]++)/unhold(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2973.                     if ('PUT' !== $canonicalMethod) {
  2974.                         $allow[] = 'PUT';
  2975.                         goto not_api_put_order_unhold;
  2976.                     }
  2977.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_order_unhold')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::putUnholdAction',  '_format' => 'json',));
  2978.                 }
  2979.                 not_api_put_order_unhold:
  2980.                 // api_put_order_partial
  2981.                 if (preg_match('#^/api/orders/(?P<order>[^/]++)/partial(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2982.                     if ('PUT' !== $canonicalMethod) {
  2983.                         $allow[] = 'PUT';
  2984.                         goto not_api_put_order_partial;
  2985.                     }
  2986.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_order_partial')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::putPartialAction',  '_format' => 'json',));
  2987.                 }
  2988.                 not_api_put_order_partial:
  2989.                 // api_put_order_problem
  2990.                 if (preg_match('#^/api/orders/(?P<order>[^/]++)/problem(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  2991.                     if ('PUT' !== $canonicalMethod) {
  2992.                         $allow[] = 'PUT';
  2993.                         goto not_api_put_order_problem;
  2994.                     }
  2995.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_order_problem')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::putProblemAction',  '_format' => 'json',));
  2996.                 }
  2997.                 not_api_put_order_problem:
  2998.                 // api_put_order_plan
  2999.                 if (preg_match('#^/api/orders/(?P<order>[^/]++)/plan(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3000.                     if ('PUT' !== $canonicalMethod) {
  3001.                         $allow[] = 'PUT';
  3002.                         goto not_api_put_order_plan;
  3003.                     }
  3004.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_order_plan')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::putPlanAction',  '_format' => 'json',));
  3005.                 }
  3006.                 not_api_put_order_plan:
  3007.                 // api_put_order_paazl_shipment
  3008.                 if (preg_match('#^/api/orders/(?P<order>[^/]++)/paazl/shipment(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3009.                     if ('PUT' !== $canonicalMethod) {
  3010.                         $allow[] = 'PUT';
  3011.                         goto not_api_put_order_paazl_shipment;
  3012.                     }
  3013.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_order_paazl_shipment')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::putPaazlShipmentAction',  '_format' => 'json',));
  3014.                 }
  3015.                 not_api_put_order_paazl_shipment:
  3016.                 // api_patch_order_priority
  3017.                 if (preg_match('#^/api/orders/(?P<order>[^/]++)/priority(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3018.                     if ('PATCH' !== $canonicalMethod) {
  3019.                         $allow[] = 'PATCH';
  3020.                         goto not_api_patch_order_priority;
  3021.                     }
  3022.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_order_priority')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::patchPriorityAction',  '_format' => 'json',));
  3023.                 }
  3024.                 not_api_patch_order_priority:
  3025.                 // api_get_order_download_labels
  3026.                 if (preg_match('#^/api/orders/(?P<order>[^/]++)/download/labels(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3027.                     if ('GET' !== $canonicalMethod) {
  3028.                         $allow[] = 'GET';
  3029.                         goto not_api_get_order_download_labels;
  3030.                     }
  3031.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_order_download_labels')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::getDownloadLabelsAction',  '_format' => 'json',));
  3032.                 }
  3033.                 not_api_get_order_download_labels:
  3034.                 // api_get_order_download_slip
  3035.                 if (preg_match('#^/api/orders/(?P<order>[^/]++)/download/slip(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3036.                     if ('GET' !== $canonicalMethod) {
  3037.                         $allow[] = 'GET';
  3038.                         goto not_api_get_order_download_slip;
  3039.                     }
  3040.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_order_download_slip')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::getDownloadSlipAction',  '_format' => 'json',));
  3041.                 }
  3042.                 not_api_get_order_download_slip:
  3043.                 // api_get_order_download_spreadsheet
  3044.                 if (preg_match('#^/api/orders/(?P<order>[^/]++)/download/spreadsheet(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3045.                     if ('GET' !== $canonicalMethod) {
  3046.                         $allow[] = 'GET';
  3047.                         goto not_api_get_order_download_spreadsheet;
  3048.                     }
  3049.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_order_download_spreadsheet')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::getDownloadSpreadsheetAction',  '_format' => 'json',));
  3050.                 }
  3051.                 not_api_get_order_download_spreadsheet:
  3052.                 // api_patch_order_quickship
  3053.                 if (preg_match('#^/api/orders/(?P<order>[^/]++)/quickship(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3054.                     if ('PATCH' !== $canonicalMethod) {
  3055.                         $allow[] = 'PATCH';
  3056.                         goto not_api_patch_order_quickship;
  3057.                     }
  3058.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_order_quickship')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::patchQuickshipAction',  '_format' => 'json',));
  3059.                 }
  3060.                 not_api_patch_order_quickship:
  3061.                 // api_post_order_line_cancel
  3062.                 if (preg_match('#^/api/orders/(?P<orderLine>[^/]++)/lines/cancels(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3063.                     if ('POST' !== $canonicalMethod) {
  3064.                         $allow[] = 'POST';
  3065.                         goto not_api_post_order_line_cancel;
  3066.                     }
  3067.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_order_line_cancel')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderLineController::postCancelAction',  '_format' => 'json',));
  3068.                 }
  3069.                 not_api_post_order_line_cancel:
  3070.             }
  3071.             elseif (=== strpos($pathinfo'/api/barcodes')) {
  3072.                 // api_get_barcodes
  3073.                 if (preg_match('#^/api/barcodes(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3074.                     if ('GET' !== $canonicalMethod) {
  3075.                         $allow[] = 'GET';
  3076.                         goto not_api_get_barcodes;
  3077.                     }
  3078.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_barcodes')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\BarcodeController::cgetAction',  '_format' => 'json',));
  3079.                 }
  3080.                 not_api_get_barcodes:
  3081.                 // api_post_barcode
  3082.                 if (preg_match('#^/api/barcodes(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3083.                     if ('POST' !== $canonicalMethod) {
  3084.                         $allow[] = 'POST';
  3085.                         goto not_api_post_barcode;
  3086.                     }
  3087.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_barcode')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\BarcodeController::postAction',  '_format' => 'json',));
  3088.                 }
  3089.                 not_api_post_barcode:
  3090.             }
  3091.             elseif (=== strpos($pathinfo'/api/bobbins')) {
  3092.                 // api_get_bobbins
  3093.                 if (preg_match('#^/api/bobbins(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3094.                     if ('GET' !== $canonicalMethod) {
  3095.                         $allow[] = 'GET';
  3096.                         goto not_api_get_bobbins;
  3097.                     }
  3098.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_bobbins')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\BobbinController::cgetAction',  '_format' => 'json',));
  3099.                 }
  3100.                 not_api_get_bobbins:
  3101.                 // api_get_bobbin
  3102.                 if (preg_match('#^/api/bobbins/(?P<bobbin>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3103.                     if ('GET' !== $canonicalMethod) {
  3104.                         $allow[] = 'GET';
  3105.                         goto not_api_get_bobbin;
  3106.                     }
  3107.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_bobbin')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\BobbinController::getAction',  '_format' => 'json',));
  3108.                 }
  3109.                 not_api_get_bobbin:
  3110.                 // api_get_bobbin_nextlocation
  3111.                 if (preg_match('#^/api/bobbins/(?P<location>[^/]++)/nextlocation(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3112.                     if ('GET' !== $canonicalMethod) {
  3113.                         $allow[] = 'GET';
  3114.                         goto not_api_get_bobbin_nextlocation;
  3115.                     }
  3116.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_bobbin_nextlocation')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\BobbinController::getNextlocationAction',  '_format' => 'json',));
  3117.                 }
  3118.                 not_api_get_bobbin_nextlocation:
  3119.                 // api_put_bobbin_print
  3120.                 if (preg_match('#^/api/bobbins/(?P<bobbin>[^/]++)/print(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3121.                     if ('PUT' !== $canonicalMethod) {
  3122.                         $allow[] = 'PUT';
  3123.                         goto not_api_put_bobbin_print;
  3124.                     }
  3125.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_bobbin_print')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\BobbinController::putPrintAction',  '_format' => 'json',));
  3126.                 }
  3127.                 not_api_put_bobbin_print:
  3128.             }
  3129.             elseif (=== strpos($pathinfo'/api/inbound_transfers')) {
  3130.                 // api_get
  3131.                 if (preg_match('#^/api/inbound_transfers/(?P<inboundTransfer>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3132.                     if ('GET' !== $canonicalMethod) {
  3133.                         $allow[] = 'GET';
  3134.                         goto not_api_get;
  3135.                     }
  3136.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundTransferController::getAction',  '_format' => 'json',));
  3137.                 }
  3138.                 not_api_get:
  3139.                 // api_put_start
  3140.                 if (preg_match('#^/api/inbound_transfers/(?P<inboundTransfer>[^/]++)/start(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3141.                     if ('PUT' !== $canonicalMethod) {
  3142.                         $allow[] = 'PUT';
  3143.                         goto not_api_put_start;
  3144.                     }
  3145.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_start')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundTransferController::putStartAction',  '_format' => 'json',));
  3146.                 }
  3147.                 not_api_put_start:
  3148.                 // api_post_release
  3149.                 if (preg_match('#^/api/inbound_transfers/(?P<inboundTransfer>[^/]++)/release(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3150.                     if ('POST' !== $canonicalMethod) {
  3151.                         $allow[] = 'POST';
  3152.                         goto not_api_post_release;
  3153.                     }
  3154.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_release')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundTransferController::postReleaseAction',  '_format' => 'json',));
  3155.                 }
  3156.                 not_api_post_release:
  3157.             }
  3158.             elseif (=== strpos($pathinfo'/api/issues')) {
  3159.                 // api_get_issues
  3160.                 if (preg_match('#^/api/issues(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3161.                     if ('GET' !== $canonicalMethod) {
  3162.                         $allow[] = 'GET';
  3163.                         goto not_api_get_issues;
  3164.                     }
  3165.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_issues')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Issue\\IssueController::cgetAction',  '_format' => 'json',));
  3166.                 }
  3167.                 not_api_get_issues:
  3168.                 // api_get_issue
  3169.                 if (preg_match('#^/api/issues/(?P<issue>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3170.                     if ('GET' !== $canonicalMethod) {
  3171.                         $allow[] = 'GET';
  3172.                         goto not_api_get_issue;
  3173.                     }
  3174.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_issue')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Issue\\IssueController::getAction',  '_format' => 'json',));
  3175.                 }
  3176.                 not_api_get_issue:
  3177.                 // api_get_issue_assignees
  3178.                 if (preg_match('#^/api/issues/(?P<issue>[^/]++)/assignees(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3179.                     if ('GET' !== $canonicalMethod) {
  3180.                         $allow[] = 'GET';
  3181.                         goto not_api_get_issue_assignees;
  3182.                     }
  3183.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_issue_assignees')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Issue\\IssueController::getAssigneesAction',  '_format' => 'json',));
  3184.                 }
  3185.                 not_api_get_issue_assignees:
  3186.                 // api_get_issues_comments
  3187.                 if (preg_match('#^/api/issues/(?P<issue>[^/]++)/comments(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3188.                     if ('GET' !== $canonicalMethod) {
  3189.                         $allow[] = 'GET';
  3190.                         goto not_api_get_issues_comments;
  3191.                     }
  3192.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_issues_comments')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Issue\\IssueController::cgetCommentsAction',  '_format' => 'json',));
  3193.                 }
  3194.                 not_api_get_issues_comments:
  3195.                 // api_post_issue_comment
  3196.                 if (preg_match('#^/api/issues/(?P<issue>[^/]++)/comments(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3197.                     if ('POST' !== $canonicalMethod) {
  3198.                         $allow[] = 'POST';
  3199.                         goto not_api_post_issue_comment;
  3200.                     }
  3201.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_issue_comment')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Issue\\IssueController::postCommentAction',  '_format' => 'json',));
  3202.                 }
  3203.                 not_api_post_issue_comment:
  3204.                 // api_put_issue_assign
  3205.                 if (preg_match('#^/api/issues/(?P<issue>[^/]++)/assigns/(?P<user>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3206.                     if ('PUT' !== $canonicalMethod) {
  3207.                         $allow[] = 'PUT';
  3208.                         goto not_api_put_issue_assign;
  3209.                     }
  3210.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_issue_assign')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Issue\\IssueController::putAssignAction',  '_format' => 'json',));
  3211.                 }
  3212.                 not_api_put_issue_assign:
  3213.                 // api_put_issue_complete
  3214.                 if (preg_match('#^/api/issues/(?P<issue>[^/]++)/complete(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3215.                     if ('PUT' !== $canonicalMethod) {
  3216.                         $allow[] = 'PUT';
  3217.                         goto not_api_put_issue_complete;
  3218.                     }
  3219.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_issue_complete')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Issue\\IssueController::putCompleteAction',  '_format' => 'json',));
  3220.                 }
  3221.                 not_api_put_issue_complete:
  3222.             }
  3223.             // api_app_version
  3224.             if (=== strpos($pathinfo'/api/app-version') && preg_match('#^/api/app\\-version(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3225.                 if ('GET' !== $canonicalMethod) {
  3226.                     $allow[] = 'GET';
  3227.                     goto not_api_app_version;
  3228.                 }
  3229.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_app_version')), array (  '_controller' => 'WebserviceBundle\\Controller\\AppVersionController::appVersionAction',  '_format' => 'json',));
  3230.             }
  3231.             not_api_app_version:
  3232.             if (=== strpos($pathinfo'/api/articlegroups')) {
  3233.                 // api_get_articlegroups
  3234.                 if (preg_match('#^/api/articlegroups(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3235.                     if ('GET' !== $canonicalMethod) {
  3236.                         $allow[] = 'GET';
  3237.                         goto not_api_get_articlegroups;
  3238.                     }
  3239.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_articlegroups')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticlegroupController::cgetAction',  '_format' => 'json',));
  3240.                 }
  3241.                 not_api_get_articlegroups:
  3242.                 // api_get_articlegroup
  3243.                 if (preg_match('#^/api/articlegroups/(?P<articleGroup>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3244.                     if ('GET' !== $canonicalMethod) {
  3245.                         $allow[] = 'GET';
  3246.                         goto not_api_get_articlegroup;
  3247.                     }
  3248.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_articlegroup')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticlegroupController::getAction',  '_format' => 'json',));
  3249.                 }
  3250.                 not_api_get_articlegroup:
  3251.                 // api_post_articlegroup
  3252.                 if (preg_match('#^/api/articlegroups(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3253.                     if ('POST' !== $canonicalMethod) {
  3254.                         $allow[] = 'POST';
  3255.                         goto not_api_post_articlegroup;
  3256.                     }
  3257.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_articlegroup')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticlegroupController::postAction',  '_format' => 'json',));
  3258.                 }
  3259.                 not_api_post_articlegroup:
  3260.                 // api_patch_articlegroup
  3261.                 if (preg_match('#^/api/articlegroups/(?P<articleGroup>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3262.                     if ('PATCH' !== $canonicalMethod) {
  3263.                         $allow[] = 'PATCH';
  3264.                         goto not_api_patch_articlegroup;
  3265.                     }
  3266.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_articlegroup')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticlegroupController::patchAction',  '_format' => 'json',));
  3267.                 }
  3268.                 not_api_patch_articlegroup:
  3269.                 // api_delete_articlegroup
  3270.                 if (preg_match('#^/api/articlegroups/(?P<articleGroup>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3271.                     if ('DELETE' !== $canonicalMethod) {
  3272.                         $allow[] = 'DELETE';
  3273.                         goto not_api_delete_articlegroup;
  3274.                     }
  3275.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_articlegroup')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticlegroupController::deleteAction',  '_format' => 'json',));
  3276.                 }
  3277.                 not_api_delete_articlegroup:
  3278.                 // api_get_articlegroup_logo
  3279.                 if (preg_match('#^/api/articlegroups/(?P<articleGroup>[^/]++)/logo(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3280.                     if ('GET' !== $canonicalMethod) {
  3281.                         $allow[] = 'GET';
  3282.                         goto not_api_get_articlegroup_logo;
  3283.                     }
  3284.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_articlegroup_logo')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticlegroupController::getLogoAction',  '_format' => 'json',));
  3285.                 }
  3286.                 not_api_get_articlegroup_logo:
  3287.             }
  3288.             // api_dashboard
  3289.             if (=== strpos($pathinfo'/api/dashboard') && preg_match('#^/api/dashboard(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3290.                 if ('GET' !== $canonicalMethod) {
  3291.                     $allow[] = 'GET';
  3292.                     goto not_api_dashboard;
  3293.                 }
  3294.                 return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_dashboard')), array (  '_controller' => 'WebserviceBundle\\Controller\\DashboardController::dashboardAction',  '_format' => 'json',));
  3295.             }
  3296.             not_api_dashboard:
  3297.             if (=== strpos($pathinfo'/api/retour')) {
  3298.                 if (=== strpos($pathinfo'/api/retours')) {
  3299.                     // api_get_retours
  3300.                     if (preg_match('#^/api/retours(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3301.                         if ('GET' !== $canonicalMethod) {
  3302.                             $allow[] = 'GET';
  3303.                             goto not_api_get_retours;
  3304.                         }
  3305.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_retours')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Retour\\RetourController::cgetAction',  '_format' => 'json',));
  3306.                     }
  3307.                     not_api_get_retours:
  3308.                     // api_get_retour
  3309.                     if (preg_match('#^/api/retours/(?P<retour>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3310.                         if ('GET' !== $canonicalMethod) {
  3311.                             $allow[] = 'GET';
  3312.                             goto not_api_get_retour;
  3313.                         }
  3314.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_retour')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Retour\\RetourController::getAction',  '_format' => 'json',));
  3315.                     }
  3316.                     not_api_get_retour:
  3317.                 }
  3318.                 // api_get_retour_retour_import
  3319.                 if (preg_match('#^/api/retour/(?P<retour>[^/]++)/import(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3320.                     if ('GET' !== $canonicalMethod) {
  3321.                         $allow[] = 'GET';
  3322.                         goto not_api_get_retour_retour_import;
  3323.                     }
  3324.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_retour_retour_import')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Retour\\RetourController::getRetourImportAction',  '_format' => 'json',));
  3325.                 }
  3326.                 not_api_get_retour_retour_import:
  3327.                 // api_post_retour_retour_import
  3328.                 if (preg_match('#^/api/retour/(?P<retour>[^/]++)/import(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3329.                     if ('POST' !== $canonicalMethod) {
  3330.                         $allow[] = 'POST';
  3331.                         goto not_api_post_retour_retour_import;
  3332.                     }
  3333.                     return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_retour_retour_import')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Retour\\RetourController::postRetourImportAction',  '_format' => 'json',));
  3334.                 }
  3335.                 not_api_post_retour_retour_import:
  3336.                 if (=== strpos($pathinfo'/api/retours')) {
  3337.                     // api_put_retour_cancel
  3338.                     if (preg_match('#^/api/retours/(?P<retour>[^/]++)/cancel(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3339.                         if ('PUT' !== $canonicalMethod) {
  3340.                             $allow[] = 'PUT';
  3341.                             goto not_api_put_retour_cancel;
  3342.                         }
  3343.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_retour_cancel')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Retour\\RetourController::putCancelAction',  '_format' => 'json',));
  3344.                     }
  3345.                     not_api_put_retour_cancel:
  3346.                     // api_post_retour
  3347.                     if (preg_match('#^/api/retours(?:\\.(?P<_format>json|xml|html))?$#s'$pathinfo$matches)) {
  3348.                         if ('POST' !== $canonicalMethod) {
  3349.                             $allow[] = 'POST';
  3350.                             goto not_api_post_retour;
  3351.                         }
  3352.                         return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_retour')), array (  '_controller' => 'WebserviceBundle\\Controller\\Wms\\Retour\\RetourController::postAction',  '_format' => 'json',));
  3353.                     }
  3354.                     not_api_post_retour:
  3355.                 }
  3356.             }
  3357.         }
  3358.         // fos_oauth_server_token
  3359.         if ('/oauth/v2/token' === $pathinfo) {
  3360.             if (!in_array($canonicalMethod, array('GET''POST'))) {
  3361.                 $allow array_merge($allow, array('GET''POST'));
  3362.                 goto not_fos_oauth_server_token;
  3363.             }
  3364.             return array (  '_controller' => 'fos_oauth_server.controller.token:tokenAction',  '_route' => 'fos_oauth_server_token',);
  3365.         }
  3366.         not_fos_oauth_server_token:
  3367.         // fos_oauth_server_authorize
  3368.         if ('/oauth/v2/auth' === $pathinfo) {
  3369.             if (!in_array($canonicalMethod, array('GET''POST'))) {
  3370.                 $allow array_merge($allow, array('GET''POST'));
  3371.                 goto not_fos_oauth_server_authorize;
  3372.             }
  3373.             return array (  '_controller' => 'FOS\\OAuthServerBundle\\Controller\\AuthorizeController::authorizeAction',  '_route' => 'fos_oauth_server_authorize',);
  3374.         }
  3375.         not_fos_oauth_server_authorize:
  3376.         throw count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
  3377.     }
  3378. }