<?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,);
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, '/_segar') && preg_match('#^/_segar/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => '_wdt']), array ( '_controller' => 'web_profiler.controller.profiler:toolbarAction',));
$requiredSchemes = array ( 'https' => 0,);
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, '/_segarsekali')) {
// _profiler_home
if ('/_segarsekali' === $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,);
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, '/_segarsekali/search')) {
// _profiler_search
if ('/_segarsekali/search' === $pathinfo) {
$ret = array ( '_controller' => 'web_profiler.controller.profiler:searchAction', '_route' => '_profiler_search',);
$requiredSchemes = array ( 'https' => 0,);
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 ('/_segarsekali/search_bar' === $pathinfo) {
$ret = array ( '_controller' => 'web_profiler.controller.profiler:searchBarAction', '_route' => '_profiler_search_bar',);
$requiredSchemes = array ( 'https' => 0,);
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 ('/_segarsekali/phpinfo' === $pathinfo) {
$ret = array ( '_controller' => 'web_profiler.controller.profiler:phpinfoAction', '_route' => '_profiler_phpinfo',);
$requiredSchemes = array ( 'https' => 0,);
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('#^/_segarsekali/(?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,);
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 ('/_segarsekali/open' === $pathinfo) {
$ret = array ( '_controller' => 'web_profiler.controller.profiler:openAction', '_route' => '_profiler_open_file',);
$requiredSchemes = array ( 'https' => 0,);
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('#^/_segarsekali/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler']), array ( '_controller' => 'web_profiler.controller.profiler:panelAction',));
$requiredSchemes = array ( 'https' => 0,);
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('#^/_segarsekali/(?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,);
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('#^/_segarsekali/(?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,);
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('#^/_segarsekali/(?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,);
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, '/jpncorp')) {
// admin_login
if ('/jpncorp/login' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\AdminController::login', '_route' => 'admin_login',);
$requiredSchemes = array ( 'https' => 0,);
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 ('/jpncorp' === $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,);
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, '/jpncorp/s')) {
// admin_homepage_sale
if ('/jpncorp/sale_chart' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\AdminController::sale', '_route' => 'admin_homepage_sale',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/se')) {
// admin_homepage_nonstock
if ('/jpncorp/search_nonstock' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\AdminController::searchNonStockProducts', '_route' => 'admin_homepage_nonstock',);
$requiredSchemes = array ( 'https' => 0,);
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 ('/jpncorp/search_customer' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\AdminController::searchCustomer', '_route' => 'admin_homepage_customer',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/setting/shop')) {
// admin_setting_shop_csv
if (0 === strpos($pathinfo, '/jpncorp/setting/shop/csv') && preg_match('#^/jpncorp/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,);
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, '/jpncorp/setting/shop/delivery')) {
// admin_setting_shop_delivery
if ('/jpncorp/setting/shop/delivery' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\DeliveryController::index', '_route' => 'admin_setting_shop_delivery',);
$requiredSchemes = array ( 'https' => 0,);
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 ('/jpncorp/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,);
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('#^/jpncorp/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,);
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('#^/jpncorp/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,);
$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('#^/jpncorp/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,);
$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 ('/jpncorp/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,);
$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, '/jpncorp/setting/shop/mail')) {
// admin_setting_shop_mail
if ('/jpncorp/setting/shop/mail' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\MailController::index', '_route' => 'admin_setting_shop_mail',);
$requiredSchemes = array ( 'https' => 0,);
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('#^/jpncorp/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,);
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 ('/jpncorp/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,);
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, '/jpncorp/setting/shop/payment')) {
// admin_setting_shop_payment
if ('/jpncorp/setting/shop/payment' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\PaymentController::index', '_route' => 'admin_setting_shop_payment',);
$requiredSchemes = array ( 'https' => 0,);
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 ('/jpncorp/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,);
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('#^/jpncorp/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,);
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 ('/jpncorp/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,);
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('#^/jpncorp/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,);
$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('#^/jpncorp/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,);
$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 ('/jpncorp/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,);
$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 ('/jpncorp/setting/shop' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\ShopController::index', '_route' => 'admin_setting_shop',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/setting/shop/tax')) {
// admin_setting_shop_tax
if ('/jpncorp/setting/shop/tax' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\TaxRuleController::index', '_route' => 'admin_setting_shop_tax',);
$requiredSchemes = array ( 'https' => 0,);
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 ('/jpncorp/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,);
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('#^/jpncorp/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,);
$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, '/jpncorp/setting/system')) {
// admin_setting_system_authority
if ('/jpncorp/setting/system/authority' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\AuthorityController::index', '_route' => 'admin_setting_system_authority',);
$requiredSchemes = array ( 'https' => 0,);
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 ('/jpncorp/setting/system/log' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\LogController::index', '_route' => 'admin_setting_system_log',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/setting/system/masterdata')) {
// admin_setting_system_masterdata
if ('/jpncorp/setting/system/masterdata' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\MasterdataController::index', '_route' => 'admin_setting_system_masterdata',);
$requiredSchemes = array ( 'https' => 0,);
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('#^/jpncorp/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,);
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 ('/jpncorp/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,);
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, '/jpncorp/setting/system/member')) {
// admin_setting_system_member
if ('/jpncorp/setting/system/member' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\MemberController::index', '_route' => 'admin_setting_system_member',);
$requiredSchemes = array ( 'https' => 0,);
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 ('/jpncorp/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,);
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('#^/jpncorp/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,);
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('#^/jpncorp/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,);
$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('#^/jpncorp/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,);
$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('#^/jpncorp/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,);
$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 ('/jpncorp/setting/system/security' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\SecurityController::index', '_route' => 'admin_setting_system_security',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/setting/system/system')) {
// admin_setting_system_system
if ('/jpncorp/setting/system/system' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\SystemController::index', '_route' => 'admin_setting_system_system',);
$requiredSchemes = array ( 'https' => 0,);
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 ('/jpncorp/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,);
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, '/jpncorp/shipping')) {
// admin_shipping_update_order_status
if (preg_match('#^/jpncorp/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,);
$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('#^/jpncorp/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,);
$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('#^/jpncorp/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,);
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, '/jpncorp/shipping/preview_notify_mail') && preg_match('#^/jpncorp/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,);
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, '/jpncorp/shipping/notify_mail') && preg_match('#^/jpncorp/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,);
$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, '/jpncorp/store/plugin')) {
if (0 === strpos($pathinfo, '/jpncorp/store/plugin/api')) {
if (0 === strpos($pathinfo, '/jpncorp/store/plugin/api/search')) {
// admin_store_plugin_owners_search
if ('/jpncorp/store/plugin/api/search' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\OwnerStoreController::search', '_route' => 'admin_store_plugin_owners_search',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/store/plugin/api/search/page') && preg_match('#^/jpncorp/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,);
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 ('/jpncorp/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,);
$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, '/jpncorp/store/plugin/api/install')) {
// admin_store_plugin_install_confirm
if (preg_match('#^/jpncorp/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,);
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 ('/jpncorp/store/plugin/api/install' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\OwnerStoreController::apiInstall', '_route' => 'admin_store_plugin_api_install',);
$requiredSchemes = array ( 'https' => 0,);
$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, '/jpncorp/store/plugin/api/delete') && preg_match('#^/jpncorp/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,);
$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, '/jpncorp/store/plugin/api/upgrade')) {
// admin_store_plugin_api_upgrade
if ('/jpncorp/store/plugin/api/upgrade' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\OwnerStoreController::apiUpgrade', '_route' => 'admin_store_plugin_api_upgrade',);
$requiredSchemes = array ( 'https' => 0,);
$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('#^/jpncorp/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,);
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 ('/jpncorp/store/plugin/api/update' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\OwnerStoreController::apiUpdate', '_route' => 'admin_store_plugin_api_update',);
$requiredSchemes = array ( 'https' => 0,);
$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 ('/jpncorp/store/plugin' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\PluginController::index', '_route' => 'admin_store_plugin',);
$requiredSchemes = array ( 'https' => 0,);
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('#^/jpncorp/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,);
$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('#^/jpncorp/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,);
$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('#^/jpncorp/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,);
$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('#^/jpncorp/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,);
$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 ('/jpncorp/store/plugin/install' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\PluginController::install', '_route' => 'admin_store_plugin_install',);
$requiredSchemes = array ( 'https' => 0,);
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 ('/jpncorp/store/plugin/authentication_setting' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\PluginController::authenticationSetting', '_route' => 'admin_store_authentication_setting',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/store/template')) {
// admin_store_template
if ('/jpncorp/store/template' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\TemplateController::index', '_route' => 'admin_store_template',);
$requiredSchemes = array ( 'https' => 0,);
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('#^/jpncorp/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,);
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('#^/jpncorp/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,);
$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 ('/jpncorp/store/template/install' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\TemplateController::install', '_route' => 'admin_store_template_install',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/c')) {
// admin_change_password
if ('/jpncorp/change_password' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\AdminController::changePassword', '_route' => 'admin_change_password',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/content')) {
if (0 === strpos($pathinfo, '/jpncorp/content/block')) {
// admin_content_block
if ('/jpncorp/content/block' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\BlockController::index', '_route' => 'admin_content_block',);
$requiredSchemes = array ( 'https' => 0,);
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 ('/jpncorp/content/block/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\BlockController::edit', '_route' => 'admin_content_block_new',);
$requiredSchemes = array ( 'https' => 0,);
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('#^/jpncorp/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,);
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('#^/jpncorp/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,);
$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 ('/jpncorp/content/cache' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\CacheController::index', '_route' => 'admin_content_cache',);
$requiredSchemes = array ( 'https' => 0,);
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 ('/jpncorp/content/css' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\CssController::index', '_route' => 'admin_content_css',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/content/file_')) {
// admin_content_file
if ('/jpncorp/content/file_manager' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\FileController::index', '_route' => 'admin_content_file',);
$requiredSchemes = array ( 'https' => 0,);
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 ('/jpncorp/content/file_view' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\FileController::view', '_route' => 'admin_content_file_view',);
$requiredSchemes = array ( 'https' => 0,);
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 ('/jpncorp/content/file_delete' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\FileController::delete', '_route' => 'admin_content_file_delete',);
$requiredSchemes = array ( 'https' => 0,);
$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 ('/jpncorp/content/file_download' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\FileController::download', '_route' => 'admin_content_file_download',);
$requiredSchemes = array ( 'https' => 0,);
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:
}
// admin_content_js
if ('/jpncorp/content/js' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\JsController::index', '_route' => 'admin_content_js',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/content/layout')) {
// admin_content_layout
if ('/jpncorp/content/layout' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\LayoutController::index', '_route' => 'admin_content_layout',);
$requiredSchemes = array ( 'https' => 0,);
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('#^/jpncorp/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,);
$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 ('/jpncorp/content/layout/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\LayoutController::edit', '_route' => 'admin_content_layout_new',);
$requiredSchemes = array ( 'https' => 0,);
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('#^/jpncorp/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,);
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 ('/jpncorp/content/layout/view_block' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\LayoutController::viewBlock', '_route' => 'admin_content_layout_view_block',);
$requiredSchemes = array ( 'https' => 0,);
$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('#^/jpncorp/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,);
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 ('/jpncorp/content/maintenance' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\MaintenanceController::index', '_route' => 'admin_content_maintenance',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/content/news')) {
// admin_content_news
if ('/jpncorp/content/news' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\NewsController::index', '_route' => 'admin_content_news',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/content/news/page') && preg_match('#^/jpncorp/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' => 'Eccube\\Controller\\Admin\\Content\\NewsController::index',));
$requiredSchemes = array ( 'https' => 0,);
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 ('/jpncorp/content/news/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\NewsController::edit', '_route' => 'admin_content_news_new',);
$requiredSchemes = array ( 'https' => 0,);
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('#^/jpncorp/content/news/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_news_edit']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Content\\NewsController::edit',));
$requiredSchemes = array ( 'https' => 0,);
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('#^/jpncorp/content/news/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_news_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\NewsController::delete',));
$requiredSchemes = array ( 'https' => 0,);
$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, '/jpncorp/content/page')) {
// admin_content_page
if ('/jpncorp/content/page' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\PageController::index', '_route' => 'admin_content_page',);
$requiredSchemes = array ( 'https' => 0,);
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 ('/jpncorp/content/page/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\PageController::edit', '_route' => 'admin_content_page_new',);
$requiredSchemes = array ( 'https' => 0,);
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('#^/jpncorp/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,);
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('#^/jpncorp/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,);
$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, '/jpncorp/customer')) {
// admin_customer
if ('/jpncorp/customer' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerController::index', '_route' => 'admin_customer',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/customer/page') && preg_match('#^/jpncorp/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,);
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('#^/jpncorp/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,);
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('#^/jpncorp/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,);
$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 ('/jpncorp/customer/export' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerController::export', '_route' => 'admin_customer_export',);
$requiredSchemes = array ( 'https' => 0,);
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('#^/jpncorp/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,);
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('#^/jpncorp/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,);
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('#^/jpncorp/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,);
$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 ('/jpncorp/customer/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerEditController::index', '_route' => 'admin_customer_new',);
$requiredSchemes = array ( 'https' => 0,);
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('#^/jpncorp/customer/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_customer_edit']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerEditController::index',));
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/order')) {
// admin_shipping_csv_import
if ('/jpncorp/order/shipping_csv_upload' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\CsvImportController::csvShipping', '_route' => 'admin_shipping_csv_import',);
$requiredSchemes = array ( 'https' => 0,);
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 ('/jpncorp/order/csv_template' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\CsvImportController::csvTemplate', '_route' => 'admin_shipping_csv_template',);
$requiredSchemes = array ( 'https' => 0,);
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 ('/jpncorp/order/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\EditController::index', '_route' => 'admin_order_new',);
$requiredSchemes = array ( 'https' => 0,);
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('#^/jpncorp/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,);
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, '/jpncorp/order/search')) {
if (0 === strpos($pathinfo, '/jpncorp/order/search/customer/html')) {
// admin_order_search_customer_html
if ('/jpncorp/order/search/customer/html' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\EditController::searchCustomerHtml', '_route' => 'admin_order_search_customer_html',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/order/search/customer/html/page') && preg_match('#^/jpncorp/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,);
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 ('/jpncorp/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,);
$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, '/jpncorp/order/search/product')) {
// admin_order_search_product
if ('/jpncorp/order/search/product' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\EditController::searchProduct', '_route' => 'admin_order_search_product',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/order/search/product/page') && preg_match('#^/jpncorp/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,);
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 ('/jpncorp/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,);
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('#^/jpncorp/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,);
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 ('/jpncorp/order/mail/view' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\MailController::view', '_route' => 'admin_order_mail_view',);
$requiredSchemes = array ( 'https' => 0,);
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 ('/jpncorp/order' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::index', '_route' => 'admin_order',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/order/page') && preg_match('#^/jpncorp/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,);
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 ('/jpncorp/order/bulk_delete' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::bulkDelete', '_route' => 'admin_order_bulk_delete',);
$requiredSchemes = array ( 'https' => 0,);
$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, '/jpncorp/order/export')) {
// admin_order_export_order
if ('/jpncorp/order/export/order' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::exportOrder', '_route' => 'admin_order_export_order',);
$requiredSchemes = array ( 'https' => 0,);
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 ('/jpncorp/order/export/shipping' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::exportShipping', '_route' => 'admin_order_export_shipping',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/order/export/pdf')) {
// admin_order_export_pdf
if ('/jpncorp/order/export/pdf' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::exportPdf', '_route' => 'admin_order_export_pdf',);
$requiredSchemes = array ( 'https' => 0,);
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 ('/jpncorp/order/export/pdf/download' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::exportPdfDownload', '_route' => 'admin_order_pdf_download',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/p')) {
if (0 === strpos($pathinfo, '/jpncorp/product')) {
if (0 === strpos($pathinfo, '/jpncorp/product/c')) {
if (0 === strpos($pathinfo, '/jpncorp/product/category')) {
// admin_product_category
if ('/jpncorp/product/category' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\CategoryController::index', '_route' => 'admin_product_category',);
$requiredSchemes = array ( 'https' => 0,);
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('#^/jpncorp/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,);
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('#^/jpncorp/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,);
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('#^/jpncorp/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,);
$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 ('/jpncorp/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,);
$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 ('/jpncorp/product/category/export' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\CategoryController::export', '_route' => 'admin_product_category_export',);
$requiredSchemes = array ( 'https' => 0,);
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 ('/jpncorp/product/category_csv_upload' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\CsvImportController::csvCategory', '_route' => 'admin_product_category_csv_import',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/product/class_category')) {
// admin_product_class_category
if (preg_match('#^/jpncorp/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,);
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('#^/jpncorp/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,);
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('#^/jpncorp/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,);
$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('#^/jpncorp/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,);
$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 ('/jpncorp/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,);
$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, '/jpncorp/product/class_name')) {
// admin_product_class_name
if ('/jpncorp/product/class_name' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ClassNameController::index', '_route' => 'admin_product_class_name',);
$requiredSchemes = array ( 'https' => 0,);
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('#^/jpncorp/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,);
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('#^/jpncorp/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,);
$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 ('/jpncorp/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,);
$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, '/jpncorp/product/csv_template') && preg_match('#^/jpncorp/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,);
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 ('/jpncorp/product/product_csv_upload' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\CsvImportController::csvProduct', '_route' => 'admin_product_csv_import',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/product/product/class')) {
// admin_product_product_class
if (preg_match('#^/jpncorp/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,);
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('#^/jpncorp/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,);
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:
}
// admin_product
if ('/jpncorp/product' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ProductController::index', '_route' => 'admin_product',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/product/page') && preg_match('#^/jpncorp/product/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_page']), array ( 'page_no' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Product\\ProductController::index',));
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/product/product')) {
// admin_product_image_add
if ('/jpncorp/product/product/image/add' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ProductController::addImage', '_route' => 'admin_product_image_add',);
$requiredSchemes = array ( 'https' => 0,);
$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_product_new
if ('/jpncorp/product/product/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ProductController::edit', '_route' => 'admin_product_product_new',);
$requiredSchemes = array ( 'https' => 0,);
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('#^/jpncorp/product/product/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_product_edit']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Product\\ProductController::edit',));
$requiredSchemes = array ( 'https' => 0,);
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_delete
if (preg_match('#^/jpncorp/product/product/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_product_delete']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Product\\ProductController::delete',));
$requiredSchemes = array ( 'https' => 0,);
$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('#^/jpncorp/product/product/(?P<id>\\d+)/copy$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_product_copy']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Product\\ProductController::copy',));
$requiredSchemes = array ( 'https' => 0,);
$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('#^/jpncorp/product/product/(?P<id>\\d+)/display$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_product_display']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Product\\ProductController::display',));
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/product/classes') && preg_match('#^/jpncorp/product/classes/(?P<id>\\d+)/load$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_classes_load']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ProductController::loadProductClasses',));
$requiredSchemes = array ( 'https' => 0,);
$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 ('/jpncorp/product/export' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ProductController::export', '_route' => 'admin_product_export',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/product/bulk/product-status') && preg_match('#^/jpncorp/product/bulk/product\\-status/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_bulk_product_status']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ProductController::bulkProductStatus',));
$requiredSchemes = array ( 'https' => 0,);
$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:
if (0 === strpos($pathinfo, '/jpncorp/product/tag')) {
// admin_product_tag
if ('/jpncorp/product/tag' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\TagController::index', '_route' => 'admin_product_tag',);
$requiredSchemes = array ( 'https' => 0,);
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('#^/jpncorp/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,);
$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 ('/jpncorp/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,);
$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:
}
// product_images_uploader_admin_config
if ('/jpncorp/product_images_uploader/config' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductImagesUploader\\Controller\\Admin\\ConfigController::index', '_route' => 'product_images_uploader_admin_config',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_images_uploader_admin_config;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_images_uploader_admin_config', key($requiredSchemes)));
}
return $ret;
}
not_product_images_uploader_admin_config:
}
elseif (0 === strpos($pathinfo, '/jpncorp/plugin/sales_report')) {
// sales_report_admin_term
if ('/jpncorp/plugin/sales_report/term' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\SalesReport4\\Controller\\SalesReportController::term', '_route' => 'sales_report_admin_term',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_sales_report_admin_term;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'sales_report_admin_term', key($requiredSchemes)));
}
return $ret;
}
not_sales_report_admin_term:
// sales_report_admin_product
if ('/jpncorp/plugin/sales_report/product' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\SalesReport4\\Controller\\SalesReportController::product', '_route' => 'sales_report_admin_product',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_sales_report_admin_product;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'sales_report_admin_product', key($requiredSchemes)));
}
return $ret;
}
not_sales_report_admin_product:
// sales_report_admin_age
if ('/jpncorp/plugin/sales_report/age' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\SalesReport4\\Controller\\SalesReportController::age', '_route' => 'sales_report_admin_age',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_sales_report_admin_age;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'sales_report_admin_age', key($requiredSchemes)));
}
return $ret;
}
not_sales_report_admin_age:
// sales_report_admin_export
if (0 === strpos($pathinfo, '/jpncorp/plugin/sales_report/export') && preg_match('#^/jpncorp/plugin/sales_report/export/(?P<type>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'sales_report_admin_export']), array ( '_controller' => 'Plugin\\SalesReport4\\Controller\\SalesReportController::export',));
$requiredSchemes = array ( 'https' => 0,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_sales_report_admin_export;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_sales_report_admin_export;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'sales_report_admin_export', key($requiredSchemes)));
}
return $ret;
}
not_sales_report_admin_export:
}
elseif (0 === strpos($pathinfo, '/jpncorp/plugin/SortProduct')) {
// plugin_SortProduct
if ('/jpncorp/plugin/SortProduct' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\SortProduct\\Controller\\Admin\\SortProductController::index', '_route' => 'plugin_SortProduct',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_SortProduct;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_SortProduct', key($requiredSchemes)));
}
return $ret;
}
not_plugin_SortProduct:
// sort_product_admin_config
if ('/jpncorp/plugin/SortProduct/config' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\SortProduct\\Controller\\Admin\\SortProductController::index', '_route' => 'sort_product_admin_config',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_sort_product_admin_config;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'sort_product_admin_config', key($requiredSchemes)));
}
return $ret;
}
not_sort_product_admin_config:
// plugin_SortProduct_byCategory
if (preg_match('#^/jpncorp/plugin/SortProduct(?:/(?P<categoryId>[^/]++))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_SortProduct_byCategory']), array ( 'categoryId' => NULL, '_controller' => 'Plugin\\SortProduct\\Controller\\Admin\\SortProductController::index',));
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_SortProduct_byCategory;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_SortProduct_byCategory', key($requiredSchemes)));
}
return $ret;
}
not_plugin_SortProduct_byCategory:
// plg_SortProduct_product_rank_move
if ('/jpncorp/plugin/SortProduct/rank/move' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\SortProduct\\Controller\\Admin\\SortProductController::moveRank', '_route' => 'plg_SortProduct_product_rank_move',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plg_SortProduct_product_rank_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plg_SortProduct_product_rank_move', key($requiredSchemes)));
}
return $ret;
}
not_plg_SortProduct_product_rank_move:
}
}
// admin_logout
if ('/jpncorp/logout' === $pathinfo) {
$ret = ['_route' => 'admin_logout'];
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/related_product/search/product')) {
// admin_related_product_search
if ('/jpncorp/related_product/search/product' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\RelatedProduct4\\Controller\\Admin\\RelatedProductController::searchProduct', '_route' => 'admin_related_product_search',);
$requiredSchemes = array ( 'https' => 0,);
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, '/jpncorp/related_product/search/product/page') && preg_match('#^/jpncorp/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,);
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, '/jpncorp/flash_sale')) {
if (0 === strpos($pathinfo, '/jpncorp/flash_sale/list')) {
// flash_sale_admin_list
if ('/jpncorp/flash_sale/list' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\FlashSale\\Controller\\Admin\\FlashSaleController::index', '_route' => 'flash_sale_admin_list',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_flash_sale_admin_list;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'flash_sale_admin_list', key($requiredSchemes)));
}
return $ret;
}
not_flash_sale_admin_list:
// flash_sale_admin_list_page
if (0 === strpos($pathinfo, '/jpncorp/flash_sale/list/page') && preg_match('#^/jpncorp/flash_sale/list/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'flash_sale_admin_list_page']), array ( 'page_no' => 1, '_controller' => 'Plugin\\FlashSale\\Controller\\Admin\\FlashSaleController::index',));
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_flash_sale_admin_list_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'flash_sale_admin_list_page', key($requiredSchemes)));
}
return $ret;
}
not_flash_sale_admin_list_page:
}
// flash_sale_admin_new
if ('/jpncorp/flash_sale/new' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\FlashSale\\Controller\\Admin\\FlashSaleController::edit', '_route' => 'flash_sale_admin_new',);
$requiredSchemes = array ( 'https' => 0,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['POST', 'GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST', 'GET']);
}
goto not_flash_sale_admin_new;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_flash_sale_admin_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'flash_sale_admin_new', key($requiredSchemes)));
}
return $ret;
}
not_flash_sale_admin_new:
// flash_sale_admin_edit
if (preg_match('#^/jpncorp/flash_sale/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'flash_sale_admin_edit']), array ( 'id' => NULL, '_controller' => 'Plugin\\FlashSale\\Controller\\Admin\\FlashSaleController::edit',));
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_flash_sale_admin_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'flash_sale_admin_edit', key($requiredSchemes)));
}
return $ret;
}
not_flash_sale_admin_edit:
// flash_sale_admin_get_category
if ('/jpncorp/flash_sale/get/category' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\FlashSale\\Controller\\Admin\\FlashSaleController::getCategory', '_route' => 'flash_sale_admin_get_category',);
$requiredSchemes = array ( 'https' => 0,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['GET']);
}
goto not_flash_sale_admin_get_category;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_flash_sale_admin_get_category;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'flash_sale_admin_get_category', key($requiredSchemes)));
}
return $ret;
}
not_flash_sale_admin_get_category:
// flash_sale_admin_delete
if (preg_match('#^/jpncorp/flash_sale/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'flash_sale_admin_delete']), array ( '_controller' => 'Plugin\\FlashSale\\Controller\\Admin\\FlashSaleController::delete',));
$requiredSchemes = array ( 'https' => 0,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_flash_sale_admin_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_flash_sale_admin_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'flash_sale_admin_delete', key($requiredSchemes)));
}
return $ret;
}
not_flash_sale_admin_delete:
}
elseif (0 === strpos($pathinfo, '/jpncorp/amp4')) {
// amp4_to_optimize
if ('/jpncorp/amp4/amp_to_optimize' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Amp4\\Controller\\Admin\\ConfigController::ampToOptimize', '_route' => 'amp4_to_optimize',);
$requiredSchemes = array ( 'https' => 0,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_amp4_to_optimize;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_amp4_to_optimize;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'amp4_to_optimize', key($requiredSchemes)));
}
return $ret;
}
not_amp4_to_optimize:
// amp_change_config_optimize
if ('/jpncorp/amp4/amp_change_config_optimize' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Amp4\\Controller\\Admin\\ConfigController::changeConfigOptimize', '_route' => 'amp_change_config_optimize',);
$requiredSchemes = array ( 'https' => 0,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_amp_change_config_optimize;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_amp_change_config_optimize;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'amp_change_config_optimize', key($requiredSchemes)));
}
return $ret;
}
not_amp_change_config_optimize:
// amp4_admin_config
if ('/jpncorp/amp4/config' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Amp4\\Controller\\Admin\\ConfigController::index', '_route' => 'amp4_admin_config',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_amp4_admin_config;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'amp4_admin_config', key($requiredSchemes)));
}
return $ret;
}
not_amp4_admin_config:
}
elseif (0 === strpos($pathinfo, '/jpncorp/maker')) {
// maker_admin_index
if ('/jpncorp/maker' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Maker4\\Controller\\MakerController::index', '_route' => 'maker_admin_index',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_maker_admin_index;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'maker_admin_index', key($requiredSchemes)));
}
return $ret;
}
not_maker_admin_index:
// maker_admin_delete
if (preg_match('#^/jpncorp/maker/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'maker_admin_delete']), array ( '_controller' => 'Plugin\\Maker4\\Controller\\MakerController::delete',));
$requiredSchemes = array ( 'https' => 0,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_maker_admin_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_maker_admin_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'maker_admin_delete', key($requiredSchemes)));
}
return $ret;
}
not_maker_admin_delete:
// maker_admin_move_sort_no
if ('/jpncorp/maker/move_sort_no' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Maker4\\Controller\\MakerController::moveSortNo', '_route' => 'maker_admin_move_sort_no',);
$requiredSchemes = array ( 'https' => 0,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_maker_admin_move_sort_no;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_maker_admin_move_sort_no;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'maker_admin_move_sort_no', key($requiredSchemes)));
}
return $ret;
}
not_maker_admin_move_sort_no:
}
elseif (0 === strpos($pathinfo, '/jpncorp/xss_fixer/config')) {
// xss_fixer_admin_config
if ('/jpncorp/xss_fixer/config' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\XssFixer\\Controller\\Admin\\ConfigController::index', '_route' => 'xss_fixer_admin_config',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_xss_fixer_admin_config;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'xss_fixer_admin_config', key($requiredSchemes)));
}
return $ret;
}
not_xss_fixer_admin_config:
// xss_fixer_admin_config_download
if ('/jpncorp/xss_fixer/config/download' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\XssFixer\\Controller\\Admin\\ConfigController::download', '_route' => 'xss_fixer_admin_config_download',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_xss_fixer_admin_config_download;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'xss_fixer_admin_config_download', key($requiredSchemes)));
}
return $ret;
}
not_xss_fixer_admin_config_download:
}
// gmo_epsilon4_admin_config
if ('/jpncorp/gmo_epsilon/config' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\GmoEpsilon4\\Controller\\Admin\\ConfigController::index', '_route' => 'gmo_epsilon4_admin_config',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_gmo_epsilon4_admin_config;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'gmo_epsilon4_admin_config', key($requiredSchemes)));
}
return $ret;
}
not_gmo_epsilon4_admin_config:
}
elseif (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,);
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,);
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,);
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,);
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:
}
elseif (0 === strpos($pathinfo, '/cart')) {
// cart
if ('/cart' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\CartController::index', '_route' => 'cart',);
$requiredSchemes = array ( 'https' => 0,);
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,);
$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,);
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, '/contact')) {
// contact
if ('/contact' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ContactController::index', '_route' => 'contact',);
$requiredSchemes = array ( 'https' => 0,);
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' => 'Eccube\\Controller\\ContactController::complete', '_route' => 'contact_complete',);
$requiredSchemes = array ( 'https' => 0,);
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:
}
elseif (0 === strpos($pathinfo, '/e')) {
if (0 === strpos($pathinfo, '/entry')) {
// entry
if ('/entry' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\EntryController::index', '_route' => 'entry',);
$requiredSchemes = array ( 'https' => 0,);
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' => 'Eccube\\Controller\\EntryController::complete', '_route' => 'entry_complete',);
$requiredSchemes = array ( 'https' => 0,);
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' => 'Eccube\\Controller\\EntryController::activate',));
$requiredSchemes = array ( 'https' => 0,);
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:
}
// gmo_epsilon4_receive_complete
if ('/epsilon_receive_complete' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\GmoEpsilon4\\Controller\\PaymentController::receiveComplete', '_route' => 'gmo_epsilon4_receive_complete',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_gmo_epsilon4_receive_complete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'gmo_epsilon4_receive_complete', key($requiredSchemes)));
}
return $ret;
}
not_gmo_epsilon4_receive_complete:
// gmo_epsilon4_receive_conveni_and_payeasy_complete
if ('/epsilon_receive_conveni_and_payeasy_complete' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\GmoEpsilon4\\Controller\\PaymentController::receiveConveniAndPayeasyComplete', '_route' => 'gmo_epsilon4_receive_conveni_and_payeasy_complete',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_gmo_epsilon4_receive_conveni_and_payeasy_complete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'gmo_epsilon4_receive_conveni_and_payeasy_complete', key($requiredSchemes)));
}
return $ret;
}
not_gmo_epsilon4_receive_conveni_and_payeasy_complete:
}
elseif (0 === strpos($pathinfo, '/forgot')) {
// forgot
if ('/forgot' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ForgotController::index', '_route' => 'forgot',);
$requiredSchemes = array ( 'https' => 0,);
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,);
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,);
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:
}
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,);
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,);
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,);
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,);
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,);
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,);
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,);
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,);
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,);
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,);
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,);
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,);
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/change')) {
// mypage_change
if ('/mypage/change' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Mypage\\ChangeController::index', '_route' => 'mypage_change',);
$requiredSchemes = array ( 'https' => 0,);
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' => 'Eccube\\Controller\\Mypage\\ChangeController::complete', '_route' => 'mypage_change_complete',);
$requiredSchemes = array ( 'https' => 0,);
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, '/mypage/delivery')) {
// mypage_delivery
if ('/mypage/delivery' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Mypage\\DeliveryController::index', '_route' => 'mypage_delivery',);
$requiredSchemes = array ( 'https' => 0,);
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,);
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,);
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,);
$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,);
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,);
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,);
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,);
$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,);
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,);
$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,);
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,);
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:
}
}
// mg_search_product
if ('/mgsearchproduct' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\MGSearchProduct\\Controller\\ProductController::index', '_route' => 'mg_search_product',);
$requiredSchemes = array ( 'https' => 0,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_mg_search_product;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_mg_search_product;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mg_search_product', key($requiredSchemes)));
}
return $ret;
}
not_mg_search_product:
if (0 === strpos($pathinfo, '/shopping')) {
// shopping_customer
if ('/shopping/customer' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\NonMemberShoppingController::customer', '_route' => 'shopping_customer',);
$requiredSchemes = array ( 'https' => 0,);
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,);
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,);
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,);
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,);
$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,);
$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,);
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,);
$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,);
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,);
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,);
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:
if (0 === strpos($pathinfo, '/shopping/e')) {
// shopping_error
if ('/shopping/error' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ShoppingController::error', '_route' => 'shopping_error',);
$requiredSchemes = array ( 'https' => 0,);
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:
// gmo_epsilon4_back
if ('/shopping/epsilon_payment/back' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\GmoEpsilon4\\Controller\\PaymentController::back', '_route' => 'gmo_epsilon4_back',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_gmo_epsilon4_back;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'gmo_epsilon4_back', key($requiredSchemes)));
}
return $ret;
}
not_gmo_epsilon4_back:
// gmo_epsilon4_complete
if ('/shopping/epsilon_payment/complete' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\GmoEpsilon4\\Controller\\PaymentController::complete', '_route' => 'gmo_epsilon4_complete',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_gmo_epsilon4_complete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'gmo_epsilon4_complete', key($requiredSchemes)));
}
return $ret;
}
not_gmo_epsilon4_complete:
}
// shopping_nonmember
if ('/shopping/nonmember' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\DisableNonMember4\\Controller\\NonMemberShoppingController::index', '_route' => 'shopping_nonmember',);
$requiredSchemes = array ( 'https' => 0,);
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:
}
elseif (0 === strpos($pathinfo, '/products')) {
// product_list
if ('/products/list' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ProductController::index', '_route' => 'product_list',);
$requiredSchemes = array ( 'https' => 0,);
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' => 'Eccube\\Controller\\ProductController::detail',));
$requiredSchemes = array ( 'https' => 0,);
$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' => 'Plugin\\Amp4\\Controller\\ProductController::addFavorite',));
$requiredSchemes = array ( 'https' => 0,);
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' => 'Plugin\\Amp4\\Controller\\ProductController::addCart',));
$requiredSchemes = array ( 'https' => 0,);
$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:
if (0 === strpos($pathinfo, '/products/contact')) {
// product_contact
if ('/products/contact' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductContactB\\Controller\\ProductContactController::index', '_route' => 'product_contact',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_contact;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_contact', key($requiredSchemes)));
}
return $ret;
}
not_product_contact:
// product_contact_complete
if ('/products/contact/complete' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductContactB\\Controller\\ProductContactController::complete', '_route' => 'product_contact_complete',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_contact_complete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_contact_complete', key($requiredSchemes)));
}
return $ret;
}
not_product_contact_complete:
}
}
// homepage
if ('' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'Eccube\\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,);
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:
// 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,);
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:
// logout
if ('/logout' === $pathinfo) {
$ret = ['_route' => 'logout'];
$requiredSchemes = array ( 'https' => 0,);
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 (0 === strpos($pathinfo, '/amp')) {
if (0 === strpos($pathinfo, '/amp-api')) {
// amp_api_search
if ('/amp-api/search.json' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Amp4\\Controller\\ApiController::search', '_route' => 'amp_api_search',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_amp_api_search;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'amp_api_search', key($requiredSchemes)));
}
return $ret;
}
not_amp_api_search:
// amp_api_news
if ('/amp-api/news.json' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Amp4\\Controller\\ApiController::newsJson', '_route' => 'amp_api_news',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_amp_api_news;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'amp_api_news', key($requiredSchemes)));
}
return $ret;
}
not_amp_api_news:
// amp_api_nav_item
if ('/amp-api/nav/item.json' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Amp4\\Controller\\ApiController::navItem', '_route' => 'amp_api_nav_item',);
$requiredSchemes = array ( 'https' => 0,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['GET']);
}
goto not_amp_api_nav_item;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_amp_api_nav_item;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'amp_api_nav_item', key($requiredSchemes)));
}
return $ret;
}
not_amp_api_nav_item:
if (0 === strpos($pathinfo, '/amp-api/products')) {
// amp_api_products_list_class_categories
if ('/amp-api/products/list/class_categories.json' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Amp4\\Controller\\ApiController::productsClassCategories', '_route' => 'amp_api_products_list_class_categories',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_amp_api_products_list_class_categories;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'amp_api_products_list_class_categories', key($requiredSchemes)));
}
return $ret;
}
not_amp_api_products_list_class_categories:
// amp_api_products_list
if ('/amp-api/products/list.json' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Amp4\\Controller\\ApiController::productList', '_route' => 'amp_api_products_list',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_amp_api_products_list;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'amp_api_products_list', key($requiredSchemes)));
}
return $ret;
}
not_amp_api_products_list:
if (0 === strpos($pathinfo, '/amp-api/products/detail')) {
// amp_api_class_categories
if (preg_match('#^/amp\\-api/products/detail/(?P<id>\\d+)/class_categories_json\\.json$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'amp_api_class_categories']), array ( '_controller' => 'Plugin\\Amp4\\Controller\\ApiController::classCategoriesJson',));
$requiredSchemes = array ( 'https' => 0,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['GET']);
}
goto not_amp_api_class_categories;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_amp_api_class_categories;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'amp_api_class_categories', key($requiredSchemes)));
}
return $ret;
}
not_amp_api_class_categories:
// amp_api_product_favorite_show
if (preg_match('#^/amp\\-api/products/detail/(?P<id>\\d+)/favorite_show\\.json$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'amp_api_product_favorite_show']), array ( '_controller' => 'Plugin\\Amp4\\Controller\\ApiController::productFavoriteProductShow',));
$requiredSchemes = array ( 'https' => 0,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['GET']);
}
goto not_amp_api_product_favorite_show;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_amp_api_product_favorite_show;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'amp_api_product_favorite_show', key($requiredSchemes)));
}
return $ret;
}
not_amp_api_product_favorite_show:
}
}
// amp_api_cart_list
if ('/amp-api/cart/list.json' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Amp4\\Controller\\ApiController::cardListJson', '_route' => 'amp_api_cart_list',);
$requiredSchemes = array ( 'https' => 0,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['GET']);
}
goto not_amp_api_cart_list;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_amp_api_cart_list;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'amp_api_cart_list', key($requiredSchemes)));
}
return $ret;
}
not_amp_api_cart_list:
}
elseif (0 === strpos($pathinfo, '/amp/help')) {
// amp_help_tradelaw
if ('/amp/help/tradelaw' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Amp4\\Controller\\HelpController::tradelaw', '_route' => 'amp_help_tradelaw',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_amp_help_tradelaw;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'amp_help_tradelaw', key($requiredSchemes)));
}
return $ret;
}
not_amp_help_tradelaw:
// amp_help_about
if ('/amp/help/about' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Amp4\\Controller\\HelpController::about', '_route' => 'amp_help_about',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_amp_help_about;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'amp_help_about', key($requiredSchemes)));
}
return $ret;
}
not_amp_help_about:
// amp_help_agreement
if ('/amp/help/agreement' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Amp4\\Controller\\HelpController::agreement', '_route' => 'amp_help_agreement',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_amp_help_agreement;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'amp_help_agreement', key($requiredSchemes)));
}
return $ret;
}
not_amp_help_agreement:
// amp_help_privacy
if ('/amp/help/privacy' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Amp4\\Controller\\HelpController::privacy', '_route' => 'amp_help_privacy',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_amp_help_privacy;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'amp_help_privacy', key($requiredSchemes)));
}
return $ret;
}
not_amp_help_privacy:
}
// amp_help_guide
if ('/amp/guide' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Amp4\\Controller\\HelpController::guide', '_route' => 'amp_help_guide',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_amp_help_guide;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'amp_help_guide', key($requiredSchemes)));
}
return $ret;
}
not_amp_help_guide:
// amp_product_list
if ('/amp/products/list' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Amp4\\Controller\\ProductController::index', '_route' => 'amp_product_list',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_amp_product_list;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'amp_product_list', key($requiredSchemes)));
}
return $ret;
}
not_amp_product_list:
// amp_product_detail
if (0 === strpos($pathinfo, '/amp/products/detail') && preg_match('#^/amp/products/detail/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'amp_product_detail']), array ( '_controller' => 'Plugin\\Amp4\\Controller\\ProductController::detail',));
$requiredSchemes = array ( 'https' => 0,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['GET']);
}
goto not_amp_product_detail;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_amp_product_detail;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'amp_product_detail', key($requiredSchemes)));
}
return $ret;
}
not_amp_product_detail:
// amp_homepage
if ('/amp' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'Plugin\\Amp4\\Controller\\TopController::index', '_route' => 'amp_homepage',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_amp_homepage;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'amp_homepage'));
}
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_amp_homepage;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'amp_homepage', key($requiredSchemes)));
}
return $ret;
}
not_amp_homepage:
if (0 === strpos($pathinfo, '/amp-sw')) {
// amp_sw
if ('/amp-sw' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Amp4\\Controller\\TopController::sw', '_route' => 'amp_sw',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_amp_sw;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'amp_sw', key($requiredSchemes)));
}
return $ret;
}
not_amp_sw:
// amp_sw_js
if ('/amp-sw-js' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Amp4\\Controller\\TopController::swJs', '_route' => 'amp_sw_js',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_amp_sw_js;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'amp_sw_js', key($requiredSchemes)));
}
return $ret;
}
not_amp_sw_js:
}
// amp_manifest
if ('/amp-manifest/manifest.json' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Amp4\\Controller\\TopController::manifestJson', '_route' => 'amp_manifest',);
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_amp_manifest;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'amp_manifest', key($requiredSchemes)));
}
return $ret;
}
not_amp_manifest:
// amp_user_data
if (0 === strpos($pathinfo, '/amp/user_data') && preg_match('#^/amp/user_data/(?P<route>([0-9a-zA-Z_\\-]+\\/?)+(?<!\\/))$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'amp_user_data']), array ( '_controller' => 'Plugin\\Amp4\\Controller\\UserDataController::index',));
$requiredSchemes = array ( 'https' => 0,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_amp_user_data;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'amp_user_data', key($requiredSchemes)));
}
return $ret;
}
not_amp_user_data:
}
if ('/' === $pathinfo && !$allow) {
throw new Symfony\Component\Routing\Exception\NoConfigurationException();
}
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}