var/cache/dev/srcDevDebugProjectContainerUrlMatcher.php line 1889

Open in your IDE?
  1. <?php
  2. use Symfony\Component\Routing\Exception\MethodNotAllowedException;
  3. use Symfony\Component\Routing\Exception\ResourceNotFoundException;
  4. use Symfony\Component\Routing\RequestContext;
  5. /**
  6.  * This class has been auto-generated
  7.  * by the Symfony Routing Component.
  8.  */
  9. class srcDevDebugProjectContainerUrlMatcher extends Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher
  10. {
  11.     public function __construct(RequestContext $context)
  12.     {
  13.         $this->context $context;
  14.     }
  15.     public function match($rawPathinfo)
  16.     {
  17.         $allow = [];
  18.         $pathinfo rawurldecode($rawPathinfo);
  19.         $trimmedPathinfo rtrim($pathinfo'/');
  20.         $context $this->context;
  21.         $request $this->request ?: $this->createRequest($pathinfo);
  22.         $requestMethod $canonicalMethod $context->getMethod();
  23.         if ('HEAD' === $requestMethod) {
  24.             $canonicalMethod 'GET';
  25.         }
  26.         if (=== strpos($pathinfo'/_')) {
  27.             // _twig_error_test
  28.             if (=== strpos($pathinfo'/_error') && preg_match('#^/_error/(?P<code>\\d+)(?:\\.(?P<_format>[^/]++))?$#sD'$pathinfo$matches)) {
  29.                 return $this->mergeDefaults(array_replace($matches, ['_route' => '_twig_error_test']), array (  '_controller' => 'twig.controller.preview_error:previewErrorPageAction',  '_format' => 'html',));
  30.             }
  31.             // _wdt
  32.             if (=== strpos($pathinfo'/_wdt') && preg_match('#^/_wdt/(?P<token>[^/]++)$#sD'$pathinfo$matches)) {
  33.                 return $this->mergeDefaults(array_replace($matches, ['_route' => '_wdt']), array (  '_controller' => 'web_profiler.controller.profiler:toolbarAction',));
  34.             }
  35.             if (=== strpos($pathinfo'/_profiler')) {
  36.                 // _profiler_home
  37.                 if ('/_profiler' === $trimmedPathinfo) {
  38.                     $ret = array (  '_controller' => 'web_profiler.controller.profiler:homeAction',  '_route' => '_profiler_home',);
  39.                     if ('/' === substr($pathinfo, -1)) {
  40.                         // no-op
  41.                     } elseif ('GET' !== $canonicalMethod) {
  42.                         goto not__profiler_home;
  43.                     } else {
  44.                         return array_replace($ret$this->redirect($rawPathinfo.'/''_profiler_home'));
  45.                     }
  46.                     return $ret;
  47.                 }
  48.                 not__profiler_home:
  49.                 if (=== strpos($pathinfo'/_profiler/search')) {
  50.                     // _profiler_search
  51.                     if ('/_profiler/search' === $pathinfo) {
  52.                         return array (  '_controller' => 'web_profiler.controller.profiler:searchAction',  '_route' => '_profiler_search',);
  53.                     }
  54.                     // _profiler_search_bar
  55.                     if ('/_profiler/search_bar' === $pathinfo) {
  56.                         return array (  '_controller' => 'web_profiler.controller.profiler:searchBarAction',  '_route' => '_profiler_search_bar',);
  57.                     }
  58.                 }
  59.                 // _profiler_phpinfo
  60.                 if ('/_profiler/phpinfo' === $pathinfo) {
  61.                     return array (  '_controller' => 'web_profiler.controller.profiler:phpinfoAction',  '_route' => '_profiler_phpinfo',);
  62.                 }
  63.                 // _profiler_search_results
  64.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/search/results$#sD'$pathinfo$matches)) {
  65.                     return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_search_results']), array (  '_controller' => 'web_profiler.controller.profiler:searchResultsAction',));
  66.                 }
  67.                 // _profiler_open_file
  68.                 if ('/_profiler/open' === $pathinfo) {
  69.                     return array (  '_controller' => 'web_profiler.controller.profiler:openAction',  '_route' => '_profiler_open_file',);
  70.                 }
  71.                 // _profiler
  72.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)$#sD'$pathinfo$matches)) {
  73.                     return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler']), array (  '_controller' => 'web_profiler.controller.profiler:panelAction',));
  74.                 }
  75.                 // _profiler_router
  76.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/router$#sD'$pathinfo$matches)) {
  77.                     return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_router']), array (  '_controller' => 'web_profiler.controller.router:panelAction',));
  78.                 }
  79.                 // _profiler_exception
  80.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception$#sD'$pathinfo$matches)) {
  81.                     return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_exception']), array (  '_controller' => 'web_profiler.controller.exception:showAction',));
  82.                 }
  83.                 // _profiler_exception_css
  84.                 if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception\\.css$#sD'$pathinfo$matches)) {
  85.                     return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_exception_css']), array (  '_controller' => 'web_profiler.controller.exception:cssAction',));
  86.                 }
  87.             }
  88.         }
  89.         elseif (=== strpos($pathinfo'/a')) {
  90.             if (=== strpos($pathinfo'/api')) {
  91.                 if (=== strpos($pathinfo'/api/product')) {
  92.                     // food_airway_api_product_listing
  93.                     if ('/api/product/listing' === $pathinfo) {
  94.                         return array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\ProductController::listingAction',  '_route' => 'food_airway_api_product_listing',);
  95.                     }
  96.                     // food_airway_api_product_tiffin_listing
  97.                     if ('/api/product/tiffin/listing' === $pathinfo) {
  98.                         return array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\ProductController::tiffinListingAction',  '_route' => 'food_airway_api_product_tiffin_listing',);
  99.                     }
  100.                     // food_airway_api_product_tiffin_detail
  101.                     if (=== strpos($pathinfo'/api/product/tiffin/detail') && preg_match('#^/api/product/tiffin/detail/(?P<productId>[^/]++)$#sD'$pathinfo$matches)) {
  102.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_api_product_tiffin_detail']), array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\ProductController::tiffinDetailAction',));
  103.                     }
  104.                     // food_airway_api_product_food_types
  105.                     if ('/api/product/food-types' === $pathinfo) {
  106.                         return array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\ProductController::foodTypesAction',  '_route' => 'food_airway_api_product_food_types',);
  107.                     }
  108.                 }
  109.                 elseif (=== strpos($pathinfo'/api/l')) {
  110.                     // food_airway_api_login
  111.                     if (=== strpos($pathinfo'/api/login') && preg_match('#^/api/login/(?P<username>[^/]++)/(?P<pwd>[^/]++)$#sD'$pathinfo$matches)) {
  112.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_api_login']), array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\DefaultController::loginAction',));
  113.                     }
  114.                     // food_airway_api_live_streaming_url
  115.                     if ('/api/live-steaming' === $pathinfo) {
  116.                         return array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\DefaultController::liveSteamingUrlAction',  '_route' => 'food_airway_api_live_streaming_url',);
  117.                     }
  118.                     // deliveryteam_list_images
  119.                     if ('/api/list/team/images' === $pathinfo) {
  120.                         $ret = array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\DefaultController::listTeamImagesAction',  '_route' => 'deliveryteam_list_images',);
  121.                         if (!in_array($canonicalMethod, ['GET'])) {
  122.                             $allow array_merge($allow, ['GET']);
  123.                             goto not_deliveryteam_list_images;
  124.                         }
  125.                         return $ret;
  126.                     }
  127.                     not_deliveryteam_list_images:
  128.                 }
  129.                 // food_airway_api_fetch_area_detail
  130.                 if ('/api/area/search' === $pathinfo) {
  131.                     return array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\DefaultController::areaSearchAction',  '_route' => 'food_airway_api_fetch_area_detail',);
  132.                 }
  133.                 // food_airway_api_create_account
  134.                 if (=== strpos($pathinfo'/api/create/account') && preg_match('#^/api/create/account/(?P<fullName>[^/]++)/(?P<mobile>[^/]++)/(?P<email>[^/]++)/(?P<pwd>[^/]++)$#sD'$pathinfo$matches)) {
  135.                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_api_create_account']), array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\DefaultController::createAccountAction',));
  136.                 }
  137.                 // food_airway_api_check_user_exists
  138.                 if (=== strpos($pathinfo'/api/check/user/exists') && preg_match('#^/api/check/user/exists/(?P<username>[^/]++)$#sD'$pathinfo$matches)) {
  139.                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_api_check_user_exists']), array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\DefaultController::checkUserExistsAction',));
  140.                 }
  141.                 if (=== strpos($pathinfo'/api/get/user')) {
  142.                     // food_airway_api_user_address
  143.                     if (=== strpos($pathinfo'/api/get/user/address') && preg_match('#^/api/get/user/address/(?P<userId>[^/]++)$#sD'$pathinfo$matches)) {
  144.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_api_user_address']), array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\UserAddressController::userAddressesAction',));
  145.                     }
  146.                     // food_airway_api_user_active_address
  147.                     if (=== strpos($pathinfo'/api/get/user/active/address') && preg_match('#^/api/get/user/active/address/(?P<userId>[^/]++)$#sD'$pathinfo$matches)) {
  148.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_api_user_active_address']), array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\UserAddressController::userActiveAddressAction',));
  149.                     }
  150.                     // food_airway_api_user_coupon_codes
  151.                     if (=== strpos($pathinfo'/api/get/user/coupon/codes') && preg_match('#^/api/get/user/coupon/codes/(?P<userId>[^/]++)$#sD'$pathinfo$matches)) {
  152.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_api_user_coupon_codes']), array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\UserController::couponCodesAction',));
  153.                     }
  154.                     // food_airway_api_user_banners
  155.                     if (=== strpos($pathinfo'/api/get/user/banners') && preg_match('#^/api/get/user/banners/(?P<userId>[^/]++)$#sD'$pathinfo$matches)) {
  156.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_api_user_banners']), array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\UserController::bannersAction',));
  157.                     }
  158.                 }
  159.                 // food_airway_api_get_order_by_id
  160.                 if (=== strpos($pathinfo'/api/get/order') && preg_match('#^/api/get/order/(?P<orderId>[^/]++)/(?P<userId>[^/]++)$#sD'$pathinfo$matches)) {
  161.                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_api_get_order_by_id']), array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\OrderController::fetchAction',));
  162.                 }
  163.                 // food_airway_api_save_user_address
  164.                 if ('/api/save/user/address' === $pathinfo) {
  165.                     return array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\UserAddressController::saveUserAddressAction',  '_route' => 'food_airway_api_save_user_address',);
  166.                 }
  167.                 if (=== strpos($pathinfo'/api/send/user')) {
  168.                     // food_airway_api_user_send_registeration_otp
  169.                     if (=== strpos($pathinfo'/api/send/user/verification/code') && preg_match('#^/api/send/user/verification/code/(?P<securityKey>[^/]++)$#sD'$pathinfo$matches)) {
  170.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_api_user_send_registeration_otp']), array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\UserController::sendVerificationCodeAction',));
  171.                     }
  172.                     // food_airway_api_user_send_forgot_password_verification_code
  173.                     if (=== strpos($pathinfo'/api/send/user/forgot/password/verification/code') && preg_match('#^/api/send/user/forgot/password/verification/code/(?P<securityKey>[^/]++)$#sD'$pathinfo$matches)) {
  174.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_api_user_send_forgot_password_verification_code']), array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\UserController::sendForgotPasswordVerificationCodeAction',));
  175.                     }
  176.                     // food_airway_api_user_update_password
  177.                     if (=== strpos($pathinfo'/api/send/user/update/user/password') && preg_match('#^/api/send/user/update/user/password/(?P<securityKey>[^/]++)$#sD'$pathinfo$matches)) {
  178.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_api_user_update_password']), array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\UserController::updateUserPasswordAction',));
  179.                     }
  180.                 }
  181.                 elseif (=== strpos($pathinfo'/api/order')) {
  182.                     // food_airway_api_order_place
  183.                     if ('/api/order/place' === $pathinfo) {
  184.                         return array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\OrderController::createAction',  '_route' => 'food_airway_api_order_place',);
  185.                     }
  186.                     // food_airway_api_order_pending
  187.                     if (=== strpos($pathinfo'/api/order/pending') && preg_match('#^/api/order/pending/(?P<userId>[^/]++)$#sD'$pathinfo$matches)) {
  188.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_api_order_pending']), array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\OrderController::pendingAction',));
  189.                     }
  190.                     // food_airway_api_order_listing
  191.                     if (=== strpos($pathinfo'/api/order/listing') && preg_match('#^/api/order/listing/(?P<userId>[^/]++)$#sD'$pathinfo$matches)) {
  192.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_api_order_listing']), array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\OrderController::listingAction',));
  193.                     }
  194.                     // food_airway_api_order_status_update
  195.                     if ('/api/order/status/update' === $pathinfo) {
  196.                         return array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\OrderController::statusUpdateAction',  '_route' => 'food_airway_api_order_status_update',);
  197.                     }
  198.                     // food_airway_api_order_delivery_status_update
  199.                     if ('/api/order/update/delivery/status' === $pathinfo) {
  200.                         return array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\OrderController::deliveryStatusUpdateAction',  '_route' => 'food_airway_api_order_delivery_status_update',);
  201.                     }
  202.                     // food_airway_api_order_pause_unpause_update
  203.                     if ('/api/order/update/paused/status' === $pathinfo) {
  204.                         return array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\OrderController::pausedStatusUpdateAction',  '_route' => 'food_airway_api_order_pause_unpause_update',);
  205.                     }
  206.                     if (=== strpos($pathinfo'/api/order/tiffin')) {
  207.                         // food_airway_api_order_tiffin_mark_as_deliver
  208.                         if (=== strpos($pathinfo'/api/order/tiffin/mark-as-deliver') && preg_match('#^/api/order/tiffin/mark\\-as\\-deliver/(?P<tiffinOrderDetailId>[^/]++)/(?P<userId>[^/]++)$#sD'$pathinfo$matches)) {
  209.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_api_order_tiffin_mark_as_deliver']), array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\OrderController::tiffinMarkAsDeliverAction',));
  210.                         }
  211.                         // food_airway_api_order_tiffin_subscription
  212.                         if (=== strpos($pathinfo'/api/order/tiffin/subscription/listing') && preg_match('#^/api/order/tiffin/subscription/listing/(?P<userId>[^/]++)$#sD'$pathinfo$matches)) {
  213.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_api_order_tiffin_subscription']), array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\OrderController::tiffinSubscriptionAction',));
  214.                         }
  215.                         // food_airway_api_order_tiffin_subscription_detail
  216.                         if ('/api/order/tiffin/subscription/detail' === $pathinfo) {
  217.                             return array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\OrderController::tiffinSubscriptionDetailAction',  '_route' => 'food_airway_api_order_tiffin_subscription_detail',);
  218.                         }
  219.                     }
  220.                     // food_airway_api_order_assigned_delivery_partner
  221.                     if ('/api/order/assigned/delivery/partner' === $pathinfo) {
  222.                         $ret = array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\OrderController::assignDeliveryPartnerAction',  '_route' => 'food_airway_api_order_assigned_delivery_partner',);
  223.                         if (!in_array($canonicalMethod, ['GET'])) {
  224.                             $allow array_merge($allow, ['GET']);
  225.                             goto not_food_airway_api_order_assigned_delivery_partner;
  226.                         }
  227.                         return $ret;
  228.                     }
  229.                     not_food_airway_api_order_assigned_delivery_partner:
  230.                 }
  231.                 // food_airway_api_update_user_profile
  232.                 if ('/api/user/update' === $pathinfo) {
  233.                     return array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\DefaultController::updateUserProfileAction',  '_route' => 'food_airway_api_update_user_profile',);
  234.                 }
  235.                 // food_airway_api_update_user_active_address
  236.                 if (=== strpos($pathinfo'/api/update/user/active/address') && preg_match('#^/api/update/user/active/address/(?P<securityKey>[^/]++)$#sD'$pathinfo$matches)) {
  237.                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_api_update_user_active_address']), array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\UserAddressController::updateUserActiveAddressAction',));
  238.                 }
  239.                 // food_airway_api_display_image_file
  240.                 if (=== strpos($pathinfo'/api/display/image/file') && preg_match('#^/api/display/image/file/(?P<fileId>[^/]++)$#sD'$pathinfo$matches)) {
  241.                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_api_display_image_file']), array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\FilesController::displayImageFileAction',));
  242.                 }
  243.                 // deliveryteam_partner_list
  244.                 if (=== strpos($pathinfo'/api/delivery/partner/listing') && preg_match('#^/api/delivery/partner/listing/(?P<userId>[^/]++)$#sD'$pathinfo$matches)) {
  245.                     $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'deliveryteam_partner_list']), array (  '_controller' => 'FoodAirwayApiBundle\\Controller\\DefaultController::deliveryPartnerListAction',));
  246.                     if (!in_array($canonicalMethod, ['GET'])) {
  247.                         $allow array_merge($allow, ['GET']);
  248.                         goto not_deliveryteam_partner_list;
  249.                     }
  250.                     return $ret;
  251.                 }
  252.                 not_deliveryteam_partner_list:
  253.             }
  254.             // food_airway_site_about
  255.             if ('/about' === $pathinfo) {
  256.                 return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\DefaultController::aboutAction',  '_route' => 'food_airway_site_about',);
  257.             }
  258.             if (=== strpos($pathinfo'/admin')) {
  259.                 if (=== strpos($pathinfo'/admin/inventories')) {
  260.                     // inventories_index
  261.                     if ('/admin/inventories' === $trimmedPathinfo) {
  262.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\InventoryItemsController::indexAction',  '_route' => 'inventories_index',);
  263.                         if ('/' === substr($pathinfo, -1)) {
  264.                             // no-op
  265.                         } elseif ('GET' !== $canonicalMethod) {
  266.                             goto not_inventories_index;
  267.                         } else {
  268.                             return array_replace($ret$this->redirect($rawPathinfo.'/''inventories_index'));
  269.                         }
  270.                         if (!in_array($canonicalMethod, ['GET'])) {
  271.                             $allow array_merge($allow, ['GET']);
  272.                             goto not_inventories_index;
  273.                         }
  274.                         return $ret;
  275.                     }
  276.                     not_inventories_index:
  277.                     // inventories_show
  278.                     if (preg_match('#^/admin/inventories/(?P<id>[^/]++)/show$#sD'$pathinfo$matches)) {
  279.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'inventories_show']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\InventoryItemsController::showAction',));
  280.                         if (!in_array($canonicalMethod, ['GET'])) {
  281.                             $allow array_merge($allow, ['GET']);
  282.                             goto not_inventories_show;
  283.                         }
  284.                         return $ret;
  285.                     }
  286.                     not_inventories_show:
  287.                     // inventories_new
  288.                     if ('/admin/inventories/new' === $pathinfo) {
  289.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\InventoryItemsController::newAction',  '_route' => 'inventories_new',);
  290.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  291.                             $allow array_merge($allow, ['GET''POST']);
  292.                             goto not_inventories_new;
  293.                         }
  294.                         return $ret;
  295.                     }
  296.                     not_inventories_new:
  297.                     // inventories_edit
  298.                     if (preg_match('#^/admin/inventories/(?P<id>[^/]++)/edit$#sD'$pathinfo$matches)) {
  299.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'inventories_edit']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\InventoryItemsController::editAction',));
  300.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  301.                             $allow array_merge($allow, ['GET''POST']);
  302.                             goto not_inventories_edit;
  303.                         }
  304.                         return $ret;
  305.                     }
  306.                     not_inventories_edit:
  307.                     // inventories_delete
  308.                     if (preg_match('#^/admin/inventories/(?P<id>[^/]++)/delete$#sD'$pathinfo$matches)) {
  309.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'inventories_delete']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\InventoryItemsController::deleteAction',));
  310.                         if (!in_array($requestMethod, ['DELETE'])) {
  311.                             $allow array_merge($allow, ['DELETE']);
  312.                             goto not_inventories_delete;
  313.                         }
  314.                         return $ret;
  315.                     }
  316.                     not_inventories_delete:
  317.                     // inventories_new_stock
  318.                     if ('/admin/inventories/new/stock' === $pathinfo) {
  319.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\InventoryItemsController::newStockAction',  '_route' => 'inventories_new_stock',);
  320.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  321.                             $allow array_merge($allow, ['GET''POST']);
  322.                             goto not_inventories_new_stock;
  323.                         }
  324.                         return $ret;
  325.                     }
  326.                     not_inventories_new_stock:
  327.                     // inventories_stock_out
  328.                     if ('/admin/inventories/stock/out' === $pathinfo) {
  329.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\InventoryItemsController::stockOutAction',  '_route' => 'inventories_stock_out',);
  330.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  331.                             $allow array_merge($allow, ['GET''POST']);
  332.                             goto not_inventories_stock_out;
  333.                         }
  334.                         return $ret;
  335.                     }
  336.                     not_inventories_stock_out:
  337.                     // inventories_generate_estimation
  338.                     if ('/admin/inventories/generate/estimation' === $pathinfo) {
  339.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\InventoryItemsController::generateEstimationAction',  '_route' => 'inventories_generate_estimation',);
  340.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  341.                             $allow array_merge($allow, ['GET''POST']);
  342.                             goto not_inventories_generate_estimation;
  343.                         }
  344.                         return $ret;
  345.                     }
  346.                     not_inventories_generate_estimation:
  347.                     // inventories_generate_purchase_order
  348.                     if ('/admin/inventories/generate/purchase/order' === $pathinfo) {
  349.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\InventoryItemsController::generatePurchaseOrderAction',  '_route' => 'inventories_generate_purchase_order',);
  350.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  351.                             $allow array_merge($allow, ['GET''POST']);
  352.                             goto not_inventories_generate_purchase_order;
  353.                         }
  354.                         return $ret;
  355.                     }
  356.                     not_inventories_generate_purchase_order:
  357.                 }
  358.                 // food_airway_admin_homepage
  359.                 if ('/admin' === $trimmedPathinfo) {
  360.                     $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\DefaultController::indexAction',  '_route' => 'food_airway_admin_homepage',);
  361.                     if ('/' === substr($pathinfo, -1)) {
  362.                         // no-op
  363.                     } elseif ('GET' !== $canonicalMethod) {
  364.                         goto not_food_airway_admin_homepage;
  365.                     } else {
  366.                         return array_replace($ret$this->redirect($rawPathinfo.'/''food_airway_admin_homepage'));
  367.                     }
  368.                     return $ret;
  369.                 }
  370.                 not_food_airway_admin_homepage:
  371.                 if (=== strpos($pathinfo'/admin/products')) {
  372.                     // products_index
  373.                     if ('/admin/products' === $trimmedPathinfo) {
  374.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::indexAction',  '_route' => 'products_index',);
  375.                         if ('/' === substr($pathinfo, -1)) {
  376.                             // no-op
  377.                         } elseif ('GET' !== $canonicalMethod) {
  378.                             goto not_products_index;
  379.                         } else {
  380.                             return array_replace($ret$this->redirect($rawPathinfo.'/''products_index'));
  381.                         }
  382.                         if (!in_array($canonicalMethod, ['GET'])) {
  383.                             $allow array_merge($allow, ['GET']);
  384.                             goto not_products_index;
  385.                         }
  386.                         return $ret;
  387.                     }
  388.                     not_products_index:
  389.                     if (=== strpos($pathinfo'/admin/products/update')) {
  390.                         // products_add_edit
  391.                         if (preg_match('#^/admin/products/update/(?P<categoryId>[^/]++)(?:/(?P<productId>[^/]++))?$#sD'$pathinfo$matches)) {
  392.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'products_add_edit']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::addEditAction',  'productId' => NULL,));
  393.                             if (!in_array($canonicalMethod, ['GET'])) {
  394.                                 $allow array_merge($allow, ['GET']);
  395.                                 goto not_products_add_edit;
  396.                             }
  397.                             return $ret;
  398.                         }
  399.                         not_products_add_edit:
  400.                         // products_update
  401.                         if (preg_match('#^/admin/products/update/(?P<categoryId>[^/]++)(?:/(?P<productId>[^/]++))?$#sD'$pathinfo$matches)) {
  402.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'products_update']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::updateAction',  'productId' => NULL,));
  403.                             if (!in_array($requestMethod, ['POST'])) {
  404.                                 $allow array_merge($allow, ['POST']);
  405.                                 goto not_products_update;
  406.                             }
  407.                             return $ret;
  408.                         }
  409.                         not_products_update:
  410.                         if (=== strpos($pathinfo'/admin/products/update-stock')) {
  411.                             // product_update_stock
  412.                             if (preg_match('#^/admin/products/update\\-stock/(?P<productId>[^/]++)$#sD'$pathinfo$matches)) {
  413.                                 return $this->mergeDefaults(array_replace($matches, ['_route' => 'product_update_stock']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::updateStockAction',));
  414.                             }
  415.                             // product_update_measurements
  416.                             if (=== strpos($pathinfo'/admin/products/update-stock/measurements') && preg_match('#^/admin/products/update\\-stock/measurements/(?P<productId>[^/]++)$#sD'$pathinfo$matches)) {
  417.                                 return $this->mergeDefaults(array_replace($matches, ['_route' => 'product_update_measurements']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::updateStockMeasurementsAction',));
  418.                             }
  419.                             // product_update_stock_packaging
  420.                             if (=== strpos($pathinfo'/admin/products/update-stock/packaging') && preg_match('#^/admin/products/update\\-stock/packaging/(?P<productId>[^/]++)$#sD'$pathinfo$matches)) {
  421.                                 return $this->mergeDefaults(array_replace($matches, ['_route' => 'product_update_stock_packaging']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::updateStockPackagingAction',));
  422.                             }
  423.                         }
  424.                     }
  425.                     // products_delete
  426.                     if (=== strpos($pathinfo'/admin/products/delete') && preg_match('#^/admin/products/delete/(?P<categoryId>[^/]++)(?:/(?P<productId>[^/]++))?$#sD'$pathinfo$matches)) {
  427.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'products_delete']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::deleteAction',  'productId' => NULL,));
  428.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  429.                             $allow array_merge($allow, ['GET''POST']);
  430.                             goto not_products_delete;
  431.                         }
  432.                         return $ret;
  433.                     }
  434.                     not_products_delete:
  435.                     if (=== strpos($pathinfo'/admin/products/tiffin')) {
  436.                         // product_tiffins_listing
  437.                         if ('/admin/products/tiffin/active/listing' === $pathinfo) {
  438.                             $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::tiffinActiveListingAction',  '_route' => 'product_tiffins_listing',);
  439.                             if (!in_array($canonicalMethod, ['GET'])) {
  440.                                 $allow array_merge($allow, ['GET']);
  441.                                 goto not_product_tiffins_listing;
  442.                             }
  443.                             return $ret;
  444.                         }
  445.                         not_product_tiffins_listing:
  446.                         // product_tiffins_assign_route
  447.                         if (=== strpos($pathinfo'/admin/products/tiffin/assign/route') && preg_match('#^/admin/products/tiffin/assign/route/(?P<tiffinDetailId>[^/]++)$#sD'$pathinfo$matches)) {
  448.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'product_tiffins_assign_route']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::assignTifinRouteAction',));
  449.                         }
  450.                         // product_tiffins_stock_out
  451.                         if (=== strpos($pathinfo'/admin/products/tiffin/stock/out') && preg_match('#^/admin/products/tiffin/stock/out/(?P<tiffinDetailId>[^/]++)$#sD'$pathinfo$matches)) {
  452.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'product_tiffins_stock_out']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::tiffinStockOutAction',));
  453.                             if (!in_array($canonicalMethod, ['GET''POST'])) {
  454.                                 $allow array_merge($allow, ['GET''POST']);
  455.                                 goto not_product_tiffins_stock_out;
  456.                             }
  457.                             return $ret;
  458.                         }
  459.                         not_product_tiffins_stock_out:
  460.                         // product_tiffins_stock_out_history
  461.                         if (=== strpos($pathinfo'/admin/products/tiffin/stockout/history') && preg_match('#^/admin/products/tiffin/stockout/history/(?P<tiffinDetailId>[^/]++)$#sD'$pathinfo$matches)) {
  462.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'product_tiffins_stock_out_history']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::stockOutHistoryAction',));
  463.                         }
  464.                         // product_tiffins_daily_listing
  465.                         if ('/admin/products/tiffin/daily/active/listing' === $pathinfo) {
  466.                             return array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::tiffinDailyActiveListingAction',  '_route' => 'product_tiffins_daily_listing',);
  467.                         }
  468.                         // product_tiffins_update_active_inactive
  469.                         if (=== strpos($pathinfo'/admin/products/tiffin/update/active/status') && preg_match('#^/admin/products/tiffin/update/active/status(?:/(?P<tiffinOrderDetailId>[^/]++))?$#sD'$pathinfo$matches)) {
  470.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'product_tiffins_update_active_inactive']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::updateIsActiveAction',  'tiffinOrderDetailId' => NULL,));
  471.                         }
  472.                         // product_unpaused_tiffins_cron_jobs
  473.                         if ('/admin/products/tiffin/unpaused/cron/jobs' === $pathinfo) {
  474.                             $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::unpausedTiffinsCronJobsAction',  '_route' => 'product_unpaused_tiffins_cron_jobs',);
  475.                             if (!in_array($canonicalMethod, ['GET''POST'])) {
  476.                                 $allow array_merge($allow, ['GET''POST']);
  477.                                 goto not_product_unpaused_tiffins_cron_jobs;
  478.                             }
  479.                             return $ret;
  480.                         }
  481.                         not_product_unpaused_tiffins_cron_jobs:
  482.                         if (=== strpos($pathinfo'/admin/products/tiffin/p')) {
  483.                             // product_tiffins_plans
  484.                             if ('/admin/products/tiffin/plans' === $pathinfo) {
  485.                                 return array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::tiffinPlansAction',  '_route' => 'product_tiffins_plans',);
  486.                             }
  487.                             // product_tiffins_plan_item_update
  488.                             if (=== strpos($pathinfo'/admin/products/tiffin/plan/item/update') && preg_match('#^/admin/products/tiffin/plan/item/update/(?P<itemId>[^/]++)$#sD'$pathinfo$matches)) {
  489.                                 $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'product_tiffins_plan_item_update']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::tiffinPlanItemUpdateAction',));
  490.                                 if (!in_array($canonicalMethod, ['GET''POST'])) {
  491.                                     $allow array_merge($allow, ['GET''POST']);
  492.                                     goto not_product_tiffins_plan_item_update;
  493.                                 }
  494.                                 return $ret;
  495.                             }
  496.                             not_product_tiffins_plan_item_update:
  497.                             if (=== strpos($pathinfo'/admin/products/tiffin/pause_unpause/view_till_when')) {
  498.                                 // product_tiffins_pause_unpause_view_till_when
  499.                                 if (preg_match('#^/admin/products/tiffin/pause_unpause/view_till_when/(?P<tiffinDetailId>[^/]++)$#sD'$pathinfo$matches)) {
  500.                                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'product_tiffins_pause_unpause_view_till_when']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::tiffinPauseUnpauseUntilWhenAction',));
  501.                                 }
  502.                                 // product_tiffins_pause_unpause_view_till_when_history
  503.                                 if (=== strpos($pathinfo'/admin/products/tiffin/pause_unpause/view_till_when_history') && preg_match('#^/admin/products/tiffin/pause_unpause/view_till_when_history/(?P<tiffinDetailId>[^/]++)$#sD'$pathinfo$matches)) {
  504.                                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'product_tiffins_pause_unpause_view_till_when_history']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::tiffinPauseUnpauseUntilWhenHistoryAction',));
  505.                                 }
  506.                             }
  507.                         }
  508.                         // product_tiffins_edit_detail
  509.                         if (=== strpos($pathinfo'/admin/products/tiffin/edit/detail') && preg_match('#^/admin/products/tiffin/edit/detail/(?P<tiffinDetailId>[^/]++)$#sD'$pathinfo$matches)) {
  510.                             return $this->mergeDefaults(array_replace($matches, ['_route' => 'product_tiffins_edit_detail']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::tiffinEditDetailAction',));
  511.                         }
  512.                         if (=== strpos($pathinfo'/admin/products/tiffin/history')) {
  513.                             // product_tiffin_history
  514.                             if ('/admin/products/tiffin/history' === $pathinfo) {
  515.                                 $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::tiffinHistoryAction',  '_route' => 'product_tiffin_history',);
  516.                                 if (!in_array($canonicalMethod, ['GET''POST'])) {
  517.                                     $allow array_merge($allow, ['GET''POST']);
  518.                                     goto not_product_tiffin_history;
  519.                                 }
  520.                                 return $ret;
  521.                             }
  522.                             not_product_tiffin_history:
  523.                             // product_tiffin_cron_jobs
  524.                             if ('/admin/products/tiffin/history/cron/jobs' === $pathinfo) {
  525.                                 $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::tiffinHistoryCronJobsAction',  '_route' => 'product_tiffin_cron_jobs',);
  526.                                 if (!in_array($canonicalMethod, ['GET''POST'])) {
  527.                                     $allow array_merge($allow, ['GET''POST']);
  528.                                     goto not_product_tiffin_cron_jobs;
  529.                                 }
  530.                                 return $ret;
  531.                             }
  532.                             not_product_tiffin_cron_jobs:
  533.                         }
  534.                         // product_tiffin_routes_history_cron_jobs
  535.                         if ('/admin/products/tiffin/routes/history/cron/jobs' === $pathinfo) {
  536.                             return array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::tiffinRoutesHistoryCronJobsAction',  '_route' => 'product_tiffin_routes_history_cron_jobs',);
  537.                         }
  538.                     }
  539.                     // product_sort_order
  540.                     if ('/admin/products/sort/order' === $pathinfo) {
  541.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::sortOrderAction',  '_route' => 'product_sort_order',);
  542.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  543.                             $allow array_merge($allow, ['GET''POST']);
  544.                             goto not_product_sort_order;
  545.                         }
  546.                         return $ret;
  547.                     }
  548.                     not_product_sort_order:
  549.                     // product_view_pricing
  550.                     if (=== strpos($pathinfo'/admin/products/view/pricing') && preg_match('#^/admin/products/view/pricing/(?P<productId>[^/]++)$#sD'$pathinfo$matches)) {
  551.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'product_view_pricing']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ProductController::viewPricingAction',));
  552.                     }
  553.                 }
  554.                 elseif (=== strpos($pathinfo'/admin/paymenthistory')) {
  555.                     // paymentHistory_index
  556.                     if ('/admin/paymenthistory' === $trimmedPathinfo) {
  557.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\PaymentHistoryController::indexAction',  '_route' => 'paymentHistory_index',);
  558.                         if ('/' === substr($pathinfo, -1)) {
  559.                             // no-op
  560.                         } elseif ('GET' !== $canonicalMethod) {
  561.                             goto not_paymentHistory_index;
  562.                         } else {
  563.                             return array_replace($ret$this->redirect($rawPathinfo.'/''paymentHistory_index'));
  564.                         }
  565.                         if (!in_array($canonicalMethod, ['GET'])) {
  566.                             $allow array_merge($allow, ['GET']);
  567.                             goto not_paymentHistory_index;
  568.                         }
  569.                         return $ret;
  570.                     }
  571.                     not_paymentHistory_index:
  572.                     // paymentHistory_new
  573.                     if (=== strpos($pathinfo'/admin/paymenthistory/new') && preg_match('#^/admin/paymenthistory/new(?:/(?P<paymentHistoryId>[^/]++))?$#sD'$pathinfo$matches)) {
  574.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'paymentHistory_new']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\PaymentHistoryController::newAction',  'paymentHistoryId' => NULL,));
  575.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  576.                             $allow array_merge($allow, ['GET''POST']);
  577.                             goto not_paymentHistory_new;
  578.                         }
  579.                         return $ret;
  580.                     }
  581.                     not_paymentHistory_new:
  582.                     // paymentHistory_update
  583.                     if ('/admin/paymenthistory/update' === $pathinfo) {
  584.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\PaymentHistoryController::updateAction',  '_route' => 'paymentHistory_update',);
  585.                         if (!in_array($requestMethod, ['POST'])) {
  586.                             $allow array_merge($allow, ['POST']);
  587.                             goto not_paymentHistory_update;
  588.                         }
  589.                         return $ret;
  590.                     }
  591.                     not_paymentHistory_update:
  592.                 }
  593.                 elseif (=== strpos($pathinfo'/admin/c')) {
  594.                     if (=== strpos($pathinfo'/admin/categories')) {
  595.                         // category_new
  596.                         if (=== strpos($pathinfo'/admin/categories/new') && preg_match('#^/admin/categories/new(?:/(?P<categoryId>[^/]++))?$#sD'$pathinfo$matches)) {
  597.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'category_new']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\CategoryController::newAction',  'categoryId' => NULL,));
  598.                             if (!in_array($canonicalMethod, ['GET''POST'])) {
  599.                                 $allow array_merge($allow, ['GET''POST']);
  600.                                 goto not_category_new;
  601.                             }
  602.                             return $ret;
  603.                         }
  604.                         not_category_new:
  605.                         // category_update
  606.                         if (=== strpos($pathinfo'/admin/categories/update') && preg_match('#^/admin/categories/update(?:/(?P<categoryId>[^/]++))?$#sD'$pathinfo$matches)) {
  607.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'category_update']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\CategoryController::updateAction',  'categoryId' => NULL,));
  608.                             if (!in_array($requestMethod, ['POST'])) {
  609.                                 $allow array_merge($allow, ['POST']);
  610.                                 goto not_category_update;
  611.                             }
  612.                             return $ret;
  613.                         }
  614.                         not_category_update:
  615.                         // category_delete
  616.                         if (=== strpos($pathinfo'/admin/categories/delete') && preg_match('#^/admin/categories/delete/(?P<categoryId>[^/]++)$#sD'$pathinfo$matches)) {
  617.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'category_delete']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\CategoryController::deleteAction',));
  618.                             if (!in_array($canonicalMethod, ['GET''POST'])) {
  619.                                 $allow array_merge($allow, ['GET''POST']);
  620.                                 goto not_category_delete;
  621.                             }
  622.                             return $ret;
  623.                         }
  624.                         not_category_delete:
  625.                         // category_sort_order
  626.                         if ('/admin/categories/sort/order' === $pathinfo) {
  627.                             $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\CategoryController::sortOrderAction',  '_route' => 'category_sort_order',);
  628.                             if (!in_array($canonicalMethod, ['GET''POST'])) {
  629.                                 $allow array_merge($allow, ['GET''POST']);
  630.                                 goto not_category_sort_order;
  631.                             }
  632.                             return $ret;
  633.                         }
  634.                         not_category_sort_order:
  635.                     }
  636.                     elseif (=== strpos($pathinfo'/admin/coupons')) {
  637.                         // coupons_index
  638.                         if ('/admin/coupons' === $trimmedPathinfo) {
  639.                             $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\CouponsController::indexAction',  '_route' => 'coupons_index',);
  640.                             if ('/' === substr($pathinfo, -1)) {
  641.                                 // no-op
  642.                             } elseif ('GET' !== $canonicalMethod) {
  643.                                 goto not_coupons_index;
  644.                             } else {
  645.                                 return array_replace($ret$this->redirect($rawPathinfo.'/''coupons_index'));
  646.                             }
  647.                             if (!in_array($canonicalMethod, ['GET'])) {
  648.                                 $allow array_merge($allow, ['GET']);
  649.                                 goto not_coupons_index;
  650.                             }
  651.                             return $ret;
  652.                         }
  653.                         not_coupons_index:
  654.                         // coupons_new
  655.                         if (=== strpos($pathinfo'/admin/coupons/new') && preg_match('#^/admin/coupons/new(?:/(?P<couponId>[^/]++))?$#sD'$pathinfo$matches)) {
  656.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'coupons_new']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\CouponsController::newAction',  'couponId' => NULL,));
  657.                             if (!in_array($canonicalMethod, ['GET''POST'])) {
  658.                                 $allow array_merge($allow, ['GET''POST']);
  659.                                 goto not_coupons_new;
  660.                             }
  661.                             return $ret;
  662.                         }
  663.                         not_coupons_new:
  664.                         // coupons_update
  665.                         if ('/admin/coupons/update' === $pathinfo) {
  666.                             $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\CouponsController::updateAction',  '_route' => 'coupons_update',);
  667.                             if (!in_array($requestMethod, ['POST'])) {
  668.                                 $allow array_merge($allow, ['POST']);
  669.                                 goto not_coupons_update;
  670.                             }
  671.                             return $ret;
  672.                         }
  673.                         not_coupons_update:
  674.                         // coupons_delete
  675.                         if (=== strpos($pathinfo'/admin/coupons/delete') && preg_match('#^/admin/coupons/delete/(?P<couponId>[^/]++)$#sD'$pathinfo$matches)) {
  676.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'coupons_delete']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\CouponsController::deleteAction',));
  677.                             if (!in_array($canonicalMethod, ['GET''POST'])) {
  678.                                 $allow array_merge($allow, ['GET''POST']);
  679.                                 goto not_coupons_delete;
  680.                             }
  681.                             return $ret;
  682.                         }
  683.                         not_coupons_delete:
  684.                     }
  685.                     // food_airway_admin_change_kitchen
  686.                     if (=== strpos($pathinfo'/admin/change/kitchen') && preg_match('#^/admin/change/kitchen/(?P<kitchenId>[^/]++)$#sD'$pathinfo$matches)) {
  687.                         return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_admin_change_kitchen']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\DefaultController::changeKitchenAction',));
  688.                     }
  689.                 }
  690.                 elseif (=== strpos($pathinfo'/admin/foodtypes')) {
  691.                     // foodtypes_index
  692.                     if ('/admin/foodtypes' === $trimmedPathinfo) {
  693.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\FoodTypesController::indexAction',  '_route' => 'foodtypes_index',);
  694.                         if ('/' === substr($pathinfo, -1)) {
  695.                             // no-op
  696.                         } elseif ('GET' !== $canonicalMethod) {
  697.                             goto not_foodtypes_index;
  698.                         } else {
  699.                             return array_replace($ret$this->redirect($rawPathinfo.'/''foodtypes_index'));
  700.                         }
  701.                         if (!in_array($canonicalMethod, ['GET'])) {
  702.                             $allow array_merge($allow, ['GET']);
  703.                             goto not_foodtypes_index;
  704.                         }
  705.                         return $ret;
  706.                     }
  707.                     not_foodtypes_index:
  708.                     // foodtype_new
  709.                     if (=== strpos($pathinfo'/admin/foodtypes/new') && preg_match('#^/admin/foodtypes/new(?:/(?P<foodTypeId>[^/]++))?$#sD'$pathinfo$matches)) {
  710.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'foodtype_new']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\FoodTypesController::newAction',  'foodTypeId' => NULL,));
  711.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  712.                             $allow array_merge($allow, ['GET''POST']);
  713.                             goto not_foodtype_new;
  714.                         }
  715.                         return $ret;
  716.                     }
  717.                     not_foodtype_new:
  718.                     // foodtype_update
  719.                     if ('/admin/foodtypes/update' === $pathinfo) {
  720.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\FoodTypesController::updateAction',  '_route' => 'foodtype_update',);
  721.                         if (!in_array($requestMethod, ['POST'])) {
  722.                             $allow array_merge($allow, ['POST']);
  723.                             goto not_foodtype_update;
  724.                         }
  725.                         return $ret;
  726.                     }
  727.                     not_foodtype_update:
  728.                     // foodtype_delete
  729.                     if (=== strpos($pathinfo'/admin/foodtypes/delete') && preg_match('#^/admin/foodtypes/delete/(?P<foodTypeId>[^/]++)$#sD'$pathinfo$matches)) {
  730.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'foodtype_delete']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\FoodTypesController::deleteAction',));
  731.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  732.                             $allow array_merge($allow, ['GET''POST']);
  733.                             goto not_foodtype_delete;
  734.                         }
  735.                         return $ret;
  736.                     }
  737.                     not_foodtype_delete:
  738.                 }
  739.                 // food_airway_admin_feedbacks
  740.                 if ('/admin/feedbacks' === $pathinfo) {
  741.                     return array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\DefaultController::feedbacksAction',  '_route' => 'food_airway_admin_feedbacks',);
  742.                 }
  743.                 if (=== strpos($pathinfo'/admin/orders')) {
  744.                     // orders_listing
  745.                     if ('/admin/orders/index' === $pathinfo) {
  746.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\OrdersController::indexAction',  '_route' => 'orders_listing',);
  747.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  748.                             $allow array_merge($allow, ['GET''POST']);
  749.                             goto not_orders_listing;
  750.                         }
  751.                         return $ret;
  752.                     }
  753.                     not_orders_listing:
  754.                     // orders_update_status
  755.                     if (=== strpos($pathinfo'/admin/orders/update/status') && preg_match('#^/admin/orders/update/status/(?P<orderId>[^/]++)/(?P<statusId>[^/]++)/(?P<userId>[^/]++)$#sD'$pathinfo$matches)) {
  756.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'orders_update_status']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\OrdersController::updateStatusAction',));
  757.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  758.                             $allow array_merge($allow, ['GET''POST']);
  759.                             goto not_orders_update_status;
  760.                         }
  761.                         return $ret;
  762.                     }
  763.                     not_orders_update_status:
  764.                     if (=== strpos($pathinfo'/admin/orders/all')) {
  765.                         // orders_listing_all
  766.                         if ('/admin/orders/all' === $pathinfo) {
  767.                             $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\OrdersController::allAction',  '_route' => 'orders_listing_all',);
  768.                             if (!in_array($canonicalMethod, ['GET''POST'])) {
  769.                                 $allow array_merge($allow, ['GET''POST']);
  770.                                 goto not_orders_listing_all;
  771.                             }
  772.                             return $ret;
  773.                         }
  774.                         not_orders_listing_all:
  775.                         // orders_listing_all_ajax
  776.                         if ('/admin/orders/all/ajax' === $pathinfo) {
  777.                             $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\OrdersController::allAjaxAction',  '_route' => 'orders_listing_all_ajax',);
  778.                             if (!in_array($canonicalMethod, ['GET''POST'])) {
  779.                                 $allow array_merge($allow, ['GET''POST']);
  780.                                 goto not_orders_listing_all_ajax;
  781.                             }
  782.                             return $ret;
  783.                         }
  784.                         not_orders_listing_all_ajax:
  785.                     }
  786.                     // orders_assign_delivery_partner
  787.                     if (=== strpos($pathinfo'/admin/orders/assign/delivery/partner') && preg_match('#^/admin/orders/assign/delivery/partner/(?P<orderId>[^/]++)$#sD'$pathinfo$matches)) {
  788.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'orders_assign_delivery_partner']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\OrdersController::assignDeliveryPartnerAction',));
  789.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  790.                             $allow array_merge($allow, ['GET''POST']);
  791.                             goto not_orders_assign_delivery_partner;
  792.                         }
  793.                         return $ret;
  794.                     }
  795.                     not_orders_assign_delivery_partner:
  796.                     // orders_cancel
  797.                     if (=== strpos($pathinfo'/admin/orders/cancel') && preg_match('#^/admin/orders/cancel/(?P<orderId>[^/]++)$#sD'$pathinfo$matches)) {
  798.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'orders_cancel']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\OrdersController::cancelAction',));
  799.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  800.                             $allow array_merge($allow, ['GET''POST']);
  801.                             goto not_orders_cancel;
  802.                         }
  803.                         return $ret;
  804.                     }
  805.                     not_orders_cancel:
  806.                     // orders_edit_udpate
  807.                     if (=== strpos($pathinfo'/admin/orders/edit') && preg_match('#^/admin/orders/edit/(?P<orderId>[^/]++)$#sD'$pathinfo$matches)) {
  808.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'orders_edit_udpate']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\OrdersController::editAction',));
  809.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  810.                             $allow array_merge($allow, ['GET''POST']);
  811.                             goto not_orders_edit_udpate;
  812.                         }
  813.                         return $ret;
  814.                     }
  815.                     not_orders_edit_udpate:
  816.                 }
  817.                 elseif (=== strpos($pathinfo'/admin/advertisement-banners')) {
  818.                     // advertisement_banner_index
  819.                     if ('/admin/advertisement-banners' === $trimmedPathinfo) {
  820.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\AdvertisementBannersController::indexAction',  '_route' => 'advertisement_banner_index',);
  821.                         if ('/' === substr($pathinfo, -1)) {
  822.                             // no-op
  823.                         } elseif ('GET' !== $canonicalMethod) {
  824.                             goto not_advertisement_banner_index;
  825.                         } else {
  826.                             return array_replace($ret$this->redirect($rawPathinfo.'/''advertisement_banner_index'));
  827.                         }
  828.                         if (!in_array($canonicalMethod, ['GET'])) {
  829.                             $allow array_merge($allow, ['GET']);
  830.                             goto not_advertisement_banner_index;
  831.                         }
  832.                         return $ret;
  833.                     }
  834.                     not_advertisement_banner_index:
  835.                     if (=== strpos($pathinfo'/admin/advertisement-banners/update')) {
  836.                         // advertisement_banner_add_edit
  837.                         if (preg_match('#^/admin/advertisement\\-banners/update(?:/(?P<advertisementBannerId>[^/]++))?$#sD'$pathinfo$matches)) {
  838.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'advertisement_banner_add_edit']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\AdvertisementBannersController::addEditAction',  'advertisementBannerId' => NULL,));
  839.                             if (!in_array($canonicalMethod, ['GET'])) {
  840.                                 $allow array_merge($allow, ['GET']);
  841.                                 goto not_advertisement_banner_add_edit;
  842.                             }
  843.                             return $ret;
  844.                         }
  845.                         not_advertisement_banner_add_edit:
  846.                         // advertisement_banner_update
  847.                         if (preg_match('#^/admin/advertisement\\-banners/update(?:/(?P<advertisementBannerId>[^/]++))?$#sD'$pathinfo$matches)) {
  848.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'advertisement_banner_update']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\AdvertisementBannersController::updateAction',  'advertisementBannerId' => NULL,));
  849.                             if (!in_array($requestMethod, ['POST'])) {
  850.                                 $allow array_merge($allow, ['POST']);
  851.                                 goto not_advertisement_banner_update;
  852.                             }
  853.                             return $ret;
  854.                         }
  855.                         not_advertisement_banner_update:
  856.                     }
  857.                     // advertisement_banner_delete
  858.                     if (=== strpos($pathinfo'/admin/advertisement-banners/delete') && preg_match('#^/admin/advertisement\\-banners/delete(?:/(?P<advertisementBannerId>[^/]++))?$#sD'$pathinfo$matches)) {
  859.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'advertisement_banner_delete']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\AdvertisementBannersController::deleteAction',  'advertisementBannerId' => NULL,));
  860.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  861.                             $allow array_merge($allow, ['GET''POST']);
  862.                             goto not_advertisement_banner_delete;
  863.                         }
  864.                         return $ret;
  865.                     }
  866.                     not_advertisement_banner_delete:
  867.                 }
  868.                 elseif (=== strpos($pathinfo'/admin/anayltics')) {
  869.                     // anayltics_menu_report
  870.                     if ('/admin/anayltics/menu-report' === $pathinfo) {
  871.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\AnaylticsController::menuReportAction',  '_route' => 'anayltics_menu_report',);
  872.                         if (!in_array($canonicalMethod, ['GET'])) {
  873.                             $allow array_merge($allow, ['GET']);
  874.                             goto not_anayltics_menu_report;
  875.                         }
  876.                         return $ret;
  877.                     }
  878.                     not_anayltics_menu_report:
  879.                     // anayltics_recent_visitors
  880.                     if ('/admin/anayltics/recent-visitors' === $pathinfo) {
  881.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\AnaylticsController::VisitorsAction',  '_route' => 'anayltics_recent_visitors',);
  882.                         if (!in_array($canonicalMethod, ['GET'])) {
  883.                             $allow array_merge($allow, ['GET']);
  884.                             goto not_anayltics_recent_visitors;
  885.                         }
  886.                         return $ret;
  887.                     }
  888.                     not_anayltics_recent_visitors:
  889.                     if (=== strpos($pathinfo'/admin/anayltics/delivery/partner/cash')) {
  890.                         // anayltics_delivery_partner_cash
  891.                         if ('/admin/anayltics/delivery/partner/cash' === $pathinfo) {
  892.                             $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\AnaylticsController::deliveryPartnerCashAction',  '_route' => 'anayltics_delivery_partner_cash',);
  893.                             if (!in_array($canonicalMethod, ['GET'])) {
  894.                                 $allow array_merge($allow, ['GET']);
  895.                                 goto not_anayltics_delivery_partner_cash;
  896.                             }
  897.                             return $ret;
  898.                         }
  899.                         not_anayltics_delivery_partner_cash:
  900.                         // anayltics_delivery_partner_cash_detail
  901.                         if (=== strpos($pathinfo'/admin/anayltics/delivery/partner/cash/detail') && preg_match('#^/admin/anayltics/delivery/partner/cash/detail(?:/(?P<deliveryPartnerId>[^/]++))?$#sD'$pathinfo$matches)) {
  902.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'anayltics_delivery_partner_cash_detail']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\AnaylticsController::deliveryPartnerCashDetailAction',  'deliveryPartnerId' => NULL,));
  903.                             if (!in_array($canonicalMethod, ['GET'])) {
  904.                                 $allow array_merge($allow, ['GET']);
  905.                                 goto not_anayltics_delivery_partner_cash_detail;
  906.                             }
  907.                             return $ret;
  908.                         }
  909.                         not_anayltics_delivery_partner_cash_detail:
  910.                     }
  911.                     elseif (=== strpos($pathinfo'/admin/anayltics/delivery/valet/performance')) {
  912.                         // anayltics_delivery_valet_performance
  913.                         if ('/admin/anayltics/delivery/valet/performance' === $pathinfo) {
  914.                             $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\AnaylticsController::deliveryValetPerformanceAction',  '_route' => 'anayltics_delivery_valet_performance',);
  915.                             if (!in_array($canonicalMethod, ['GET''POST'])) {
  916.                                 $allow array_merge($allow, ['GET''POST']);
  917.                                 goto not_anayltics_delivery_valet_performance;
  918.                             }
  919.                             return $ret;
  920.                         }
  921.                         not_anayltics_delivery_valet_performance:
  922.                         // anayltics_delivery_valet_performance_order_detail
  923.                         if (=== strpos($pathinfo'/admin/anayltics/delivery/valet/performance/order/detail') && preg_match('#^/admin/anayltics/delivery/valet/performance/order/detail/(?P<orderDeliveryRouteId>[^/]++)$#sD'$pathinfo$matches)) {
  924.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'anayltics_delivery_valet_performance_order_detail']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\AnaylticsController::deliveryValetPerformanceOrderDetailAction',));
  925.                             if (!in_array($canonicalMethod, ['GET''POST'])) {
  926.                                 $allow array_merge($allow, ['GET''POST']);
  927.                                 goto not_anayltics_delivery_valet_performance_order_detail;
  928.                             }
  929.                             return $ret;
  930.                         }
  931.                         not_anayltics_delivery_valet_performance_order_detail:
  932.                         // anayltics_delivery_valet_performance_order_routes
  933.                         if (=== strpos($pathinfo'/admin/anayltics/delivery/valet/performance/order/routes') && preg_match('#^/admin/anayltics/delivery/valet/performance/order/routes/(?P<deliveryPartnerId>[^/]++)$#sD'$pathinfo$matches)) {
  934.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'anayltics_delivery_valet_performance_order_routes']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\AnaylticsController::deliveryValetPerformanceOrderRoutesAction',));
  935.                             if (!in_array($canonicalMethod, ['GET''POST'])) {
  936.                                 $allow array_merge($allow, ['GET''POST']);
  937.                                 goto not_anayltics_delivery_valet_performance_order_routes;
  938.                             }
  939.                             return $ret;
  940.                         }
  941.                         not_anayltics_delivery_valet_performance_order_routes:
  942.                         // anayltics_delivery_valet_performance_tiffins_route_detail
  943.                         if (=== strpos($pathinfo'/admin/anayltics/delivery/valet/performance/tiffins/route/detail') && preg_match('#^/admin/anayltics/delivery/valet/performance/tiffins/route/detail/(?P<deliveryPartnerId>[^/]++)/(?P<routeId>[^/]++)$#sD'$pathinfo$matches)) {
  944.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'anayltics_delivery_valet_performance_tiffins_route_detail']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\AnaylticsController::deliveryValetPerformanceTiffinsRouteDetailAction',));
  945.                             if (!in_array($canonicalMethod, ['GET''POST'])) {
  946.                                 $allow array_merge($allow, ['GET''POST']);
  947.                                 goto not_anayltics_delivery_valet_performance_tiffins_route_detail;
  948.                             }
  949.                             return $ret;
  950.                         }
  951.                         not_anayltics_delivery_valet_performance_tiffins_route_detail:
  952.                     }
  953.                     // anayltics_customer_detail
  954.                     if ('/admin/anayltics/customer-detail' === $pathinfo) {
  955.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\AnaylticsController::CustomerDetailAction',  '_route' => 'anayltics_customer_detail',);
  956.                         if (!in_array($canonicalMethod, ['GET'])) {
  957.                             $allow array_merge($allow, ['GET']);
  958.                             goto not_anayltics_customer_detail;
  959.                         }
  960.                         return $ret;
  961.                     }
  962.                     not_anayltics_customer_detail:
  963.                     // anayltics_update_user_addresses
  964.                     if ('/admin/anayltics/update/user/addreses' === $pathinfo) {
  965.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\AnaylticsController::updateUserAddressesAction',  '_route' => 'anayltics_update_user_addresses',);
  966.                         if (!in_array($canonicalMethod, ['GET'])) {
  967.                             $allow array_merge($allow, ['GET']);
  968.                             goto not_anayltics_update_user_addresses;
  969.                         }
  970.                         return $ret;
  971.                     }
  972.                     not_anayltics_update_user_addresses:
  973.                     // anayltics_inventory_stock_report
  974.                     if ('/admin/anayltics/inventory/stock/report' === $pathinfo) {
  975.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\AnaylticsController::inventoryStockReportAction',  '_route' => 'anayltics_inventory_stock_report',);
  976.                         if (!in_array($canonicalMethod, ['GET'])) {
  977.                             $allow array_merge($allow, ['GET']);
  978.                             goto not_anayltics_inventory_stock_report;
  979.                         }
  980.                         return $ret;
  981.                     }
  982.                     not_anayltics_inventory_stock_report:
  983.                     if (=== strpos($pathinfo'/admin/anayltics/order/history')) {
  984.                         // anayltics_order_history
  985.                         if ('/admin/anayltics/order/history' === $pathinfo) {
  986.                             $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\AnaylticsController::orderHistoryAction',  '_route' => 'anayltics_order_history',);
  987.                             if (!in_array($canonicalMethod, ['GET''POST'])) {
  988.                                 $allow array_merge($allow, ['GET''POST']);
  989.                                 goto not_anayltics_order_history;
  990.                             }
  991.                             return $ret;
  992.                         }
  993.                         not_anayltics_order_history:
  994.                         // anayltics_order_history_ajax
  995.                         if ('/admin/anayltics/order/history/ajax' === $pathinfo) {
  996.                             $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\AnaylticsController::orderHistoryAjaxAction',  '_route' => 'anayltics_order_history_ajax',);
  997.                             if (!in_array($canonicalMethod, ['GET''POST'])) {
  998.                                 $allow array_merge($allow, ['GET''POST']);
  999.                                 goto not_anayltics_order_history_ajax;
  1000.                             }
  1001.                             return $ret;
  1002.                         }
  1003.                         not_anayltics_order_history_ajax:
  1004.                     }
  1005.                 }
  1006.                 elseif (=== strpos($pathinfo'/admin/deliveryteams')) {
  1007.                     // deliveryteam_index
  1008.                     if ('/admin/deliveryteams' === $trimmedPathinfo) {
  1009.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\DeliveryTeamController::indexAction',  '_route' => 'deliveryteam_index',);
  1010.                         if ('/' === substr($pathinfo, -1)) {
  1011.                             // no-op
  1012.                         } elseif ('GET' !== $canonicalMethod) {
  1013.                             goto not_deliveryteam_index;
  1014.                         } else {
  1015.                             return array_replace($ret$this->redirect($rawPathinfo.'/''deliveryteam_index'));
  1016.                         }
  1017.                         if (!in_array($canonicalMethod, ['GET'])) {
  1018.                             $allow array_merge($allow, ['GET']);
  1019.                             goto not_deliveryteam_index;
  1020.                         }
  1021.                         return $ret;
  1022.                     }
  1023.                     not_deliveryteam_index:
  1024.                     // deliveryteam_new
  1025.                     if (=== strpos($pathinfo'/admin/deliveryteams/new') && preg_match('#^/admin/deliveryteams/new(?:/(?P<deliveryTeamId>[^/]++))?$#sD'$pathinfo$matches)) {
  1026.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'deliveryteam_new']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\DeliveryTeamController::newAction',  'deliveryTeamId' => NULL,));
  1027.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  1028.                             $allow array_merge($allow, ['GET''POST']);
  1029.                             goto not_deliveryteam_new;
  1030.                         }
  1031.                         return $ret;
  1032.                     }
  1033.                     not_deliveryteam_new:
  1034.                     // deliveryteam_update
  1035.                     if ('/admin/deliveryteams/update' === $pathinfo) {
  1036.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\DeliveryTeamController::updateAction',  '_route' => 'deliveryteam_update',);
  1037.                         if (!in_array($requestMethod, ['POST'])) {
  1038.                             $allow array_merge($allow, ['POST']);
  1039.                             goto not_deliveryteam_update;
  1040.                         }
  1041.                         return $ret;
  1042.                     }
  1043.                     not_deliveryteam_update:
  1044.                     // deliveryteam_delete
  1045.                     if (=== strpos($pathinfo'/admin/deliveryteams/delete') && preg_match('#^/admin/deliveryteams/delete/(?P<deliveryTeamId>[^/]++)$#sD'$pathinfo$matches)) {
  1046.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'deliveryteam_delete']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\DeliveryTeamController::deleteAction',));
  1047.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  1048.                             $allow array_merge($allow, ['GET''POST']);
  1049.                             goto not_deliveryteam_delete;
  1050.                         }
  1051.                         return $ret;
  1052.                     }
  1053.                     not_deliveryteam_delete:
  1054.                     if (=== strpos($pathinfo'/admin/deliveryteams/timesheet')) {
  1055.                         // deliveryteam_timesheet
  1056.                         if ('/admin/deliveryteams/timesheet' === $pathinfo) {
  1057.                             $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\DeliveryTeamController::timesheetAction',  '_route' => 'deliveryteam_timesheet',);
  1058.                             if (!in_array($canonicalMethod, ['GET'])) {
  1059.                                 $allow array_merge($allow, ['GET']);
  1060.                                 goto not_deliveryteam_timesheet;
  1061.                             }
  1062.                             return $ret;
  1063.                         }
  1064.                         not_deliveryteam_timesheet:
  1065.                         // deliveryteam_timesheet_checkin_checkout
  1066.                         if (=== strpos($pathinfo'/admin/deliveryteams/timesheet/checkin-checkout/history') && preg_match('#^/admin/deliveryteams/timesheet/checkin\\-checkout/history/(?P<deliveryTeamId>[^/]++)$#sD'$pathinfo$matches)) {
  1067.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'deliveryteam_timesheet_checkin_checkout']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\DeliveryTeamController::timesheetCheckInCheckoutHistoryAction',));
  1068.                             if (!in_array($canonicalMethod, ['GET'])) {
  1069.                                 $allow array_merge($allow, ['GET']);
  1070.                                 goto not_deliveryteam_timesheet_checkin_checkout;
  1071.                             }
  1072.                             return $ret;
  1073.                         }
  1074.                         not_deliveryteam_timesheet_checkin_checkout:
  1075.                         // deliveryteam_timesheet_reports
  1076.                         if ('/admin/deliveryteams/timesheet/reports' === $pathinfo) {
  1077.                             $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\DeliveryTeamController::timesheetReportsAction',  '_route' => 'deliveryteam_timesheet_reports',);
  1078.                             if (!in_array($canonicalMethod, ['GET'])) {
  1079.                                 $allow array_merge($allow, ['GET']);
  1080.                                 goto not_deliveryteam_timesheet_reports;
  1081.                             }
  1082.                             return $ret;
  1083.                         }
  1084.                         not_deliveryteam_timesheet_reports:
  1085.                     }
  1086.                     // deliveryteam_add_shifts
  1087.                     if (=== strpos($pathinfo'/admin/deliveryteams/add/shifts') && preg_match('#^/admin/deliveryteams/add/shifts/(?P<deliveryTeamId>[^/]++)$#sD'$pathinfo$matches)) {
  1088.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'deliveryteam_add_shifts']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\DeliveryTeamController::addShiftsAction',));
  1089.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  1090.                             $allow array_merge($allow, ['GET''POST']);
  1091.                             goto not_deliveryteam_add_shifts;
  1092.                         }
  1093.                         return $ret;
  1094.                     }
  1095.                     not_deliveryteam_add_shifts:
  1096.                     // deliveryteam_add_accessories
  1097.                     if (=== strpos($pathinfo'/admin/deliveryteams/add/accessories') && preg_match('#^/admin/deliveryteams/add/accessories/(?P<deliveryTeamId>[^/]++)$#sD'$pathinfo$matches)) {
  1098.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'deliveryteam_add_accessories']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\DeliveryTeamController::addAccessoriesAction',));
  1099.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  1100.                             $allow array_merge($allow, ['GET''POST']);
  1101.                             goto not_deliveryteam_add_accessories;
  1102.                         }
  1103.                         return $ret;
  1104.                     }
  1105.                     not_deliveryteam_add_accessories:
  1106.                 }
  1107.                 elseif (=== strpos($pathinfo'/admin/dutyshifts')) {
  1108.                     // dutyShifts_index
  1109.                     if ('/admin/dutyshifts' === $trimmedPathinfo) {
  1110.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\DutyShiftsController::indexAction',  '_route' => 'dutyShifts_index',);
  1111.                         if ('/' === substr($pathinfo, -1)) {
  1112.                             // no-op
  1113.                         } elseif ('GET' !== $canonicalMethod) {
  1114.                             goto not_dutyShifts_index;
  1115.                         } else {
  1116.                             return array_replace($ret$this->redirect($rawPathinfo.'/''dutyShifts_index'));
  1117.                         }
  1118.                         if (!in_array($canonicalMethod, ['GET'])) {
  1119.                             $allow array_merge($allow, ['GET']);
  1120.                             goto not_dutyShifts_index;
  1121.                         }
  1122.                         return $ret;
  1123.                     }
  1124.                     not_dutyShifts_index:
  1125.                     // dutyShifts_new
  1126.                     if (=== strpos($pathinfo'/admin/dutyshifts/new') && preg_match('#^/admin/dutyshifts/new(?:/(?P<dutyShiftId>[^/]++))?$#sD'$pathinfo$matches)) {
  1127.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'dutyShifts_new']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\DutyShiftsController::newAction',  'dutyShiftId' => NULL,));
  1128.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  1129.                             $allow array_merge($allow, ['GET''POST']);
  1130.                             goto not_dutyShifts_new;
  1131.                         }
  1132.                         return $ret;
  1133.                     }
  1134.                     not_dutyShifts_new:
  1135.                     // dutyShifts_update
  1136.                     if ('/admin/dutyshifts/update' === $pathinfo) {
  1137.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\DutyShiftsController::updateAction',  '_route' => 'dutyShifts_update',);
  1138.                         if (!in_array($requestMethod, ['POST'])) {
  1139.                             $allow array_merge($allow, ['POST']);
  1140.                             goto not_dutyShifts_update;
  1141.                         }
  1142.                         return $ret;
  1143.                     }
  1144.                     not_dutyShifts_update:
  1145.                 }
  1146.                 elseif (=== strpos($pathinfo'/admin/expenesestype')) {
  1147.                     // expensestype_index
  1148.                     if ('/admin/expenesestype' === $trimmedPathinfo) {
  1149.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ExpensesTypeController::indexAction',  '_route' => 'expensestype_index',);
  1150.                         if ('/' === substr($pathinfo, -1)) {
  1151.                             // no-op
  1152.                         } elseif ('GET' !== $canonicalMethod) {
  1153.                             goto not_expensestype_index;
  1154.                         } else {
  1155.                             return array_replace($ret$this->redirect($rawPathinfo.'/''expensestype_index'));
  1156.                         }
  1157.                         if (!in_array($canonicalMethod, ['GET'])) {
  1158.                             $allow array_merge($allow, ['GET']);
  1159.                             goto not_expensestype_index;
  1160.                         }
  1161.                         return $ret;
  1162.                     }
  1163.                     not_expensestype_index:
  1164.                     // expensestype_new
  1165.                     if (=== strpos($pathinfo'/admin/expenesestype/new') && preg_match('#^/admin/expenesestype/new(?:/(?P<expensesTypeId>[^/]++))?$#sD'$pathinfo$matches)) {
  1166.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'expensestype_new']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ExpensesTypeController::newAction',  'expensesTypeId' => NULL,));
  1167.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  1168.                             $allow array_merge($allow, ['GET''POST']);
  1169.                             goto not_expensestype_new;
  1170.                         }
  1171.                         return $ret;
  1172.                     }
  1173.                     not_expensestype_new:
  1174.                     // expensestype_update
  1175.                     if ('/admin/expenesestype/update' === $pathinfo) {
  1176.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ExpensesTypeController::updateAction',  '_route' => 'expensestype_update',);
  1177.                         if (!in_array($requestMethod, ['POST'])) {
  1178.                             $allow array_merge($allow, ['POST']);
  1179.                             goto not_expensestype_update;
  1180.                         }
  1181.                         return $ret;
  1182.                     }
  1183.                     not_expensestype_update:
  1184.                 }
  1185.                 elseif (=== strpos($pathinfo'/admin/tiffin-routes')) {
  1186.                     // tiffin_routes_index
  1187.                     if ('/admin/tiffin-routes' === $trimmedPathinfo) {
  1188.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\TiffinRoutesController::indexAction',  '_route' => 'tiffin_routes_index',);
  1189.                         if ('/' === substr($pathinfo, -1)) {
  1190.                             // no-op
  1191.                         } elseif ('GET' !== $canonicalMethod) {
  1192.                             goto not_tiffin_routes_index;
  1193.                         } else {
  1194.                             return array_replace($ret$this->redirect($rawPathinfo.'/''tiffin_routes_index'));
  1195.                         }
  1196.                         if (!in_array($canonicalMethod, ['GET'])) {
  1197.                             $allow array_merge($allow, ['GET']);
  1198.                             goto not_tiffin_routes_index;
  1199.                         }
  1200.                         return $ret;
  1201.                     }
  1202.                     not_tiffin_routes_index:
  1203.                     if (=== strpos($pathinfo'/admin/tiffin-routes/update')) {
  1204.                         // tiffin_routes_add_edit
  1205.                         if (preg_match('#^/admin/tiffin\\-routes/update(?:/(?P<tiffinRouteId>[^/]++))?$#sD'$pathinfo$matches)) {
  1206.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'tiffin_routes_add_edit']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\TiffinRoutesController::addEditAction',  'tiffinRouteId' => NULL,));
  1207.                             if (!in_array($canonicalMethod, ['GET'])) {
  1208.                                 $allow array_merge($allow, ['GET']);
  1209.                                 goto not_tiffin_routes_add_edit;
  1210.                             }
  1211.                             return $ret;
  1212.                         }
  1213.                         not_tiffin_routes_add_edit:
  1214.                         // tiffin_routes_update
  1215.                         if (preg_match('#^/admin/tiffin\\-routes/update(?:/(?P<tiffinRouteId>[^/]++))?$#sD'$pathinfo$matches)) {
  1216.                             $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'tiffin_routes_update']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\TiffinRoutesController::updateAction',  'tiffinRouteId' => NULL,));
  1217.                             if (!in_array($requestMethod, ['POST'])) {
  1218.                                 $allow array_merge($allow, ['POST']);
  1219.                                 goto not_tiffin_routes_update;
  1220.                             }
  1221.                             return $ret;
  1222.                         }
  1223.                         not_tiffin_routes_update:
  1224.                     }
  1225.                     // tiffin_routes_delete
  1226.                     if (=== strpos($pathinfo'/admin/tiffin-routes/delete') && preg_match('#^/admin/tiffin\\-routes/delete(?:/(?P<tiffinRouteId>[^/]++))?$#sD'$pathinfo$matches)) {
  1227.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'tiffin_routes_delete']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\TiffinRoutesController::deleteAction',  'tiffinRouteId' => NULL,));
  1228.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  1229.                             $allow array_merge($allow, ['GET''POST']);
  1230.                             goto not_tiffin_routes_delete;
  1231.                         }
  1232.                         return $ret;
  1233.                     }
  1234.                     not_tiffin_routes_delete:
  1235.                     // tiffin_routes_view
  1236.                     if (=== strpos($pathinfo'/admin/tiffin-routes/view') && preg_match('#^/admin/tiffin\\-routes/view(?:/(?P<tiffinRouteId>[^/]++))?$#sD'$pathinfo$matches)) {
  1237.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'tiffin_routes_view']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\TiffinRoutesController::viewAction',  'tiffinRouteId' => NULL,));
  1238.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  1239.                             $allow array_merge($allow, ['GET''POST']);
  1240.                             goto not_tiffin_routes_view;
  1241.                         }
  1242.                         return $ret;
  1243.                     }
  1244.                     not_tiffin_routes_view:
  1245.                 }
  1246.                 // food_airway_admin_team_feedbacks
  1247.                 if ('/admin/team/feedbacks' === $pathinfo) {
  1248.                     return array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\DefaultController::teamFeedbackAction',  '_route' => 'food_airway_admin_team_feedbacks',);
  1249.                 }
  1250.                 // food_airway_admin_salary
  1251.                 if ('/admin/salaries' === $pathinfo) {
  1252.                     return array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\DefaultController::salaryAction',  '_route' => 'food_airway_admin_salary',);
  1253.                 }
  1254.                 if (=== strpos($pathinfo'/admin/reports')) {
  1255.                     // reports_sales
  1256.                     if ('/admin/reports/sales' === $pathinfo) {
  1257.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ReportsController::salesAction',  '_route' => 'reports_sales',);
  1258.                         if (!in_array($canonicalMethod, ['GET'])) {
  1259.                             $allow array_merge($allow, ['GET']);
  1260.                             goto not_reports_sales;
  1261.                         }
  1262.                         return $ret;
  1263.                     }
  1264.                     not_reports_sales:
  1265.                     if (=== strpos($pathinfo'/admin/reports/users')) {
  1266.                         // reports_users
  1267.                         if ('/admin/reports/users' === $pathinfo) {
  1268.                             $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ReportsController::usersAction',  '_route' => 'reports_users',);
  1269.                             if (!in_array($canonicalMethod, ['GET'])) {
  1270.                                 $allow array_merge($allow, ['GET']);
  1271.                                 goto not_reports_users;
  1272.                             }
  1273.                             return $ret;
  1274.                         }
  1275.                         not_reports_users:
  1276.                         // reports_users_ajax
  1277.                         if ('/admin/reports/users/ajax' === $pathinfo) {
  1278.                             $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ReportsController::usersAjaxAction',  '_route' => 'reports_users_ajax',);
  1279.                             if (!in_array($canonicalMethod, ['GET'])) {
  1280.                                 $allow array_merge($allow, ['GET']);
  1281.                                 goto not_reports_users_ajax;
  1282.                             }
  1283.                             return $ret;
  1284.                         }
  1285.                         not_reports_users_ajax:
  1286.                     }
  1287.                     // reports_user_timeline
  1288.                     if ('/admin/reports/user/timeline' === $pathinfo) {
  1289.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\ReportsController::userTimelineAction',  '_route' => 'reports_user_timeline',);
  1290.                         if (!in_array($canonicalMethod, ['GET'])) {
  1291.                             $allow array_merge($allow, ['GET']);
  1292.                             goto not_reports_user_timeline;
  1293.                         }
  1294.                         return $ret;
  1295.                     }
  1296.                     not_reports_user_timeline:
  1297.                 }
  1298.                 elseif (=== strpos($pathinfo'/admin/vendors')) {
  1299.                     // vendors_index
  1300.                     if ('/admin/vendors' === $trimmedPathinfo) {
  1301.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\VendorsController::indexAction',  '_route' => 'vendors_index',);
  1302.                         if ('/' === substr($pathinfo, -1)) {
  1303.                             // no-op
  1304.                         } elseif ('GET' !== $canonicalMethod) {
  1305.                             goto not_vendors_index;
  1306.                         } else {
  1307.                             return array_replace($ret$this->redirect($rawPathinfo.'/''vendors_index'));
  1308.                         }
  1309.                         if (!in_array($canonicalMethod, ['GET'])) {
  1310.                             $allow array_merge($allow, ['GET']);
  1311.                             goto not_vendors_index;
  1312.                         }
  1313.                         return $ret;
  1314.                     }
  1315.                     not_vendors_index:
  1316.                     // vendors_new
  1317.                     if (=== strpos($pathinfo'/admin/vendors/new') && preg_match('#^/admin/vendors/new(?:/(?P<vendorId>[^/]++))?$#sD'$pathinfo$matches)) {
  1318.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'vendors_new']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\VendorsController::newAction',  'vendorId' => NULL,));
  1319.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  1320.                             $allow array_merge($allow, ['GET''POST']);
  1321.                             goto not_vendors_new;
  1322.                         }
  1323.                         return $ret;
  1324.                     }
  1325.                     not_vendors_new:
  1326.                     // vendors_update
  1327.                     if ('/admin/vendors/update' === $pathinfo) {
  1328.                         $ret = array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\VendorsController::updateAction',  '_route' => 'vendors_update',);
  1329.                         if (!in_array($requestMethod, ['POST'])) {
  1330.                             $allow array_merge($allow, ['POST']);
  1331.                             goto not_vendors_update;
  1332.                         }
  1333.                         return $ret;
  1334.                     }
  1335.                     not_vendors_update:
  1336.                     // vendors_delete
  1337.                     if (=== strpos($pathinfo'/admin/vendors/delete') && preg_match('#^/admin/vendors/delete/(?P<vendorId>[^/]++)$#sD'$pathinfo$matches)) {
  1338.                         $ret $this->mergeDefaults(array_replace($matches, ['_route' => 'vendors_delete']), array (  '_controller' => 'FoodAirwayAdminBundle\\Controller\\VendorsController::deleteAction',));
  1339.                         if (!in_array($canonicalMethod, ['GET''POST'])) {
  1340.                             $allow array_merge($allow, ['GET''POST']);
  1341.                             goto not_vendors_delete;
  1342.                         }
  1343.                         return $ret;
  1344.                     }
  1345.                     not_vendors_delete:
  1346.                 }
  1347.             }
  1348.         }
  1349.         // food_airway_site_homepage
  1350.         if ('' === $trimmedPathinfo) {
  1351.             $ret = array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\DefaultController::indexAction',  '_route' => 'food_airway_site_homepage',);
  1352.             if ('/' === substr($pathinfo, -1)) {
  1353.                 // no-op
  1354.             } elseif ('GET' !== $canonicalMethod) {
  1355.                 goto not_food_airway_site_homepage;
  1356.             } else {
  1357.                 return array_replace($ret$this->redirect($rawPathinfo.'/''food_airway_site_homepage'));
  1358.             }
  1359.             return $ret;
  1360.         }
  1361.         not_food_airway_site_homepage:
  1362.         // food_airway_site_staff
  1363.         if ('/staff' === $pathinfo) {
  1364.             return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\DefaultController::staffAction',  '_route' => 'food_airway_site_staff',);
  1365.         }
  1366.         if (=== strpos($pathinfo'/watch-us')) {
  1367.             // food_airway_site_watch_us
  1368.             if ('/watch-us' === $pathinfo) {
  1369.                 return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\DefaultController::watchUsAction',  '_route' => 'food_airway_site_watch_us',);
  1370.             }
  1371.             // food_airway_site_watch_us_mobile
  1372.             if ('/watch-us-mobile' === $pathinfo) {
  1373.                 return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\DefaultController::watchUsForIphoneAction',  '_route' => 'food_airway_site_watch_us_mobile',);
  1374.             }
  1375.         }
  1376.         elseif (=== strpos($pathinfo'/pr')) {
  1377.             // food_airway_site_privacy_policy
  1378.             if ('/privacy-policy' === $pathinfo) {
  1379.                 return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\DefaultController::privacyPolicyAction',  '_route' => 'food_airway_site_privacy_policy',);
  1380.             }
  1381.             // food_airway_site_product_listing
  1382.             if ('/product/listing' === $pathinfo) {
  1383.                 return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\ProductController::listingAction',  '_route' => 'food_airway_site_product_listing',);
  1384.             }
  1385.             // food_airway_site_product_offers
  1386.             if ('/product/offers' === $pathinfo) {
  1387.                 return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\ProductController::offerAction',  '_route' => 'food_airway_site_product_offers',);
  1388.             }
  1389.             // preparing_order_screen
  1390.             if ('/preparing-orders-screen' === $pathinfo) {
  1391.                 return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\DefaultController::preparingOrdersScreenAction',  '_route' => 'preparing_order_screen',);
  1392.             }
  1393.         }
  1394.         // food_airway_site_google_verification
  1395.         if ('/google6fec763a38f4b25e.html' === $pathinfo) {
  1396.             return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\DefaultController::googleVerificationAction',  '_route' => 'food_airway_site_google_verification',);
  1397.         }
  1398.         // food_airway_site_google_fetch_address
  1399.         if ('/google-fetch-address' === $pathinfo) {
  1400.             return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\DefaultController::googleFetchAddressAction',  '_route' => 'food_airway_site_google_fetch_address',);
  1401.         }
  1402.         // food_airway_site_logout
  1403.         if ('/logout' === $pathinfo) {
  1404.             return ['_route' => 'food_airway_site_logout'];
  1405.         }
  1406.         // security_login_check
  1407.         if ('/login_check' === $pathinfo) {
  1408.             return ['_route' => 'security_login_check'];
  1409.         }
  1410.         if (=== strpos($pathinfo'/c')) {
  1411.             if (=== strpos($pathinfo'/cart')) {
  1412.                 // food_airway_site_cart_update
  1413.                 if ('/cart/update' === $pathinfo) {
  1414.                     return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\CartController::updateAction',  '_route' => 'food_airway_site_cart_update',);
  1415.                 }
  1416.                 // food_airway_site_cart_display
  1417.                 if ('/cart/display' === $pathinfo) {
  1418.                     return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\CartController::displayAction',  '_route' => 'food_airway_site_cart_display',);
  1419.                 }
  1420.                 // food_airway_site_cart_checkout
  1421.                 if ('/cart/checkout' === $pathinfo) {
  1422.                     return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\CartController::checkoutAction',  '_route' => 'food_airway_site_cart_checkout',);
  1423.                 }
  1424.             }
  1425.             elseif (=== strpos($pathinfo'/connect/facebook')) {
  1426.                 // connect_facebook_start
  1427.                 if ('/connect/facebook' === $pathinfo) {
  1428.                     return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\FacebookController::connectAction',  '_route' => 'connect_facebook_start',);
  1429.                 }
  1430.                 // connect_facebook_check
  1431.                 if ('/connect/facebook/check' === $pathinfo) {
  1432.                     return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\FacebookController::connectCheckAction',  '_route' => 'connect_facebook_check',);
  1433.                 }
  1434.             }
  1435.             elseif (=== strpos($pathinfo'/connect/google')) {
  1436.                 // connect_google_start
  1437.                 if ('/connect/google' === $pathinfo) {
  1438.                     return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\GoogleController::connectAction',  '_route' => 'connect_google_start',);
  1439.                 }
  1440.                 // connect_google_check
  1441.                 if ('/connect/google/check' === $pathinfo) {
  1442.                     return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\GoogleController::connectCheckAction',  '_route' => 'connect_google_check',);
  1443.                 }
  1444.             }
  1445.         }
  1446.         elseif (=== strpos($pathinfo'/order')) {
  1447.             // food_airway_track_order
  1448.             if (=== strpos($pathinfo'/order/track') && preg_match('#^/order/track/(?P<orderId>[^/]++)$#sD'$pathinfo$matches)) {
  1449.                 return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_track_order']), array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\OrderController::trackAction',));
  1450.             }
  1451.             // food_airway_order_listing
  1452.             if ('/order/listing' === $pathinfo) {
  1453.                 return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\OrderController::listingAction',  '_route' => 'food_airway_order_listing',);
  1454.             }
  1455.             // food_airway_order_create
  1456.             if (=== strpos($pathinfo'/order/create') && preg_match('#^/order/create/(?P<orderStatus>[^/]++)$#sD'$pathinfo$matches)) {
  1457.                 return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_order_create']), array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\OrderController::createAction',));
  1458.             }
  1459.             // food_airway_order_status_update
  1460.             if ('/order/status/update' === $pathinfo) {
  1461.                 return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\OrderController::statusUpdateAction',  '_route' => 'food_airway_order_status_update',);
  1462.             }
  1463.             // food_airway_invoice_order
  1464.             if (=== strpos($pathinfo'/order/invoice') && preg_match('#^/order/invoice/(?P<orderId>[^/]++)/(?P<secretKey>[^/]++)/(?P<userId>[^/]++)$#sD'$pathinfo$matches)) {
  1465.                 return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_invoice_order']), array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\OrderController::invoiceAction',));
  1466.             }
  1467.         }
  1468.         // food_airway_site_mobile_verification
  1469.         if ('/mobile/verification' === $pathinfo) {
  1470.             return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\UserController::mobileVerificationAction',  '_route' => 'food_airway_site_mobile_verification',);
  1471.         }
  1472.         if (=== strpos($pathinfo'/user')) {
  1473.             // food_airway_site_user_create_account
  1474.             if ('/user/create-account' === $pathinfo) {
  1475.                 return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\UserController::createAccountAction',  '_route' => 'food_airway_site_user_create_account',);
  1476.             }
  1477.             // food_airway_site_user_verify_otp
  1478.             if ('/user/verify-otp' === $pathinfo) {
  1479.                 return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\UserController::verifyOtpAction',  '_route' => 'food_airway_site_user_verify_otp',);
  1480.             }
  1481.             // login
  1482.             if ('/user/login' === $pathinfo) {
  1483.                 return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\UserController::loginAction',  '_route' => 'login',);
  1484.             }
  1485.             if (=== strpos($pathinfo'/useraddress')) {
  1486.                 // food_airway_site_user_address_add_update
  1487.                 if (=== strpos($pathinfo'/useraddress/add-update') && preg_match('#^/useraddress/add\\-update(?:/(?P<userAddressId>[^/]++))?$#sD'$pathinfo$matches)) {
  1488.                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_site_user_address_add_update']), array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\UserAddressController::addUpdateAction',  'userAddressId' => NULL,));
  1489.                 }
  1490.                 // food_airway_site_user_address_update_active_address
  1491.                 if (=== strpos($pathinfo'/useraddress/update-active-address') && preg_match('#^/useraddress/update\\-active\\-address/(?P<userAddressId>[^/]++)$#sD'$pathinfo$matches)) {
  1492.                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_site_user_address_update_active_address']), array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\UserAddressController::updateActiveAddressAction',));
  1493.                 }
  1494.                 // food_airway_site_user_address_listing
  1495.                 if ('/useraddress/listing' === $pathinfo) {
  1496.                     return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\UserAddressController::listingAction',  '_route' => 'food_airway_site_user_address_listing',);
  1497.                 }
  1498.                 // food_airway_site_user_address_view
  1499.                 if ('/useraddress/view' === $pathinfo) {
  1500.                     return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\UserAddressController::viewAction',  '_route' => 'food_airway_site_user_address_view',);
  1501.                 }
  1502.                 // food_airway_site_user_address_delete
  1503.                 if (=== strpos($pathinfo'/useraddress/delete') && preg_match('#^/useraddress/delete/(?P<userAddressId>[^/]++)$#sD'$pathinfo$matches)) {
  1504.                     return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_site_user_address_delete']), array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\UserAddressController::deleteAction',));
  1505.                 }
  1506.             }
  1507.             // survey_form
  1508.             if ('/user/survey/form' === $pathinfo) {
  1509.                 return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\UserController::surveyFormAction',  '_route' => 'survey_form',);
  1510.             }
  1511.         }
  1512.         elseif (=== strpos($pathinfo'/t')) {
  1513.             // food_airway_site_tiffin_box_add
  1514.             if ('/tiffinbox/add' === $pathinfo) {
  1515.                 return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\TiffinBoxController::addAction',  '_route' => 'food_airway_site_tiffin_box_add',);
  1516.             }
  1517.             // food_airway_site_tiffin_box_detail
  1518.             if (=== strpos($pathinfo'/tiffinbox/detail') && preg_match('#^/tiffinbox/detail/(?P<productId>[^/]++)$#sD'$pathinfo$matches)) {
  1519.                 return $this->mergeDefaults(array_replace($matches, ['_route' => 'food_airway_site_tiffin_box_detail']), array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\TiffinBoxController::detailAction',));
  1520.             }
  1521.             // food_airway_team_members_attendance_login
  1522.             if ('/team/members/attendance/login' === $pathinfo) {
  1523.                 return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\TeamMembersController::attendanceLoginAction',  '_route' => 'food_airway_team_members_attendance_login',);
  1524.             }
  1525.             // team_feedback
  1526.             if ('/team/feedback/form' === $pathinfo) {
  1527.                 return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\UserController::teamFeedbackAction',  '_route' => 'team_feedback',);
  1528.             }
  1529.         }
  1530.         // food_airway_site_redirect_user
  1531.         if ('/redirect/user/to/device' === $pathinfo) {
  1532.             return array (  '_controller' => 'FoodAirwaySiteBundle\\Controller\\DefaultController::redirectUserToDeviceAction',  '_route' => 'food_airway_site_redirect_user',);
  1533.         }
  1534.         if ('/' === $pathinfo && !$allow) {
  1535.             throw new Symfony\Component\Routing\Exception\NoConfigurationException();
  1536.         }
  1537.         throw count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
  1538.     }
  1539. }