<?php
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;
/**
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class appStagingDebugProjectContainerUrlMatcher extends Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher
{
public function __construct(RequestContext $context)
{
$this->context = $context;
}
public function match($rawPathinfo)
{
$allow = array();
$pathinfo = rawurldecode($rawPathinfo);
$trimmedPathinfo = rtrim($pathinfo, '/');
$context = $this->context;
$request = $this->request;
$requestMethod = $canonicalMethod = $context->getMethod();
$scheme = $context->getScheme();
if ('HEAD' === $requestMethod) {
$canonicalMethod = 'GET';
}
if (0 === strpos($pathinfo, '/_')) {
// _wdt
if (0 === strpos($pathinfo, '/_wdt') && preg_match('#^/_wdt/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_wdt')), array ( '_controller' => 'web_profiler.controller.profiler:toolbarAction',));
}
if (0 === strpos($pathinfo, '/_profiler')) {
// _profiler_home
if ('/_profiler' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'web_profiler.controller.profiler:homeAction', '_route' => '_profiler_home',);
if (substr($pathinfo, -1) !== '/') {
return array_replace($ret, $this->redirect($rawPathinfo.'/', '_profiler_home'));
}
return $ret;
}
if (0 === strpos($pathinfo, '/_profiler/search')) {
// _profiler_search
if ('/_profiler/search' === $pathinfo) {
return array ( '_controller' => 'web_profiler.controller.profiler:searchAction', '_route' => '_profiler_search',);
}
// _profiler_search_bar
if ('/_profiler/search_bar' === $pathinfo) {
return array ( '_controller' => 'web_profiler.controller.profiler:searchBarAction', '_route' => '_profiler_search_bar',);
}
}
// _profiler_phpinfo
if ('/_profiler/phpinfo' === $pathinfo) {
return array ( '_controller' => 'web_profiler.controller.profiler:phpinfoAction', '_route' => '_profiler_phpinfo',);
}
// _profiler_search_results
if (preg_match('#^/_profiler/(?P<token>[^/]++)/search/results$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_search_results')), array ( '_controller' => 'web_profiler.controller.profiler:searchResultsAction',));
}
// _profiler_open_file
if ('/_profiler/open' === $pathinfo) {
return array ( '_controller' => 'web_profiler.controller.profiler:openAction', '_route' => '_profiler_open_file',);
}
// _profiler
if (preg_match('#^/_profiler/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler')), array ( '_controller' => 'web_profiler.controller.profiler:panelAction',));
}
// _profiler_router
if (preg_match('#^/_profiler/(?P<token>[^/]++)/router$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_router')), array ( '_controller' => 'web_profiler.controller.router:panelAction',));
}
// _profiler_exception
if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_exception')), array ( '_controller' => 'web_profiler.controller.exception:showAction',));
}
// _profiler_exception_css
if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception\\.css$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_exception_css')), array ( '_controller' => 'web_profiler.controller.exception:cssAction',));
}
}
// _twig_error_test
if (0 === strpos($pathinfo, '/_error') && preg_match('#^/_error/(?P<code>\\d+)(?:\\.(?P<_format>[^/]++))?$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => '_twig_error_test')), array ( '_controller' => 'twig.controller.preview_error:previewErrorPageAction', '_format' => 'html',));
}
}
elseif (0 === strpos($pathinfo, '/api')) {
if (0 === strpos($pathinfo, '/api/customers')) {
if (0 === strpos($pathinfo, '/api/customers/import')) {
// api_get_customer_import
if (preg_match('#^/api/customers/import(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_customer_import;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_customer_import')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerController::getImportAction', '_format' => 'json',));
}
not_api_get_customer_import:
// api_post_customer_import
if (preg_match('#^/api/customers/import(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_customer_import;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_customer_import')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerController::postImportAction', '_format' => 'json',));
}
not_api_post_customer_import:
}
// api_get_customers
if (preg_match('#^/api/customers(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_customers;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_customers')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerController::cgetAction', '_format' => 'json',));
}
not_api_get_customers:
// api_get_customer
if (preg_match('#^/api/customers/(?P<customer>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_customer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_customer')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerController::getAction', '_format' => 'json',));
}
not_api_get_customer:
// api_post_customer
if (preg_match('#^/api/customers(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_customer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_customer')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerController::postAction', '_format' => 'json',));
}
not_api_post_customer:
// api_patch_customer
if (preg_match('#^/api/customers/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_customer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_customer')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerController::patchAction', '_format' => 'json',));
}
not_api_patch_customer:
// api_delete_customer
if (preg_match('#^/api/customers/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_api_delete_customer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_customer')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerController::deleteAction', '_format' => 'json',));
}
not_api_delete_customer:
}
elseif (0 === strpos($pathinfo, '/api/batchlocations')) {
// api_get_batchlocations
if (preg_match('#^/api/batchlocations(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_batchlocations;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_batchlocations')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Batch\\BatchlocationController::cgetAction', '_format' => 'json',));
}
not_api_get_batchlocations:
// api_get_batchlocation
if (preg_match('#^/api/batchlocations/(?P<batchLocation>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_batchlocation;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_batchlocation')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Batch\\BatchlocationController::getAction', '_format' => 'json',));
}
not_api_get_batchlocation:
}
elseif (0 === strpos($pathinfo, '/api/batches')) {
// api_get_batches
if (preg_match('#^/api/batches(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_batches;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_batches')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Batch\\BatchController::cgetAction', '_format' => 'json',));
}
not_api_get_batches:
// api_get_batch
if (preg_match('#^/api/batches/(?P<batch>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_batch;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_batch')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Batch\\BatchController::getAction', '_format' => 'json',));
}
not_api_get_batch:
// api_post_batch
if (preg_match('#^/api/batches(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_batch;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_batch')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Batch\\BatchController::postAction', '_format' => 'json',));
}
not_api_post_batch:
}
elseif (0 === strpos($pathinfo, '/api/re')) {
if (0 === strpos($pathinfo, '/api/reserved-batch-numbers')) {
// api_cget_reserved-batch-numbers
if (preg_match('#^/api/reserved\\-batch\\-numbers(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_cget_reservedbatchnumbers;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_cget_reserved-batch-numbers')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Batch\\ReservedBatchNumberController::cgetAction', '_format' => 'json',));
}
not_api_cget_reservedbatchnumbers:
// api_get_reserved-batch-numbers
if (preg_match('#^/api/reserved\\-batch\\-numbers(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_reservedbatchnumbers;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_reserved-batch-numbers')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Batch\\ReservedBatchNumberController::cgetAction', '_format' => 'json',));
}
not_api_get_reservedbatchnumbers:
}
elseif (0 === strpos($pathinfo, '/api/relations')) {
// api_get_relations
if (preg_match('#^/api/relations(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_relations;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_relations')), array ( '_controller' => 'WebserviceBundle\\Controller\\RelationController::cgetAction', '_format' => 'json',));
}
not_api_get_relations:
// api_get_relation
if (preg_match('#^/api/relations/(?P<relation>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_relation;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_relation')), array ( '_controller' => 'WebserviceBundle\\Controller\\RelationController::getAction', '_format' => 'json',));
}
not_api_get_relation:
// api_post_relation
if (preg_match('#^/api/relations(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_relation;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_relation')), array ( '_controller' => 'WebserviceBundle\\Controller\\RelationController::postAction', '_format' => 'json',));
}
not_api_post_relation:
// api_patch_relation
if (preg_match('#^/api/relations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_relation;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_relation')), array ( '_controller' => 'WebserviceBundle\\Controller\\RelationController::patchAction', '_format' => 'json',));
}
not_api_patch_relation:
// api_put_relation_print
if (preg_match('#^/api/relations/(?P<relation>[^/]++)/print(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_relation_print;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_relation_print')), array ( '_controller' => 'WebserviceBundle\\Controller\\RelationController::putPrintAction', '_format' => 'json',));
}
not_api_put_relation_print:
// api_delete_relation
if (preg_match('#^/api/relations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_api_delete_relation;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_relation')), array ( '_controller' => 'WebserviceBundle\\Controller\\RelationController::deleteAction', '_format' => 'json',));
}
not_api_delete_relation:
}
elseif (0 === strpos($pathinfo, '/api/relation_addresses')) {
// api_cget_relation_addresses
if (preg_match('#^/api/relation_addresses(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_cget_relation_addresses;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_cget_relation_addresses')), array ( '_controller' => 'WebserviceBundle\\Controller\\RelationAddressesController::cgetAction', '_format' => 'json',));
}
not_api_cget_relation_addresses:
// api_get_relation_addresses
if (preg_match('#^/api/relation_addresses(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_relation_addresses;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_relation_addresses')), array ( '_controller' => 'WebserviceBundle\\Controller\\RelationAddressesController::cgetAction', '_format' => 'json',));
}
not_api_get_relation_addresses:
// api_patch_relation_addresses
if (preg_match('#^/api/relation_addresses/(?P<relationAddress>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_relation_addresses;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_relation_addresses')), array ( '_controller' => 'WebserviceBundle\\Controller\\RelationAddressesController::patchAction', '_format' => 'json',));
}
not_api_patch_relation_addresses:
// api_get_relation_addresses_relation_addresses
if (preg_match('#^/api/relation_addresses/(?P<relationAddress>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_relation_addresses_relation_addresses;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_relation_addresses_relation_addresses')), array ( '_controller' => 'WebserviceBundle\\Controller\\RelationAddressesController::getRelationAddressesAction', '_format' => 'json',));
}
not_api_get_relation_addresses_relation_addresses:
// api_post_relation_addresses
if (preg_match('#^/api/relation_addresses(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_relation_addresses;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_relation_addresses')), array ( '_controller' => 'WebserviceBundle\\Controller\\RelationAddressesController::postAction', '_format' => 'json',));
}
not_api_post_relation_addresses:
// api_delete_relation_addresses
if (preg_match('#^/api/relation_addresses/(?P<relationAddress>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_api_delete_relation_addresses;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_relation_addresses')), array ( '_controller' => 'WebserviceBundle\\Controller\\RelationAddressesController::deleteAction', '_format' => 'json',));
}
not_api_delete_relation_addresses:
}
}
// api_get_roles
if (0 === strpos($pathinfo, '/api/roles') && preg_match('#^/api/roles(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_roles;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_roles')), array ( '_controller' => 'WebserviceBundle\\Controller\\RoleController::cgetAction', '_format' => 'json',));
}
not_api_get_roles:
if (0 === strpos($pathinfo, '/api/export')) {
// api_get_export
if (preg_match('#^/api/export(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_export;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_export')), array ( '_controller' => 'WebserviceBundle\\Controller\\ExportController::getAction', '_format' => 'json',));
}
not_api_get_export:
// api_get_export_customer_financial
if (0 === strpos($pathinfo, '/api/exports/customer') && preg_match('#^/api/exports/customer/(?P<customer>[^/]++)/financial(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_export_customer_financial;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_export_customer_financial')), array ( '_controller' => 'WebserviceBundle\\Controller\\ExportController::getCustomerFinancialAction', '_format' => 'json',));
}
not_api_get_export_customer_financial:
}
elseif (0 === strpos($pathinfo, '/api/articles')) {
if (0 === strpos($pathinfo, '/api/articles/import')) {
// api_get_article_import
if (preg_match('#^/api/articles/import(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_article_import;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_article_import')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticleController::getImportAction', '_format' => 'json',));
}
not_api_get_article_import:
// api_post_article_import
if (preg_match('#^/api/articles/import(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_article_import;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_article_import')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticleController::postImportAction', '_format' => 'json',));
}
not_api_post_article_import:
}
// api_get_articles
if (preg_match('#^/api/articles(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_articles;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_articles')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticleController::cgetAction', '_format' => 'json',));
}
not_api_get_articles:
// api_get_article
if (preg_match('#^/api/articles/(?P<article>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_article;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_article')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticleController::getAction', '_format' => 'json',));
}
not_api_get_article:
// api_post_article
if (preg_match('#^/api/articles(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_article;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_article')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticleController::postAction', '_format' => 'json',));
}
not_api_post_article:
// api_patch_article
if (preg_match('#^/api/articles/(?P<article>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_article;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_article')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticleController::patchAction', '_format' => 'json',));
}
not_api_patch_article:
// api_delete_article
if (preg_match('#^/api/articles/(?P<article>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_api_delete_article;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_article')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticleController::deleteAction', '_format' => 'json',));
}
not_api_delete_article:
}
elseif (0 === strpos($pathinfo, '/api/addresses')) {
// api_get_addresses
if (preg_match('#^/api/addresses(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_addresses;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_addresses')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Address\\AddressController::cgetAction', '_format' => 'json',));
}
not_api_get_addresses:
// api_get_address
if (preg_match('#^/api/addresses/(?P<address>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_address;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_address')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Address\\AddressController::getAction', '_format' => 'json',));
}
not_api_get_address:
// api_post_address
if (preg_match('#^/api/addresses(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_address;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_address')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Address\\AddressController::postAction', '_format' => 'json',));
}
not_api_post_address:
// api_patch_address
if (preg_match('#^/api/addresses/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_address;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_address')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Address\\AddressController::patchAction', '_format' => 'json',));
}
not_api_patch_address:
// api_delete_address
if (preg_match('#^/api/addresses/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_api_delete_address;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_address')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Address\\AddressController::deleteAction', '_format' => 'json',));
}
not_api_delete_address:
}
elseif (0 === strpos($pathinfo, '/api/variants')) {
// api_get_variants
if (preg_match('#^/api/variants(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_variants;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variants')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::cgetAction', '_format' => 'json',));
}
not_api_get_variants:
// api_get_variant
if (preg_match('#^/api/variants/(?P<variant>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_variant;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variant')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::getAction', '_format' => 'json',));
}
not_api_get_variant:
// api_get_variants_search
if (0 === strpos($pathinfo, '/api/variants/search') && preg_match('#^/api/variants/search(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_variants_search;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variants_search')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::cgetSearchAction', '_format' => 'json',));
}
not_api_get_variants_search:
// api_post_variant
if (preg_match('#^/api/variants(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_variant;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_variant')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::postAction', '_format' => 'json',));
}
not_api_post_variant:
// api_patch_variant
if (preg_match('#^/api/variants/(?P<variant>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_variant;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_variant')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::patchAction', '_format' => 'json',));
}
not_api_patch_variant:
// api_delete_variant
if (preg_match('#^/api/variants/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_api_delete_variant;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_variant')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::deleteAction', '_format' => 'json',));
}
not_api_delete_variant:
// api_get_variant_picklocation
if (preg_match('#^/api/variants/(?P<id>[^/]++)/picklocation(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_variant_picklocation;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variant_picklocation')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::getPicklocationAction', '_format' => 'json',));
}
not_api_get_variant_picklocation:
// api_get_variant_transferlocations
if (preg_match('#^/api/variants/(?P<id>[^/]++)/suggested\\-locations(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_variant_transferlocations;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variant_transferlocations')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::getTransferlocationsAction', '_format' => 'json',));
}
not_api_get_variant_transferlocations:
// api_get_variant_suggested_pick_zones
if (preg_match('#^/api/variants/(?P<id>[^/]++)/suggested\\-pick\\-zones(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_variant_suggested_pick_zones;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variant_suggested_pick_zones')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::getSuggestedPickZonesAction', '_format' => 'json',));
}
not_api_get_variant_suggested_pick_zones:
// api_get_variant_open_production_orders
if (preg_match('#^/api/variants/(?P<id>[^/]++)/open\\-production\\-orders(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_variant_open_production_orders;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variant_open_production_orders')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::getOpenProductionOrdersActions', '_format' => 'json',));
}
not_api_get_variant_open_production_orders:
// api_get_variant_locations
if (preg_match('#^/api/variants/(?P<id>[^/]++)/locations(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_variant_locations;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variant_locations')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::getLocationsAction', '_format' => 'json',));
}
not_api_get_variant_locations:
// api_get_variant_open_orders
if (preg_match('#^/api/variants/(?P<variant>[^/]++)/open/orders(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_variant_open_orders;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variant_open_orders')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::getOpenOrdersAction', '_format' => 'json',));
}
not_api_get_variant_open_orders:
// api_get_variant_open_picklists
if (preg_match('#^/api/variants/(?P<variant>[^/]++)/open/picklists(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_variant_open_picklists;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variant_open_picklists')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::getOpenPicklistsAction', '_format' => 'json',));
}
not_api_get_variant_open_picklists:
// api_get_variant_open_inbounds
if (preg_match('#^/api/variants/(?P<variant>[^/]++)/open/inbounds(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_variant_open_inbounds;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variant_open_inbounds')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::getOpenInboundsAction', '_format' => 'json',));
}
not_api_get_variant_open_inbounds:
// api_put_variant_print
if (preg_match('#^/api/variants/(?P<variant>[^/]++)/print(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_variant_print;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_variant_print')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::putPrintAction', '_format' => 'json',));
}
not_api_put_variant_print:
// api_get_variant_download
if (preg_match('#^/api/variants/(?P<id>[^/]++)/download(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_variant_download;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_variant_download')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\VariantController::getDownloadAction', '_format' => 'json',));
}
not_api_get_variant_download:
}
elseif (0 === strpos($pathinfo, '/api/warehouses')) {
// api_get_warehouses
if (preg_match('#^/api/warehouses(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_warehouses;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_warehouses')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Warehouse\\WarehouseController::cgetAction', '_format' => 'json',));
}
not_api_get_warehouses:
// api_get_warehouse
if (preg_match('#^/api/warehouses/(?P<warehouse>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_warehouse;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_warehouse')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Warehouse\\WarehouseController::getAction', '_format' => 'json',));
}
not_api_get_warehouse:
// api_post_warehouse
if (preg_match('#^/api/warehouses(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_warehouse;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_warehouse')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Warehouse\\WarehouseController::postAction', '_format' => 'json',));
}
not_api_post_warehouse:
// api_patch_warehouse
if (preg_match('#^/api/warehouses/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_warehouse;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_warehouse')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Warehouse\\WarehouseController::patchAction', '_format' => 'json',));
}
not_api_patch_warehouse:
// api_delete_warehouse
if (preg_match('#^/api/warehouses/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_api_delete_warehouse;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_warehouse')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Warehouse\\WarehouseController::deleteAction', '_format' => 'json',));
}
not_api_delete_warehouse:
}
elseif (0 === strpos($pathinfo, '/api/warehousetransfers')) {
// api_get_warehousetransfers
if (preg_match('#^/api/warehousetransfers(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_warehousetransfers;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_warehousetransfers')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\WarehouseTransfer\\WarehousetransferController::cgetAction', '_format' => 'json',));
}
not_api_get_warehousetransfers:
// api_get_warehousetransfer
if (preg_match('#^/api/warehousetransfers/(?P<warehouseTransfer>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_warehousetransfer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_warehousetransfer')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\WarehouseTransfer\\WarehousetransferController::getAction', '_format' => 'json',));
}
not_api_get_warehousetransfer:
// api_post_warehousetransfer
if (preg_match('#^/api/warehousetransfers(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_warehousetransfer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_warehousetransfer')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\WarehouseTransfer\\WarehousetransferController::postAction', '_format' => 'json',));
}
not_api_post_warehousetransfer:
// api_put_warehousetransfer_inbound
if (preg_match('#^/api/warehousetransfers/(?P<warehouseTransfer>[^/]++)/inbound(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_warehousetransfer_inbound;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_warehousetransfer_inbound')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\WarehouseTransfer\\WarehousetransferController::putInboundAction', '_format' => 'json',));
}
not_api_put_warehousetransfer_inbound:
// api_put_warehousetransfer_cancel
if (preg_match('#^/api/warehousetransfers/(?P<warehouseTransfer>[^/]++)/cancel(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_warehousetransfer_cancel;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_warehousetransfer_cancel')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\WarehouseTransfer\\WarehousetransferController::putCancelAction', '_format' => 'json',));
}
not_api_put_warehousetransfer_cancel:
}
elseif (0 === strpos($pathinfo, '/api/zones')) {
if (0 === strpos($pathinfo, '/api/zones/import')) {
// api_get_zone_import
if (preg_match('#^/api/zones/import(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_zone_import;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_zone_import')), array ( '_controller' => 'WebserviceBundle\\Controller\\ZoneController::getImportAction', '_format' => 'json',));
}
not_api_get_zone_import:
// api_post_zone_import
if (preg_match('#^/api/zones/import(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_zone_import;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_zone_import')), array ( '_controller' => 'WebserviceBundle\\Controller\\ZoneController::postImportAction', '_format' => 'json',));
}
not_api_post_zone_import:
}
// api_get_zones
if (preg_match('#^/api/zones(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_zones;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_zones')), array ( '_controller' => 'WebserviceBundle\\Controller\\ZoneController::cgetAction', '_format' => 'json',));
}
not_api_get_zones:
// api_get_zone
if (preg_match('#^/api/zones/(?P<zone>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_zone;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_zone')), array ( '_controller' => 'WebserviceBundle\\Controller\\ZoneController::getAction', '_format' => 'json',));
}
not_api_get_zone:
// api_post_zone
if (preg_match('#^/api/zones/(?P<warehouseId>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_zone;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_zone')), array ( '_controller' => 'WebserviceBundle\\Controller\\ZoneController::postAction', '_format' => 'json',));
}
not_api_post_zone:
// api_patch_zone
if (preg_match('#^/api/zones/(?P<warehouseId>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_zone;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_zone')), array ( '_controller' => 'WebserviceBundle\\Controller\\ZoneController::patchAction', '_format' => 'json',));
}
not_api_patch_zone:
// api_delete_zone
if (preg_match('#^/api/zones/(?P<warehouseId>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_api_delete_zone;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_zone')), array ( '_controller' => 'WebserviceBundle\\Controller\\ZoneController::deleteAction', '_format' => 'json',));
}
not_api_delete_zone:
}
elseif (0 === strpos($pathinfo, '/api/users')) {
if (0 === strpos($pathinfo, '/api/users/customers/import')) {
// api_get_user_customers_import
if (preg_match('#^/api/users/customers/import(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_user_customers_import;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_user_customers_import')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\UserController::getCustomersImportAction', '_format' => 'json',));
}
not_api_get_user_customers_import:
// api_post_user_customers_import
if (preg_match('#^/api/users/customers/import(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_user_customers_import;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_user_customers_import')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\UserController::postCustomersImportAction', '_format' => 'json',));
}
not_api_post_user_customers_import:
}
elseif (0 === strpos($pathinfo, '/api/users/employees/import')) {
// api_get_user_employees_import
if (preg_match('#^/api/users/employees/import(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_user_employees_import;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_user_employees_import')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\UserController::getEmployeesImportAction', '_format' => 'json',));
}
not_api_get_user_employees_import:
// api_post_user_employees_import
if (preg_match('#^/api/users/employees/import(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_user_employees_import;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_user_employees_import')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\UserController::postEmployeesImportAction', '_format' => 'json',));
}
not_api_post_user_employees_import:
}
// api_get_users
if (preg_match('#^/api/users(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_users;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_users')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\UserController::cgetAction', '_format' => 'json',));
}
not_api_get_users:
// api_get_user_me
if (0 === strpos($pathinfo, '/api/users/me') && preg_match('#^/api/users/me(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_user_me;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_user_me')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\UserController::getMeAction', '_format' => 'json',));
}
not_api_get_user_me:
// api_get_user
if (preg_match('#^/api/users/(?P<user>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_user;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_user')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\UserController::getAction', '_format' => 'json',));
}
not_api_get_user:
// api_post_user
if (preg_match('#^/api/users(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_user;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_user')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\UserController::postAction', '_format' => 'json',));
}
not_api_post_user:
// api_patch_user
if (preg_match('#^/api/users/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_user;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_user')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\UserController::patchAction', '_format' => 'json',));
}
not_api_patch_user:
// api_delete_user
if (preg_match('#^/api/users/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_api_delete_user;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_user')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\UserController::deleteAction', '_format' => 'json',));
}
not_api_delete_user:
}
elseif (0 === strpos($pathinfo, '/api/groups')) {
// api_get_groups
if (preg_match('#^/api/groups(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_groups;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_groups')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\GroupController::cgetAction', '_format' => 'json',));
}
not_api_get_groups:
// api_get_group
if (preg_match('#^/api/groups/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_group;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_group')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\GroupController::getAction', '_format' => 'json',));
}
not_api_get_group:
// api_post_group
if (preg_match('#^/api/groups(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_group;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_group')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\GroupController::postAction', '_format' => 'json',));
}
not_api_post_group:
// api_patch_group
if (preg_match('#^/api/groups/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_group;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_group')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\GroupController::patchAction', '_format' => 'json',));
}
not_api_patch_group:
// api_delete_group
if (preg_match('#^/api/groups/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_api_delete_group;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_group')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\User\\GroupController::deleteAction', '_format' => 'json',));
}
not_api_delete_group:
}
elseif (0 === strpos($pathinfo, '/api/stock')) {
if (0 === strpos($pathinfo, '/api/stock/import')) {
// api_get_import
if (preg_match('#^/api/stock/import(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_import;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_import')), array ( '_controller' => 'WebserviceBundle\\Controller\\StockController::getImportAction', '_format' => 'json',));
}
not_api_get_import:
// api_post_import
if (preg_match('#^/api/stock/import(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_import;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_import')), array ( '_controller' => 'WebserviceBundle\\Controller\\StockController::postImportAction', '_format' => 'json',));
}
not_api_post_import:
// api_get_import_bobbins
if (0 === strpos($pathinfo, '/api/stock/import-bobbins') && preg_match('#^/api/stock/import\\-bobbins(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_import_bobbins;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_import_bobbins')), array ( '_controller' => 'WebserviceBundle\\Controller\\StockController::getImportBobbinsAction', '_format' => 'json',));
}
not_api_get_import_bobbins:
}
// api_post_import_bobbins
if (0 === strpos($pathinfo, '/api/stock/bobbins/import') && preg_match('#^/api/stock/bobbins/import(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_import_bobbins;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_import_bobbins')), array ( '_controller' => 'WebserviceBundle\\Controller\\StockController::postImportBobbinsAction', '_format' => 'json',));
}
not_api_post_import_bobbins:
// api_get_stock
if (preg_match('#^/api/stock(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_stock;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_stock')), array ( '_controller' => 'WebserviceBundle\\Controller\\StockController::getStockAction', '_format' => 'json',));
}
not_api_get_stock:
if (0 === strpos($pathinfo, '/api/stocks')) {
// api_get_stock_histories
if (preg_match('#^/api/stocks/(?P<variant>[^/]++)/histories(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_stock_histories;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_stock_histories')), array ( '_controller' => 'WebserviceBundle\\Controller\\StockController::getStockHistoriesAction', '_format' => 'json',));
}
not_api_get_stock_histories:
// api_get_stock_history
if (preg_match('#^/api/stocks/(?P<variant>[^/]++)/histories/(?P<mutation>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_stock_history;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_stock_history')), array ( '_controller' => 'WebserviceBundle\\Controller\\StockController::getStockHistoryAction', '_format' => 'json',));
}
not_api_get_stock_history:
}
}
elseif (0 === strpos($pathinfo, '/api/locations')) {
if (0 === strpos($pathinfo, '/api/locations/import')) {
// api_get_location_import
if (preg_match('#^/api/locations/import(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_location_import;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_location_import')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationController::getImportAction', '_format' => 'json',));
}
not_api_get_location_import:
// api_post_location_import
if (preg_match('#^/api/locations/import(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_location_import;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_location_import')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationController::postImportAction', '_format' => 'json',));
}
not_api_post_location_import:
}
// api_get_locations
if (preg_match('#^/api/locations(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_locations;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_locations')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationController::cgetAction', '_format' => 'json',));
}
not_api_get_locations:
// api_get_location
if (preg_match('#^/api/locations/(?P<location>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_location;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_location')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationController::getAction', '_format' => 'json',));
}
not_api_get_location:
// api_post_location
if (preg_match('#^/api/locations(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_location;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_location')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationController::postAction', '_format' => 'json',));
}
not_api_post_location:
// api_patch_location
if (preg_match('#^/api/locations/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_location;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_location')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationController::patchAction', '_format' => 'json',));
}
not_api_patch_location:
// api_put_location_print
if (preg_match('#^/api/locations/(?P<location>[^/]++)/print(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_location_print;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_location_print')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationController::putPrintAction', '_format' => 'json',));
}
not_api_put_location_print:
// api_get_location_download
if (preg_match('#^/api/locations/(?P<id>[^/]++)/download(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_location_download;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_location_download')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationController::getDownloadAction', '_format' => 'json',));
}
not_api_get_location_download:
// api_get_location_next
if (preg_match('#^/api/locations/(?P<location>[^/]++)/next(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_location_next;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_location_next')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationController::getNextAction', '_format' => 'json',));
}
not_api_get_location_next:
// api_post_location_next
if (0 === strpos($pathinfo, '/api/locations/next') && preg_match('#^/api/locations/next(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_location_next;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_location_next')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationController::postNextAction', '_format' => 'json',));
}
not_api_post_location_next:
// api_post_location_generate_packing_slip_by_locations
if (0 === 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)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_location_generate_packing_slip_by_locations;
}
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',));
}
not_api_post_location_generate_packing_slip_by_locations:
}
elseif (0 === strpos($pathinfo, '/api/location-groups')) {
// api_cget_location-groups
if (preg_match('#^/api/location\\-groups(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_cget_locationgroups;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_cget_location-groups')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationGroupController::cgetAction', '_format' => 'json',));
}
not_api_cget_locationgroups:
// api_get_location-groups
if (preg_match('#^/api/location\\-groups/(?P<locationGroup>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_locationgroups;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_location-groups')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationGroupController::getAction', '_format' => 'json',));
}
not_api_get_locationgroups:
// api_post_location-groups
if (preg_match('#^/api/location\\-groups(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_locationgroups;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_location-groups')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationGroupController::postAction', '_format' => 'json',));
}
not_api_post_locationgroups:
// api_patch_location-groups
if (preg_match('#^/api/location\\-groups/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_locationgroups;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_location-groups')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationGroupController::patchAction', '_format' => 'json',));
}
not_api_patch_locationgroups:
// api_delete_location-groups
if (preg_match('#^/api/location\\-groups/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_api_delete_locationgroups;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_location-groups')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationGroupController::deleteAction', '_format' => 'json',));
}
not_api_delete_locationgroups:
}
elseif (0 === strpos($pathinfo, '/api/processes')) {
// api_get_processes
if (preg_match('#^/api/processes(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_processes;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_processes')), array ( '_controller' => 'WebserviceBundle\\Controller\\ProcessController::cgetAction', '_format' => 'json',));
}
not_api_get_processes:
// api_get_process
if (preg_match('#^/api/processes/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_process;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_process')), array ( '_controller' => 'WebserviceBundle\\Controller\\ProcessController::getAction', '_format' => 'json',));
}
not_api_get_process:
}
elseif (0 === strpos($pathinfo, '/api/modifications')) {
// api_get_modifications
if (preg_match('#^/api/modifications(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_modifications;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_modifications')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationController::cgetAction', '_format' => 'json',));
}
not_api_get_modifications:
// api_get_modification
if (preg_match('#^/api/modifications/(?P<modification>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_modification;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_modification')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationController::getAction', '_format' => 'json',));
}
not_api_get_modification:
// api_post_modification
if (preg_match('#^/api/modifications(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_modification;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_modification')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationController::postAction', '_format' => 'json',));
}
not_api_post_modification:
// api_patch_modification
if (preg_match('#^/api/modifications/(?P<modification>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_modification;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_modification')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationController::patchAction', '_format' => 'json',));
}
not_api_patch_modification:
// api_put_modification_approve
if (preg_match('#^/api/modifications/(?P<modification>[^/]++)/approve(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_modification_approve;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_modification_approve')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationController::putApproveAction', '_format' => 'json',));
}
not_api_put_modification_approve:
// api_put_modification_disapprove
if (preg_match('#^/api/modifications/(?P<modification>[^/]++)/disapprove(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_modification_disapprove;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_modification_disapprove')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationController::putDisapproveAction', '_format' => 'json',));
}
not_api_put_modification_disapprove:
// api_put_modification_print
if (preg_match('#^/api/modifications/(?P<modification>[^/]++)/print(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_modification_print;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_modification_print')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationController::putPrintAction', '_format' => 'json',));
}
not_api_put_modification_print:
// api_get_modification_lines
if (preg_match('#^/api/modifications/(?P<modification>[^/]++)/lines(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_modification_lines;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_modification_lines')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationLineController::cgetAction', '_format' => 'json',));
}
not_api_get_modification_lines:
// api_get_modification_line
if (preg_match('#^/api/modifications/(?P<modification>[^/]++)/lines/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_modification_line;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_modification_line')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationLineController::getAction', '_format' => 'json',));
}
not_api_get_modification_line:
// api_post_modification_line
if (preg_match('#^/api/modifications/(?P<modification>[^/]++)/lines(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_modification_line;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_modification_line')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationLineController::postAction', '_format' => 'json',));
}
not_api_post_modification_line:
// api_patch_modification_line
if (preg_match('#^/api/modifications/(?P<modification>[^/]++)/lines/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_modification_line;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_modification_line')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationLineController::patchAction', '_format' => 'json',));
}
not_api_patch_modification_line:
// api_delete_modification_line
if (preg_match('#^/api/modifications/(?P<modification>[^/]++)/lines/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_api_delete_modification_line;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_modification_line')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Modification\\ModificationLineController::deleteAction', '_format' => 'json',));
}
not_api_delete_modification_line:
}
elseif (0 === strpos($pathinfo, '/api/inbound')) {
// api_get_inbound_inbound_import
if (preg_match('#^/api/inbound/(?P<inbound>[^/]++)/import(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_inbound_inbound_import;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbound_inbound_import')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::getInboundImportAction', '_format' => 'json',));
}
not_api_get_inbound_inbound_import:
// api_post_inbound_inbound_import
if (preg_match('#^/api/inbound/(?P<inbound>[^/]++)/import(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_inbound_inbound_import;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_inbound_inbound_import')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::postInboundImportAction', '_format' => 'json',));
}
not_api_post_inbound_inbound_import:
if (0 === strpos($pathinfo, '/api/inbounds')) {
// api_get_inbounds
if (preg_match('#^/api/inbounds(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_inbounds;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbounds')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::cgetAction', '_format' => 'json',));
}
not_api_get_inbounds:
// api_get_inbound
if (preg_match('#^/api/inbounds/(?P<inbound>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_inbound;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbound')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::getAction', '_format' => 'json',));
}
not_api_get_inbound:
// api_post_inbound
if (preg_match('#^/api/inbounds(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_inbound;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_inbound')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::postAction', '_format' => 'json',));
}
not_api_post_inbound:
// api_post_inbound_release
if (preg_match('#^/api/inbounds/(?P<id>[^/]++)/release/(?P<locationGroupId>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_inbound_release;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_inbound_release')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::postReleaseAction', '_format' => 'json',));
}
not_api_post_inbound_release:
// api_patch_inbound
if (preg_match('#^/api/inbounds/(?P<inbound>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_inbound;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_inbound')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::patchAction', '_format' => 'json',));
}
not_api_patch_inbound:
// api_delete_inbound
if (preg_match('#^/api/inbounds/(?P<inbound>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_api_delete_inbound;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_inbound')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::deleteAction', '_format' => 'json',));
}
not_api_delete_inbound:
// api_put_inbound_hold
if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/hold(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_inbound_hold;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_inbound_hold')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::putHoldAction', '_format' => 'json',));
}
not_api_put_inbound_hold:
// api_put_inbound_unhold
if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/unhold(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_inbound_unhold;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_inbound_unhold')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::putUnholdAction', '_format' => 'json',));
}
not_api_put_inbound_unhold:
// api_put_inbound_cancel
if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/cancel(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_inbound_cancel;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_inbound_cancel')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::putCancelAction', '_format' => 'json',));
}
not_api_put_inbound_cancel:
// api_put_inbound_progress
if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/progress(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_inbound_progress;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_inbound_progress')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::putProgressAction', '_format' => 'json',));
}
not_api_put_inbound_progress:
// api_put_inbound_transfer
if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/transfer(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_inbound_transfer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_inbound_transfer')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::putTransferAction', '_format' => 'json',));
}
not_api_put_inbound_transfer:
// api_put_inbound_wait
if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/wait(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_inbound_wait;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_inbound_wait')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::putWaitAction', '_format' => 'json',));
}
not_api_put_inbound_wait:
// api_put_inbound_print
if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/print(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_inbound_print;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_inbound_print')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::putPrintAction', '_format' => 'json',));
}
not_api_put_inbound_print:
// api_get_inbound_lines
if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/lines(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_inbound_lines;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbound_lines')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundLineController::cgetAction', '_format' => 'json',));
}
not_api_get_inbound_lines:
// api_get_inbound_line_pallet
if (preg_match('#^/api/inbounds/(?P<pallet>[^/]++)/line/pallet(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_inbound_line_pallet;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbound_line_pallet')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundLineController::getPalletAction', '_format' => 'json',));
}
not_api_get_inbound_line_pallet:
// api_get_inbound_line
if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/lines/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_inbound_line;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbound_line')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundLineController::getAction', '_format' => 'json',));
}
not_api_get_inbound_line:
// api_patch_inbound_line
if (preg_match('#^/api/inbounds/(?P<inboundId>[^/]++)/lines/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_inbound_line;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_inbound_line')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundLineController::patchAction', '_format' => 'json',));
}
not_api_patch_inbound_line:
// api_delete_inbound_line
if (preg_match('#^/api/inbounds/(?P<inboundId>[^/]++)/lines/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_api_delete_inbound_line;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_inbound_line')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundLineController::deleteAction', '_format' => 'json',));
}
not_api_delete_inbound_line:
// api_put_inbound_line_process
if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/lines/(?P<inboundLine>[^/]++)/process(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_inbound_line_process;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_inbound_line_process')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundLineController::putProcessAction', '_format' => 'json',));
}
not_api_put_inbound_line_process:
// api_put_inbound_line_print
if (preg_match('#^/api/inbounds/(?P<inboundLine>[^/]++)/line/print(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_inbound_line_print;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_inbound_line_print')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundLineController::putPrintAction', '_format' => 'json',));
}
not_api_put_inbound_line_print:
// api_get_inbound_line_location
if (preg_match('#^/api/inbounds/(?P<palletId>[^/]++)/line/location(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_inbound_line_location;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbound_line_location')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundLineController::getLocationAction', '_format' => 'json',));
}
not_api_get_inbound_line_location:
// api_get_inbound_line_batchnumber
if (preg_match('#^/api/inbounds/(?P<batchNumber>[^/]++)/line/batchnumber(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_inbound_line_batchnumber;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbound_line_batchnumber')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundLineController::getBatchnumberAction', '_format' => 'json',));
}
not_api_get_inbound_line_batchnumber:
// api_get_inbound_documents
if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/documents(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_inbound_documents;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbound_documents')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundDocumentController::cgetAction', '_format' => 'json',));
}
not_api_get_inbound_documents:
// api_get_inbound_document
if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/documents/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_inbound_document;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbound_document')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundDocumentController::getAction', '_format' => 'json',));
}
not_api_get_inbound_document:
// api_get_inbound_document_content
if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/documents/(?P<id>[^/]++)/content(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_inbound_document_content;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbound_document_content')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundDocumentController::getContentAction', '_format' => 'json',));
}
not_api_get_inbound_document_content:
// api_post_inbound_document
if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/documents(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_inbound_document;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_inbound_document')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundDocumentController::postAction', '_format' => 'json',));
}
not_api_post_inbound_document:
// api_delete_inbound_document
if (preg_match('#^/api/inbounds/(?P<inbound>[^/]++)/documents/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_api_delete_inbound_document;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_inbound_document')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundDocumentController::deleteAction', '_format' => 'json',));
}
not_api_delete_inbound_document:
}
// api_get_inbound_tasks
if (0 === strpos($pathinfo, '/api/inbound/tasks') && preg_match('#^/api/inbound/tasks(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_inbound_tasks;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inbound_tasks')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::getTasksAction', '_format' => 'json',));
}
not_api_get_inbound_tasks:
// api_post_inbound_quick
if (0 === strpos($pathinfo, '/api/inbound/quick-actions') && preg_match('#^/api/inbound/quick\\-actions/(?P<id>[^/]++)/import(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_inbound_quick;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_inbound_quick')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundController::postQuickActionImport', '_format' => 'json',));
}
not_api_post_inbound_quick:
if (0 === strpos($pathinfo, '/api/inboundlines')) {
// api_get_inboundlines
if (preg_match('#^/api/inboundlines(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_inboundlines;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inboundlines')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Resource\\InboundlineController::cgetAction', '_format' => 'json',));
}
not_api_get_inboundlines:
// api_get_inboundline
if (preg_match('#^/api/inboundlines/(?P<inbound>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_inboundline;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_inboundline')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Resource\\InboundlineController::getAction', '_format' => 'json',));
}
not_api_get_inboundline:
}
}
elseif (0 === strpos($pathinfo, '/api/transfer')) {
if (0 === strpos($pathinfo, '/api/transfers')) {
// api_get_transfer_migrate
if (0 === strpos($pathinfo, '/api/transfers/move') && preg_match('#^/api/transfers/move(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_transfer_migrate;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_transfer_migrate')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::getMigrateAction', '_format' => 'json',));
}
not_api_get_transfer_migrate:
// api_get_transfers
if (preg_match('#^/api/transfers(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_transfers;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_transfers')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::cgetAction', '_format' => 'json',));
}
not_api_get_transfers:
// api_get_transfer
if (preg_match('#^/api/transfers/(?P<transfer>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_transfer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_transfer')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::getAction', '_format' => 'json',));
}
not_api_get_transfer:
// api_post_transfer
if (preg_match('#^/api/transfers(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_transfer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_transfer')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::postAction', '_format' => 'json',));
}
not_api_post_transfer:
// api_post_transfer_bobbin
if (0 === strpos($pathinfo, '/api/transfers/bobbins') && preg_match('#^/api/transfers/bobbins(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_transfer_bobbin;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_transfer_bobbin')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::postBobbinAction', '_format' => 'json',));
}
not_api_post_transfer_bobbin:
// api_patch_transfer
if (preg_match('#^/api/transfers/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_transfer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_transfer')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::patchAction', '_format' => 'json',));
}
not_api_patch_transfer:
// api_delete_transfer
if (preg_match('#^/api/transfers/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_api_delete_transfer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_transfer')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::deleteAction', '_format' => 'json',));
}
not_api_delete_transfer:
// api_put_transfer_start
if (preg_match('#^/api/transfers/(?P<id>[^/]++)/start(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_transfer_start;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_transfer_start')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::putStartAction', '_format' => 'json',));
}
not_api_put_transfer_start:
// api_put_transfer_unassign
if (preg_match('#^/api/transfers/(?P<id>[^/]++)/unassign(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_transfer_unassign;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_transfer_unassign')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::putUnassignAction', '_format' => 'json',));
}
not_api_put_transfer_unassign:
// api_put_transfer_plan
if (preg_match('#^/api/transfers/(?P<id>[^/]++)/plan(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_transfer_plan;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_transfer_plan')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::putPlanAction', '_format' => 'json',));
}
not_api_put_transfer_plan:
// api_put_transfer_hold
if (preg_match('#^/api/transfers/(?P<id>[^/]++)/hold(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_transfer_hold;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_transfer_hold')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::putHoldAction', '_format' => 'json',));
}
not_api_put_transfer_hold:
// api_put_transfer_unhold
if (preg_match('#^/api/transfers/(?P<id>[^/]++)/unhold(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_transfer_unhold;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_transfer_unhold')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::putUnholdAction', '_format' => 'json',));
}
not_api_put_transfer_unhold:
// api_put_transfer_cancel
if (preg_match('#^/api/transfers/(?P<id>[^/]++)/cancel(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_transfer_cancel;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_transfer_cancel')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::putCancelAction', '_format' => 'json',));
}
not_api_put_transfer_cancel:
// api_put_transfer_progress
if (preg_match('#^/api/transfers/(?P<id>[^/]++)/progress(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_transfer_progress;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_transfer_progress')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::putProgressAction', '_format' => 'json',));
}
not_api_put_transfer_progress:
// api_put_transfer_complete
if (preg_match('#^/api/transfers/(?P<id>[^/]++)/complete(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_transfer_complete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_transfer_complete')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::putCompleteAction', '_format' => 'json',));
}
not_api_put_transfer_complete:
// api_put_transfer_print
if (preg_match('#^/api/transfers/(?P<transfer>[^/]++)/print(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_transfer_print;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_transfer_print')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::putPrintAction', '_format' => 'json',));
}
not_api_put_transfer_print:
// api_get_transfer_lines
if (preg_match('#^/api/transfers/(?P<transferId>[^/]++)/lines(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_transfer_lines;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_transfer_lines')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferLineController::cgetAction', '_format' => 'json',));
}
not_api_get_transfer_lines:
// api_get_transfer_line
if (preg_match('#^/api/transfers/(?P<transferId>[^/]++)/lines/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_transfer_line;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_transfer_line')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferLineController::getAction', '_format' => 'json',));
}
not_api_get_transfer_line:
// api_post_transfer_line
if (preg_match('#^/api/transfers/(?P<transferId>[^/]++)/lines(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_transfer_line;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_transfer_line')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferLineController::postAction', '_format' => 'json',));
}
not_api_post_transfer_line:
// api_patch_transfer_line
if (preg_match('#^/api/transfers/(?P<transferId>[^/]++)/lines/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_transfer_line;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_transfer_line')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferLineController::patchAction', '_format' => 'json',));
}
not_api_patch_transfer_line:
// api_delete_transfer_line
if (preg_match('#^/api/transfers/(?P<transferId>[^/]++)/lines/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_api_delete_transfer_line;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_transfer_line')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferLineController::deleteAction', '_format' => 'json',));
}
not_api_delete_transfer_line:
}
// api_put_transfer_move_location
if (0 === strpos($pathinfo, '/api/transfer/move/location') && preg_match('#^/api/transfer/move/location(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_transfer_move_location;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_transfer_move_location')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferController::putMoveLocationAction', '_format' => 'json',));
}
not_api_put_transfer_move_location:
// api_put_transfer_line_start
if (0 === strpos($pathinfo, '/api/transfer_lines') && preg_match('#^/api/transfer_lines/(?P<id>[^/]++)/start(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_transfer_line_start;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_transfer_line_start')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Transfer\\TransferLineController::putStartAction', '_format' => 'json',));
}
not_api_put_transfer_line_start:
}
// api_get_tasks
if (0 === strpos($pathinfo, '/api/tasks') && preg_match('#^/api/tasks(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_tasks;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_tasks')), array ( '_controller' => 'WebserviceBundle\\Controller\\TaskController::cgetAction', '_format' => 'json',));
}
not_api_get_tasks:
// api_post_task_progress
if (preg_match('#^/api/(?P<object>[^/]+)s/(?P<id>[^/]++)/progress(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if (!in_array($requestMethod, array('POST', 'PUT'))) {
$allow = array_merge($allow, array('POST', 'PUT'));
goto not_api_post_task_progress;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_task_progress')), array ( '_controller' => 'WebserviceBundle\\Controller\\TaskController::postProgressAction', '_format' => 'json',));
}
not_api_post_task_progress:
if (0 === strpos($pathinfo, '/api/s')) {
// api_get_scans
if (0 === strpos($pathinfo, '/api/scans') && preg_match('#^/api/scans(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_scans;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_scans')), array ( '_controller' => 'WebserviceBundle\\Controller\\ScanController::cgetAction', '_format' => 'json',));
}
not_api_get_scans:
if (0 === strpos($pathinfo, '/api/ship')) {
if (0 === strpos($pathinfo, '/api/shipping')) {
if (0 === strpos($pathinfo, '/api/shippingmethods')) {
// api_get_shippingmethods
if (preg_match('#^/api/shippingmethods(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_shippingmethods;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shippingmethods')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmethodController::cgetAction', '_format' => 'json',));
}
not_api_get_shippingmethods:
// api_get_shippingmethod
if (preg_match('#^/api/shippingmethods/(?P<shippingMethod>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_shippingmethod;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shippingmethod')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmethodController::getAction', '_format' => 'json',));
}
not_api_get_shippingmethod:
// api_put_shippingmethod_automatic
if (preg_match('#^/api/shippingmethods/(?P<order>[^/]++)/automatic(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_shippingmethod_automatic;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_shippingmethod_automatic')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmethodController::putAutomaticAction', '_format' => 'json',));
}
not_api_put_shippingmethod_automatic:
// api_patch_shippingmethod
if (preg_match('#^/api/shippingmethods/(?P<shippingMethod>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_shippingmethod;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_shippingmethod')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmethodController::patchAction', '_format' => 'json',));
}
not_api_patch_shippingmethod:
// api_get_shippingmethod_options
if (preg_match('#^/api/shippingmethods/(?P<paazlShipmentOption>[^/]++)/options(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_shippingmethod_options;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shippingmethod_options')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmethodOptionController::cgetAction', '_format' => 'json',));
}
not_api_get_shippingmethod_options:
// api_get_shippingmethod_option
if (preg_match('#^/api/shippingmethods/(?P<paazlShipmentOption>[^/]++)/options/(?P<shippingMethodOption>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_shippingmethod_option;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shippingmethod_option')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmethodOptionController::getAction', '_format' => 'json',));
}
not_api_get_shippingmethod_option:
// api_patch_shippingmethod_option
if (preg_match('#^/api/shippingmethods/(?P<paazlShipmentOption>[^/]++)/options/(?P<shippingMethodOption>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_shippingmethod_option;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_shippingmethod_option')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmethodOptionController::patchAction', '_format' => 'json',));
}
not_api_patch_shippingmethod_option:
}
elseif (0 === strpos($pathinfo, '/api/shippingmatrices')) {
// api_matrix_shippingmatrix
if (0 === strpos($pathinfo, '/api/shippingmatrices/matrix') && preg_match('#^/api/shippingmatrices/matrix(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_matrix_shippingmatrix;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_matrix_shippingmatrix')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmatrixController::matrixAction', '_format' => 'json',));
}
not_api_matrix_shippingmatrix:
// api_get_shippingmatrices
if (preg_match('#^/api/shippingmatrices(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_shippingmatrices;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shippingmatrices')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmatrixController::cgetAction', '_format' => 'json',));
}
not_api_get_shippingmatrices:
// api_get_shippingmatrix
if (preg_match('#^/api/shippingmatrices/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_shippingmatrix;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shippingmatrix')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmatrixController::getAction', '_format' => 'json',));
}
not_api_get_shippingmatrix:
// api_patch_shippingmatrix
if (preg_match('#^/api/shippingmatrices/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_shippingmatrix;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_shippingmatrix')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmatrixController::patchAction', '_format' => 'json',));
}
not_api_patch_shippingmatrix:
// api_delete_shippingmatrix
if (preg_match('#^/api/shippingmatrices/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_api_delete_shippingmatrix;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_shippingmatrix')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingmatrixController::deleteAction', '_format' => 'json',));
}
not_api_delete_shippingmatrix:
}
elseif (0 === strpos($pathinfo, '/api/shippingtemplates')) {
// api_get_shippingtemplates
if (preg_match('#^/api/shippingtemplates(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_shippingtemplates;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shippingtemplates')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingtemplateController::cgetAction', '_format' => 'json',));
}
not_api_get_shippingtemplates:
// api_get_shippingtemplate
if (preg_match('#^/api/shippingtemplates/(?P<shippingTemplate>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_shippingtemplate;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shippingtemplate')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingtemplateController::getAction', '_format' => 'json',));
}
not_api_get_shippingtemplate:
// api_post_shippingtemplate_preview
if (0 === strpos($pathinfo, '/api/shippingtemplates/previews') && preg_match('#^/api/shippingtemplates/previews(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_shippingtemplate_preview;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_shippingtemplate_preview')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingtemplateController::postPreviewAction', '_format' => 'json',));
}
not_api_post_shippingtemplate_preview:
// api_patch_shippingtemplate
if (preg_match('#^/api/shippingtemplates/(?P<shippingTemplate>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_shippingtemplate;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_shippingtemplate')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShippingtemplateController::patchAction', '_format' => 'json',));
}
not_api_patch_shippingtemplate:
}
}
elseif (0 === strpos($pathinfo, '/api/shipments')) {
// api_get_shipments
if (preg_match('#^/api/shipments(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_shipments;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shipments')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShipmentController::cgetAction', '_format' => 'json',));
}
not_api_get_shipments:
// api_get_shipment
if (preg_match('#^/api/shipments/(?P<shipment>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_shipment;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shipment')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShipmentController::getAction', '_format' => 'json',));
}
not_api_get_shipment:
// api_post_shipment
if (preg_match('#^/api/shipments(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_shipment;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_shipment')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShipmentController::postAction', '_format' => 'json',));
}
not_api_post_shipment:
// api_put_shipment_print
if (preg_match('#^/api/shipments/(?P<id>[^/]++)/print(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_shipment_print;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_shipment_print')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShipmentController::putPrintAction', '_format' => 'json',));
}
not_api_put_shipment_print:
// api_put_shipment_print_labels
if (preg_match('#^/api/shipments/(?P<id>[^/]++)/print/labels(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_shipment_print_labels;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_shipment_print_labels')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShipmentController::putPrintLabelsAction', '_format' => 'json',));
}
not_api_put_shipment_print_labels:
// api_get_shipment_download_slip
if (preg_match('#^/api/shipments/(?P<id>[^/]++)/download/slip(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_shipment_download_slip;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shipment_download_slip')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShipmentController::getDownloadSlipAction', '_format' => 'json',));
}
not_api_get_shipment_download_slip:
// api_get_shipment_download_labels
if (preg_match('#^/api/shipments/(?P<id>[^/]++)/download/labels(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_shipment_download_labels;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shipment_download_labels')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShipmentController::getDownloadLabelsAction', '_format' => 'json',));
}
not_api_get_shipment_download_labels:
// api_get_shipment_download_cmr
if (preg_match('#^/api/shipments/(?P<shipment>[^/]++)/download/cmr(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_shipment_download_cmr;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shipment_download_cmr')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShipmentController::getDownloadCmrAction', '_format' => 'json',));
}
not_api_get_shipment_download_cmr:
// api_get_shipment_tracking
if (preg_match('#^/api/shipments/(?P<id>[^/]++)/tracking(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_shipment_tracking;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shipment_tracking')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\ShipmentController::getTrackingAction', '_format' => 'json',));
}
not_api_get_shipment_tracking:
}
elseif (0 === strpos($pathinfo, '/api/shipment-couriers')) {
// api_cget_shipment-couriers
if (preg_match('#^/api/shipment\\-couriers(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_cget_shipmentcouriers;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_cget_shipment-couriers')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipment\\ShipmentCourierController::cgetAction', '_format' => 'json',));
}
not_api_cget_shipmentcouriers:
// api_get_shipment-couriers
if (preg_match('#^/api/shipment\\-couriers/(?P<shipmentCourier>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_shipmentcouriers;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_shipment-couriers')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipment\\ShipmentCourierController::getAction', '_format' => 'json',));
}
not_api_get_shipmentcouriers:
// api_post_shipment-couriers
if (preg_match('#^/api/shipment\\-couriers(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_shipmentcouriers;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_shipment-couriers')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipment\\ShipmentCourierController::postAction', '_format' => 'json',));
}
not_api_post_shipmentcouriers:
// api_patch_shipment-couriers
if (preg_match('#^/api/shipment\\-couriers/(?P<shipmentCourier>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_shipmentcouriers;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_shipment-couriers')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipment\\ShipmentCourierController::patchAction', '_format' => 'json',));
}
not_api_patch_shipmentcouriers:
}
}
// api_get_status_order
if (0 === strpos($pathinfo, '/api/status/order') && preg_match('#^/api/status/order(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_status_order;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_status_order')), array ( '_controller' => 'WebserviceBundle\\Controller\\SystemStatusController::getStatusOrderAction', '_format' => 'json',));
}
not_api_get_status_order:
// api_get_status_system
if (0 === strpos($pathinfo, '/api/status/system') && preg_match('#^/api/status/system(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_status_system;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_status_system')), array ( '_controller' => 'WebserviceBundle\\Controller\\SystemStatusController::getStatusSystemAction', '_format' => 'json',));
}
not_api_get_status_system:
// post_serialnumber
if (0 === strpos($pathinfo, '/api/serialnumbers') && preg_match('#^/api/serialnumbers(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_post_serialnumber;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'post_serialnumber')), array ( '_controller' => 'WebserviceBundle\\Controller\\SerialnumberController::postAction', '_format' => 'json',));
}
not_post_serialnumber:
}
elseif (0 === strpos($pathinfo, '/api/c')) {
if (0 === strpos($pathinfo, '/api/customers')) {
// api_get_customer_prices
if (preg_match('#^/api/customers/(?P<customer>[^/]++)/prices(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_customer_prices;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_customer_prices')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerPriceController::cgetAction', '_format' => 'json',));
}
not_api_get_customer_prices:
// api_get_customer_price
if (preg_match('#^/api/customers/(?P<customerId>[^/]++)/prices/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_customer_price;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_customer_price')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerPriceController::getAction', '_format' => 'json',));
}
not_api_get_customer_price:
// api_post_customer_price
if (preg_match('#^/api/customers/(?P<customerId>[^/]++)/prices(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_customer_price;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_customer_price')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerPriceController::postAction', '_format' => 'json',));
}
not_api_post_customer_price:
// api_patch_customer_price
if (preg_match('#^/api/customers/(?P<customerId>[^/]++)/prices/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_customer_price;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_customer_price')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerPriceController::patchAction', '_format' => 'json',));
}
not_api_patch_customer_price:
}
elseif (0 === strpos($pathinfo, '/api/customer-groups')) {
// api_cget_customer-groups
if (preg_match('#^/api/customer\\-groups(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_cget_customergroups;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_cget_customer-groups')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerGroupController::cgetAction', '_format' => 'json',));
}
not_api_cget_customergroups:
// api_get_customer-groups
if (preg_match('#^/api/customer\\-groups/(?P<customerGroup>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_customergroups;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_customer-groups')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerGroupController::getAction', '_format' => 'json',));
}
not_api_get_customergroups:
// api_post_customer-groups
if (preg_match('#^/api/customer\\-groups(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_customergroups;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_customer-groups')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerGroupController::postAction', '_format' => 'json',));
}
not_api_post_customergroups:
// api_patch_customer-groups
if (preg_match('#^/api/customer\\-groups/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_customergroups;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_customer-groups')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerGroupController::patchAction', '_format' => 'json',));
}
not_api_patch_customergroups:
// api_delete_customer-groups
if (preg_match('#^/api/customer\\-groups/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_api_delete_customergroups;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_customer-groups')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Customer\\CustomerGroupController::deleteAction', '_format' => 'json',));
}
not_api_delete_customergroups:
}
elseif (0 === strpos($pathinfo, '/api/collotypes')) {
if (0 === strpos($pathinfo, '/api/collotypes/import')) {
// api_get_collotype_import
if (preg_match('#^/api/collotypes/import(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_collotype_import;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_collotype_import')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\CollotypeController::getImportAction', '_format' => 'json',));
}
not_api_get_collotype_import:
// api_post_collotype_import
if (0 === strpos($pathinfo, '/api/collotypes/imports') && preg_match('#^/api/collotypes/imports(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_collotype_import;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_collotype_import')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\CollotypeController::postImportAction', '_format' => 'json',));
}
not_api_post_collotype_import:
}
// api_get_collotypes
if (preg_match('#^/api/collotypes(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_collotypes;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_collotypes')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\CollotypeController::cgetAction', '_format' => 'json',));
}
not_api_get_collotypes:
// api_get_collotype
if (preg_match('#^/api/collotypes/(?P<collotype>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_collotype;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_collotype')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\CollotypeController::getAction', '_format' => 'json',));
}
not_api_get_collotype:
}
elseif (0 === strpos($pathinfo, '/api/countries')) {
// api_get_countries
if (preg_match('#^/api/countries(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_countries;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_countries')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Country\\CountryController::cgetAction', '_format' => 'json',));
}
not_api_get_countries:
// api_get_country
if (preg_match('#^/api/countries/(?P<country>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_country;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_country')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Country\\CountryController::getAction', '_format' => 'json',));
}
not_api_get_country:
}
}
elseif (0 === strpos($pathinfo, '/api/p')) {
if (0 === strpos($pathinfo, '/api/pa')) {
// api_get_paazlshipment_options
if (0 === strpos($pathinfo, '/api/paazlshipment/options') && preg_match('#^/api/paazlshipment/options(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_paazlshipment_options;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_paazlshipment_options')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\PaazlShipmentOptionController::cgetAction', '_format' => 'json',));
}
not_api_get_paazlshipment_options:
if (0 === strpos($pathinfo, '/api/paazlshipments')) {
// api_get_paazlshipment_option
if (preg_match('#^/api/paazlshipments/(?P<paazlShipmentOption>[^/]++)/option(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_paazlshipment_option;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_paazlshipment_option')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\PaazlShipmentOptionController::getAction', '_format' => 'json',));
}
not_api_get_paazlshipment_option:
// api_put_paazlshipment_option_automatic
if (preg_match('#^/api/paazlshipments/(?P<order>[^/]++)/option/automatic(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_paazlshipment_option_automatic;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_paazlshipment_option_automatic')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\PaazlShipmentOptionController::putAutomaticAction', '_format' => 'json',));
}
not_api_put_paazlshipment_option_automatic:
}
elseif (0 === strpos($pathinfo, '/api/packingtables')) {
// api_get_packingtables
if (preg_match('#^/api/packingtables(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_packingtables;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_packingtables')), array ( '_controller' => 'WebserviceBundle\\Controller\\PackingtableController::cgetAction', '_format' => 'json',));
}
not_api_get_packingtables:
// api_post_packingtable
if (preg_match('#^/api/packingtables(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_packingtable;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_packingtable')), array ( '_controller' => 'WebserviceBundle\\Controller\\PackingtableController::postAction', '_format' => 'json',));
}
not_api_post_packingtable:
// api_get_packingtable
if (preg_match('#^/api/packingtables/(?P<packingtable>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_packingtable;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_packingtable')), array ( '_controller' => 'WebserviceBundle\\Controller\\PackingtableController::getAction', '_format' => 'json',));
}
not_api_get_packingtable:
// api_get_packingtable_ping
if (preg_match('#^/api/packingtables/(?P<id>[^/]++)/ping(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_packingtable_ping;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_packingtable_ping')), array ( '_controller' => 'WebserviceBundle\\Controller\\PackingtableController::getPingAction', '_format' => 'json',));
}
not_api_get_packingtable_ping:
// api_get_packingtable_order
if (preg_match('#^/api/packingtables/(?P<order>[^/]++)/order(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_packingtable_order;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_packingtable_order')), array ( '_controller' => 'WebserviceBundle\\Controller\\PackingtableController::getOrderAction', '_format' => 'json',));
}
not_api_get_packingtable_order:
}
}
elseif (0 === strpos($pathinfo, '/api/picklists')) {
// api_get_picklists
if (preg_match('#^/api/picklists(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_picklists;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_picklists')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::cgetAction', '_format' => 'json',));
}
not_api_get_picklists:
// api_get_picklist
if (preg_match('#^/api/picklists/(?P<pickList>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_picklist;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_picklist')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::getAction', '_format' => 'json',));
}
not_api_get_picklist:
// api_patch_picklist
if (preg_match('#^/api/picklists/(?P<pickList>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_picklist;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_picklist')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::patchAction', '_format' => 'json',));
}
not_api_patch_picklist:
// api_put_picklist_unassign
if (preg_match('#^/api/picklists/(?P<id>[^/]++)/unassign(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_picklist_unassign;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_picklist_unassign')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::putUnassignAction', '_format' => 'json',));
}
not_api_put_picklist_unassign:
// api_put_picklist_cancel
if (preg_match('#^/api/picklists/(?P<id>[^/]++)/cancel(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_picklist_cancel;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_picklist_cancel')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::putCancelAction', '_format' => 'json',));
}
not_api_put_picklist_cancel:
// api_put_picklist_problem
if (preg_match('#^/api/picklists/(?P<id>[^/]++)/problem(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_picklist_problem;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_picklist_problem')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::putProblemAction', '_format' => 'json',));
}
not_api_put_picklist_problem:
// api_put_picklist_start
if (preg_match('#^/api/picklists/(?P<pickList>[^/]++)/start(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_picklist_start;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_picklist_start')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::putStartAction', '_format' => 'json',));
}
not_api_put_picklist_start:
// api_post_picklist_find_table
if (preg_match('#^/api/picklists/(?P<md5NotiveString>[^/]++)/find_table(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_picklist_find_table;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_picklist_find_table')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::postFindTableAction', '_format' => 'json',));
}
not_api_post_picklist_find_table:
// api_put_picklist_print
if (preg_match('#^/api/picklists/(?P<id>[^/]++)/print(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_picklist_print;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_picklist_print')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::putPrintAction', '_format' => 'json',));
}
not_api_put_picklist_print:
// api_get_picklist_download
if (preg_match('#^/api/picklists/(?P<id>[^/]++)/download(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_picklist_download;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_picklist_download')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::getDownloadAction', '_format' => 'json',));
}
not_api_get_picklist_download:
// api_get_picklist_download_packing_slips
if (preg_match('#^/api/picklists/(?P<pickList>[^/]++)/download/packing/slips(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_picklist_download_packing_slips;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_picklist_download_packing_slips')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::getDownloadPackingSlipsAction', '_format' => 'json',));
}
not_api_get_picklist_download_packing_slips:
// api_get_picklist_download_cmr
if (preg_match('#^/api/picklists/(?P<pickList>[^/]++)/download/cmr(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_picklist_download_cmr;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_picklist_download_cmr')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\PicklistController::getDownloadCmrAction', '_format' => 'json',));
}
not_api_get_picklist_download_cmr:
}
elseif (0 === strpos($pathinfo, '/api/pr')) {
// api_get_printers
if (0 === strpos($pathinfo, '/api/printers') && preg_match('#^/api/printers(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_printers;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_printers')), array ( '_controller' => 'WebserviceBundle\\Controller\\PrinterController::cgetAction', '_format' => 'json',));
}
not_api_get_printers:
if (0 === strpos($pathinfo, '/api/problem_picklists')) {
// api_get_problem_picklist
if (preg_match('#^/api/problem_picklists/(?P<id>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_problem_picklist;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_problem_picklist')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\ProblemPicklistController::getAction', '_format' => 'json',));
}
not_api_get_problem_picklist:
// api_put_problem_picklist_start
if (preg_match('#^/api/problem_picklists/(?P<id>[^/]++)/start(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_problem_picklist_start;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_problem_picklist_start')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\ProblemPicklistController::putStartAction', '_format' => 'json',));
}
not_api_put_problem_picklist_start:
// api_post_problem_picklist_find_table
if (preg_match('#^/api/problem_picklists/(?P<id>[^/]++)/find_table(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_problem_picklist_find_table;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_problem_picklist_find_table')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Picklist\\ProblemPicklistController::postFindTableAction', '_format' => 'json',));
}
not_api_post_problem_picklist_find_table:
}
elseif (0 === strpos($pathinfo, '/api/production')) {
if (0 === strpos($pathinfo, '/api/productionorders')) {
// api_complete_productionorder
if (preg_match('#^/api/productionorders/(?P<productionOrder>[^/]++)/complete(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_complete_productionorder;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_complete_productionorder')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionorderController::completeAction', '_format' => 'json',));
}
not_api_complete_productionorder:
// api_get_productionorders
if (preg_match('#^/api/productionorders(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_productionorders;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_productionorders')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionorderController::cgetAction', '_format' => 'json',));
}
not_api_get_productionorders:
// api_get_productionorder
if (preg_match('#^/api/productionorders/(?P<productionOrder>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_productionorder;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_productionorder')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionorderController::getAction', '_format' => 'json',));
}
not_api_get_productionorder:
// api_post_productionorder
if (preg_match('#^/api/productionorders(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_productionorder;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_productionorder')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionorderController::postAction', '_format' => 'json',));
}
not_api_post_productionorder:
// api_patch_productionorder
if (preg_match('#^/api/productionorders/(?P<productionOrder>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_productionorder;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_productionorder')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionorderController::patchAction', '_format' => 'json',));
}
not_api_patch_productionorder:
// api_put_productionorder_transfer
if (preg_match('#^/api/productionorders/(?P<productionOrder>[^/]++)/transfer(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_productionorder_transfer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_productionorder_transfer')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionorderController::putTransferAction', '_format' => 'json',));
}
not_api_put_productionorder_transfer:
// api_post_productionorder_print
if (preg_match('#^/api/productionorders/(?P<productionOrder>[^/]++)/prints(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_productionorder_print;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_productionorder_print')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionorderController::postPrintAction', '_format' => 'json',));
}
not_api_post_productionorder_print:
// api_get_productionorder_locations
if (preg_match('#^/api/productionorders/(?P<productionOrder>[^/]++)/locations(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_productionorder_locations;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_productionorder_locations')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionorderController::getLocationsAction', '_format' => 'json',));
}
not_api_get_productionorder_locations:
// api_put_productionorder_cancel
if (preg_match('#^/api/productionorders/(?P<productionOrder>[^/]++)/cancel(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_productionorder_cancel;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_productionorder_cancel')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionorderController::putCancelAction', '_format' => 'json',));
}
not_api_put_productionorder_cancel:
// api_get_productionorder_barcode
if (preg_match('#^/api/productionorders/(?P<productionOrder>[^/]++)/barcode(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_productionorder_barcode;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_productionorder_barcode')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionorderController::getBarcodeAction', '_format' => 'json',));
}
not_api_get_productionorder_barcode:
}
// api_put_productionorder_start
if (0 === strpos($pathinfo, '/api/productionOrders') && preg_match('#^/api/productionOrders/(?P<id>[^/]++)/start(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_productionorder_start;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_productionorder_start')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionorderController::putStartAction', '_format' => 'json',));
}
not_api_put_productionorder_start:
if (0 === strpos($pathinfo, '/api/productionissues')) {
// api_get_productionissue
if (preg_match('#^/api/productionissues/(?P<productionIssue>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_productionissue;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_productionissue')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionissueController::getAction', '_format' => 'json',));
}
not_api_get_productionissue:
// api_post_productionissue
if (preg_match('#^/api/productionissues(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_productionissue;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_productionissue')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionissueController::postAction', '_format' => 'json',));
}
not_api_post_productionissue:
// api_patch_productionissue
if (preg_match('#^/api/productionissues/(?P<productionIssue>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_productionissue;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_productionissue')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionissueController::patchAction', '_format' => 'json',));
}
not_api_patch_productionissue:
// api_put_productionissue_cancel
if (preg_match('#^/api/productionissues/(?P<productionIssue>[^/]++)/cancel(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_productionissue_cancel;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_productionissue_cancel')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionissueController::putCancelAction', '_format' => 'json',));
}
not_api_put_productionissue_cancel:
// api_put_productionissue_transfer
if (preg_match('#^/api/productionissues/(?P<productionIssue>[^/]++)/transfer(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_productionissue_transfer;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_productionissue_transfer')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Production\\ProductionissueController::putTransferAction', '_format' => 'json',));
}
not_api_put_productionissue_transfer:
}
}
}
elseif (0 === strpos($pathinfo, '/api/portal')) {
// api_portal_post_article
if (0 === strpos($pathinfo, '/api/portal/articles') && preg_match('#^/api/portal/articles(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_portal_post_article;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_portal_post_article')), array ( '_controller' => 'WebserviceBundle\\Controller\\Portal\\ArticleController::postAction', '_format' => 'json',));
}
not_api_portal_post_article:
// api_portal_post_inbound
if (0 === strpos($pathinfo, '/api/portal/inbounds') && preg_match('#^/api/portal/inbounds(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_portal_post_inbound;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_portal_post_inbound')), array ( '_controller' => 'WebserviceBundle\\Controller\\Portal\\InboundController::postAction', '_format' => 'json',));
}
not_api_portal_post_inbound:
if (0 === strpos($pathinfo, '/api/portal/orders')) {
// api_portal_post_order
if (preg_match('#^/api/portal/orders(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_portal_post_order;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_portal_post_order')), array ( '_controller' => 'WebserviceBundle\\Controller\\Portal\\OrderController::postAction', '_format' => 'json',));
}
not_api_portal_post_order:
// api_portal_put_order
if (preg_match('#^/api/portal/orders/(?P<order>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_portal_put_order;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_portal_put_order')), array ( '_controller' => 'WebserviceBundle\\Controller\\Portal\\OrderController::putAction', '_format' => 'json',));
}
not_api_portal_put_order:
// api_portal_post_order_shipped
if (0 === strpos($pathinfo, '/api/portal/orders/shipped') && preg_match('#^/api/portal/orders/shipped(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_portal_post_order_shipped;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_portal_post_order_shipped')), array ( '_controller' => 'WebserviceBundle\\Controller\\Portal\\OrderController::postShippedAction', '_format' => 'json',));
}
not_api_portal_post_order_shipped:
}
// api_portal_get_order_shipped
if (0 === strpos($pathinfo, '/api/portal/order/shipped') && preg_match('#^/api/portal/order/shipped(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_portal_get_order_shipped;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_portal_get_order_shipped')), array ( '_controller' => 'WebserviceBundle\\Controller\\Portal\\OrderController::getShippedAction', '_format' => 'json',));
}
not_api_portal_get_order_shipped:
// api_portal_get_order_trackingportal_tracking_get
if (0 === strpos($pathinfo, '/api/portal/tracking') && preg_match('#^/api/portal/tracking/(?P<reference>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_portal_get_order_trackingportal_tracking_get;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_portal_get_order_trackingportal_tracking_get')), array ( '_controller' => 'WebserviceBundle\\Controller\\Portal\\OrderController::getTrackingAction', '_format' => 'json',));
}
not_api_portal_get_order_trackingportal_tracking_get:
}
}
elseif (0 === strpos($pathinfo, '/api/l')) {
// api_get_location_types
if (0 === strpos($pathinfo, '/api/location/types') && preg_match('#^/api/location/types(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_location_types;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_location_types')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\LocationTypeController::cgetAction', '_format' => 'json',));
}
not_api_get_location_types:
// api_get_languages
if (0 === strpos($pathinfo, '/api/languages') && preg_match('#^/api/languages(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_languages;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_languages')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\LanguageController::cgetAction', '_format' => 'json',));
}
not_api_get_languages:
if (0 === strpos($pathinfo, '/api/labels')) {
// api_post_label_locations
if (0 === strpos($pathinfo, '/api/labels/locations') && preg_match('#^/api/labels/locations(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_label_locations;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_label_locations')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Label\\LabelController::postLocationsAction', '_format' => 'json',));
}
not_api_post_label_locations:
if (0 === strpos($pathinfo, '/api/labels/location-bobbins')) {
// api_post_label_location_bobbins
if (preg_match('#^/api/labels/location\\-bobbins(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_label_location_bobbins;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_label_location_bobbins')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Label\\LabelController::postLocationBobbinsAction', '_format' => 'json',));
}
not_api_post_label_location_bobbins:
// api_post_label_location_bobbins_location
if (0 === strpos($pathinfo, '/api/labels/location-bobbins-location') && preg_match('#^/api/labels/location\\-bobbins\\-location(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_label_location_bobbins_location;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_label_location_bobbins_location')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Label\\LabelController::postLocationBobbinsLocationAction', '_format' => 'json',));
}
not_api_post_label_location_bobbins_location:
// api_post_label_location_bobbins_bobbin
if (0 === strpos($pathinfo, '/api/labels/location-bobbins-bobbin') && preg_match('#^/api/labels/location\\-bobbins\\-bobbin(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_label_location_bobbins_bobbin;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_label_location_bobbins_bobbin')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Label\\LabelController::postLocationBobbinsBobbinAction', '_format' => 'json',));
}
not_api_post_label_location_bobbins_bobbin:
}
// api_post_label_bobbin
if (0 === strpos($pathinfo, '/api/labels/bobbin') && preg_match('#^/api/labels/bobbin(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_label_bobbin;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_label_bobbin')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Label\\LabelController::postBobbinAction', '_format' => 'json',));
}
not_api_post_label_bobbin:
}
}
elseif (0 === strpos($pathinfo, '/api/fillingtypes')) {
if (0 === strpos($pathinfo, '/api/fillingtypes/import')) {
// api_get_fillingtype_import
if (preg_match('#^/api/fillingtypes/import(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_fillingtype_import;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_fillingtype_import')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\FillingtypeController::getImportAction', '_format' => 'json',));
}
not_api_get_fillingtype_import:
// api_post_fillingtype_import
if (preg_match('#^/api/fillingtypes/import(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_fillingtype_import;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_fillingtype_import')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\FillingtypeController::postImportAction', '_format' => 'json',));
}
not_api_post_fillingtype_import:
}
// api_get_fillingtypes
if (preg_match('#^/api/fillingtypes(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_fillingtypes;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_fillingtypes')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\FillingtypeController::cgetAction', '_format' => 'json',));
}
not_api_get_fillingtypes:
// api_get_fillingtype
if (preg_match('#^/api/fillingtypes/(?P<fillingType>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_fillingtype;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_fillingtype')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Shipping\\FillingtypeController::getAction', '_format' => 'json',));
}
not_api_get_fillingtype:
}
elseif (0 === strpos($pathinfo, '/api/orders')) {
// api_get_orders
if (preg_match('#^/api/orders(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_orders;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_orders')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::cgetAction', '_format' => 'json',));
}
not_api_get_orders:
// api_get_order
if (preg_match('#^/api/orders/(?P<order>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_order;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_order')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::getAction', '_format' => 'json',));
}
not_api_get_order:
// api_get_order_picklist_active
if (preg_match('#^/api/orders/(?P<order>[^/]++)/picklist/active(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_order_picklist_active;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_order_picklist_active')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::getPicklistActiveAction', '_format' => 'json',));
}
not_api_get_order_picklist_active:
// api_post_order
if (preg_match('#^/api/orders(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_order;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_order')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::postAction', '_format' => 'json',));
}
not_api_post_order:
// api_patch_order_plan
if (0 === strpos($pathinfo, '/api/orders/plan') && preg_match('#^/api/orders/plan(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_order_plan;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_order_plan')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::patchPlanAction', '_format' => 'json',));
}
not_api_patch_order_plan:
// api_get_order_shipments
if (preg_match('#^/api/orders/(?P<order>[^/]++)/shipments(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_order_shipments;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_order_shipments')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::getShipmentsAction', '_format' => 'json',));
}
not_api_get_order_shipments:
// api_put_order_address
if (preg_match('#^/api/orders/(?P<order>[^/]++)/address(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_order_address;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_order_address')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::putAddressAction', '_format' => 'json',));
}
not_api_put_order_address:
// api_delete_order
if (preg_match('#^/api/orders/(?P<order>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_api_delete_order;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_order')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::deleteAction', '_format' => 'json',));
}
not_api_delete_order:
// api_put_order_cancel
if (preg_match('#^/api/orders/(?P<order>[^/]++)/cancel(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_order_cancel;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_order_cancel')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::putCancelAction', '_format' => 'json',));
}
not_api_put_order_cancel:
// api_put_order_await
if (preg_match('#^/api/orders/(?P<order>[^/]++)/await(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_order_await;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_order_await')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::putAwaitAction', '_format' => 'json',));
}
not_api_put_order_await:
// api_post_order_document
if (preg_match('#^/api/orders/(?P<order>[^/]++)/documents(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_order_document;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_order_document')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::postDocumentAction', '_format' => 'json',));
}
not_api_post_order_document:
// api_patch_order_documents_complete
if (preg_match('#^/api/orders/(?P<order>[^/]++)/documents/complete(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_order_documents_complete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_order_documents_complete')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::patchDocumentsCompleteAction', '_format' => 'json',));
}
not_api_patch_order_documents_complete:
// api_patch_order_document
if (preg_match('#^/api/orders/(?P<order>[^/]++)/documents/(?P<documentId>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_order_document;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_order_document')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::patchDocumentAction', '_format' => 'json',));
}
not_api_patch_order_document:
// api_get_order_document
if (preg_match('#^/api/orders/(?P<order>[^/]++)/documents/(?P<documentId>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_order_document;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_order_document')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::getDocumentAction', '_format' => 'json',));
}
not_api_get_order_document:
// api_delete_order_document
if (preg_match('#^/api/orders/(?P<order>[^/]++)/documents/(?P<documentId>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_api_delete_order_document;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_order_document')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::deleteDocumentAction', '_format' => 'json',));
}
not_api_delete_order_document:
// api_put_order_hold
if (preg_match('#^/api/orders/(?P<order>[^/]++)/hold(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_order_hold;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_order_hold')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::putHoldAction', '_format' => 'json',));
}
not_api_put_order_hold:
// api_put_order_unhold
if (preg_match('#^/api/orders/(?P<order>[^/]++)/unhold(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_order_unhold;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_order_unhold')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::putUnholdAction', '_format' => 'json',));
}
not_api_put_order_unhold:
// api_put_order_partial
if (preg_match('#^/api/orders/(?P<order>[^/]++)/partial(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_order_partial;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_order_partial')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::putPartialAction', '_format' => 'json',));
}
not_api_put_order_partial:
// api_put_order_problem
if (preg_match('#^/api/orders/(?P<order>[^/]++)/problem(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_order_problem;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_order_problem')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::putProblemAction', '_format' => 'json',));
}
not_api_put_order_problem:
// api_put_order_plan
if (preg_match('#^/api/orders/(?P<order>[^/]++)/plan(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_order_plan;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_order_plan')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::putPlanAction', '_format' => 'json',));
}
not_api_put_order_plan:
// api_put_order_paazl_shipment
if (preg_match('#^/api/orders/(?P<order>[^/]++)/paazl/shipment(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_order_paazl_shipment;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_order_paazl_shipment')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::putPaazlShipmentAction', '_format' => 'json',));
}
not_api_put_order_paazl_shipment:
// api_patch_order_priority
if (preg_match('#^/api/orders/(?P<order>[^/]++)/priority(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_order_priority;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_order_priority')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::patchPriorityAction', '_format' => 'json',));
}
not_api_patch_order_priority:
// api_get_order_download_labels
if (preg_match('#^/api/orders/(?P<order>[^/]++)/download/labels(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_order_download_labels;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_order_download_labels')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::getDownloadLabelsAction', '_format' => 'json',));
}
not_api_get_order_download_labels:
// api_get_order_download_slip
if (preg_match('#^/api/orders/(?P<order>[^/]++)/download/slip(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_order_download_slip;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_order_download_slip')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::getDownloadSlipAction', '_format' => 'json',));
}
not_api_get_order_download_slip:
// api_get_order_download_spreadsheet
if (preg_match('#^/api/orders/(?P<order>[^/]++)/download/spreadsheet(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_order_download_spreadsheet;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_order_download_spreadsheet')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::getDownloadSpreadsheetAction', '_format' => 'json',));
}
not_api_get_order_download_spreadsheet:
// api_patch_order_quickship
if (preg_match('#^/api/orders/(?P<order>[^/]++)/quickship(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_order_quickship;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_order_quickship')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderController::patchQuickshipAction', '_format' => 'json',));
}
not_api_patch_order_quickship:
// api_post_order_line_cancel
if (preg_match('#^/api/orders/(?P<orderLine>[^/]++)/lines/cancels(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_order_line_cancel;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_order_line_cancel')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Orders\\OrderLineController::postCancelAction', '_format' => 'json',));
}
not_api_post_order_line_cancel:
}
elseif (0 === strpos($pathinfo, '/api/barcodes')) {
// api_get_barcodes
if (preg_match('#^/api/barcodes(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_barcodes;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_barcodes')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\BarcodeController::cgetAction', '_format' => 'json',));
}
not_api_get_barcodes:
// api_post_barcode
if (preg_match('#^/api/barcodes(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_barcode;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_barcode')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\BarcodeController::postAction', '_format' => 'json',));
}
not_api_post_barcode:
}
elseif (0 === strpos($pathinfo, '/api/bobbins')) {
// api_get_bobbins
if (preg_match('#^/api/bobbins(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_bobbins;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_bobbins')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\BobbinController::cgetAction', '_format' => 'json',));
}
not_api_get_bobbins:
// api_get_bobbin
if (preg_match('#^/api/bobbins/(?P<bobbin>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_bobbin;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_bobbin')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\BobbinController::getAction', '_format' => 'json',));
}
not_api_get_bobbin:
// api_get_bobbin_nextlocation
if (preg_match('#^/api/bobbins/(?P<location>[^/]++)/nextlocation(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_bobbin_nextlocation;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_bobbin_nextlocation')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\BobbinController::getNextlocationAction', '_format' => 'json',));
}
not_api_get_bobbin_nextlocation:
// api_put_bobbin_print
if (preg_match('#^/api/bobbins/(?P<bobbin>[^/]++)/print(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_bobbin_print;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_bobbin_print')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Location\\BobbinController::putPrintAction', '_format' => 'json',));
}
not_api_put_bobbin_print:
}
elseif (0 === strpos($pathinfo, '/api/inbound_transfers')) {
// api_get
if (preg_match('#^/api/inbound_transfers/(?P<inboundTransfer>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundTransferController::getAction', '_format' => 'json',));
}
not_api_get:
// api_put_start
if (preg_match('#^/api/inbound_transfers/(?P<inboundTransfer>[^/]++)/start(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_start;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_start')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundTransferController::putStartAction', '_format' => 'json',));
}
not_api_put_start:
// api_post_release
if (preg_match('#^/api/inbound_transfers/(?P<inboundTransfer>[^/]++)/release(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_release;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_release')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Inbound\\InboundTransferController::postReleaseAction', '_format' => 'json',));
}
not_api_post_release:
}
elseif (0 === strpos($pathinfo, '/api/issues')) {
// api_get_issues
if (preg_match('#^/api/issues(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_issues;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_issues')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Issue\\IssueController::cgetAction', '_format' => 'json',));
}
not_api_get_issues:
// api_get_issue
if (preg_match('#^/api/issues/(?P<issue>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_issue;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_issue')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Issue\\IssueController::getAction', '_format' => 'json',));
}
not_api_get_issue:
// api_get_issue_assignees
if (preg_match('#^/api/issues/(?P<issue>[^/]++)/assignees(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_issue_assignees;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_issue_assignees')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Issue\\IssueController::getAssigneesAction', '_format' => 'json',));
}
not_api_get_issue_assignees:
// api_get_issues_comments
if (preg_match('#^/api/issues/(?P<issue>[^/]++)/comments(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_issues_comments;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_issues_comments')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Issue\\IssueController::cgetCommentsAction', '_format' => 'json',));
}
not_api_get_issues_comments:
// api_post_issue_comment
if (preg_match('#^/api/issues/(?P<issue>[^/]++)/comments(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_issue_comment;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_issue_comment')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Issue\\IssueController::postCommentAction', '_format' => 'json',));
}
not_api_post_issue_comment:
// api_put_issue_assign
if (preg_match('#^/api/issues/(?P<issue>[^/]++)/assigns/(?P<user>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_issue_assign;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_issue_assign')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Issue\\IssueController::putAssignAction', '_format' => 'json',));
}
not_api_put_issue_assign:
// api_put_issue_complete
if (preg_match('#^/api/issues/(?P<issue>[^/]++)/complete(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_issue_complete;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_issue_complete')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Issue\\IssueController::putCompleteAction', '_format' => 'json',));
}
not_api_put_issue_complete:
}
// api_app_version
if (0 === strpos($pathinfo, '/api/app-version') && preg_match('#^/api/app\\-version(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_app_version;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_app_version')), array ( '_controller' => 'WebserviceBundle\\Controller\\AppVersionController::appVersionAction', '_format' => 'json',));
}
not_api_app_version:
if (0 === strpos($pathinfo, '/api/articlegroups')) {
// api_get_articlegroups
if (preg_match('#^/api/articlegroups(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_articlegroups;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_articlegroups')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticlegroupController::cgetAction', '_format' => 'json',));
}
not_api_get_articlegroups:
// api_get_articlegroup
if (preg_match('#^/api/articlegroups/(?P<articleGroup>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_articlegroup;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_articlegroup')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticlegroupController::getAction', '_format' => 'json',));
}
not_api_get_articlegroup:
// api_post_articlegroup
if (preg_match('#^/api/articlegroups(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_articlegroup;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_articlegroup')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticlegroupController::postAction', '_format' => 'json',));
}
not_api_post_articlegroup:
// api_patch_articlegroup
if (preg_match('#^/api/articlegroups/(?P<articleGroup>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PATCH' !== $canonicalMethod) {
$allow[] = 'PATCH';
goto not_api_patch_articlegroup;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_patch_articlegroup')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticlegroupController::patchAction', '_format' => 'json',));
}
not_api_patch_articlegroup:
// api_delete_articlegroup
if (preg_match('#^/api/articlegroups/(?P<articleGroup>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('DELETE' !== $canonicalMethod) {
$allow[] = 'DELETE';
goto not_api_delete_articlegroup;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_delete_articlegroup')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticlegroupController::deleteAction', '_format' => 'json',));
}
not_api_delete_articlegroup:
// api_get_articlegroup_logo
if (preg_match('#^/api/articlegroups/(?P<articleGroup>[^/]++)/logo(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_articlegroup_logo;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_articlegroup_logo')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Article\\ArticlegroupController::getLogoAction', '_format' => 'json',));
}
not_api_get_articlegroup_logo:
}
// api_dashboard
if (0 === strpos($pathinfo, '/api/dashboard') && preg_match('#^/api/dashboard(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_dashboard;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_dashboard')), array ( '_controller' => 'WebserviceBundle\\Controller\\DashboardController::dashboardAction', '_format' => 'json',));
}
not_api_dashboard:
if (0 === strpos($pathinfo, '/api/retour')) {
if (0 === strpos($pathinfo, '/api/retours')) {
// api_get_retours
if (preg_match('#^/api/retours(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_retours;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_retours')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Retour\\RetourController::cgetAction', '_format' => 'json',));
}
not_api_get_retours:
// api_get_retour
if (preg_match('#^/api/retours/(?P<retour>[^/\\.]++)(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_retour;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_retour')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Retour\\RetourController::getAction', '_format' => 'json',));
}
not_api_get_retour:
}
// api_get_retour_retour_import
if (preg_match('#^/api/retour/(?P<retour>[^/]++)/import(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('GET' !== $canonicalMethod) {
$allow[] = 'GET';
goto not_api_get_retour_retour_import;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_get_retour_retour_import')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Retour\\RetourController::getRetourImportAction', '_format' => 'json',));
}
not_api_get_retour_retour_import:
// api_post_retour_retour_import
if (preg_match('#^/api/retour/(?P<retour>[^/]++)/import(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_retour_retour_import;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_retour_retour_import')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Retour\\RetourController::postRetourImportAction', '_format' => 'json',));
}
not_api_post_retour_retour_import:
if (0 === strpos($pathinfo, '/api/retours')) {
// api_put_retour_cancel
if (preg_match('#^/api/retours/(?P<retour>[^/]++)/cancel(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('PUT' !== $canonicalMethod) {
$allow[] = 'PUT';
goto not_api_put_retour_cancel;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_put_retour_cancel')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Retour\\RetourController::putCancelAction', '_format' => 'json',));
}
not_api_put_retour_cancel:
// api_post_retour
if (preg_match('#^/api/retours(?:\\.(?P<_format>json|xml|html))?$#s', $pathinfo, $matches)) {
if ('POST' !== $canonicalMethod) {
$allow[] = 'POST';
goto not_api_post_retour;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_post_retour')), array ( '_controller' => 'WebserviceBundle\\Controller\\Wms\\Retour\\RetourController::postAction', '_format' => 'json',));
}
not_api_post_retour:
}
}
}
// fos_oauth_server_token
if ('/oauth/v2/token' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_fos_oauth_server_token;
}
return array ( '_controller' => 'fos_oauth_server.controller.token:tokenAction', '_route' => 'fos_oauth_server_token',);
}
not_fos_oauth_server_token:
// fos_oauth_server_authorize
if ('/oauth/v2/auth' === $pathinfo) {
if (!in_array($canonicalMethod, array('GET', 'POST'))) {
$allow = array_merge($allow, array('GET', 'POST'));
goto not_fos_oauth_server_authorize;
}
return array ( '_controller' => 'FOS\\OAuthServerBundle\\Controller\\AuthorizeController::authorizeAction', '_route' => 'fos_oauth_server_authorize',);
}
not_fos_oauth_server_authorize:
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}