<?php
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;
/**
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class EccubeDevDebugProjectContainerUrlMatcher extends Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher
{
public function __construct(RequestContext $context)
{
$this->context = $context;
}
public function match($rawPathinfo)
{
$allow = [];
$pathinfo = rawurldecode($rawPathinfo);
$trimmedPathinfo = rtrim($pathinfo, '/');
$context = $this->context;
$request = $this->request ?: $this->createRequest($pathinfo);
$requestMethod = $canonicalMethod = $context->getMethod();
if ('HEAD' === $requestMethod) {
$canonicalMethod = 'GET';
}
if (0 === strpos($pathinfo, '/_')) {
// _twig_error_test
if (0 === strpos($pathinfo, '/_error') && preg_match('#^/_error/(?P<code>\\d+)(?:\\.(?P<_format>[^/]++))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => '_twig_error_test']), array ( '_controller' => 'twig.controller.preview_error:previewErrorPageAction', '_format' => 'html',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__twig_error_test;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_twig_error_test', key($requiredSchemes)));
}
return $ret;
}
not__twig_error_test:
// _wdt
if (0 === strpos($pathinfo, '/_wdt') && preg_match('#^/_wdt/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => '_wdt']), array ( '_controller' => 'web_profiler.controller.profiler:toolbarAction',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__wdt;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_wdt', key($requiredSchemes)));
}
return $ret;
}
not__wdt:
if (0 === strpos($pathinfo, '/_profiler')) {
// _profiler_home
if ('/_profiler' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'web_profiler.controller.profiler:homeAction', '_route' => '_profiler_home',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not__profiler_home;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', '_profiler_home'));
}
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__profiler_home;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_profiler_home', key($requiredSchemes)));
}
return $ret;
}
not__profiler_home:
if (0 === strpos($pathinfo, '/_profiler/search')) {
// _profiler_search
if ('/_profiler/search' === $pathinfo) {
$ret = array ( '_controller' => 'web_profiler.controller.profiler:searchAction', '_route' => '_profiler_search',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__profiler_search;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_profiler_search', key($requiredSchemes)));
}
return $ret;
}
not__profiler_search:
// _profiler_search_bar
if ('/_profiler/search_bar' === $pathinfo) {
$ret = array ( '_controller' => 'web_profiler.controller.profiler:searchBarAction', '_route' => '_profiler_search_bar',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__profiler_search_bar;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_profiler_search_bar', key($requiredSchemes)));
}
return $ret;
}
not__profiler_search_bar:
}
// _profiler_phpinfo
if ('/_profiler/phpinfo' === $pathinfo) {
$ret = array ( '_controller' => 'web_profiler.controller.profiler:phpinfoAction', '_route' => '_profiler_phpinfo',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__profiler_phpinfo;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_profiler_phpinfo', key($requiredSchemes)));
}
return $ret;
}
not__profiler_phpinfo:
// _profiler_search_results
if (preg_match('#^/_profiler/(?P<token>[^/]++)/search/results$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_search_results']), array ( '_controller' => 'web_profiler.controller.profiler:searchResultsAction',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__profiler_search_results;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_profiler_search_results', key($requiredSchemes)));
}
return $ret;
}
not__profiler_search_results:
// _profiler_open_file
if ('/_profiler/open' === $pathinfo) {
$ret = array ( '_controller' => 'web_profiler.controller.profiler:openAction', '_route' => '_profiler_open_file',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__profiler_open_file;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_profiler_open_file', key($requiredSchemes)));
}
return $ret;
}
not__profiler_open_file:
// _profiler
if (preg_match('#^/_profiler/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler']), array ( '_controller' => 'web_profiler.controller.profiler:panelAction',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__profiler;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_profiler', key($requiredSchemes)));
}
return $ret;
}
not__profiler:
// _profiler_router
if (preg_match('#^/_profiler/(?P<token>[^/]++)/router$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_router']), array ( '_controller' => 'web_profiler.controller.router:panelAction',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__profiler_router;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_profiler_router', key($requiredSchemes)));
}
return $ret;
}
not__profiler_router:
// _profiler_exception
if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_exception']), array ( '_controller' => 'web_profiler.controller.exception:showAction',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__profiler_exception;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_profiler_exception', key($requiredSchemes)));
}
return $ret;
}
not__profiler_exception:
// _profiler_exception_css
if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception\\.css$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_exception_css']), array ( '_controller' => 'web_profiler.controller.exception:cssAction',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__profiler_exception_css;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_profiler_exception_css', key($requiredSchemes)));
}
return $ret;
}
not__profiler_exception_css:
}
}
elseif (0 === strpos($pathinfo, '/kanri')) {
// admin_login
if ('/kanri/login' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\AdminController::login', '_route' => 'admin_login',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_login;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_login', key($requiredSchemes)));
}
return $ret;
}
not_admin_login:
// admin_homepage
if ('/kanri' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\AdminController::index', '_route' => 'admin_homepage',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_admin_homepage;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'admin_homepage'));
}
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_homepage;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_homepage', key($requiredSchemes)));
}
return $ret;
}
not_admin_homepage:
if (0 === strpos($pathinfo, '/kanri/s')) {
// admin_homepage_sale
if ('/kanri/sale_chart' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\AdminController::sale', '_route' => 'admin_homepage_sale',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_homepage_sale;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_homepage_sale', key($requiredSchemes)));
}
return $ret;
}
not_admin_homepage_sale:
if (0 === strpos($pathinfo, '/kanri/se')) {
// admin_homepage_nonstock
if ('/kanri/search_nonstock' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\AdminController::searchNonStockProducts', '_route' => 'admin_homepage_nonstock',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_homepage_nonstock;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_homepage_nonstock', key($requiredSchemes)));
}
return $ret;
}
not_admin_homepage_nonstock:
// admin_homepage_customer
if ('/kanri/search_customer' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\AdminController::searchCustomer', '_route' => 'admin_homepage_customer',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_homepage_customer;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_homepage_customer', key($requiredSchemes)));
}
return $ret;
}
not_admin_homepage_customer:
if (0 === strpos($pathinfo, '/kanri/setting/shop')) {
// admin_setting_shop_csv
if (0 === strpos($pathinfo, '/kanri/setting/shop/csv') && preg_match('#^/kanri/setting/shop/csv(?:/(?P<id>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_shop_csv']), array ( 'id' => 3, '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\CsvController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_csv;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_csv', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_csv:
if (0 === strpos($pathinfo, '/kanri/setting/shop/delivery')) {
// admin_setting_shop_delivery
if ('/kanri/setting/shop/delivery' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\DeliveryController::index', '_route' => 'admin_setting_shop_delivery',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_delivery;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_delivery', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_delivery:
// admin_setting_shop_delivery_new
if ('/kanri/setting/shop/delivery/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\DeliveryController::edit', '_route' => 'admin_setting_shop_delivery_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_delivery_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_delivery_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_delivery_new:
// admin_setting_shop_delivery_edit
if (preg_match('#^/kanri/setting/shop/delivery/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_shop_delivery_edit']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\DeliveryController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_delivery_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_delivery_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_delivery_edit:
// admin_setting_shop_delivery_delete
if (preg_match('#^/kanri/setting/shop/delivery/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_shop_delivery_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\DeliveryController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_setting_shop_delivery_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_delivery_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_delivery_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_delivery_delete:
// admin_setting_shop_delivery_visibility
if (preg_match('#^/kanri/setting/shop/delivery/(?P<id>\\d+)/visibility$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_shop_delivery_visibility']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\DeliveryController::visibility',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['PUT'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT']);
}
goto not_admin_setting_shop_delivery_visibility;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_delivery_visibility;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_delivery_visibility', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_delivery_visibility:
// admin_setting_shop_delivery_sort_no_move
if ('/kanri/setting/shop/delivery/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\DeliveryController::moveSortNo', '_route' => 'admin_setting_shop_delivery_sort_no_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_setting_shop_delivery_sort_no_move;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_delivery_sort_no_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_delivery_sort_no_move', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_delivery_sort_no_move:
}
elseif (0 === strpos($pathinfo, '/kanri/setting/shop/mail')) {
// admin_setting_shop_mail
if ('/kanri/setting/shop/mail' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\MailController::index', '_route' => 'admin_setting_shop_mail',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_mail;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_mail', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_mail:
// admin_setting_shop_mail_edit
if (preg_match('#^/kanri/setting/shop/mail/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_shop_mail_edit']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\MailController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_mail_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_mail_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_mail_edit:
// admin_setting_shop_mail_preview
if ('/kanri/setting/shop/mail/preview' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\MailController::preview', '_route' => 'admin_setting_shop_mail_preview',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_mail_preview;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_mail_preview', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_mail_preview:
}
elseif (0 === strpos($pathinfo, '/kanri/setting/shop/payment')) {
// admin_setting_shop_payment
if ('/kanri/setting/shop/payment' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\PaymentController::index', '_route' => 'admin_setting_shop_payment',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_payment;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_payment', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_payment:
// admin_setting_shop_payment_new
if ('/kanri/setting/shop/payment/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\PaymentController::edit', '_route' => 'admin_setting_shop_payment_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_payment_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_payment_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_payment_new:
// admin_setting_shop_payment_edit
if (preg_match('#^/kanri/setting/shop/payment/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_shop_payment_edit']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\PaymentController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_payment_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_payment_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_payment_edit:
// admin_payment_image_add
if ('/kanri/setting/shop/payment/image/add' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\PaymentController::imageAdd', '_route' => 'admin_payment_image_add',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_payment_image_add;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_payment_image_add', key($requiredSchemes)));
}
return $ret;
}
not_admin_payment_image_add:
// admin_setting_shop_payment_delete
if (preg_match('#^/kanri/setting/shop/payment/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_shop_payment_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\PaymentController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_setting_shop_payment_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_payment_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_payment_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_payment_delete:
// admin_setting_shop_payment_visible
if (preg_match('#^/kanri/setting/shop/payment/(?P<id>\\d+)/visible$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_shop_payment_visible']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\PaymentController::visible',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['PUT'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT']);
}
goto not_admin_setting_shop_payment_visible;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_payment_visible;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_payment_visible', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_payment_visible:
// admin_setting_shop_payment_sort_no_move
if ('/kanri/setting/shop/payment/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\PaymentController::moveSortNo', '_route' => 'admin_setting_shop_payment_sort_no_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_setting_shop_payment_sort_no_move;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_payment_sort_no_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_payment_sort_no_move', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_payment_sort_no_move:
}
// admin_setting_shop
if ('/kanri/setting/shop' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\ShopController::index', '_route' => 'admin_setting_shop',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop:
if (0 === strpos($pathinfo, '/kanri/setting/shop/tax')) {
// admin_setting_shop_tax
if ('/kanri/setting/shop/tax' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\TaxRuleController::index', '_route' => 'admin_setting_shop_tax',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_tax;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_tax', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_tax:
// admin_setting_shop_tax_new
if ('/kanri/setting/shop/tax/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\TaxRuleController::index', '_route' => 'admin_setting_shop_tax_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_tax_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_tax_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_tax_new:
// admin_setting_shop_tax_delete
if (preg_match('#^/kanri/setting/shop/tax/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_shop_tax_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\TaxRuleController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_setting_shop_tax_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_tax_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_tax_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_tax_delete:
}
}
elseif (0 === strpos($pathinfo, '/kanri/setting/system')) {
// admin_setting_system_authority
if ('/kanri/setting/system/authority' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\AuthorityController::index', '_route' => 'admin_setting_system_authority',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_authority;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_authority', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_authority:
// admin_setting_system_log
if ('/kanri/setting/system/log' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\LogController::index', '_route' => 'admin_setting_system_log',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_log;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_log', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_log:
if (0 === strpos($pathinfo, '/kanri/setting/system/masterdata')) {
// admin_setting_system_masterdata
if ('/kanri/setting/system/masterdata' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\MasterdataController::index', '_route' => 'admin_setting_system_masterdata',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_masterdata;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_masterdata', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_masterdata:
// admin_setting_system_masterdata_view
if (preg_match('#^/kanri/setting/system/masterdata/(?P<entity>[^/]++)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_system_masterdata_view']), array ( 'entity' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\MasterdataController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_masterdata_view;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_masterdata_view', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_masterdata_view:
// admin_setting_system_masterdata_edit
if ('/kanri/setting/system/masterdata/edit' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\MasterdataController::edit', '_route' => 'admin_setting_system_masterdata_edit',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_masterdata_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_masterdata_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_masterdata_edit:
}
elseif (0 === strpos($pathinfo, '/kanri/setting/system/member')) {
// admin_setting_system_member
if ('/kanri/setting/system/member' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\MemberController::index', '_route' => 'admin_setting_system_member',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_member;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_member', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_member:
// admin_setting_system_member_new
if ('/kanri/setting/system/member/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\MemberController::create', '_route' => 'admin_setting_system_member_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_member_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_member_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_member_new:
// admin_setting_system_member_edit
if (preg_match('#^/kanri/setting/system/member/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_system_member_edit']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\MemberController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_member_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_member_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_member_edit:
// admin_setting_system_member_up
if (preg_match('#^/kanri/setting/system/member/(?P<id>\\d+)/up$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_system_member_up']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\MemberController::up',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['PUT'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT']);
}
goto not_admin_setting_system_member_up;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_member_up;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_member_up', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_member_up:
// admin_setting_system_member_down
if (preg_match('#^/kanri/setting/system/member/(?P<id>\\d+)/down$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_system_member_down']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\MemberController::down',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['PUT'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT']);
}
goto not_admin_setting_system_member_down;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_member_down;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_member_down', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_member_down:
// admin_setting_system_member_delete
if (preg_match('#^/kanri/setting/system/member/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_system_member_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\MemberController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_setting_system_member_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_member_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_member_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_member_delete:
}
// admin_setting_system_security
if ('/kanri/setting/system/security' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\SecurityController::index', '_route' => 'admin_setting_system_security',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_security;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_security', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_security:
if (0 === strpos($pathinfo, '/kanri/setting/system/system')) {
// admin_setting_system_system
if ('/kanri/setting/system/system' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\SystemController::index', '_route' => 'admin_setting_system_system',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_system;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_system', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_system:
// admin_setting_system_system_phpinfo
if ('/kanri/setting/system/system/phpinfo' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\SystemController::phpinfo', '_route' => 'admin_setting_system_system_phpinfo',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_system_phpinfo;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_system_phpinfo', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_system_phpinfo:
}
}
}
elseif (0 === strpos($pathinfo, '/kanri/shipping')) {
// admin_shipping_update_order_status
if (preg_match('#^/kanri/shipping/(?P<id>\\d+)/order_status$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_shipping_update_order_status']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::updateOrderStatus',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['PUT'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT']);
}
goto not_admin_shipping_update_order_status;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_shipping_update_order_status;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_shipping_update_order_status', key($requiredSchemes)));
}
return $ret;
}
not_admin_shipping_update_order_status:
// admin_shipping_update_tracking_number
if (preg_match('#^/kanri/shipping/(?P<id>\\d+)/tracking_number$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_shipping_update_tracking_number']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::updateTrackingNumber',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['PUT'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT']);
}
goto not_admin_shipping_update_tracking_number;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_shipping_update_tracking_number;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_shipping_update_tracking_number', key($requiredSchemes)));
}
return $ret;
}
not_admin_shipping_update_tracking_number:
// admin_shipping_edit
if (preg_match('#^/kanri/shipping/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_shipping_edit']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\ShippingController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_shipping_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_shipping_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_shipping_edit:
// admin_shipping_preview_notify_mail
if (0 === strpos($pathinfo, '/kanri/shipping/preview_notify_mail') && preg_match('#^/kanri/shipping/preview_notify_mail/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_shipping_preview_notify_mail']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\ShippingController::previewShippingNotifyMail',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_shipping_preview_notify_mail;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_shipping_preview_notify_mail', key($requiredSchemes)));
}
return $ret;
}
not_admin_shipping_preview_notify_mail:
// admin_shipping_notify_mail
if (0 === strpos($pathinfo, '/kanri/shipping/notify_mail') && preg_match('#^/kanri/shipping/notify_mail/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_shipping_notify_mail']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\ShippingController::notifyMail',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['PUT'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT']);
}
goto not_admin_shipping_notify_mail;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_shipping_notify_mail;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_shipping_notify_mail', key($requiredSchemes)));
}
return $ret;
}
not_admin_shipping_notify_mail:
}
elseif (0 === strpos($pathinfo, '/kanri/store/plugin')) {
if (0 === strpos($pathinfo, '/kanri/store/plugin/api')) {
if (0 === strpos($pathinfo, '/kanri/store/plugin/api/search')) {
// admin_store_plugin_owners_search
if ('/kanri/store/plugin/api/search' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\OwnerStoreController::search', '_route' => 'admin_store_plugin_owners_search',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_owners_search;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_owners_search', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_owners_search:
// admin_store_plugin_owners_search_page
if (0 === strpos($pathinfo, '/kanri/store/plugin/api/search/page') && preg_match('#^/kanri/store/plugin/api/search/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_store_plugin_owners_search_page']), array ( 'page_no' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Store\\OwnerStoreController::search',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_owners_search_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_owners_search_page', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_owners_search_page:
}
// admin_store_plugin_api_schema_update
if ('/kanri/store/plugin/api/schema_update' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\OwnerStoreController::apiSchemaUpdate', '_route' => 'admin_store_plugin_api_schema_update',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_store_plugin_api_schema_update;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_api_schema_update;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_api_schema_update', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_api_schema_update:
if (0 === strpos($pathinfo, '/kanri/store/plugin/api/install')) {
// admin_store_plugin_install_confirm
if (preg_match('#^/kanri/store/plugin/api/install/(?P<id>\\d+)/confirm$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_store_plugin_install_confirm']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\OwnerStoreController::doConfirm',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_install_confirm;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_install_confirm', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_install_confirm:
// admin_store_plugin_api_install
if ('/kanri/store/plugin/api/install' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\OwnerStoreController::apiInstall', '_route' => 'admin_store_plugin_api_install',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_store_plugin_api_install;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_api_install;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_api_install', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_api_install:
}
// admin_store_plugin_api_uninstall
if (0 === strpos($pathinfo, '/kanri/store/plugin/api/delete') && preg_match('#^/kanri/store/plugin/api/delete/(?P<id>\\d+)/uninstall$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_store_plugin_api_uninstall']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\OwnerStoreController::apiUninstall',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_store_plugin_api_uninstall;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_api_uninstall;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_api_uninstall', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_api_uninstall:
if (0 === strpos($pathinfo, '/kanri/store/plugin/api/upgrade')) {
// admin_store_plugin_api_upgrade
if ('/kanri/store/plugin/api/upgrade' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\OwnerStoreController::apiUpgrade', '_route' => 'admin_store_plugin_api_upgrade',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_store_plugin_api_upgrade;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_api_upgrade;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_api_upgrade', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_api_upgrade:
// admin_store_plugin_update_confirm
if (preg_match('#^/kanri/store/plugin/api/upgrade/(?P<id>\\d+)/confirm$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_store_plugin_update_confirm']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\OwnerStoreController::doUpdateConfirm',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_update_confirm;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_update_confirm', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_update_confirm:
}
// admin_store_plugin_api_update
if ('/kanri/store/plugin/api/update' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\OwnerStoreController::apiUpdate', '_route' => 'admin_store_plugin_api_update',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_store_plugin_api_update;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_api_update;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_api_update', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_api_update:
}
// admin_store_plugin
if ('/kanri/store/plugin' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\PluginController::index', '_route' => 'admin_store_plugin',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin:
// admin_store_plugin_update
if (preg_match('#^/kanri/store/plugin/(?P<id>\\d+)/update$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_store_plugin_update']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\PluginController::update',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_store_plugin_update;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_update;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_update', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_update:
// admin_store_plugin_enable
if (preg_match('#^/kanri/store/plugin/(?P<id>\\d+)/enable$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_store_plugin_enable']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\PluginController::enable',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_store_plugin_enable;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_enable;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_enable', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_enable:
// admin_store_plugin_disable
if (preg_match('#^/kanri/store/plugin/(?P<id>\\d+)/disable$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_store_plugin_disable']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\PluginController::disable',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_store_plugin_disable;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_disable;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_disable', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_disable:
// admin_store_plugin_uninstall
if (preg_match('#^/kanri/store/plugin/(?P<id>\\d+)/uninstall$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_store_plugin_uninstall']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\PluginController::uninstall',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_store_plugin_uninstall;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_uninstall;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_uninstall', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_uninstall:
// admin_store_plugin_install
if ('/kanri/store/plugin/install' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\PluginController::install', '_route' => 'admin_store_plugin_install',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_install;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_install', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_install:
// admin_store_authentication_setting
if ('/kanri/store/plugin/authentication_setting' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\PluginController::authenticationSetting', '_route' => 'admin_store_authentication_setting',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_authentication_setting;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_authentication_setting', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_authentication_setting:
}
elseif (0 === strpos($pathinfo, '/kanri/store/template')) {
// admin_store_template
if ('/kanri/store/template' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\TemplateController::index', '_route' => 'admin_store_template',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_template;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_template', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_template:
// admin_store_template_download
if (preg_match('#^/kanri/store/template/(?P<id>\\d+)/download$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_store_template_download']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\TemplateController::download',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_template_download;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_template_download', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_template_download:
// admin_store_template_delete
if (preg_match('#^/kanri/store/template/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_store_template_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\TemplateController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_store_template_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_template_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_template_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_template_delete:
// admin_store_template_install
if ('/kanri/store/template/install' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\TemplateController::install', '_route' => 'admin_store_template_install',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_template_install;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_template_install', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_template_install:
}
}
elseif (0 === strpos($pathinfo, '/kanri/c')) {
// admin_change_password
if ('/kanri/change_password' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\AdminController::changePassword', '_route' => 'admin_change_password',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_change_password;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_change_password', key($requiredSchemes)));
}
return $ret;
}
not_admin_change_password:
if (0 === strpos($pathinfo, '/kanri/content')) {
if (0 === strpos($pathinfo, '/kanri/content/block')) {
// admin_content_block
if ('/kanri/content/block' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\BlockController::index', '_route' => 'admin_content_block',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_block;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_block', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_block:
// admin_content_block_new
if ('/kanri/content/block/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\BlockController::edit', '_route' => 'admin_content_block_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_block_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_block_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_block_new:
// admin_content_block_edit
if (preg_match('#^/kanri/content/block/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_block_edit']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Content\\BlockController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_block_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_block_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_block_edit:
// admin_content_block_delete
if (preg_match('#^/kanri/content/block/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_block_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\BlockController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_content_block_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_block_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_block_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_block_delete:
}
// admin_content_cache
if ('/kanri/content/cache' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\CacheController::index', '_route' => 'admin_content_cache',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_cache;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_cache', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_cache:
// admin_content_css
if ('/kanri/content/css' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\CssController::index', '_route' => 'admin_content_css',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_css;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_css', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_css:
if (0 === strpos($pathinfo, '/kanri/content/file_')) {
// admin_content_file
if ('/kanri/content/file_manager' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\FileController::index', '_route' => 'admin_content_file',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_file;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_file', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_file:
// admin_content_file_view
if ('/kanri/content/file_view' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\FileController::view', '_route' => 'admin_content_file_view',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_file_view;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_file_view', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_file_view:
// admin_content_file_delete
if ('/kanri/content/file_delete' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\FileController::delete', '_route' => 'admin_content_file_delete',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_content_file_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_file_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_file_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_file_delete:
// admin_content_file_download
if ('/kanri/content/file_download' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\FileController::download', '_route' => 'admin_content_file_download',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_file_download;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_file_download', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_file_download:
}
elseif (0 === strpos($pathinfo, '/kanri/content/faq')) {
if (0 === strpos($pathinfo, '/kanri/content/faq/category')) {
// admin_catalog_faq
if ('/kanri/content/faq/category' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\CatalogFaqController::index', '_route' => 'admin_catalog_faq',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_catalog_faq;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_catalog_faq', key($requiredSchemes)));
}
return $ret;
}
not_admin_catalog_faq:
// admin_catalog_faq_show
if (preg_match('#^/kanri/content/faq/category(?:/(?P<parent_id>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_catalog_faq_show']), array ( 'parent_id' => NULL, '_controller' => 'Customize\\Controller\\Admin\\Content\\CatalogFaqController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_catalog_faq_show;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_catalog_faq_show', key($requiredSchemes)));
}
return $ret;
}
not_admin_catalog_faq_show:
// admin_catalog_faq_edit
if (preg_match('#^/kanri/content/faq/category/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_catalog_faq_edit']), array ( 'id' => NULL, '_controller' => 'Customize\\Controller\\Admin\\Content\\CatalogFaqController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_catalog_faq_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_catalog_faq_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_catalog_faq_edit:
}
elseif (0 === strpos($pathinfo, '/kanri/content/faq/catalog')) {
// admin_catalog_faq_delete
if (preg_match('#^/kanri/content/faq/catalog/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_catalog_faq_delete']), array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\CatalogFaqController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_catalog_faq_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_catalog_faq_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_catalog_faq_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_catalog_faq_delete:
// admin_catalog_faq_sort_no_move
if ('/kanri/content/faq/catalog/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\CatalogFaqController::moveSortNo', '_route' => 'admin_catalog_faq_sort_no_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_catalog_faq_sort_no_move;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_catalog_faq_sort_no_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_catalog_faq_sort_no_move', key($requiredSchemes)));
}
return $ret;
}
not_admin_catalog_faq_sort_no_move:
// admin_qa_show
if (preg_match('#^/kanri/content/faq/catalog/(?P<parent_id>\\d+)/qa$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_qa_show']), array ( 'parent_id' => NULL, '_controller' => 'Customize\\Controller\\Admin\\Content\\FaqController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_qa_show;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_qa_show', key($requiredSchemes)));
}
return $ret;
}
not_admin_qa_show:
// admin_qa_edit
if (preg_match('#^/kanri/content/faq/catalog/(?P<parent_id>\\d+)/qa/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_qa_edit']), array ( 'parent_id' => NULL, 'id' => NULL, '_controller' => 'Customize\\Controller\\Admin\\Content\\FaqController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_qa_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_qa_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_qa_edit:
// admin_faq_delete
if (preg_match('#^/kanri/content/faq/catalog/(?P<parent_id>\\d+)/qa/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_faq_delete']), array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\FaqController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_faq_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_faq_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_faq_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_faq_delete:
}
// admin_content_image_add
if ('/kanri/content/faq/image/add' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\CatalogFaqController::add', '_route' => 'admin_content_image_add',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_content_image_add;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_image_add;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_image_add', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_image_add:
// admin_faq_sort_no_move
if ('/kanri/content/faq/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\FaqController::moveSortNo', '_route' => 'admin_faq_sort_no_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_faq_sort_no_move;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_faq_sort_no_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_faq_sort_no_move', key($requiredSchemes)));
}
return $ret;
}
not_admin_faq_sort_no_move:
}
// admin_content_js
if ('/kanri/content/js' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\JsController::index', '_route' => 'admin_content_js',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_js;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_js', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_js:
if (0 === strpos($pathinfo, '/kanri/content/layout')) {
// admin_content_layout
if ('/kanri/content/layout' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\LayoutController::index', '_route' => 'admin_content_layout',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_layout;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_layout', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_layout:
// admin_content_layout_delete
if (preg_match('#^/kanri/content/layout/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_layout_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\LayoutController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_content_layout_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_layout_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_layout_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_layout_delete:
// admin_content_layout_new
if ('/kanri/content/layout/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\LayoutController::edit', '_route' => 'admin_content_layout_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_layout_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_layout_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_layout_new:
// admin_content_layout_edit
if (preg_match('#^/kanri/content/layout/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_layout_edit']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Content\\LayoutController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_layout_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_layout_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_layout_edit:
// admin_content_layout_view_block
if ('/kanri/content/layout/view_block' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\LayoutController::viewBlock', '_route' => 'admin_content_layout_view_block',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['GET']);
}
goto not_admin_content_layout_view_block;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_layout_view_block;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_layout_view_block', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_layout_view_block:
// admin_content_layout_preview
if (preg_match('#^/kanri/content/layout/(?P<id>\\d+)/preview$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_layout_preview']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\LayoutController::preview',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_layout_preview;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_layout_preview', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_layout_preview:
}
// admin_content_maintenance
if ('/kanri/content/maintenance' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\MaintenanceController::index', '_route' => 'admin_content_maintenance',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_maintenance;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_maintenance', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_maintenance:
if (0 === strpos($pathinfo, '/kanri/content/page')) {
// admin_content_page
if ('/kanri/content/page' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\PageController::index', '_route' => 'admin_content_page',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_page', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_page:
// admin_content_page_new
if ('/kanri/content/page/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\PageController::edit', '_route' => 'admin_content_page_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_page_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_page_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_page_new:
// admin_content_page_edit
if (preg_match('#^/kanri/content/page/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_page_edit']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Content\\PageController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_page_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_page_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_page_edit:
// admin_content_page_delete
if (preg_match('#^/kanri/content/page/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_page_delete']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Content\\PageController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_content_page_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_page_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_page_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_page_delete:
}
elseif (0 === strpos($pathinfo, '/kanri/content/price_list')) {
// admin_content_price_list
if ('/kanri/content/price_list' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\PriceListController::index', '_route' => 'admin_content_price_list',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_price_list;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_price_list', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_price_list:
// admin_content_price_list_new
if ('/kanri/content/price_list/new' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\PriceListController::edit', '_route' => 'admin_content_price_list_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_price_list_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_price_list_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_price_list_new:
// admin_content_price_list_edit
if (preg_match('#^/kanri/content/price_list/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_price_list_edit']), array ( 'id' => NULL, '_controller' => 'Customize\\Controller\\Admin\\Content\\PriceListController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_price_list_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_price_list_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_price_list_edit:
// admin_content_price_list_delete
if (preg_match('#^/kanri/content/price_list/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_price_list_delete']), array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\PriceListController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_content_price_list_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_price_list_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_price_list_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_price_list_delete:
// admin_content_price_list_sort_no_move
if ('/kanri/content/price_list/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\PriceListController::moveSortNo', '_route' => 'admin_content_price_list_sort_no_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_content_price_list_sort_no_move;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_price_list_sort_no_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_price_list_sort_no_move', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_price_list_sort_no_move:
}
elseif (0 === strpos($pathinfo, '/kanri/content/distributor')) {
if (0 === strpos($pathinfo, '/kanri/content/distributor2')) {
// admin_content_distributor2
if ('/kanri/content/distributor2' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\Distributor2Controller::index', '_route' => 'admin_content_distributor2',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_distributor2;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_distributor2', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_distributor2:
// admin_content_distributor2_company
if ('/kanri/content/distributor2-company' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\Distributor2Controller::indexCompany', '_route' => 'admin_content_distributor2_company',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_distributor2_company;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_distributor2_company', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_distributor2_company:
// admin_content_distributor2_new
if ('/kanri/content/distributor2/new' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\Distributor2Controller::edit', '_route' => 'admin_content_distributor2_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_distributor2_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_distributor2_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_distributor2_new:
// admin_content_distributor2_edit
if (preg_match('#^/kanri/content/distributor2/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_distributor2_edit']), array ( 'id' => NULL, '_controller' => 'Customize\\Controller\\Admin\\Content\\Distributor2Controller::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_distributor2_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_distributor2_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_distributor2_edit:
// admin_content_distributor2_delete
if (preg_match('#^/kanri/content/distributor2/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_distributor2_delete']), array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\Distributor2Controller::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_content_distributor2_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_distributor2_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_distributor2_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_distributor2_delete:
// admin_content_distributor2_sort_no_move
if ('/kanri/content/distributor2/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\Distributor2Controller::moveSortNo', '_route' => 'admin_content_distributor2_sort_no_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_content_distributor2_sort_no_move;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_distributor2_sort_no_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_distributor2_sort_no_move', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_distributor2_sort_no_move:
}
// admin_content_distributor
if ('/kanri/content/distributor' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\DistributorController::index', '_route' => 'admin_content_distributor',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_distributor;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_distributor', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_distributor:
// admin_content_distributor_company
if ('/kanri/content/distributor-company' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\DistributorController::indexCompany', '_route' => 'admin_content_distributor_company',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_distributor_company;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_distributor_company', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_distributor_company:
// admin_content_distributor_new
if ('/kanri/content/distributor/new' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\DistributorController::edit', '_route' => 'admin_content_distributor_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_distributor_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_distributor_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_distributor_new:
// admin_content_distributor_edit
if (preg_match('#^/kanri/content/distributor/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_distributor_edit']), array ( 'id' => NULL, '_controller' => 'Customize\\Controller\\Admin\\Content\\DistributorController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_distributor_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_distributor_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_distributor_edit:
// admin_content_distributor_delete
if (preg_match('#^/kanri/content/distributor/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_distributor_delete']), array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\DistributorController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_content_distributor_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_distributor_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_distributor_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_distributor_delete:
// admin_content_distributor_sort_no_move
if ('/kanri/content/distributor/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\DistributorController::moveSortNo', '_route' => 'admin_content_distributor_sort_no_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_content_distributor_sort_no_move;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_distributor_sort_no_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_distributor_sort_no_move', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_distributor_sort_no_move:
}
elseif (0 === strpos($pathinfo, '/kanri/content/enterprise')) {
// admin_content_enterprise
if ('/kanri/content/enterprise' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\EnterpriseController::index', '_route' => 'admin_content_enterprise',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_enterprise;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_enterprise', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_enterprise:
// admin_content_enterprise_new
if ('/kanri/content/enterprise/new' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\EnterpriseController::edit', '_route' => 'admin_content_enterprise_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_enterprise_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_enterprise_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_enterprise_new:
// admin_content_enterprise_edit
if (preg_match('#^/kanri/content/enterprise/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_enterprise_edit']), array ( 'id' => NULL, '_controller' => 'Customize\\Controller\\Admin\\Content\\EnterpriseController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_enterprise_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_enterprise_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_enterprise_edit:
// admin_content_enterprise_delete
if (preg_match('#^/kanri/content/enterprise/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_enterprise_delete']), array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\EnterpriseController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_content_enterprise_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_enterprise_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_enterprise_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_enterprise_delete:
// admin_content_enterprise_sort_no_move
if ('/kanri/content/enterprise/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\EnterpriseController::moveSortNo', '_route' => 'admin_content_enterprise_sort_no_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_content_enterprise_sort_no_move;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_enterprise_sort_no_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_enterprise_sort_no_move', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_enterprise_sort_no_move:
}
elseif (0 === strpos($pathinfo, '/kanri/content/news')) {
if (0 === strpos($pathinfo, '/kanri/content/news_category')) {
// admin_content_news_category
if ('/kanri/content/news_category' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\NewsCategoryController::index', '_route' => 'admin_content_news_category',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_news_category;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_news_category', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_news_category:
// admin_content_news_category_new
if ('/kanri/content/news_category/new' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\NewsCategoryController::edit', '_route' => 'admin_content_news_category_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_news_category_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_news_category_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_news_category_new:
// admin_content_news_category_edit
if (preg_match('#^/kanri/content/news_category/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_news_category_edit']), array ( 'id' => NULL, '_controller' => 'Customize\\Controller\\Admin\\Content\\NewsCategoryController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_news_category_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_news_category_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_news_category_edit:
// admin_content_news_category_delete
if (preg_match('#^/kanri/content/news_category/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_news_category_delete']), array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\NewsCategoryController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_content_news_category_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_news_category_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_news_category_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_news_category_delete:
// admin_content_news_category_sort_no_move
if ('/kanri/content/news_category/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\NewsCategoryController::moveSortNo', '_route' => 'admin_content_news_category_sort_no_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_content_news_category_sort_no_move;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_news_category_sort_no_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_news_category_sort_no_move', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_news_category_sort_no_move:
}
// admin_content_news
if ('/kanri/content/news' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\NewsController::index', '_route' => 'admin_content_news',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_news;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_news', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_news:
// admin_content_news_page
if (0 === strpos($pathinfo, '/kanri/content/news/page') && preg_match('#^/kanri/content/news/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_news_page']), array ( 'page_no' => 1, '_controller' => 'Customize\\Controller\\Admin\\Content\\NewsController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_news_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_news_page', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_news_page:
// admin_content_news_new
if ('/kanri/content/news/new' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\NewsController::edit', '_route' => 'admin_content_news_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_news_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_news_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_news_new:
// admin_content_news_edit
if (preg_match('#^/kanri/content/news/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_news_edit']), array ( 'id' => NULL, '_controller' => 'Customize\\Controller\\Admin\\Content\\NewsController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_news_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_news_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_news_edit:
// admin_content_news_delete
if (preg_match('#^/kanri/content/news/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_news_delete']), array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\NewsController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_content_news_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_news_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_news_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_news_delete:
}
elseif (0 === strpos($pathinfo, '/kanri/content/top_')) {
if (0 === strpos($pathinfo, '/kanri/content/top_image')) {
// admin_content_top_image
if ('/kanri/content/top_image' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\TopImageController::index', '_route' => 'admin_content_top_image',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_top_image;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_top_image', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_top_image:
// admin_content_top_image_new
if ('/kanri/content/top_image/new' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\TopImageController::edit', '_route' => 'admin_content_top_image_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_top_image_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_top_image_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_top_image_new:
// admin_content_top_image_edit
if (preg_match('#^/kanri/content/top_image/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_top_image_edit']), array ( 'id' => NULL, '_controller' => 'Customize\\Controller\\Admin\\Content\\TopImageController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_top_image_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_top_image_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_top_image_edit:
// admin_content_top_image_delete
if (preg_match('#^/kanri/content/top_image/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_top_image_delete']), array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\TopImageController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_content_top_image_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_top_image_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_top_image_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_top_image_delete:
// admin_content_top_image_sort_no_move
if ('/kanri/content/top_image/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\TopImageController::moveSortNo', '_route' => 'admin_content_top_image_sort_no_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_content_top_image_sort_no_move;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_top_image_sort_no_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_top_image_sort_no_move', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_top_image_sort_no_move:
}
// admin_content_top_page
if ('/kanri/content/top_page' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\TopPageController::index', '_route' => 'admin_content_top_page',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_top_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_top_page', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_top_page:
if (0 === strpos($pathinfo, '/kanri/content/top_product')) {
// admin_content_top_product
if ('/kanri/content/top_product' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\TopProductController::index', '_route' => 'admin_content_top_product',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_top_product;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_top_product', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_top_product:
// admin_content_top_product_new
if ('/kanri/content/top_product/new' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\TopProductController::edit', '_route' => 'admin_content_top_product_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_top_product_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_top_product_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_top_product_new:
// admin_content_top_product_edit
if (preg_match('#^/kanri/content/top_product/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_top_product_edit']), array ( 'id' => NULL, '_controller' => 'Customize\\Controller\\Admin\\Content\\TopProductController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_top_product_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_top_product_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_top_product_edit:
//
if ('/kanri/content/top_product/save' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\TopProductController::save', '_route' => '',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_;
}
return array_replace($ret, $this->redirect($rawPathinfo, '', key($requiredSchemes)));
}
return $ret;
}
not_:
// admin_content_top_product_save
if (preg_match('#^/kanri/content/top_product/(?P<id>\\d+)/save$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_top_product_save']), array ( 'id' => NULL, '_controller' => 'Customize\\Controller\\Admin\\Content\\TopProductController::save',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_top_product_save;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_top_product_save', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_top_product_save:
// admin_content_top_product_delete
if (preg_match('#^/kanri/content/top_product/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_top_product_delete']), array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\TopProductController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_content_top_product_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_top_product_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_top_product_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_top_product_delete:
// admin_content_top_product_sort_no_move
if ('/kanri/content/top_product/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Content\\TopProductController::moveSortNo', '_route' => 'admin_content_top_product_sort_no_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_content_top_product_sort_no_move;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_top_product_sort_no_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_top_product_sort_no_move', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_top_product_sort_no_move:
}
}
}
elseif (0 === strpos($pathinfo, '/kanri/customer')) {
// admin_customer
if ('/kanri/customer' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerController::index', '_route' => 'admin_customer',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer:
// admin_customer_page
if (0 === strpos($pathinfo, '/kanri/customer/page') && preg_match('#^/kanri/customer/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_customer_page']), array ( 'page_no' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_page', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_page:
// admin_customer_resend
if (preg_match('#^/kanri/customer/(?P<id>\\d+)/resend$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_customer_resend']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerController::resend',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_resend;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_resend', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_resend:
// admin_customer_delete
if (preg_match('#^/kanri/customer/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_customer_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_customer_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_delete:
// admin_customer_export
if ('/kanri/customer/export' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerController::export', '_route' => 'admin_customer_export',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_export;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_export', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_export:
// admin_customer_delivery_new
if (preg_match('#^/kanri/customer/(?P<id>\\d+)/delivery/new$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_customer_delivery_new']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerDeliveryEditController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_delivery_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_delivery_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_delivery_new:
// admin_customer_delivery_edit
if (preg_match('#^/kanri/customer/(?P<id>\\d+)/delivery/(?P<did>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_customer_delivery_edit']), array ( 'did' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerDeliveryEditController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_delivery_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_delivery_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_delivery_edit:
// admin_customer_delivery_delete
if (preg_match('#^/kanri/customer/(?P<id>\\d+)/delivery/(?P<did>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_customer_delivery_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerDeliveryEditController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_customer_delivery_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_delivery_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_delivery_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_delivery_delete:
// admin_customer_new
if ('/kanri/customer/new' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Customer\\CustomerEditController::index', '_route' => 'admin_customer_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_new:
// admin_customer_edit
if (preg_match('#^/kanri/customer/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_customer_edit']), array ( 'id' => NULL, '_controller' => 'Customize\\Controller\\Admin\\Customer\\CustomerEditController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_edit:
}
}
elseif (0 === strpos($pathinfo, '/kanri/order')) {
// admin_shipping_csv_import
if ('/kanri/order/shipping_csv_upload' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\CsvImportController::csvShipping', '_route' => 'admin_shipping_csv_import',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_shipping_csv_import;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_shipping_csv_import', key($requiredSchemes)));
}
return $ret;
}
not_admin_shipping_csv_import:
// admin_shipping_csv_template
if ('/kanri/order/csv_template' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\CsvImportController::csvTemplate', '_route' => 'admin_shipping_csv_template',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_shipping_csv_template;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_shipping_csv_template', key($requiredSchemes)));
}
return $ret;
}
not_admin_shipping_csv_template:
// admin_order_new
if ('/kanri/order/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\EditController::index', '_route' => 'admin_order_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_new:
// admin_order_edit
if (preg_match('#^/kanri/order/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_order_edit']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Order\\EditController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_edit:
if (0 === strpos($pathinfo, '/kanri/order/search')) {
if (0 === strpos($pathinfo, '/kanri/order/search/customer/html')) {
// admin_order_search_customer_html
if ('/kanri/order/search/customer/html' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\EditController::searchCustomerHtml', '_route' => 'admin_order_search_customer_html',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_search_customer_html;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_search_customer_html', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_search_customer_html:
// admin_order_search_customer_html_page
if (0 === strpos($pathinfo, '/kanri/order/search/customer/html/page') && preg_match('#^/kanri/order/search/customer/html/page(?:/(?P<page_no>[^/]++))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_order_search_customer_html_page']), array ( 'page_no' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Order\\EditController::searchCustomerHtml',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_search_customer_html_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_search_customer_html_page', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_search_customer_html_page:
}
// admin_order_search_customer_by_id
if ('/kanri/order/search/customer/id' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\EditController::searchCustomerById', '_route' => 'admin_order_search_customer_by_id',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_order_search_customer_by_id;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_search_customer_by_id;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_search_customer_by_id', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_search_customer_by_id:
if (0 === strpos($pathinfo, '/kanri/order/search/product')) {
// admin_order_search_product
if ('/kanri/order/search/product' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\EditController::searchProduct', '_route' => 'admin_order_search_product',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_search_product;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_search_product', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_search_product:
// admin_order_search_product_page
if (0 === strpos($pathinfo, '/kanri/order/search/product/page') && preg_match('#^/kanri/order/search/product/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_order_search_product_page']), array ( 'page_no' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Order\\EditController::searchProduct',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_search_product_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_search_product_page', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_search_product_page:
}
// admin_order_search_order_item_type
if ('/kanri/order/search/order_item_type' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\EditController::searchOrderItemType', '_route' => 'admin_order_search_order_item_type',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_search_order_item_type;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_search_order_item_type', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_search_order_item_type:
}
// admin_order_mail
if (preg_match('#^/kanri/order/(?P<id>\\d+)/mail$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_order_mail']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\MailController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_mail;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_mail', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_mail:
// admin_order_mail_view
if ('/kanri/order/mail/view' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\MailController::view', '_route' => 'admin_order_mail_view',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_mail_view;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_mail_view', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_mail_view:
// admin_order
if ('/kanri/order' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::index', '_route' => 'admin_order',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order', key($requiredSchemes)));
}
return $ret;
}
not_admin_order:
// admin_order_page
if (0 === strpos($pathinfo, '/kanri/order/page') && preg_match('#^/kanri/order/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_order_page']), array ( 'page_no' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_page', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_page:
// admin_order_bulk_delete
if ('/kanri/order/bulk_delete' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::bulkDelete', '_route' => 'admin_order_bulk_delete',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_order_bulk_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_bulk_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_bulk_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_bulk_delete:
if (0 === strpos($pathinfo, '/kanri/order/export')) {
// admin_order_export_order
if ('/kanri/order/export/order' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::exportOrder', '_route' => 'admin_order_export_order',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_export_order;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_export_order', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_export_order:
// admin_order_export_shipping
if ('/kanri/order/export/shipping' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::exportShipping', '_route' => 'admin_order_export_shipping',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_export_shipping;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_export_shipping', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_export_shipping:
if (0 === strpos($pathinfo, '/kanri/order/export/pdf')) {
// admin_order_export_pdf
if ('/kanri/order/export/pdf' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::exportPdf', '_route' => 'admin_order_export_pdf',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_export_pdf;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_export_pdf', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_export_pdf:
// admin_order_pdf_download
if ('/kanri/order/export/pdf/download' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::exportPdfDownload', '_route' => 'admin_order_pdf_download',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_pdf_download;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_pdf_download', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_pdf_download:
}
}
}
elseif (0 === strpos($pathinfo, '/kanri/product')) {
if (0 === strpos($pathinfo, '/kanri/product/c')) {
if (0 === strpos($pathinfo, '/kanri/product/category')) {
// admin_product_category
if ('/kanri/product/category' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\CategoryController::index', '_route' => 'admin_product_category',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_category;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_category', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_category:
// admin_product_category_show
if (preg_match('#^/kanri/product/category(?:/(?P<parent_id>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_category_show']), array ( 'parent_id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Product\\CategoryController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_category_show;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_category_show', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_category_show:
// admin_product_category_edit
if (preg_match('#^/kanri/product/category/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_category_edit']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Product\\CategoryController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_category_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_category_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_category_edit:
// admin_product_category_delete
if (preg_match('#^/kanri/product/category/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_category_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\CategoryController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_product_category_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_category_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_category_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_category_delete:
// admin_product_category_sort_no_move
if ('/kanri/product/category/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\CategoryController::moveSortNo', '_route' => 'admin_product_category_sort_no_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_product_category_sort_no_move;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_category_sort_no_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_category_sort_no_move', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_category_sort_no_move:
// admin_product_category_export
if ('/kanri/product/category/export' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\CategoryController::export', '_route' => 'admin_product_category_export',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_category_export;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_category_export', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_category_export:
// admin_product_category_csv_import
if ('/kanri/product/category_csv_upload' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\CsvImportController::csvCategory', '_route' => 'admin_product_category_csv_import',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_category_csv_import;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_category_csv_import', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_category_csv_import:
}
elseif (0 === strpos($pathinfo, '/kanri/product/class_category')) {
// admin_product_class_category
if (preg_match('#^/kanri/product/class_category/(?P<class_name_id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_class_category']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ClassCategoryController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_class_category;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_class_category', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_class_category:
// admin_product_class_category_edit
if (preg_match('#^/kanri/product/class_category/(?P<class_name_id>\\d+)/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_class_category_edit']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Product\\ClassCategoryController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_class_category_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_class_category_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_class_category_edit:
// admin_product_class_category_delete
if (preg_match('#^/kanri/product/class_category/(?P<class_name_id>\\d+)/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_class_category_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ClassCategoryController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_product_class_category_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_class_category_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_class_category_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_class_category_delete:
// admin_product_class_category_visibility
if (preg_match('#^/kanri/product/class_category/(?P<class_name_id>\\d+)/(?P<id>\\d+)/visibility$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_class_category_visibility']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ClassCategoryController::visibility',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['PUT'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT']);
}
goto not_admin_product_class_category_visibility;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_class_category_visibility;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_class_category_visibility', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_class_category_visibility:
// admin_product_class_category_sort_no_move
if ('/kanri/product/class_category/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ClassCategoryController::moveSortNo', '_route' => 'admin_product_class_category_sort_no_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_product_class_category_sort_no_move;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_class_category_sort_no_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_class_category_sort_no_move', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_class_category_sort_no_move:
}
elseif (0 === strpos($pathinfo, '/kanri/product/class_name')) {
// admin_product_class_name
if ('/kanri/product/class_name' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ClassNameController::index', '_route' => 'admin_product_class_name',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_class_name;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_class_name', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_class_name:
// admin_product_class_name_edit
if (preg_match('#^/kanri/product/class_name/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_class_name_edit']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Product\\ClassNameController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_class_name_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_class_name_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_class_name_edit:
// admin_product_class_name_delete
if (preg_match('#^/kanri/product/class_name/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_class_name_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ClassNameController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_product_class_name_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_class_name_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_class_name_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_class_name_delete:
// admin_product_class_name_sort_no_move
if ('/kanri/product/class_name/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ClassNameController::moveSortNo', '_route' => 'admin_product_class_name_sort_no_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_product_class_name_sort_no_move;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_class_name_sort_no_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_class_name_sort_no_move', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_class_name_sort_no_move:
}
// admin_product_csv_template
if (0 === strpos($pathinfo, '/kanri/product/csv_template') && preg_match('#^/kanri/product/csv_template/(?P<type>\\w+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_csv_template']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\CsvImportController::csvTemplate',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_csv_template;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_csv_template', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_csv_template:
}
// admin_product_csv_import
if ('/kanri/product/product_csv_upload' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\CsvImportController::csvProduct', '_route' => 'admin_product_csv_import',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_csv_import;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_csv_import', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_csv_import:
if (0 === strpos($pathinfo, '/kanri/product/product/class')) {
// admin_product_product_class
if (preg_match('#^/kanri/product/product/class/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_product_class']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ProductClassController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_product_class;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_product_class', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_product_class:
// admin_product_product_class_clear
if (preg_match('#^/kanri/product/product/class/(?P<id>\\d+)/clear$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_product_class_clear']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ProductClassController::clearProductClasses',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_product_class_clear;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_product_class_clear', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_product_class_clear:
}
elseif (0 === strpos($pathinfo, '/kanri/product/tag')) {
// admin_product_tag
if ('/kanri/product/tag' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\TagController::index', '_route' => 'admin_product_tag',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_tag;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_tag', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_tag:
// admin_product_tag_delete
if (preg_match('#^/kanri/product/tag/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_tag_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\TagController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_product_tag_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_tag_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_tag_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_tag_delete:
// admin_product_tag_sort_no_move
if ('/kanri/product/tag/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\TagController::moveSortNo', '_route' => 'admin_product_tag_sort_no_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_product_tag_sort_no_move;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_tag_sort_no_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_tag_sort_no_move', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_tag_sort_no_move:
}
// admin_product
if ('/kanri/product' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Product\\ProductController::index', '_route' => 'admin_product',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product', key($requiredSchemes)));
}
return $ret;
}
not_admin_product:
// admin_product_page
if (0 === strpos($pathinfo, '/kanri/product/page') && preg_match('#^/kanri/product/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_page']), array ( 'page_no' => NULL, '_controller' => 'Customize\\Controller\\Admin\\Product\\ProductController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_page', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_page:
if (0 === strpos($pathinfo, '/kanri/product/product')) {
// admin_product_image_add
if ('/kanri/product/product/image/add' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Product\\ProductController::addImage', '_route' => 'admin_product_image_add',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_product_image_add;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_image_add;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_image_add', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_image_add:
// admin_product_logo_add
if ('/kanri/product/product/logo/add_logo' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Product\\ProductController::addLogo', '_route' => 'admin_product_logo_add',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_product_logo_add;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_logo_add;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_logo_add', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_logo_add:
// admin_product_avatar_add
if ('/kanri/product/product/logo/add_avatar' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Product\\ProductController::addLogo', '_route' => 'admin_product_avatar_add',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_product_avatar_add;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_avatar_add;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_avatar_add', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_avatar_add:
// admin_product_background_add
if ('/kanri/product/product/background/add_background' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Product\\ProductController::addLogo', '_route' => 'admin_product_background_add',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_product_background_add;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_background_add;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_background_add', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_background_add:
// admin_product_free_area_add
if ('/kanri/product/product/free_area/add_free_area' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Product\\ProductController::addLogo', '_route' => 'admin_product_free_area_add',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_product_free_area_add;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_free_area_add;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_free_area_add', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_free_area_add:
// admin_product_features_add
if ('/kanri/product/product/features/add_features' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Product\\ProductController::addFeatures', '_route' => 'admin_product_features_add',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_product_features_add;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_features_add;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_features_add', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_features_add:
// admin_product_catalog_add
if ('/kanri/product/product/pdf/add_catalog' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Product\\ProductController::addpdf', '_route' => 'admin_product_catalog_add',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_product_catalog_add;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_catalog_add;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_catalog_add', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_catalog_add:
// admin_product_manuals_add
if ('/kanri/product/product/pdf/add_manuals' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Product\\ProductController::addpdf', '_route' => 'admin_product_manuals_add',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_product_manuals_add;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_manuals_add;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_manuals_add', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_manuals_add:
// admin_product_product_new
if ('/kanri/product/product/new' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Product\\ProductController::edit', '_route' => 'admin_product_product_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_product_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_product_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_product_new:
// admin_product_product_edit
if (preg_match('#^/kanri/product/product/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_product_edit']), array ( 'id' => NULL, '_controller' => 'Customize\\Controller\\Admin\\Product\\ProductController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_product_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_product_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_product_edit:
// admin_product_product_load_features
if ('/kanri/product/product/load-features' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Product\\ProductController::loadBlockFeatures', '_route' => 'admin_product_product_load_features',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_product_load_features;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_product_load_features', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_product_load_features:
// admin_product_product_delete
if (preg_match('#^/kanri/product/product/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_product_delete']), array ( 'id' => NULL, '_controller' => 'Customize\\Controller\\Admin\\Product\\ProductController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_product_product_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_product_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_product_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_product_delete:
// admin_product_product_copy
if (preg_match('#^/kanri/product/product/(?P<id>\\d+)/copy$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_product_copy']), array ( 'id' => NULL, '_controller' => 'Customize\\Controller\\Admin\\Product\\ProductController::copy',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_product_product_copy;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_product_copy;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_product_copy', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_product_copy:
// admin_product_product_display
if (preg_match('#^/kanri/product/product/(?P<id>\\d+)/display$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_product_display']), array ( 'id' => NULL, '_controller' => 'Customize\\Controller\\Admin\\Product\\ProductController::display',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_product_display;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_product_display', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_product_display:
}
// admin_product_classes_load
if (0 === strpos($pathinfo, '/kanri/product/classes') && preg_match('#^/kanri/product/classes/(?P<id>\\d+)/load$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_classes_load']), array ( '_controller' => 'Customize\\Controller\\Admin\\Product\\ProductController::loadProductClasses',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['GET']);
}
goto not_admin_product_classes_load;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_classes_load;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_classes_load', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_classes_load:
// admin_product_export
if ('/kanri/product/export' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Admin\\Product\\ProductController::export', '_route' => 'admin_product_export',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_export;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_export', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_export:
// admin_product_bulk_product_status
if (0 === strpos($pathinfo, '/kanri/product/bulk/product-status') && preg_match('#^/kanri/product/bulk/product\\-status/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_bulk_product_status']), array ( '_controller' => 'Customize\\Controller\\Admin\\Product\\ProductController::bulkProductStatus',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_product_bulk_product_status;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_bulk_product_status;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_bulk_product_status', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_bulk_product_status:
}
// admin_logout
if ('/kanri/logout' === $pathinfo) {
$ret = ['_route' => 'admin_logout'];
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_logout;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_logout', key($requiredSchemes)));
}
return $ret;
}
not_admin_logout:
if (0 === strpos($pathinfo, '/kanri/related_product/search/product')) {
// admin_related_product_search
if ('/kanri/related_product/search/product' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\RelatedProduct4\\Controller\\Admin\\RelatedProductController::searchProduct', '_route' => 'admin_related_product_search',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_related_product_search;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_related_product_search', key($requiredSchemes)));
}
return $ret;
}
not_admin_related_product_search:
// admin_related_product_search_product_page
if (0 === strpos($pathinfo, '/kanri/related_product/search/product/page') && preg_match('#^/kanri/related_product/search/product/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_related_product_search_product_page']), array ( 'page_no' => NULL, '_controller' => 'Plugin\\RelatedProduct4\\Controller\\Admin\\RelatedProductController::searchProduct',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_related_product_search_product_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_related_product_search_product_page', key($requiredSchemes)));
}
return $ret;
}
not_admin_related_product_search_product_page:
}
}
elseif (0 === strpos($pathinfo, '/b')) {
if (0 === strpos($pathinfo, '/block/cart')) {
// block_cart
if ('/block/cart' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Block\\CartController::index', '_route' => 'block_cart',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_block_cart;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'block_cart', key($requiredSchemes)));
}
return $ret;
}
not_block_cart:
// block_cart_sp
if ('/block/cart_sp' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Block\\CartController::index', '_route' => 'block_cart_sp',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_block_cart_sp;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'block_cart_sp', key($requiredSchemes)));
}
return $ret;
}
not_block_cart_sp:
}
elseif (0 === strpos($pathinfo, '/block/search_product')) {
// block_search_product
if ('/block/search_product' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Block\\SearchProductController::index', '_route' => 'block_search_product',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_block_search_product;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'block_search_product', key($requiredSchemes)));
}
return $ret;
}
not_block_search_product:
// block_search_product_sp
if ('/block/search_product_sp' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Block\\SearchProductController::index', '_route' => 'block_search_product_sp',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_block_search_product_sp;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'block_search_product_sp', key($requiredSchemes)));
}
return $ret;
}
not_block_search_product_sp:
}
// page_benefits
if ('/benefits' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\PageController::benefits', '_route' => 'page_benefits',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_page_benefits;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'page_benefits', key($requiredSchemes)));
}
return $ret;
}
not_page_benefits:
}
elseif (0 === strpos($pathinfo, '/cart')) {
// cart
if ('/cart' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\CartController::index', '_route' => 'cart',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_cart;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'cart', key($requiredSchemes)));
}
return $ret;
}
not_cart:
// cart_handle_item
if (preg_match('#^/cart/(?P<operation>up|down|remove)/(?P<productClassId>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'cart_handle_item']), array ( '_controller' => 'Eccube\\Controller\\CartController::handleCartItem',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['PUT'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT']);
}
goto not_cart_handle_item;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_cart_handle_item;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'cart_handle_item', key($requiredSchemes)));
}
return $ret;
}
not_cart_handle_item:
// cart_buystep
if (0 === strpos($pathinfo, '/cart/buystep') && preg_match('#^/cart/buystep/(?P<cart_key>[a-zA-Z0-9]+[_][\\x20-\\x7E]+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'cart_buystep']), array ( '_controller' => 'Eccube\\Controller\\CartController::buystep',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_cart_buystep;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'cart_buystep', key($requiredSchemes)));
}
return $ret;
}
not_cart_buystep:
}
elseif (0 === strpos($pathinfo, '/co')) {
if (0 === strpos($pathinfo, '/contact')) {
// contact
if ('/contact' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\ContactController::index', '_route' => 'contact',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_contact;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'contact', key($requiredSchemes)));
}
return $ret;
}
not_contact:
// contact_complete
if ('/contact/complete' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\ContactController::complete', '_route' => 'contact_complete',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_contact_complete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'contact_complete', key($requiredSchemes)));
}
return $ret;
}
not_contact_complete:
}
// page_concept
if ('/concept' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\PageController::concept', '_route' => 'page_concept',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_page_concept;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'page_concept', key($requiredSchemes)));
}
return $ret;
}
not_page_concept:
// page_company
if ('/company' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\PageController::company', '_route' => 'page_company',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_page_company;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'page_company', key($requiredSchemes)));
}
return $ret;
}
not_page_company:
// page_compliance
if ('/compliance' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\PageController::compliance', '_route' => 'page_compliance',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_page_compliance;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'page_compliance', key($requiredSchemes)));
}
return $ret;
}
not_page_compliance:
}
elseif (0 === strpos($pathinfo, '/f')) {
if (0 === strpos($pathinfo, '/forgot')) {
// forgot
if ('/forgot' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ForgotController::index', '_route' => 'forgot',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_forgot;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'forgot', key($requiredSchemes)));
}
return $ret;
}
not_forgot:
// forgot_complete
if ('/forgot/complete' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ForgotController::complete', '_route' => 'forgot_complete',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_forgot_complete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'forgot_complete', key($requiredSchemes)));
}
return $ret;
}
not_forgot_complete:
// forgot_reset
if (0 === strpos($pathinfo, '/forgot/reset') && preg_match('#^/forgot/reset/(?P<reset_key>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'forgot_reset']), array ( '_controller' => 'Eccube\\Controller\\ForgotController::reset',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_forgot_reset;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'forgot_reset', key($requiredSchemes)));
}
return $ret;
}
not_forgot_reset:
}
// page_forsupplier
if ('/forsupplier' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\PageController::forsupplier', '_route' => 'page_forsupplier',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_page_forsupplier;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'page_forsupplier', key($requiredSchemes)));
}
return $ret;
}
not_page_forsupplier:
if (0 === strpos($pathinfo, '/faq')) {
// page_faq
if ('/faq' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\FaqController::faq', '_route' => 'page_faq',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['GET']);
}
goto not_page_faq;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_page_faq;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'page_faq', key($requiredSchemes)));
}
return $ret;
}
not_page_faq:
// page_faq_detail
if (preg_match('#^/faq/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'page_faq_detail']), array ( '_controller' => 'Customize\\Controller\\FaqController::faqDetail',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['GET']);
}
goto not_page_faq_detail;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_page_faq_detail;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'page_faq_detail', key($requiredSchemes)));
}
return $ret;
}
not_page_faq_detail:
// page_faq_static
if ('/faq.html' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\PageController::faq_static', '_route' => 'page_faq_static',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_page_faq_static;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'page_faq_static', key($requiredSchemes)));
}
return $ret;
}
not_page_faq_static:
if (0 === strpos($pathinfo, '/faq_')) {
// page_faq_Viruswasher
if ('/faq_Viruswasher.html' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\PageController::faq_Viruswasher', '_route' => 'page_faq_Viruswasher',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_page_faq_Viruswasher;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'page_faq_Viruswasher', key($requiredSchemes)));
}
return $ret;
}
not_page_faq_Viruswasher:
// page_faq_switle
if ('/faq_switle.html' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\PageController::faq_switle', '_route' => 'page_faq_switle',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_page_faq_switle;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'page_faq_switle', key($requiredSchemes)));
}
return $ret;
}
not_page_faq_switle:
// page_faq_jokin
if ('/faq_jokin.html' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\PageController::faq_jokin', '_route' => 'page_faq_jokin',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_page_faq_jokin;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'page_faq_jokin', key($requiredSchemes)));
}
return $ret;
}
not_page_faq_jokin:
// page_faq_hassou
if ('/faq_hassou.html' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\PageController::faq_hassou', '_route' => 'page_faq_hassou',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_page_faq_hassou;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'page_faq_hassou', key($requiredSchemes)));
}
return $ret;
}
not_page_faq_hassou:
// page_faq_mousikomi
if ('/faq_mousikomi.html' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\PageController::faq_mousikomi', '_route' => 'page_faq_mousikomi',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_page_faq_mousikomi;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'page_faq_mousikomi', key($requiredSchemes)));
}
return $ret;
}
not_page_faq_mousikomi:
// page_faq_taisei
if ('/faq_taisei.html' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\PageController::faq_taisei', '_route' => 'page_faq_taisei',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_page_faq_taisei;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'page_faq_taisei', key($requiredSchemes)));
}
return $ret;
}
not_page_faq_taisei:
}
}
}
elseif (0 === strpos($pathinfo, '/help')) {
// help_tradelaw
if ('/help/tradelaw' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\HelpController::tradelaw', '_route' => 'help_tradelaw',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_help_tradelaw;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'help_tradelaw', key($requiredSchemes)));
}
return $ret;
}
not_help_tradelaw:
// help_about
if ('/help/about' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\HelpController::about', '_route' => 'help_about',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_help_about;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'help_about', key($requiredSchemes)));
}
return $ret;
}
not_help_about:
// help_agreement
if ('/help/agreement' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\HelpController::agreement', '_route' => 'help_agreement',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_help_agreement;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'help_agreement', key($requiredSchemes)));
}
return $ret;
}
not_help_agreement:
// help_privacy
if ('/help/privacy' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\HelpController::privacy', '_route' => 'help_privacy',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_help_privacy;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'help_privacy', key($requiredSchemes)));
}
return $ret;
}
not_help_privacy:
}
// help_guide
if ('/guide' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\HelpController::guide', '_route' => 'help_guide',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_help_guide;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'help_guide', key($requiredSchemes)));
}
return $ret;
}
not_help_guide:
if (0 === strpos($pathinfo, '/install')) {
// install
if ('/install' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Install\\InstallController::index', '_route' => 'install',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_install;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'install', key($requiredSchemes)));
}
return $ret;
}
not_install:
if (0 === strpos($pathinfo, '/install/step')) {
// install_step1
if ('/install/step1' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Install\\InstallController::step1', '_route' => 'install_step1',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_install_step1;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'install_step1', key($requiredSchemes)));
}
return $ret;
}
not_install_step1:
// install_step2
if ('/install/step2' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Install\\InstallController::step2', '_route' => 'install_step2',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_install_step2;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'install_step2', key($requiredSchemes)));
}
return $ret;
}
not_install_step2:
// install_step3
if ('/install/step3' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Install\\InstallController::step3', '_route' => 'install_step3',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_install_step3;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'install_step3', key($requiredSchemes)));
}
return $ret;
}
not_install_step3:
// install_step4
if ('/install/step4' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Install\\InstallController::step4', '_route' => 'install_step4',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_install_step4;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'install_step4', key($requiredSchemes)));
}
return $ret;
}
not_install_step4:
// install_step5
if ('/install/step5' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Install\\InstallController::step5', '_route' => 'install_step5',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_install_step5;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'install_step5', key($requiredSchemes)));
}
return $ret;
}
not_install_step5:
}
// install_complete
if ('/install/complete' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Install\\InstallController::complete', '_route' => 'install_complete',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_install_complete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'install_complete', key($requiredSchemes)));
}
return $ret;
}
not_install_complete:
}
elseif (0 === strpos($pathinfo, '/mypage')) {
if (0 === strpos($pathinfo, '/mypage/delivery')) {
// mypage_delivery
if ('/mypage/delivery' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Mypage\\DeliveryController::index', '_route' => 'mypage_delivery',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_delivery;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_delivery', key($requiredSchemes)));
}
return $ret;
}
not_mypage_delivery:
// mypage_delivery_new
if ('/mypage/delivery/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Mypage\\DeliveryController::edit', '_route' => 'mypage_delivery_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_delivery_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_delivery_new', key($requiredSchemes)));
}
return $ret;
}
not_mypage_delivery_new:
// mypage_delivery_edit
if (preg_match('#^/mypage/delivery/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'mypage_delivery_edit']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Mypage\\DeliveryController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_delivery_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_delivery_edit', key($requiredSchemes)));
}
return $ret;
}
not_mypage_delivery_edit:
// mypage_delivery_delete
if (preg_match('#^/mypage/delivery/(?P<id>[^/]++)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'mypage_delivery_delete']), array ( '_controller' => 'Eccube\\Controller\\Mypage\\DeliveryController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_mypage_delivery_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_delivery_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_delivery_delete', key($requiredSchemes)));
}
return $ret;
}
not_mypage_delivery_delete:
}
// mypage_login
if ('/mypage/login' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Mypage\\MypageController::login', '_route' => 'mypage_login',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_login;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_login', key($requiredSchemes)));
}
return $ret;
}
not_mypage_login:
// mypage
if ('/mypage' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Mypage\\MypageController::index', '_route' => 'mypage',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_mypage;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'mypage'));
}
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage', key($requiredSchemes)));
}
return $ret;
}
not_mypage:
// mypage_history
if (0 === strpos($pathinfo, '/mypage/history') && preg_match('#^/mypage/history/(?P<order_no>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'mypage_history']), array ( '_controller' => 'Eccube\\Controller\\Mypage\\MypageController::history',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_history;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_history', key($requiredSchemes)));
}
return $ret;
}
not_mypage_history:
// mypage_order
if (0 === strpos($pathinfo, '/mypage/order') && preg_match('#^/mypage/order/(?P<order_no>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'mypage_order']), array ( '_controller' => 'Eccube\\Controller\\Mypage\\MypageController::order',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['PUT'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT']);
}
goto not_mypage_order;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_order;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_order', key($requiredSchemes)));
}
return $ret;
}
not_mypage_order:
if (0 === strpos($pathinfo, '/mypage/favorite')) {
// mypage_favorite
if ('/mypage/favorite' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Mypage\\MypageController::favorite', '_route' => 'mypage_favorite',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_favorite;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_favorite', key($requiredSchemes)));
}
return $ret;
}
not_mypage_favorite:
// mypage_favorite_delete
if (preg_match('#^/mypage/favorite/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'mypage_favorite_delete']), array ( '_controller' => 'Eccube\\Controller\\Mypage\\MypageController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_mypage_favorite_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_favorite_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_favorite_delete', key($requiredSchemes)));
}
return $ret;
}
not_mypage_favorite_delete:
}
elseif (0 === strpos($pathinfo, '/mypage/withdraw')) {
// mypage_withdraw
if ('/mypage/withdraw' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Mypage\\WithdrawController::index', '_route' => 'mypage_withdraw',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_withdraw;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_withdraw', key($requiredSchemes)));
}
return $ret;
}
not_mypage_withdraw:
// mypage_withdraw_complete
if ('/mypage/withdraw_complete' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Mypage\\WithdrawController::complete', '_route' => 'mypage_withdraw_complete',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_withdraw_complete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_withdraw_complete', key($requiredSchemes)));
}
return $ret;
}
not_mypage_withdraw_complete:
}
elseif (0 === strpos($pathinfo, '/mypage/change')) {
// mypage_change
if ('/mypage/change' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Mypage\\ChangeController::index', '_route' => 'mypage_change',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_change;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_change', key($requiredSchemes)));
}
return $ret;
}
not_mypage_change:
// mypage_change_complete
if ('/mypage/change_complete' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\Mypage\\ChangeController::complete', '_route' => 'mypage_change_complete',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_change_complete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_change_complete', key($requiredSchemes)));
}
return $ret;
}
not_mypage_change_complete:
}
}
elseif (0 === strpos($pathinfo, '/member_page')) {
// page_member
if ('/member_page' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\AgencyController::supplierItem', '_route' => 'page_member',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_page_member;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'page_member', key($requiredSchemes)));
}
return $ret;
}
not_page_member:
// page_supplier-detail
if (preg_match('#^/member_page/(?P<code>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'page_supplier-detail']), array ( '_controller' => 'Customize\\Controller\\AgencyController::supplierDetail',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_page_supplierdetail;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'page_supplier-detail', key($requiredSchemes)));
}
return $ret;
}
not_page_supplierdetail:
}
elseif (0 === strpos($pathinfo, '/s')) {
if (0 === strpos($pathinfo, '/shopping')) {
// shopping_nonmember
if ('/shopping/nonmember' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\NonMemberShoppingController::index', '_route' => 'shopping_nonmember',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_nonmember;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_nonmember', key($requiredSchemes)));
}
return $ret;
}
not_shopping_nonmember:
// shopping_customer
if ('/shopping/customer' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\NonMemberShoppingController::customer', '_route' => 'shopping_customer',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_customer;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_customer', key($requiredSchemes)));
}
return $ret;
}
not_shopping_customer:
if (0 === strpos($pathinfo, '/shopping/shipping_multiple')) {
// shopping_shipping_multiple
if ('/shopping/shipping_multiple' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ShippingMultipleController::index', '_route' => 'shopping_shipping_multiple',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_shipping_multiple;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_shipping_multiple', key($requiredSchemes)));
}
return $ret;
}
not_shopping_shipping_multiple:
// shopping_shipping_multiple_edit
if ('/shopping/shipping_multiple_edit' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ShippingMultipleController::shippingMultipleEdit', '_route' => 'shopping_shipping_multiple_edit',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_shipping_multiple_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_shipping_multiple_edit', key($requiredSchemes)));
}
return $ret;
}
not_shopping_shipping_multiple_edit:
}
// shopping
if ('/shopping' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ShoppingController::index', '_route' => 'shopping',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_shopping;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping', key($requiredSchemes)));
}
return $ret;
}
not_shopping:
// shopping_redirect_to
if ('/shopping/redirect_to' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ShoppingController::redirectTo', '_route' => 'shopping_redirect_to',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_shopping_redirect_to;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_redirect_to;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_redirect_to', key($requiredSchemes)));
}
return $ret;
}
not_shopping_redirect_to:
if (0 === strpos($pathinfo, '/shopping/c')) {
// shopping_confirm
if ('/shopping/confirm' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ShoppingController::confirm', '_route' => 'shopping_confirm',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_shopping_confirm;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_confirm;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_confirm', key($requiredSchemes)));
}
return $ret;
}
not_shopping_confirm:
// shopping_complete
if ('/shopping/complete' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ShoppingController::complete', '_route' => 'shopping_complete',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_complete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_complete', key($requiredSchemes)));
}
return $ret;
}
not_shopping_complete:
// shopping_checkout
if ('/shopping/checkout' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ShoppingController::checkout', '_route' => 'shopping_checkout',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_shopping_checkout;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_checkout;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_checkout', key($requiredSchemes)));
}
return $ret;
}
not_shopping_checkout:
}
elseif (0 === strpos($pathinfo, '/shopping/shipping')) {
// shopping_shipping
if (preg_match('#^/shopping/shipping/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'shopping_shipping']), array ( '_controller' => 'Eccube\\Controller\\ShoppingController::shipping',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_shipping;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_shipping', key($requiredSchemes)));
}
return $ret;
}
not_shopping_shipping:
// shopping_shipping_edit
if (0 === strpos($pathinfo, '/shopping/shipping_edit') && preg_match('#^/shopping/shipping_edit/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'shopping_shipping_edit']), array ( '_controller' => 'Eccube\\Controller\\ShoppingController::shippingEdit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_shipping_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_shipping_edit', key($requiredSchemes)));
}
return $ret;
}
not_shopping_shipping_edit:
}
// shopping_login
if ('/shopping/login' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ShoppingController::login', '_route' => 'shopping_login',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_login;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_login', key($requiredSchemes)));
}
return $ret;
}
not_shopping_login:
// shopping_error
if ('/shopping/error' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ShoppingController::error', '_route' => 'shopping_error',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_error;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_error', key($requiredSchemes)));
}
return $ret;
}
not_shopping_error:
}
// page_site-policy
if ('/site-policy' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\PageController::sitepolicy', '_route' => 'page_site-policy',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_page_sitepolicy;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'page_site-policy', key($requiredSchemes)));
}
return $ret;
}
not_page_sitepolicy:
if (0 === strpos($pathinfo, '/supplier')) {
// supplier
if ('/supplier' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\SupplierController::index', '_route' => 'supplier',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_supplier;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'supplier', key($requiredSchemes)));
}
return $ret;
}
not_supplier:
// supplier_complete
if ('/supplier/complete' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\SupplierController::complete', '_route' => 'supplier_complete',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_supplier_complete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'supplier_complete', key($requiredSchemes)));
}
return $ret;
}
not_supplier_complete:
}
}
// user_data
if (0 === strpos($pathinfo, '/user_data') && preg_match('#^/user_data/(?P<route>([0-9a-zA-Z_\\-]+\\/?)+(?<!\\/))$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'user_data']), array ( '_controller' => 'Eccube\\Controller\\UserDataController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_user_data;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'user_data', key($requiredSchemes)));
}
return $ret;
}
not_user_data:
if (0 === strpos($pathinfo, '/dealers')) {
// page_dealer-detail
if ('/dealers' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\AgencyController::dealerDetail', '_route' => 'page_dealer-detail',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_page_dealerdetail;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'page_dealer-detail', key($requiredSchemes)));
}
return $ret;
}
not_page_dealerdetail:
// page_dealer-detail2
if ('/dealers2' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\AgencyController::dealerDetail2', '_route' => 'page_dealer-detail2',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_page_dealerdetail2;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'page_dealer-detail2', key($requiredSchemes)));
}
return $ret;
}
not_page_dealerdetail2:
// page_dealers
if ('/dealers.html' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\PageController::dealers', '_route' => 'page_dealers',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_page_dealers;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'page_dealers', key($requiredSchemes)));
}
return $ret;
}
not_page_dealers:
}
elseif (0 === strpos($pathinfo, '/entry')) {
// entry
if ('/entry' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\EntryController::index', '_route' => 'entry',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_entry;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'entry', key($requiredSchemes)));
}
return $ret;
}
not_entry:
// entry_complete
if ('/entry/complete' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\EntryController::complete', '_route' => 'entry_complete',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_entry_complete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'entry_complete', key($requiredSchemes)));
}
return $ret;
}
not_entry_complete:
// entry_activate
if (0 === strpos($pathinfo, '/entry/activate') && preg_match('#^/entry/activate/(?P<secret_key>[^/]++)(?:/(?P<qtyInCart>[^/]++))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'entry_activate']), array ( 'qtyInCart' => NULL, '_controller' => 'Customize\\Controller\\EntryController::activate',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_entry_activate;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'entry_activate', key($requiredSchemes)));
}
return $ret;
}
not_entry_activate:
}
elseif (0 === strpos($pathinfo, '/news')) {
// news
if ('/news' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\NewsController::index', '_route' => 'news',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_news;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'news', key($requiredSchemes)));
}
return $ret;
}
not_news:
// news_category
if (preg_match('#^/news(?:/(?P<class_name>[^/]++))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'news_category']), array ( 'class_name' => NULL, '_controller' => 'Customize\\Controller\\NewsController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['GET']);
}
goto not_news_category;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_news_category;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'news_category', key($requiredSchemes)));
}
return $ret;
}
not_news_category:
// news_detail
if (0 === strpos($pathinfo, '/news/detail') && preg_match('#^/news/detail/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'news_detail']), array ( '_controller' => 'Customize\\Controller\\NewsController::detail',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['GET']);
}
goto not_news_detail;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_news_detail;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'news_detail', key($requiredSchemes)));
}
return $ret;
}
not_news_detail:
}
// page_privacy
if ('/privacy' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\PageController::privacy', '_route' => 'page_privacy',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_page_privacy;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'page_privacy', key($requiredSchemes)));
}
return $ret;
}
not_page_privacy:
if (0 === strpos($pathinfo, '/products')) {
// product_list
if ('/products/list' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\ProductController::index', '_route' => 'product_list',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_list;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_list', key($requiredSchemes)));
}
return $ret;
}
not_product_list:
// product_detail
if (0 === strpos($pathinfo, '/products/detail') && preg_match('#^/products/detail/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'product_detail']), array ( '_controller' => 'Customize\\Controller\\ProductController::detail',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['GET']);
}
goto not_product_detail;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_product_detail;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_detail', key($requiredSchemes)));
}
return $ret;
}
not_product_detail:
// product_add_favorite
if (0 === strpos($pathinfo, '/products/add_favorite') && preg_match('#^/products/add_favorite/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'product_add_favorite']), array ( '_controller' => 'Customize\\Controller\\RentalController::addFavorite',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_add_favorite;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_add_favorite', key($requiredSchemes)));
}
return $ret;
}
not_product_add_favorite:
// product_add_cart
if (0 === strpos($pathinfo, '/products/add_cart') && preg_match('#^/products/add_cart/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'product_add_cart']), array ( '_controller' => 'Customize\\Controller\\RentalController::addCart',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_product_add_cart;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_product_add_cart;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_add_cart', key($requiredSchemes)));
}
return $ret;
}
not_product_add_cart:
}
elseif (0 === strpos($pathinfo, '/re')) {
// page_report
if ('/report' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\PageController::report', '_route' => 'page_report',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_page_report;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'page_report', key($requiredSchemes)));
}
return $ret;
}
not_page_report:
if (0 === strpos($pathinfo, '/rental')) {
// page_rental-policy
if ('/rental-policy' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\PageController::rentalpolicy', '_route' => 'page_rental-policy',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_page_rentalpolicy;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'page_rental-policy', key($requiredSchemes)));
}
return $ret;
}
not_page_rentalpolicy:
// rental_list
if ('/rental/list' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\RentalController::index', '_route' => 'rental_list',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_rental_list;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'rental_list', key($requiredSchemes)));
}
return $ret;
}
not_rental_list:
// rental_detail
if (0 === strpos($pathinfo, '/rental/detail') && preg_match('#^/rental/detail/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'rental_detail']), array ( '_controller' => 'Customize\\Controller\\RentalController::detail',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['GET']);
}
goto not_rental_detail;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_rental_detail;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'rental_detail', key($requiredSchemes)));
}
return $ret;
}
not_rental_detail:
}
elseif (0 === strpos($pathinfo, '/request')) {
// request
if ('/request' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\RequestController::index', '_route' => 'request',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_request;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'request', key($requiredSchemes)));
}
return $ret;
}
not_request:
// request_complete
if ('/request/complete' === $pathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\RequestController::complete', '_route' => 'request_complete',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_request_complete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'request_complete', key($requiredSchemes)));
}
return $ret;
}
not_request_complete:
}
}
// homepage
if ('' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'Customize\\Controller\\TopController::index', '_route' => 'homepage',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_homepage;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'homepage'));
}
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_homepage;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'homepage', key($requiredSchemes)));
}
return $ret;
}
not_homepage:
// logout
if ('/logout' === $pathinfo) {
$ret = ['_route' => 'logout'];
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_logout;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'logout', key($requiredSchemes)));
}
return $ret;
}
not_logout:
if ('/' === $pathinfo && !$allow) {
throw new Symfony\Component\Routing\Exception\NoConfigurationException();
}
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}