<?php
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;
/**
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class EccubeDevDebugProjectContainerUrlMatcher extends Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher
{
public function __construct(RequestContext $context)
{
$this->context = $context;
}
public function match($rawPathinfo)
{
$allow = [];
$pathinfo = rawurldecode($rawPathinfo);
$trimmedPathinfo = rtrim($pathinfo, '/');
$context = $this->context;
$request = $this->request ?: $this->createRequest($pathinfo);
$requestMethod = $canonicalMethod = $context->getMethod();
if ('HEAD' === $requestMethod) {
$canonicalMethod = 'GET';
}
if (0 === strpos($pathinfo, '/_')) {
// _twig_error_test
if (0 === strpos($pathinfo, '/_error') && preg_match('#^/_error/(?P<code>\\d+)(?:\\.(?P<_format>[^/]++))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => '_twig_error_test']), array ( '_controller' => 'twig.controller.preview_error:previewErrorPageAction', '_format' => 'html',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__twig_error_test;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_twig_error_test', key($requiredSchemes)));
}
return $ret;
}
not__twig_error_test:
// _wdt
if (0 === strpos($pathinfo, '/_wdt') && preg_match('#^/_wdt/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => '_wdt']), array ( '_controller' => 'web_profiler.controller.profiler:toolbarAction',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__wdt;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_wdt', key($requiredSchemes)));
}
return $ret;
}
not__wdt:
if (0 === strpos($pathinfo, '/_profiler')) {
// _profiler_home
if ('/_profiler' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'web_profiler.controller.profiler:homeAction', '_route' => '_profiler_home',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not__profiler_home;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', '_profiler_home'));
}
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__profiler_home;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_profiler_home', key($requiredSchemes)));
}
return $ret;
}
not__profiler_home:
if (0 === strpos($pathinfo, '/_profiler/search')) {
// _profiler_search
if ('/_profiler/search' === $pathinfo) {
$ret = array ( '_controller' => 'web_profiler.controller.profiler:searchAction', '_route' => '_profiler_search',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__profiler_search;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_profiler_search', key($requiredSchemes)));
}
return $ret;
}
not__profiler_search:
// _profiler_search_bar
if ('/_profiler/search_bar' === $pathinfo) {
$ret = array ( '_controller' => 'web_profiler.controller.profiler:searchBarAction', '_route' => '_profiler_search_bar',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__profiler_search_bar;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_profiler_search_bar', key($requiredSchemes)));
}
return $ret;
}
not__profiler_search_bar:
}
// _profiler_phpinfo
if ('/_profiler/phpinfo' === $pathinfo) {
$ret = array ( '_controller' => 'web_profiler.controller.profiler:phpinfoAction', '_route' => '_profiler_phpinfo',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__profiler_phpinfo;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_profiler_phpinfo', key($requiredSchemes)));
}
return $ret;
}
not__profiler_phpinfo:
// _profiler_search_results
if (preg_match('#^/_profiler/(?P<token>[^/]++)/search/results$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_search_results']), array ( '_controller' => 'web_profiler.controller.profiler:searchResultsAction',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__profiler_search_results;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_profiler_search_results', key($requiredSchemes)));
}
return $ret;
}
not__profiler_search_results:
// _profiler_open_file
if ('/_profiler/open' === $pathinfo) {
$ret = array ( '_controller' => 'web_profiler.controller.profiler:openAction', '_route' => '_profiler_open_file',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__profiler_open_file;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_profiler_open_file', key($requiredSchemes)));
}
return $ret;
}
not__profiler_open_file:
// _profiler
if (preg_match('#^/_profiler/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler']), array ( '_controller' => 'web_profiler.controller.profiler:panelAction',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__profiler;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_profiler', key($requiredSchemes)));
}
return $ret;
}
not__profiler:
// _profiler_router
if (preg_match('#^/_profiler/(?P<token>[^/]++)/router$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_router']), array ( '_controller' => 'web_profiler.controller.router:panelAction',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__profiler_router;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_profiler_router', key($requiredSchemes)));
}
return $ret;
}
not__profiler_router:
// _profiler_exception
if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_exception']), array ( '_controller' => 'web_profiler.controller.exception:showAction',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__profiler_exception;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_profiler_exception', key($requiredSchemes)));
}
return $ret;
}
not__profiler_exception:
// _profiler_exception_css
if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception\\.css$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_exception_css']), array ( '_controller' => 'web_profiler.controller.exception:cssAction',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not__profiler_exception_css;
}
return array_replace($ret, $this->redirect($rawPathinfo, '_profiler_exception_css', key($requiredSchemes)));
}
return $ret;
}
not__profiler_exception_css:
}
}
elseif (0 === strpos($pathinfo, '/admini')) {
// admin_login
if ('/admini/login' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\AdminController::login', '_route' => 'admin_login',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_login;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_login', key($requiredSchemes)));
}
return $ret;
}
not_admin_login:
// admin_homepage
if ('/admini' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\AdminController::index', '_route' => 'admin_homepage',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_admin_homepage;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'admin_homepage'));
}
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_homepage;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_homepage', key($requiredSchemes)));
}
return $ret;
}
not_admin_homepage:
if (0 === strpos($pathinfo, '/admini/s')) {
// admin_homepage_sale
if ('/admini/sale_chart' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\AdminController::sale', '_route' => 'admin_homepage_sale',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_homepage_sale;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_homepage_sale', key($requiredSchemes)));
}
return $ret;
}
not_admin_homepage_sale:
if (0 === strpos($pathinfo, '/admini/se')) {
// admin_homepage_nonstock
if ('/admini/search_nonstock' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\AdminController::searchNonStockProducts', '_route' => 'admin_homepage_nonstock',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_homepage_nonstock;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_homepage_nonstock', key($requiredSchemes)));
}
return $ret;
}
not_admin_homepage_nonstock:
// admin_homepage_customer
if ('/admini/search_customer' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\AdminController::searchCustomer', '_route' => 'admin_homepage_customer',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_homepage_customer;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_homepage_customer', key($requiredSchemes)));
}
return $ret;
}
not_admin_homepage_customer:
if (0 === strpos($pathinfo, '/admini/setting/shop')) {
// admin_setting_shop_csv
if (0 === strpos($pathinfo, '/admini/setting/shop/csv') && preg_match('#^/admini/setting/shop/csv(?:/(?P<id>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_shop_csv']), array ( 'id' => 3, '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\CsvController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_csv;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_csv', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_csv:
if (0 === strpos($pathinfo, '/admini/setting/shop/delivery')) {
// admin_setting_shop_delivery
if ('/admini/setting/shop/delivery' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\DeliveryController::index', '_route' => 'admin_setting_shop_delivery',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_delivery;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_delivery', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_delivery:
// admin_setting_shop_delivery_new
if ('/admini/setting/shop/delivery/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\DeliveryController::edit', '_route' => 'admin_setting_shop_delivery_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_delivery_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_delivery_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_delivery_new:
// admin_setting_shop_delivery_edit
if (preg_match('#^/admini/setting/shop/delivery/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_shop_delivery_edit']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\DeliveryController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_delivery_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_delivery_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_delivery_edit:
// admin_setting_shop_delivery_delete
if (preg_match('#^/admini/setting/shop/delivery/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_shop_delivery_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\DeliveryController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_setting_shop_delivery_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_delivery_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_delivery_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_delivery_delete:
// admin_setting_shop_delivery_visibility
if (preg_match('#^/admini/setting/shop/delivery/(?P<id>\\d+)/visibility$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_shop_delivery_visibility']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\DeliveryController::visibility',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['PUT'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT']);
}
goto not_admin_setting_shop_delivery_visibility;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_delivery_visibility;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_delivery_visibility', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_delivery_visibility:
// admin_setting_shop_delivery_sort_no_move
if ('/admini/setting/shop/delivery/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\DeliveryController::moveSortNo', '_route' => 'admin_setting_shop_delivery_sort_no_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_setting_shop_delivery_sort_no_move;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_delivery_sort_no_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_delivery_sort_no_move', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_delivery_sort_no_move:
}
elseif (0 === strpos($pathinfo, '/admini/setting/shop/mail')) {
// admin_setting_shop_mail
if ('/admini/setting/shop/mail' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\MailController::index', '_route' => 'admin_setting_shop_mail',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_mail;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_mail', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_mail:
// admin_setting_shop_mail_edit
if (preg_match('#^/admini/setting/shop/mail/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_shop_mail_edit']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\MailController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_mail_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_mail_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_mail_edit:
// admin_setting_shop_mail_preview
if ('/admini/setting/shop/mail/preview' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\MailController::preview', '_route' => 'admin_setting_shop_mail_preview',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_mail_preview;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_mail_preview', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_mail_preview:
}
elseif (0 === strpos($pathinfo, '/admini/setting/shop/payment')) {
// admin_setting_shop_payment
if ('/admini/setting/shop/payment' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\PaymentController::index', '_route' => 'admin_setting_shop_payment',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_payment;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_payment', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_payment:
// admin_setting_shop_payment_new
if ('/admini/setting/shop/payment/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\PaymentController::edit', '_route' => 'admin_setting_shop_payment_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_payment_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_payment_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_payment_new:
// admin_setting_shop_payment_edit
if (preg_match('#^/admini/setting/shop/payment/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_shop_payment_edit']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\PaymentController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_payment_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_payment_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_payment_edit:
// admin_payment_image_add
if ('/admini/setting/shop/payment/image/add' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\PaymentController::imageAdd', '_route' => 'admin_payment_image_add',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_payment_image_add;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_payment_image_add', key($requiredSchemes)));
}
return $ret;
}
not_admin_payment_image_add:
// admin_setting_shop_payment_delete
if (preg_match('#^/admini/setting/shop/payment/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_shop_payment_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\PaymentController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_setting_shop_payment_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_payment_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_payment_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_payment_delete:
// admin_setting_shop_payment_visible
if (preg_match('#^/admini/setting/shop/payment/(?P<id>\\d+)/visible$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_shop_payment_visible']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\PaymentController::visible',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['PUT'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT']);
}
goto not_admin_setting_shop_payment_visible;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_payment_visible;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_payment_visible', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_payment_visible:
// admin_setting_shop_payment_sort_no_move
if ('/admini/setting/shop/payment/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\PaymentController::moveSortNo', '_route' => 'admin_setting_shop_payment_sort_no_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_setting_shop_payment_sort_no_move;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_payment_sort_no_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_payment_sort_no_move', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_payment_sort_no_move:
}
// admin_setting_shop
if ('/admini/setting/shop' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\ShopController::index', '_route' => 'admin_setting_shop',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop:
if (0 === strpos($pathinfo, '/admini/setting/shop/tax')) {
// admin_setting_shop_tax
if ('/admini/setting/shop/tax' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\TaxRuleController::index', '_route' => 'admin_setting_shop_tax',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_tax;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_tax', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_tax:
// admin_setting_shop_tax_new
if ('/admini/setting/shop/tax/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\TaxRuleController::index', '_route' => 'admin_setting_shop_tax_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_tax_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_tax_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_tax_new:
// admin_setting_shop_tax_delete
if (preg_match('#^/admini/setting/shop/tax/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_shop_tax_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\Shop\\TaxRuleController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_setting_shop_tax_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_shop_tax_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_shop_tax_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_shop_tax_delete:
}
}
elseif (0 === strpos($pathinfo, '/admini/setting/system')) {
// admin_setting_system_authority
if ('/admini/setting/system/authority' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\AuthorityController::index', '_route' => 'admin_setting_system_authority',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_authority;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_authority', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_authority:
// admin_setting_system_log
if ('/admini/setting/system/log' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\LogController::index', '_route' => 'admin_setting_system_log',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_log;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_log', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_log:
if (0 === strpos($pathinfo, '/admini/setting/system/masterdata')) {
// admin_setting_system_masterdata
if ('/admini/setting/system/masterdata' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\MasterdataController::index', '_route' => 'admin_setting_system_masterdata',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_masterdata;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_masterdata', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_masterdata:
// admin_setting_system_masterdata_view
if (preg_match('#^/admini/setting/system/masterdata/(?P<entity>[^/]++)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_system_masterdata_view']), array ( 'entity' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\MasterdataController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_masterdata_view;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_masterdata_view', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_masterdata_view:
// admin_setting_system_masterdata_edit
if ('/admini/setting/system/masterdata/edit' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\MasterdataController::edit', '_route' => 'admin_setting_system_masterdata_edit',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_masterdata_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_masterdata_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_masterdata_edit:
}
elseif (0 === strpos($pathinfo, '/admini/setting/system/member')) {
// admin_setting_system_member
if ('/admini/setting/system/member' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\MemberController::index', '_route' => 'admin_setting_system_member',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_member;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_member', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_member:
// admin_setting_system_member_new
if ('/admini/setting/system/member/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\MemberController::create', '_route' => 'admin_setting_system_member_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_member_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_member_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_member_new:
// admin_setting_system_member_edit
if (preg_match('#^/admini/setting/system/member/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_system_member_edit']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\MemberController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_member_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_member_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_member_edit:
// admin_setting_system_member_up
if (preg_match('#^/admini/setting/system/member/(?P<id>\\d+)/up$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_system_member_up']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\MemberController::up',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['PUT'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT']);
}
goto not_admin_setting_system_member_up;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_member_up;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_member_up', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_member_up:
// admin_setting_system_member_down
if (preg_match('#^/admini/setting/system/member/(?P<id>\\d+)/down$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_system_member_down']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\MemberController::down',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['PUT'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT']);
}
goto not_admin_setting_system_member_down;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_member_down;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_member_down', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_member_down:
// admin_setting_system_member_delete
if (preg_match('#^/admini/setting/system/member/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_setting_system_member_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\MemberController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_setting_system_member_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_member_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_member_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_member_delete:
}
// admin_setting_system_security
if ('/admini/setting/system/security' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\SecurityController::index', '_route' => 'admin_setting_system_security',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_security;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_security', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_security:
if (0 === strpos($pathinfo, '/admini/setting/system/system')) {
// admin_setting_system_system
if ('/admini/setting/system/system' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\SystemController::index', '_route' => 'admin_setting_system_system',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_system;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_system', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_system:
// admin_setting_system_system_phpinfo
if ('/admini/setting/system/system/phpinfo' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Setting\\System\\SystemController::phpinfo', '_route' => 'admin_setting_system_system_phpinfo',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_setting_system_system_phpinfo;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_setting_system_system_phpinfo', key($requiredSchemes)));
}
return $ret;
}
not_admin_setting_system_system_phpinfo:
}
}
}
elseif (0 === strpos($pathinfo, '/admini/shipping')) {
// admin_shipping_update_order_status
if (preg_match('#^/admini/shipping/(?P<id>\\d+)/order_status$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_shipping_update_order_status']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::updateOrderStatus',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['PUT'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT']);
}
goto not_admin_shipping_update_order_status;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_shipping_update_order_status;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_shipping_update_order_status', key($requiredSchemes)));
}
return $ret;
}
not_admin_shipping_update_order_status:
// admin_shipping_update_tracking_number
if (preg_match('#^/admini/shipping/(?P<id>\\d+)/tracking_number$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_shipping_update_tracking_number']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::updateTrackingNumber',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['PUT'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT']);
}
goto not_admin_shipping_update_tracking_number;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_shipping_update_tracking_number;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_shipping_update_tracking_number', key($requiredSchemes)));
}
return $ret;
}
not_admin_shipping_update_tracking_number:
// admin_shipping_edit
if (preg_match('#^/admini/shipping/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_shipping_edit']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\ShippingController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_shipping_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_shipping_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_shipping_edit:
if (0 === strpos($pathinfo, '/admini/shipping/preview_notify_mail')) {
// admin_shipping_preview_notify_mail
if (preg_match('#^/admini/shipping/preview_notify_mail/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_shipping_preview_notify_mail']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\ShippingController::previewShippingNotifyMail',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_shipping_preview_notify_mail;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_shipping_preview_notify_mail', key($requiredSchemes)));
}
return $ret;
}
not_admin_shipping_preview_notify_mail:
// admin_shipping_preview_notify_mail_with_option
if (0 === strpos($pathinfo, '/admini/shipping/preview_notify_mail_with_option') && preg_match('#^/admini/shipping/preview_notify_mail_with_option/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_shipping_preview_notify_mail_with_option']), array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\ProductOptionController::previewShippingNotifyMail',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_shipping_preview_notify_mail_with_option;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_shipping_preview_notify_mail_with_option', key($requiredSchemes)));
}
return $ret;
}
not_admin_shipping_preview_notify_mail_with_option:
}
elseif (0 === strpos($pathinfo, '/admini/shipping/notify_mail')) {
// admin_shipping_notify_mail
if (preg_match('#^/admini/shipping/notify_mail/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_shipping_notify_mail']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\ShippingController::notifyMail',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['PUT'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT']);
}
goto not_admin_shipping_notify_mail;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_shipping_notify_mail;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_shipping_notify_mail', key($requiredSchemes)));
}
return $ret;
}
not_admin_shipping_notify_mail:
// admin_shipping_notify_mail_with_option
if (0 === strpos($pathinfo, '/admini/shipping/notify_mail_with_option') && preg_match('#^/admini/shipping/notify_mail_with_option/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_shipping_notify_mail_with_option']), array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\ProductOptionController::notifyMail',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['PUT'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT']);
}
goto not_admin_shipping_notify_mail_with_option;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_shipping_notify_mail_with_option;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_shipping_notify_mail_with_option', key($requiredSchemes)));
}
return $ret;
}
not_admin_shipping_notify_mail_with_option:
}
// shipping_address_max_admin_config
if ('/admini/shipping_address_max/config' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ShippingAddressMax\\Controller\\ConfigController::index', '_route' => 'shipping_address_max_admin_config',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_shipping_address_max_admin_config;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shipping_address_max_admin_config', key($requiredSchemes)));
}
return $ret;
}
not_shipping_address_max_admin_config:
}
// se_share_button4_admin_config
if ('/admini/share_button/config' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\SeShareButton4\\Controller\\Admin\\ConfigController::index', '_route' => 'se_share_button4_admin_config',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_se_share_button4_admin_config;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'se_share_button4_admin_config', key($requiredSchemes)));
}
return $ret;
}
not_se_share_button4_admin_config:
if (0 === strpos($pathinfo, '/admini/st')) {
if (0 === strpos($pathinfo, '/admini/store/plugin')) {
if (0 === strpos($pathinfo, '/admini/store/plugin/api')) {
if (0 === strpos($pathinfo, '/admini/store/plugin/api/search')) {
// admin_store_plugin_owners_search
if ('/admini/store/plugin/api/search' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\OwnerStoreController::search', '_route' => 'admin_store_plugin_owners_search',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_owners_search;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_owners_search', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_owners_search:
// admin_store_plugin_owners_search_page
if (0 === strpos($pathinfo, '/admini/store/plugin/api/search/page') && preg_match('#^/admini/store/plugin/api/search/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_store_plugin_owners_search_page']), array ( 'page_no' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Store\\OwnerStoreController::search',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_owners_search_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_owners_search_page', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_owners_search_page:
}
// admin_store_plugin_api_schema_update
if ('/admini/store/plugin/api/schema_update' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\OwnerStoreController::apiSchemaUpdate', '_route' => 'admin_store_plugin_api_schema_update',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_store_plugin_api_schema_update;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_api_schema_update;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_api_schema_update', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_api_schema_update:
if (0 === strpos($pathinfo, '/admini/store/plugin/api/install')) {
// admin_store_plugin_install_confirm
if (preg_match('#^/admini/store/plugin/api/install/(?P<id>\\d+)/confirm$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_store_plugin_install_confirm']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\OwnerStoreController::doConfirm',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_install_confirm;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_install_confirm', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_install_confirm:
// admin_store_plugin_api_install
if ('/admini/store/plugin/api/install' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\OwnerStoreController::apiInstall', '_route' => 'admin_store_plugin_api_install',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_store_plugin_api_install;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_api_install;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_api_install', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_api_install:
}
// admin_store_plugin_api_uninstall
if (0 === strpos($pathinfo, '/admini/store/plugin/api/delete') && preg_match('#^/admini/store/plugin/api/delete/(?P<id>\\d+)/uninstall$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_store_plugin_api_uninstall']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\OwnerStoreController::apiUninstall',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_store_plugin_api_uninstall;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_api_uninstall;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_api_uninstall', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_api_uninstall:
if (0 === strpos($pathinfo, '/admini/store/plugin/api/upgrade')) {
// admin_store_plugin_api_upgrade
if ('/admini/store/plugin/api/upgrade' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\OwnerStoreController::apiUpgrade', '_route' => 'admin_store_plugin_api_upgrade',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_store_plugin_api_upgrade;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_api_upgrade;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_api_upgrade', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_api_upgrade:
// admin_store_plugin_update_confirm
if (preg_match('#^/admini/store/plugin/api/upgrade/(?P<id>\\d+)/confirm$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_store_plugin_update_confirm']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\OwnerStoreController::doUpdateConfirm',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_update_confirm;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_update_confirm', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_update_confirm:
}
// admin_store_plugin_api_update
if ('/admini/store/plugin/api/update' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\OwnerStoreController::apiUpdate', '_route' => 'admin_store_plugin_api_update',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_store_plugin_api_update;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_api_update;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_api_update', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_api_update:
}
// admin_store_plugin
if ('/admini/store/plugin' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\PluginController::index', '_route' => 'admin_store_plugin',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin:
// admin_store_plugin_update
if (preg_match('#^/admini/store/plugin/(?P<id>\\d+)/update$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_store_plugin_update']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\PluginController::update',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_store_plugin_update;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_update;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_update', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_update:
// admin_store_plugin_enable
if (preg_match('#^/admini/store/plugin/(?P<id>\\d+)/enable$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_store_plugin_enable']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\PluginController::enable',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_store_plugin_enable;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_enable;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_enable', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_enable:
// admin_store_plugin_disable
if (preg_match('#^/admini/store/plugin/(?P<id>\\d+)/disable$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_store_plugin_disable']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\PluginController::disable',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_store_plugin_disable;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_disable;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_disable', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_disable:
// admin_store_plugin_uninstall
if (preg_match('#^/admini/store/plugin/(?P<id>\\d+)/uninstall$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_store_plugin_uninstall']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\PluginController::uninstall',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_store_plugin_uninstall;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_uninstall;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_uninstall', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_uninstall:
// admin_store_plugin_install
if ('/admini/store/plugin/install' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\PluginController::install', '_route' => 'admin_store_plugin_install',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_plugin_install;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_plugin_install', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_plugin_install:
// admin_store_authentication_setting
if ('/admini/store/plugin/authentication_setting' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\PluginController::authenticationSetting', '_route' => 'admin_store_authentication_setting',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_authentication_setting;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_authentication_setting', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_authentication_setting:
}
elseif (0 === strpos($pathinfo, '/admini/store/template')) {
// admin_store_template
if ('/admini/store/template' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\TemplateController::index', '_route' => 'admin_store_template',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_template;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_template', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_template:
// admin_store_template_download
if (preg_match('#^/admini/store/template/(?P<id>\\d+)/download$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_store_template_download']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\TemplateController::download',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_template_download;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_template_download', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_template_download:
// admin_store_template_delete
if (preg_match('#^/admini/store/template/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_store_template_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\TemplateController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_store_template_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_template_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_template_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_template_delete:
// admin_store_template_install
if ('/admini/store/template/install' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Store\\TemplateController::install', '_route' => 'admin_store_template_install',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_store_template_install;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_store_template_install', key($requiredSchemes)));
}
return $ret;
}
not_admin_store_template_install:
}
elseif (0 === strpos($pathinfo, '/admini/stripe_payment_gateway')) {
if (0 === strpos($pathinfo, '/admini/stripe_payment_gateway/config')) {
// stripe_payment_gateway_admin_config
if ('/admini/stripe_payment_gateway/config' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\StripePaymentGateway\\Controller\\Admin\\ConfigController::index', '_route' => 'stripe_payment_gateway_admin_config',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_stripe_payment_gateway_admin_config;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'stripe_payment_gateway_admin_config', key($requiredSchemes)));
}
return $ret;
}
not_stripe_payment_gateway_admin_config:
// stripe_payment_gateway_admin_test_config
if ('/admini/stripe_payment_gateway/config/test' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\StripePaymentGateway\\Controller\\Admin\\ConfigController::testEnvSetting', '_route' => 'stripe_payment_gateway_admin_test_config',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_stripe_payment_gateway_admin_test_config;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'stripe_payment_gateway_admin_test_config', key($requiredSchemes)));
}
return $ret;
}
not_stripe_payment_gateway_admin_test_config:
}
// stripe_payment_gateway_admin_log
if ('/admini/stripe_payment_gateway/log' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\StripePaymentGateway\\Controller\\Admin\\LogController::index', '_route' => 'stripe_payment_gateway_admin_log',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_stripe_payment_gateway_admin_log;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'stripe_payment_gateway_admin_log', key($requiredSchemes)));
}
return $ret;
}
not_stripe_payment_gateway_admin_log:
// stripe_payment_gateway_admin_log_page
if (0 === strpos($pathinfo, '/admini/stripe_payment_gateway/page') && preg_match('#^/admini/stripe_payment_gateway/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'stripe_payment_gateway_admin_log_page']), array ( 'page_no' => NULL, '_controller' => 'Plugin\\StripePaymentGateway\\Controller\\Admin\\LogController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_stripe_payment_gateway_admin_log_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'stripe_payment_gateway_admin_log_page', key($requiredSchemes)));
}
return $ret;
}
not_stripe_payment_gateway_admin_log_page:
if (0 === strpos($pathinfo, '/admini/stripe_payment_gateway/order_payment')) {
// stripe_payment_gateway_admin_order_capture
if (preg_match('#^/admini/stripe_payment_gateway/order_payment/(?P<id>\\d+)/capture_transaction$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'stripe_payment_gateway_admin_order_capture']), array ( 'id' => NULL, '_controller' => 'Plugin\\StripePaymentGateway\\Controller\\Admin\\OrderController::charge',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_stripe_payment_gateway_admin_order_capture;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'stripe_payment_gateway_admin_order_capture', key($requiredSchemes)));
}
return $ret;
}
not_stripe_payment_gateway_admin_order_capture:
// stripe_payment_gateway_admin_order_refund
if (preg_match('#^/admini/stripe_payment_gateway/order_payment/(?P<id>\\d+)/refund_transaction$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'stripe_payment_gateway_admin_order_refund']), array ( 'id' => NULL, '_controller' => 'Plugin\\StripePaymentGateway\\Controller\\Admin\\OrderController::refund',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_stripe_payment_gateway_admin_order_refund;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'stripe_payment_gateway_admin_order_refund', key($requiredSchemes)));
}
return $ret;
}
not_stripe_payment_gateway_admin_order_refund:
}
}
}
// ss_next_admin_config
if ('/admini/ss/next/config' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\SSNext\\Controller\\Admin\\ConfigController::index', '_route' => 'ss_next_admin_config',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_ss_next_admin_config;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'ss_next_admin_config', key($requiredSchemes)));
}
return $ret;
}
not_ss_next_admin_config:
if (0 === strpos($pathinfo, '/admini/sku-op')) {
// product_skuop
if ('/admini/sku-op' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\SkuOpController::index', '_route' => 'product_skuop',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_skuop;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_skuop', key($requiredSchemes)));
}
return $ret;
}
not_product_skuop:
// admin_product_page_skuop
if (0 === strpos($pathinfo, '/admini/sku-op/page') && preg_match('#^/admini/sku\\-op/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_page_skuop']), array ( 'page_no' => NULL, '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\SkuOpController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_page_skuop;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_page_skuop', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_page_skuop:
}
}
elseif (0 === strpos($pathinfo, '/admini/c')) {
// admin_change_password
if ('/admini/change_password' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\AdminController::changePassword', '_route' => 'admin_change_password',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_change_password;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_change_password', key($requiredSchemes)));
}
return $ret;
}
not_admin_change_password:
if (0 === strpos($pathinfo, '/admini/content')) {
if (0 === strpos($pathinfo, '/admini/content/block')) {
// admin_content_block
if ('/admini/content/block' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\BlockController::index', '_route' => 'admin_content_block',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_block;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_block', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_block:
// admin_content_block_new
if ('/admini/content/block/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\BlockController::edit', '_route' => 'admin_content_block_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_block_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_block_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_block_new:
// admin_content_block_edit
if (preg_match('#^/admini/content/block/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_block_edit']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Content\\BlockController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_block_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_block_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_block_edit:
// admin_content_block_delete
if (preg_match('#^/admini/content/block/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_block_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\BlockController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_content_block_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_block_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_block_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_block_delete:
}
// admin_content_cache
if ('/admini/content/cache' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\CacheController::index', '_route' => 'admin_content_cache',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_cache;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_cache', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_cache:
// admin_content_css
if ('/admini/content/css' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\CssController::index', '_route' => 'admin_content_css',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_css;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_css', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_css:
if (0 === strpos($pathinfo, '/admini/content/file_')) {
// admin_content_file
if ('/admini/content/file_manager' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\FileController::index', '_route' => 'admin_content_file',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_file;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_file', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_file:
// admin_content_file_view
if ('/admini/content/file_view' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\FileController::view', '_route' => 'admin_content_file_view',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_file_view;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_file_view', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_file_view:
// admin_content_file_delete
if ('/admini/content/file_delete' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\FileController::delete', '_route' => 'admin_content_file_delete',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_content_file_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_file_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_file_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_file_delete:
// admin_content_file_download
if ('/admini/content/file_download' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\FileController::download', '_route' => 'admin_content_file_download',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_file_download;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_file_download', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_file_download:
}
// admin_content_js
if ('/admini/content/js' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\JsController::index', '_route' => 'admin_content_js',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_js;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_js', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_js:
if (0 === strpos($pathinfo, '/admini/content/layout')) {
// admin_content_layout
if ('/admini/content/layout' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\LayoutController::index', '_route' => 'admin_content_layout',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_layout;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_layout', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_layout:
// admin_content_layout_delete
if (preg_match('#^/admini/content/layout/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_layout_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\LayoutController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_content_layout_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_layout_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_layout_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_layout_delete:
// admin_content_layout_new
if ('/admini/content/layout/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\LayoutController::edit', '_route' => 'admin_content_layout_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_layout_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_layout_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_layout_new:
// admin_content_layout_edit
if (preg_match('#^/admini/content/layout/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_layout_edit']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Content\\LayoutController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_layout_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_layout_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_layout_edit:
// admin_content_layout_view_block
if ('/admini/content/layout/view_block' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\LayoutController::viewBlock', '_route' => 'admin_content_layout_view_block',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['GET']);
}
goto not_admin_content_layout_view_block;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_layout_view_block;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_layout_view_block', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_layout_view_block:
// admin_content_layout_preview
if (preg_match('#^/admini/content/layout/(?P<id>\\d+)/preview$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_layout_preview']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\LayoutController::preview',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_layout_preview;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_layout_preview', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_layout_preview:
}
// admin_content_maintenance
if ('/admini/content/maintenance' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\MaintenanceController::index', '_route' => 'admin_content_maintenance',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_maintenance;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_maintenance', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_maintenance:
if (0 === strpos($pathinfo, '/admini/content/news')) {
// admin_content_news
if ('/admini/content/news' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\NewsController::index', '_route' => 'admin_content_news',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_news;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_news', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_news:
// admin_content_news_page
if (0 === strpos($pathinfo, '/admini/content/news/page') && preg_match('#^/admini/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, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_news_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_news_page', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_news_page:
// admin_content_news_new
if ('/admini/content/news/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\NewsController::edit', '_route' => 'admin_content_news_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_news_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_news_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_news_new:
// admin_content_news_edit
if (preg_match('#^/admini/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, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_news_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_news_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_news_edit:
// admin_content_news_delete
if (preg_match('#^/admini/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, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_content_news_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_news_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_news_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_news_delete:
}
elseif (0 === strpos($pathinfo, '/admini/content/page')) {
// admin_content_page
if ('/admini/content/page' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\PageController::index', '_route' => 'admin_content_page',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_page', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_page:
// admin_content_page_new
if ('/admini/content/page/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Content\\PageController::edit', '_route' => 'admin_content_page_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_page_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_page_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_page_new:
// admin_content_page_edit
if (preg_match('#^/admini/content/page/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_page_edit']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Content\\PageController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_page_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_page_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_page_edit:
// admin_content_page_delete
if (preg_match('#^/admini/content/page/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_content_page_delete']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Content\\PageController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_content_page_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_content_page_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_content_page_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_content_page_delete:
}
}
elseif (0 === strpos($pathinfo, '/admini/contact')) {
// plugin_contact
if ('/admini/contact' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ContactManagement4\\Controller\\Admin\\ContactController::index', '_route' => 'plugin_contact',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_contact;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_contact', key($requiredSchemes)));
}
return $ret;
}
not_plugin_contact:
// plugin_contact_page
if (preg_match('#^/admini/contact(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_contact_page']), array ( 'page_no' => NULL, '_controller' => 'Plugin\\ContactManagement4\\Controller\\Admin\\ContactController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_contact_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_contact_page', key($requiredSchemes)));
}
return $ret;
}
not_plugin_contact_page:
// plugin_contact_new
if ('/admini/contact/new' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ContactManagement4\\Controller\\Admin\\ContactEditController::index', '_route' => 'plugin_contact_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_contact_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_contact_new', key($requiredSchemes)));
}
return $ret;
}
not_plugin_contact_new:
// plugin_contact_edit
if (preg_match('#^/admini/contact/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_contact_edit']), array ( '_controller' => 'Plugin\\ContactManagement4\\Controller\\Admin\\ContactEditController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_contact_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_contact_edit', key($requiredSchemes)));
}
return $ret;
}
not_plugin_contact_edit:
// plugin_contact_reply_new
if (preg_match('#^/admini/contact/(?P<contact_id>[^/]++)/reply/new$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_contact_reply_new']), array ( '_controller' => 'Plugin\\ContactManagement4\\Controller\\Admin\\ContactReplyEditController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_contact_reply_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_contact_reply_new', key($requiredSchemes)));
}
return $ret;
}
not_plugin_contact_reply_new:
// plugin_contact_reply_edit
if (preg_match('#^/admini/contact/(?P<contact_id>[^/]++)/reply/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_contact_reply_edit']), array ( 'id' => NULL, '_controller' => 'Plugin\\ContactManagement4\\Controller\\Admin\\ContactReplyEditController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_contact_reply_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_contact_reply_edit', key($requiredSchemes)));
}
return $ret;
}
not_plugin_contact_reply_edit:
if (0 === strpos($pathinfo, '/admini/contact/search/customer/html')) {
// plugin_contact_search_customer_html
if ('/admini/contact/search/customer/html' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ContactManagement4\\Controller\\Admin\\SearchCustomerController::searchCustomerHtml', '_route' => 'plugin_contact_search_customer_html',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_contact_search_customer_html;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_contact_search_customer_html', key($requiredSchemes)));
}
return $ret;
}
not_plugin_contact_search_customer_html:
// plugin_contact_search_customer_html_page
if (0 === strpos($pathinfo, '/admini/contact/search/customer/html/page') && preg_match('#^/admini/contact/search/customer/html/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_contact_search_customer_html_page']), array ( 'page_no' => NULL, '_controller' => 'Plugin\\ContactManagement4\\Controller\\Admin\\SearchCustomerController::searchCustomerHtml',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_contact_search_customer_html_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_contact_search_customer_html_page', key($requiredSchemes)));
}
return $ret;
}
not_plugin_contact_search_customer_html_page:
}
// plugin_contact_search_customer_by_id
if ('/admini/contact/search/customer/id' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ContactManagement4\\Controller\\Admin\\SearchCustomerController::searchCustomerById', '_route' => 'plugin_contact_search_customer_by_id',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_plugin_contact_search_customer_by_id;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_contact_search_customer_by_id;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_contact_search_customer_by_id', key($requiredSchemes)));
}
return $ret;
}
not_plugin_contact_search_customer_by_id:
}
elseif (0 === strpos($pathinfo, '/admini/customer')) {
// admin_customer
if ('/admini/customer' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerController::index', '_route' => 'admin_customer',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer:
// admin_customer_page
if (0 === strpos($pathinfo, '/admini/customer/page') && preg_match('#^/admini/customer/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_customer_page']), array ( 'page_no' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_page', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_page:
// admin_customer_resend
if (preg_match('#^/admini/customer/(?P<id>\\d+)/resend$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_customer_resend']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerController::resend',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_resend;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_resend', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_resend:
// admin_customer_delete
if (preg_match('#^/admini/customer/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_customer_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_customer_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_delete:
// admin_customer_export
if ('/admini/customer/export' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerController::export', '_route' => 'admin_customer_export',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_export;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_export', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_export:
// admin_customer_delivery_new
if (preg_match('#^/admini/customer/(?P<id>\\d+)/delivery/new$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_customer_delivery_new']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerDeliveryEditController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_delivery_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_delivery_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_delivery_new:
// admin_customer_delivery_edit
if (preg_match('#^/admini/customer/(?P<id>\\d+)/delivery/(?P<did>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_customer_delivery_edit']), array ( 'did' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerDeliveryEditController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_delivery_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_delivery_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_delivery_edit:
// admin_customer_delivery_delete
if (preg_match('#^/admini/customer/(?P<id>\\d+)/delivery/(?P<did>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_customer_delivery_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerDeliveryEditController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_customer_delivery_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_delivery_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_delivery_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_delivery_delete:
// admin_customer_new
if ('/admini/customer/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerEditController::index', '_route' => 'admin_customer_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_new:
// admin_customer_edit
if (preg_match('#^/admini/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, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_edit:
if (0 === strpos($pathinfo, '/admini/customer/customerLevelDetail')) {
// admin_customer_level_detail
if ('/admini/customer/customerLevelDetail' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerLevelDetailController::index', '_route' => 'admin_customer_level_detail',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_level_detail;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_level_detail', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_level_detail:
// admin_customer_level_detail_new
if ('/admini/customer/customerLevelDetail/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerLevelDetailController::edit', '_route' => 'admin_customer_level_detail_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_level_detail_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_level_detail_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_level_detail_new:
// admin_customer_level_detail_edit
if (preg_match('#^/admini/customer/customerLevelDetail/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_customer_level_detail_edit']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerLevelDetailController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_level_detail_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_level_detail_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_level_detail_edit:
}
elseif (0 === strpos($pathinfo, '/admini/customer/customerShopLevel')) {
// admin_customer_shop_level
if ('/admini/customer/customerShopLevel' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerShopLevelController::index', '_route' => 'admin_customer_shop_level',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_shop_level;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_shop_level', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_shop_level:
// admin_customer_shop_level_new
if ('/admini/customer/customerShopLevel/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerShopLevelController::edit', '_route' => 'admin_customer_shop_level_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_shop_level_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_shop_level_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_shop_level_new:
// admin_customer_shop_level_edit
if (preg_match('#^/admini/customer/customerShopLevel/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_customer_shop_level_edit']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Customer\\CustomerShopLevelController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_shop_level_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_shop_level_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_shop_level_edit:
}
elseif (0 === strpos($pathinfo, '/admini/customerShop')) {
// admin_customer_shop
if ('/admini/customerShop' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Shop\\CustomerShopController::index', '_route' => 'admin_customer_shop',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_shop;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_shop', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_shop:
// admin_customer_shop_yes
if (preg_match('#^/admini/customerShop/(?P<id>\\d+)/yes$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_customer_shop_yes']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Shop\\CustomerShopController::yes',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_shop_yes;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_shop_yes', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_shop_yes:
// admin_customer_shop_no
if (preg_match('#^/admini/customerShop/(?P<id>\\d+)/no$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_customer_shop_no']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Shop\\CustomerShopController::no',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_shop_no;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_shop_no', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_shop_no:
// admin_customer_shop_export
if ('/admini/customerShop/export' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Shop\\CustomerShopController::export', '_route' => 'admin_customer_shop_export',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_shop_export;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_shop_export', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_shop_export:
}
}
// category_map
if ('/admini/category-map/index' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\CategoryMapController::index', '_route' => 'category_map',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_category_map;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'category_map', key($requiredSchemes)));
}
return $ret;
}
not_category_map:
}
elseif (0 === strpos($pathinfo, '/admini/order')) {
// admin_shipping_csv_import
if ('/admini/order/shipping_csv_upload' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\CsvImportController::csvShipping', '_route' => 'admin_shipping_csv_import',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_shipping_csv_import;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_shipping_csv_import', key($requiredSchemes)));
}
return $ret;
}
not_admin_shipping_csv_import:
// admin_shipping_csv_template
if ('/admini/order/csv_template' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\CsvImportController::csvTemplate', '_route' => 'admin_shipping_csv_template',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_shipping_csv_template;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_shipping_csv_template', key($requiredSchemes)));
}
return $ret;
}
not_admin_shipping_csv_template:
// admin_order_new
if ('/admini/order/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\EditController::index', '_route' => 'admin_order_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_new:
// admin_order_edit
if (preg_match('#^/admini/order/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_order_edit']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Order\\EditController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_edit:
if (0 === strpos($pathinfo, '/admini/order/search/product')) {
// admin_order_search_product
if ('/admini/order/search/product' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\EditController::searchProduct', '_route' => 'admin_order_search_product',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_search_product;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_search_product', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_search_product:
// admin_order_search_product_page
if (0 === strpos($pathinfo, '/admini/order/search/product/page') && preg_match('#^/admini/order/search/product/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_order_search_product_page']), array ( 'page_no' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Order\\EditController::searchProduct',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_search_product_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_search_product_page', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_search_product_page:
}
// admin_order_mail
if (preg_match('#^/admini/order/(?P<id>\\d+)/mail$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_order_mail']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\MailController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_mail;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_mail', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_mail:
// admin_order_mail_view
if ('/admini/order/mail/view' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\MailController::view', '_route' => 'admin_order_mail_view',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_mail_view;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_mail_view', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_mail_view:
// admin_order
if ('/admini/order' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::index', '_route' => 'admin_order',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order', key($requiredSchemes)));
}
return $ret;
}
not_admin_order:
// admin_order_page
if (0 === strpos($pathinfo, '/admini/order/page') && preg_match('#^/admini/order/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_order_page']), array ( 'page_no' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_page', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_page:
// admin_order_bulk_delete
if ('/admini/order/bulk_delete' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::bulkDelete', '_route' => 'admin_order_bulk_delete',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_order_bulk_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_bulk_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_bulk_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_bulk_delete:
if (0 === strpos($pathinfo, '/admini/order/export')) {
// admin_order_export_order
if ('/admini/order/export/order' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::exportOrder', '_route' => 'admin_order_export_order',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_export_order;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_export_order', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_export_order:
// admin_order_export_shipping
if ('/admini/order/export/shipping' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::exportShipping', '_route' => 'admin_order_export_shipping',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_export_shipping;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_export_shipping', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_export_shipping:
if (0 === strpos($pathinfo, '/admini/order/export/pdf')) {
// admin_order_export_pdf
if ('/admini/order/export/pdf' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::exportPdf', '_route' => 'admin_order_export_pdf',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_export_pdf;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_export_pdf', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_export_pdf:
// admin_order_pdf_download
if ('/admini/order/export/pdf/download' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Order\\OrderController::exportPdfDownload', '_route' => 'admin_order_pdf_download',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_pdf_download;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_pdf_download', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_pdf_download:
}
}
// order_by_sale4_admin_config
if ('/admini/order_by_sale4/config' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\OrderBySale4\\Controller\\Admin\\ConfigController::index', '_route' => 'order_by_sale4_admin_config',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_order_by_sale4_admin_config;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'order_by_sale4_admin_config', key($requiredSchemes)));
}
return $ret;
}
not_order_by_sale4_admin_config:
// admin_order_edit_with_option
if (preg_match('#^/admini/order/(?P<id>\\d+)/edit\\-with\\-option$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_order_edit_with_option']), array ( 'id' => NULL, '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\EditWithOptionController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_edit_with_option;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_edit_with_option', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_edit_with_option:
if (0 === strpos($pathinfo, '/admini/order/search')) {
// admin_order_search_product_with_option
if ('/admini/order/search/product-with-option' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\EditWithOptionController::searchProduct', '_route' => 'admin_order_search_product_with_option',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_search_product_with_option;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_search_product_with_option', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_search_product_with_option:
// admin_order_search_product_page_with_option
if (0 === strpos($pathinfo, '/admini/order/search/product/page-with-option') && preg_match('#^/admini/order/search/product/page\\-with\\-option(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_order_search_product_page_with_option']), array ( 'page_no' => NULL, '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\EditWithOptionController::searchProduct',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_search_product_page_with_option;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_search_product_page_with_option', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_search_product_page_with_option:
if (0 === strpos($pathinfo, '/admini/order/search/customer/html')) {
// admin_order_search_customer_html
if ('/admini/order/search/customer/html' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\EditWithOptionController::searchCustomerHtml', '_route' => 'admin_order_search_customer_html',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_search_customer_html;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_search_customer_html', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_search_customer_html:
// admin_order_search_customer_html_page
if (0 === strpos($pathinfo, '/admini/order/search/customer/html/page') && preg_match('#^/admini/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' => 'Plugin\\ProductOption4\\Controller\\Admin\\EditWithOptionController::searchCustomerHtml',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_search_customer_html_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_search_customer_html_page', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_search_customer_html_page:
}
// admin_order_search_customer_by_id
if ('/admini/order/search/customer/id' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\EditWithOptionController::searchCustomerById', '_route' => 'admin_order_search_customer_by_id',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_order_search_customer_by_id;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_search_customer_by_id;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_search_customer_by_id', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_search_customer_by_id:
// admin_order_search_order_item_type
if ('/admini/order/search/order_item_type' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\EditWithOptionController::searchOrderItemType', '_route' => 'admin_order_search_order_item_type',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_search_order_item_type;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_search_order_item_type', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_search_order_item_type:
}
elseif (0 === strpos($pathinfo, '/admini/order/export')) {
// admin_order_pdf_download_with_option
if ('/admini/order/export/pdf/download-with-option' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\ProductOptionController::exportPdfDownload', '_route' => 'admin_order_pdf_download_with_option',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_pdf_download_with_option;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_pdf_download_with_option', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_pdf_download_with_option:
// admin_order_export_order_with_option
if ('/admini/order/export-with-option/order' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\ProductOptionOrderExport::exportOrder', '_route' => 'admin_order_export_order_with_option',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_export_order_with_option;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_export_order_with_option', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_export_order_with_option:
// admin_order_export_shipping_order_with_option
if ('/admini/order/export-with-option/shipping' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\ProductOptionOrderExport::exportShipping', '_route' => 'admin_order_export_shipping_order_with_option',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_order_export_shipping_order_with_option;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_order_export_shipping_order_with_option', key($requiredSchemes)));
}
return $ret;
}
not_admin_order_export_shipping_order_with_option:
}
}
elseif (0 === strpos($pathinfo, '/admini/p')) {
if (0 === strpos($pathinfo, '/admini/product')) {
if (0 === strpos($pathinfo, '/admini/product/c')) {
if (0 === strpos($pathinfo, '/admini/product/category')) {
// admin_product_category
if ('/admini/product/category' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\CategoryController::index', '_route' => 'admin_product_category',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_category;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_category', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_category:
// admin_product_category_show
if (preg_match('#^/admini/product/category(?:/(?P<parent_id>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_category_show']), array ( 'parent_id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Product\\CategoryController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_category_show;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_category_show', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_category_show:
// admin_product_category_edit
if (preg_match('#^/admini/product/category/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_category_edit']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Product\\CategoryController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_category_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_category_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_category_edit:
// admin_product_category_delete
if (preg_match('#^/admini/product/category/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_category_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\CategoryController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_product_category_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_category_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_category_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_category_delete:
// admin_product_category_sort_no_move
if ('/admini/product/category/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\CategoryController::moveSortNo', '_route' => 'admin_product_category_sort_no_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_product_category_sort_no_move;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_category_sort_no_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_category_sort_no_move', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_category_sort_no_move:
// admin_product_category_export
if ('/admini/product/category/export' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\CategoryController::export', '_route' => 'admin_product_category_export',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_category_export;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_category_export', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_category_export:
// admin_product_category_csv_import
if ('/admini/product/category_csv_upload' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\CsvImportController::csvCategory', '_route' => 'admin_product_category_csv_import',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_category_csv_import;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_category_csv_import', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_category_csv_import:
}
elseif (0 === strpos($pathinfo, '/admini/product/class_category')) {
// admin_product_class_category
if (preg_match('#^/admini/product/class_category/(?P<class_name_id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_class_category']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ClassCategoryController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_class_category;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_class_category', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_class_category:
// admin_product_class_category_edit
if (preg_match('#^/admini/product/class_category/(?P<class_name_id>\\d+)/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_class_category_edit']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Product\\ClassCategoryController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_class_category_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_class_category_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_class_category_edit:
// admin_product_class_category_delete
if (preg_match('#^/admini/product/class_category/(?P<class_name_id>\\d+)/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_class_category_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ClassCategoryController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_product_class_category_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_class_category_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_class_category_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_class_category_delete:
// admin_product_class_category_visibility
if (preg_match('#^/admini/product/class_category/(?P<class_name_id>\\d+)/(?P<id>\\d+)/visibility$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_class_category_visibility']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ClassCategoryController::visibility',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['PUT'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT']);
}
goto not_admin_product_class_category_visibility;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_class_category_visibility;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_class_category_visibility', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_class_category_visibility:
// admin_product_class_category_sort_no_move
if ('/admini/product/class_category/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ClassCategoryController::moveSortNo', '_route' => 'admin_product_class_category_sort_no_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_product_class_category_sort_no_move;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_class_category_sort_no_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_class_category_sort_no_move', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_class_category_sort_no_move:
}
elseif (0 === strpos($pathinfo, '/admini/product/class_name')) {
// admin_product_class_name
if ('/admini/product/class_name' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ClassNameController::index', '_route' => 'admin_product_class_name',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_class_name;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_class_name', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_class_name:
// admin_product_class_name_edit
if (preg_match('#^/admini/product/class_name/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_class_name_edit']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Admin\\Product\\ClassNameController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_class_name_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_class_name_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_class_name_edit:
// admin_product_class_name_delete
if (preg_match('#^/admini/product/class_name/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_class_name_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ClassNameController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_product_class_name_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_class_name_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_class_name_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_class_name_delete:
// admin_product_class_name_sort_no_move
if ('/admini/product/class_name/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ClassNameController::moveSortNo', '_route' => 'admin_product_class_name_sort_no_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_product_class_name_sort_no_move;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_class_name_sort_no_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_class_name_sort_no_move', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_class_name_sort_no_move:
}
// admin_product_csv_template
if (0 === strpos($pathinfo, '/admini/product/csv_template') && preg_match('#^/admini/product/csv_template/(?P<type>\\w+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_csv_template']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\CsvImportController::csvTemplate',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_csv_template;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_csv_template', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_csv_template:
}
// admin_product_csv_import
if ('/admini/product/product_csv_upload' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\CsvImportController::csvProduct', '_route' => 'admin_product_csv_import',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_csv_import;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_csv_import', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_csv_import:
if (0 === strpos($pathinfo, '/admini/product/product/class')) {
// admin_product_product_class
if (preg_match('#^/admini/product/product/class/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_product_class']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ProductClassController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_product_class;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_product_class', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_product_class:
// admin_product_product_class_clear
if (preg_match('#^/admini/product/product/class/(?P<id>\\d+)/clear$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_product_class_clear']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ProductClassController::clearProductClasses',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_product_class_clear;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_product_class_clear', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_product_class_clear:
}
// admin_product
if ('/admini/product' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ProductController::index', '_route' => 'admin_product',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product', key($requiredSchemes)));
}
return $ret;
}
not_admin_product:
// admin_product_page
if (0 === strpos($pathinfo, '/admini/product/page') && preg_match('#^/admini/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, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_page', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_page:
// admin_product_export
if ('/admini/product/export' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ProductController::export', '_route' => 'admin_product_export',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_export;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_export', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_export:
// admin_product_bulk_product_status
if (0 === strpos($pathinfo, '/admini/product/bulk/product-status') && preg_match('#^/admini/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, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_product_bulk_product_status;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_bulk_product_status;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_bulk_product_status', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_bulk_product_status:
// admin_customer_shop_product_yes
if (preg_match('#^/admini/product/(?P<id>\\d+)/yes$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_customer_shop_product_yes']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ProductController::yes',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_shop_product_yes;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_shop_product_yes', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_shop_product_yes:
// admin_customer_shop_product_no
if (preg_match('#^/admini/product/(?P<id>\\d+)/no$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_customer_shop_product_no']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ProductController::no',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_shop_product_no;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_shop_product_no', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_shop_product_no:
// admin_customer_shop_products_no
if ('/admini/product/bulk/no' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ProductController::bulk_no', '_route' => 'admin_customer_shop_products_no',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_customer_shop_products_no;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_shop_products_no;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_shop_products_no', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_shop_products_no:
// admin_customer_shop_products_yes
if ('/admini/product/bulk/yes' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ProductController::bulk_yes', '_route' => 'admin_customer_shop_products_yes',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_customer_shop_products_yes;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_shop_products_yes;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_shop_products_yes', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_shop_products_yes:
// admin_customer_top_product_yes
if (preg_match('#^/admini/product/(?P<id>\\d+)/top_yes$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_customer_top_product_yes']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ProductController::top_yes',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_top_product_yes;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_top_product_yes', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_top_product_yes:
// admin_customer_top_product_no
if (preg_match('#^/admini/product/(?P<id>\\d+)/top_no$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_customer_top_product_no']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\ProductController::top_no',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_customer_top_product_no;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_customer_top_product_no', key($requiredSchemes)));
}
return $ret;
}
not_admin_customer_top_product_no:
if (0 === strpos($pathinfo, '/admini/product/tag')) {
// admin_product_tag
if ('/admini/product/tag' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\TagController::index', '_route' => 'admin_product_tag',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_tag;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_tag', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_tag:
// admin_product_tag_delete
if (preg_match('#^/admini/product/tag/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_tag_delete']), array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\TagController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_product_tag_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_tag_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_tag_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_tag_delete:
// admin_product_tag_sort_no_move
if ('/admini/product/tag/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Admin\\Product\\TagController::moveSortNo', '_route' => 'admin_product_tag_sort_no_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_product_tag_sort_no_move;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_tag_sort_no_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_tag_sort_no_move', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_tag_sort_no_move:
}
elseif (0 === strpos($pathinfo, '/admini/product_')) {
// product_contact4_admin_config
if ('/admini/product_contact4/config' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductContact4\\Controller\\Admin\\ConfigController::index', '_route' => 'product_contact4_admin_config',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_contact4_admin_config;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_contact4_admin_config', key($requiredSchemes)));
}
return $ret;
}
not_product_contact4_admin_config:
if (0 === strpos($pathinfo, '/admini/product_review')) {
if (0 === strpos($pathinfo, '/admini/product_review/config')) {
// product_review_replyable_admin_config
if ('/admini/product_review/config' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductReviewReplyable\\Controller\\Admin\\ConfigController::index', '_route' => 'product_review_replyable_admin_config',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_review_replyable_admin_config;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_review_replyable_admin_config', key($requiredSchemes)));
}
return $ret;
}
not_product_review_replyable_admin_config:
// product_review4_admin_config
if ('/admini/product_review/config' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductReview4\\Controller\\Admin\\ConfigController::index', '_route' => 'product_review4_admin_config',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_review4_admin_config;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_review4_admin_config', key($requiredSchemes)));
}
return $ret;
}
not_product_review4_admin_config:
}
// product_review_admin_product_review
if ('/admini/product_review' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductReview4\\Controller\\Admin\\ProductReviewController::index', '_route' => 'product_review_admin_product_review',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_product_review_admin_product_review;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'product_review_admin_product_review'));
}
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_review_admin_product_review;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_review_admin_product_review', key($requiredSchemes)));
}
return $ret;
}
not_product_review_admin_product_review:
// product_review_admin_product_review_page
if (0 === strpos($pathinfo, '/admini/product_review/page') && preg_match('#^/admini/product_review/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'product_review_admin_product_review_page']), array ( 'page_no' => NULL, '_controller' => 'Plugin\\ProductReview4\\Controller\\Admin\\ProductReviewController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_review_admin_product_review_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_review_admin_product_review_page', key($requiredSchemes)));
}
return $ret;
}
not_product_review_admin_product_review_page:
// product_review_admin_product_review_edit
if (preg_match('#^/admini/product_review/(?P<id>[^/]++)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'product_review_admin_product_review_edit']), array ( '_controller' => 'Plugin\\ProductReview4\\Controller\\Admin\\ProductReviewController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_review_admin_product_review_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_review_admin_product_review_edit', key($requiredSchemes)));
}
return $ret;
}
not_product_review_admin_product_review_edit:
// product_review_admin_product_review_delete
if (preg_match('#^/admini/product_review/(?P<id>[^/]++)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'product_review_admin_product_review_delete']), array ( '_controller' => 'Plugin\\ProductReview4\\Controller\\Admin\\ProductReviewController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_product_review_admin_product_review_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_product_review_admin_product_review_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_review_admin_product_review_delete', key($requiredSchemes)));
}
return $ret;
}
not_product_review_admin_product_review_delete:
// product_review_admin_product_review_download
if ('/admini/product_review/download' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductReview4\\Controller\\Admin\\ProductReviewController::download', '_route' => 'product_review_admin_product_review_download',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_review_admin_product_review_download;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_review_admin_product_review_download', key($requiredSchemes)));
}
return $ret;
}
not_product_review_admin_product_review_download:
}
elseif (0 === strpos($pathinfo, '/admini/product_option')) {
if (0 === strpos($pathinfo, '/admini/product_option_category')) {
// product_option_admin_product_option_category
if (preg_match('#^/admini/product_option_category/(?P<product_option_name_id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'product_option_admin_product_option_category']), array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\ProductOptionCategoryController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_option_admin_product_option_category;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_option_admin_product_option_category', key($requiredSchemes)));
}
return $ret;
}
not_product_option_admin_product_option_category:
// product_option_admin_product_option_category_edit
if (preg_match('#^/admini/product_option_category/(?P<product_option_name_id>\\d+)/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'product_option_admin_product_option_category_edit']), array ( 'id' => NULL, '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\ProductOptionCategoryController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_option_admin_product_option_category_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_option_admin_product_option_category_edit', key($requiredSchemes)));
}
return $ret;
}
not_product_option_admin_product_option_category_edit:
// admin_product_option_category_delete
if (preg_match('#^/admini/product_option_category/(?P<product_option_name_id>\\d+)/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_option_category_delete']), array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\ProductOptionCategoryController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_product_option_category_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_option_category_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_option_category_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_option_category_delete:
// product_option_admin_product_option_category_visibility
if (preg_match('#^/admini/product_option_category/(?P<product_option_name_id>[^/]++)/(?P<id>\\d+)/visibility$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'product_option_admin_product_option_category_visibility']), array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\ProductOptionCategoryController::visibility',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['PUT'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT']);
}
goto not_product_option_admin_product_option_category_visibility;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_product_option_admin_product_option_category_visibility;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_option_admin_product_option_category_visibility', key($requiredSchemes)));
}
return $ret;
}
not_product_option_admin_product_option_category_visibility:
// product_option_admin_product_option_category_sort_no_move
if ('/admini/product_option_category/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\ProductOptionCategoryController::moveSortNo', '_route' => 'product_option_admin_product_option_category_sort_no_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_product_option_admin_product_option_category_sort_no_move;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_product_option_admin_product_option_category_sort_no_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_option_admin_product_option_category_sort_no_move', key($requiredSchemes)));
}
return $ret;
}
not_product_option_admin_product_option_category_sort_no_move:
}
// product_option_admin_product_option
if ('/admini/product_option' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\ProductOptionController::index', '_route' => 'product_option_admin_product_option',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_product_option_admin_product_option;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'product_option_admin_product_option'));
}
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_option_admin_product_option;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_option_admin_product_option', key($requiredSchemes)));
}
return $ret;
}
not_product_option_admin_product_option:
// product_option_admin_product_option_name
if ('/admini/product_option/option_name' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\ProductOptionNameController::index', '_route' => 'product_option_admin_product_option_name',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_option_admin_product_option_name;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_option_admin_product_option_name', key($requiredSchemes)));
}
return $ret;
}
not_product_option_admin_product_option_name:
// product_option_admin_product_option_name_edit
if (0 === strpos($pathinfo, '/admini/product_option_name') && preg_match('#^/admini/product_option_name/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'product_option_admin_product_option_name_edit']), array ( 'id' => NULL, '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\ProductOptionNameController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_option_admin_product_option_name_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_option_admin_product_option_name_edit', key($requiredSchemes)));
}
return $ret;
}
not_product_option_admin_product_option_name_edit:
// product_option_config
if (preg_match('#^/admini/product_option(?:/(?P<id>[^/]++))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'product_option_config']), array ( 'id' => NULL, '_controller' => 'Plugin\\ProductOption4\\Controller\\ProductOptionController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_option_config;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_option_config', key($requiredSchemes)));
}
return $ret;
}
not_product_option_config:
// admin_product_option_save
if (0 === strpos($pathinfo, '/admini/product_option/save') && preg_match('#^/admini/product_option/save/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_option_save']), array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\ProductOptionController::bulkProductStatus',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['POST', 'GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST', 'GET']);
}
goto not_admin_product_option_save;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_option_save;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_option_save', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_option_save:
// product_option_subcate
if (0 === strpos($pathinfo, '/admini/product_option_subcate') && preg_match('#^/admini/product_option_subcate(?:/(?P<id>[^/]++))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'product_option_subcate']), array ( 'id' => NULL, '_controller' => 'Plugin\\ProductOption4\\Controller\\ProductOptionController::subCate',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_option_subcate;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_option_subcate', key($requiredSchemes)));
}
return $ret;
}
not_product_option_subcate:
}
}
elseif (0 === strpos($pathinfo, '/admini/product-')) {
if (0 === strpos($pathinfo, '/admini/product-base')) {
// product_base
if ('/admini/product-base' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\BaseExportController::index', '_route' => 'product_base',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_base;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_base', key($requiredSchemes)));
}
return $ret;
}
not_product_base:
// admin_product_page_base
if (0 === strpos($pathinfo, '/admini/product-base/page') && preg_match('#^/admini/product\\-base/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_page_base']), array ( 'page_no' => NULL, '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\BaseExportController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_page_base;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_page_base', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_page_base:
// admin_product_export_base
if ('/admini/product-base/export' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\BaseExportController::export', '_route' => 'admin_product_export_base',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_export_base;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_export_base', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_export_base:
}
elseif (0 === strpos($pathinfo, '/admini/product-netsea')) {
// product_netsea
if ('/admini/product-netsea' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\NetseaExportController::index', '_route' => 'product_netsea',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_netsea;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_netsea', key($requiredSchemes)));
}
return $ret;
}
not_product_netsea:
// admin_product_page_netsea
if (0 === strpos($pathinfo, '/admini/product-netsea/page') && preg_match('#^/admini/product\\-netsea/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_page_netsea']), array ( 'page_no' => NULL, '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\NetseaExportController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_page_netsea;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_page_netsea', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_page_netsea:
// admin_product_export_netsea
if ('/admini/product-netsea/export' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\NetseaExportController::export', '_route' => 'admin_product_export_netsea',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_export_netsea;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_export_netsea', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_export_netsea:
}
// admin_product_export_with_options
if ('/admini/product-option/export' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\ProductOptionController::export', '_route' => 'admin_product_export_with_options',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_export_with_options;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_export_with_options', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_export_with_options:
if (0 === strpos($pathinfo, '/admini/product-qoo10')) {
// product_qoo10
if ('/admini/product-qoo10' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\Qoo100ExportController::index', '_route' => 'product_qoo10',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_qoo10;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_qoo10', key($requiredSchemes)));
}
return $ret;
}
not_product_qoo10:
// admin_product_page_qoo10
if (0 === strpos($pathinfo, '/admini/product-qoo10/page') && preg_match('#^/admini/product\\-qoo10/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_page_qoo10']), array ( 'page_no' => NULL, '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\Qoo100ExportController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_page_qoo10;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_page_qoo10', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_page_qoo10:
// admin_product_export_qoo10
if ('/admini/product-qoo10/export' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\Qoo100ExportController::export', '_route' => 'admin_product_export_qoo10',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_export_qoo10;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_export_qoo10', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_export_qoo10:
}
elseif (0 === strpos($pathinfo, '/admini/product-rakuten')) {
// product_rakuten
if ('/admini/product-rakuten' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\RakutenExportController::index', '_route' => 'product_rakuten',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_rakuten;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_rakuten', key($requiredSchemes)));
}
return $ret;
}
not_product_rakuten:
// admin_product_page_rakuten
if (0 === strpos($pathinfo, '/admini/product-rakuten/page') && preg_match('#^/admini/product\\-rakuten/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_page_rakuten']), array ( 'page_no' => NULL, '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\RakutenExportController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_page_rakuten;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_page_rakuten', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_page_rakuten:
// admin_product_export_rakuten
if ('/admini/product-rakuten/export' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\RakutenExportController::export', '_route' => 'admin_product_export_rakuten',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_export_rakuten;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_export_rakuten', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_export_rakuten:
}
// admin_product_export_skuop
if ('/admini/product-skuop/export' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\SkuOpController::export', '_route' => 'admin_product_export_skuop',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_export_skuop;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_export_skuop', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_export_skuop:
// admin_product_skuop_update
if ('/admini/product-skuop/sku-update' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\SkuOpController::csvSkuUpdate', '_route' => 'admin_product_skuop_update',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_skuop_update;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_skuop_update', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_skuop_update:
if (0 === strpos($pathinfo, '/admini/product-wowma')) {
// product_wowma
if ('/admini/product-wowma' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\WowmaExportController::index', '_route' => 'product_wowma',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_wowma;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_wowma', key($requiredSchemes)));
}
return $ret;
}
not_product_wowma:
// admin_product_page_wowma
if (0 === strpos($pathinfo, '/admini/product-wowma/page') && preg_match('#^/admini/product\\-wowma/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_page_wowma']), array ( 'page_no' => NULL, '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\WowmaExportController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_page_wowma;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_page_wowma', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_page_wowma:
if (0 === strpos($pathinfo, '/admini/product-wowma/export')) {
// admin_product_export_wowma
if ('/admini/product-wowma/export' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\WowmaExportController::export', '_route' => 'admin_product_export_wowma',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_export_wowma;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_export_wowma', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_export_wowma:
// admin_product_export_stock_wowma
if ('/admini/product-wowma/export-stock' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\WowmaExportController::exportStocks', '_route' => 'admin_product_export_stock_wowma',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_export_stock_wowma;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_export_stock_wowma', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_export_stock_wowma:
}
}
elseif (0 === strpos($pathinfo, '/admini/product-yahoo')) {
// product_yahoo
if ('/admini/product-yahoo' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\YahooExportController::index', '_route' => 'product_yahoo',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_yahoo;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_yahoo', key($requiredSchemes)));
}
return $ret;
}
not_product_yahoo:
// admin_product_page_yahoo
if (0 === strpos($pathinfo, '/admini/product-yahoo/page') && preg_match('#^/admini/product\\-yahoo/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_page_yahoo']), array ( 'page_no' => NULL, '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\YahooExportController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_page_yahoo;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_page_yahoo', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_page_yahoo:
if (0 === strpos($pathinfo, '/admini/product-yahoo/export')) {
// admin_product_export_yahoo_controller
if ('/admini/product-yahoo/exportController' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\YahooExportController::exportController', '_route' => 'admin_product_export_yahoo_controller',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_export_yahoo_controller;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_export_yahoo_controller', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_export_yahoo_controller:
// admin_product_export_yahoo_all
if ('/admini/product-yahoo/exportAll' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\YahooExportController::exportAll', '_route' => 'admin_product_export_yahoo_all',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_export_yahoo_all;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_export_yahoo_all', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_export_yahoo_all:
// admin_product_export_yahoo
if ('/admini/product-yahoo/export' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\YahooExportController::export', '_route' => 'admin_product_export_yahoo',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_export_yahoo;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_export_yahoo', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_export_yahoo:
// admin_product_export_stock_yahoo
if ('/admini/product-yahoo/export-stock' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\YahooExportController::exportStocks', '_route' => 'admin_product_export_stock_yahoo',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_export_stock_yahoo;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_export_stock_yahoo', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_export_stock_yahoo:
}
}
}
elseif (0 === strpos($pathinfo, '/admini/product/export-img')) {
// admin_product_export_img_base
if ('/admini/product/export-img-base' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\BaseExportController::exportImg', '_route' => 'admin_product_export_img_base',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_export_img_base;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_export_img_base', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_export_img_base:
// admin_product_export_img
if ('/admini/product/export-img' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\YahooExportController::exportImg', '_route' => 'admin_product_export_img',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_export_img;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_export_img', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_export_img:
}
// admin_product_export_rakuten_img
if ('/admini/product/export_rakuten-img' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\RakutenExportController::exportImg', '_route' => 'admin_product_export_rakuten_img',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_export_rakuten_img;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_export_rakuten_img', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_export_rakuten_img:
if (0 === strpos($pathinfo, '/admini/product/product')) {
// admin_product_import_with_options
if ('/admini/product/product_csv_upload_with_options' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\ProductOptionController::csvProduct', '_route' => 'admin_product_import_with_options',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_import_with_options;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_import_with_options', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_import_with_options:
// product_option_admin_product_option_name_delete
if (0 === strpos($pathinfo, '/admini/product/product_option_namne') && preg_match('#^/admini/product/product_option_namne/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'product_option_admin_product_option_name_delete']), array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\ProductOptionNameController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_product_option_admin_product_option_name_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_product_option_admin_product_option_name_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_option_admin_product_option_name_delete', key($requiredSchemes)));
}
return $ret;
}
not_product_option_admin_product_option_name_delete:
// admin_product_product_delete
if (preg_match('#^/admini/product/product/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_product_delete']), array ( 'id' => NULL, '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\WowmaExportController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_product_product_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_product_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_product_delete', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_product_delete:
// admin_product_image_add
if ('/admini/product/product/image/add' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\YahooExportController::addImage', '_route' => 'admin_product_image_add',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_product_image_add;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_image_add;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_image_add', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_image_add:
// admin_product_product_new
if ('/admini/product/product/new' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\YahooExportController::edit', '_route' => 'admin_product_product_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_product_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_product_new', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_product_new:
// admin_product_product_edit
if (preg_match('#^/admini/product/product/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_product_edit']), array ( 'id' => NULL, '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\YahooExportController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_product_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_product_edit', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_product_edit:
// admin_product_product_delete_with_option
if (preg_match('#^/admini/product/product/(?P<id>\\d+)/delete\\-with\\-option$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_product_delete_with_option']), array ( 'id' => NULL, '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\YahooExportController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_admin_product_product_delete_with_option;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_product_delete_with_option;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_product_delete_with_option', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_product_delete_with_option:
// admin_product_product_copy
if (preg_match('#^/admini/product/product/(?P<id>\\d+)/copy$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_product_copy']), array ( 'id' => NULL, '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\YahooExportController::copy',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_product_product_copy;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_product_copy;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_product_copy', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_product_copy:
// admin_product_product_display
if (preg_match('#^/admini/product/product/(?P<id>\\d+)/display$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_product_display']), array ( 'id' => NULL, '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\YahooExportController::display',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_product_display;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_product_display', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_product_display:
}
// product_option_admin_product_option_name_sort_no_move
if ('/admini/product/class_name/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\ProductOptionNameController::moveSortNo', '_route' => 'product_option_admin_product_option_name_sort_no_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_product_option_admin_product_option_name_sort_no_move;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_product_option_admin_product_option_name_sort_no_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_option_admin_product_option_name_sort_no_move', key($requiredSchemes)));
}
return $ret;
}
not_product_option_admin_product_option_name_sort_no_move:
// admin_product_classes_load
if (0 === strpos($pathinfo, '/admini/product/classes') && preg_match('#^/admini/product/classes/(?P<id>\\d+)/load$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_product_classes_load']), array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\Admin\\YahooExportController::loadProductClasses',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['GET']);
}
goto not_admin_product_classes_load;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_product_classes_load;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_product_classes_load', key($requiredSchemes)));
}
return $ret;
}
not_admin_product_classes_load:
}
elseif (0 === strpos($pathinfo, '/admini/plugin')) {
if (0 === strpos($pathinfo, '/admini/plugin/recommend')) {
// plugin_recommend_list
if ('/admini/plugin/recommend' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Recommend4\\Controller\\RecommendController::index', '_route' => 'plugin_recommend_list',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_recommend_list;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_recommend_list', key($requiredSchemes)));
}
return $ret;
}
not_plugin_recommend_list:
// plugin_recommend_new
if ('/admini/plugin/recommend/new' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Recommend4\\Controller\\RecommendController::edit', '_route' => 'plugin_recommend_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_recommend_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_recommend_new', key($requiredSchemes)));
}
return $ret;
}
not_plugin_recommend_new:
// plugin_recommend_edit
if (preg_match('#^/admini/plugin/recommend/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_recommend_edit']), array ( 'id' => NULL, '_controller' => 'Plugin\\Recommend4\\Controller\\RecommendController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_recommend_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_recommend_edit', key($requiredSchemes)));
}
return $ret;
}
not_plugin_recommend_edit:
// plugin_recommend_delete
if (preg_match('#^/admini/plugin/recommend/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_recommend_delete']), array ( '_controller' => 'Plugin\\Recommend4\\Controller\\RecommendController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_plugin_recommend_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_recommend_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_recommend_delete', key($requiredSchemes)));
}
return $ret;
}
not_plugin_recommend_delete:
// plugin_recommend_rank_move
if ('/admini/plugin/recommend/sort_no/move' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Recommend4\\Controller\\RecommendController::moveRank', '_route' => 'plugin_recommend_rank_move',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_recommend_rank_move;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_recommend_rank_move', key($requiredSchemes)));
}
return $ret;
}
not_plugin_recommend_rank_move:
if (0 === strpos($pathinfo, '/admini/plugin/recommend/search/product')) {
// plugin_recommend_search_product
if ('/admini/plugin/recommend/search/product' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Recommend4\\Controller\\RecommendSearchModelController::searchProduct', '_route' => 'plugin_recommend_search_product',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_recommend_search_product;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_recommend_search_product', key($requiredSchemes)));
}
return $ret;
}
not_plugin_recommend_search_product:
// plugin_recommend_search_product_page
if (0 === strpos($pathinfo, '/admini/plugin/recommend/search/product/page') && preg_match('#^/admini/plugin/recommend/search/product/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_recommend_search_product_page']), array ( 'page_no' => NULL, '_controller' => 'Plugin\\Recommend4\\Controller\\RecommendSearchModelController::searchProduct',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_recommend_search_product_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_recommend_search_product_page', key($requiredSchemes)));
}
return $ret;
}
not_plugin_recommend_search_product_page:
}
}
elseif (0 === strpos($pathinfo, '/admini/plugin/mail_magazine')) {
// plugin_mail_magazine
if ('/admini/plugin/mail_magazine' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\MailMagazine4\\Controller\\MailMagazineController::index', '_route' => 'plugin_mail_magazine',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_mail_magazine;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_mail_magazine', key($requiredSchemes)));
}
return $ret;
}
not_plugin_mail_magazine:
// plugin_mail_magazine_page
if (preg_match('#^/admini/plugin/mail_magazine(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_mail_magazine_page']), array ( 'page_no' => NULL, '_controller' => 'Plugin\\MailMagazine4\\Controller\\MailMagazineController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_mail_magazine_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_mail_magazine_page', key($requiredSchemes)));
}
return $ret;
}
not_plugin_mail_magazine_page:
// plugin_mail_magazine_select
if (0 === strpos($pathinfo, '/admini/plugin/mail_magazine/select') && preg_match('#^/admini/plugin/mail_magazine/select(?:/(?P<id>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_mail_magazine_select']), array ( 'id' => NULL, '_controller' => 'Plugin\\MailMagazine4\\Controller\\MailMagazineController::select',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_plugin_mail_magazine_select;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_mail_magazine_select;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_mail_magazine_select', key($requiredSchemes)));
}
return $ret;
}
not_plugin_mail_magazine_select:
// plugin_mail_magazine_prepare
if ('/admini/plugin/mail_magazine/prepare' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\MailMagazine4\\Controller\\MailMagazineController::prepare', '_route' => 'plugin_mail_magazine_prepare',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_plugin_mail_magazine_prepare;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_mail_magazine_prepare;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_mail_magazine_prepare', key($requiredSchemes)));
}
return $ret;
}
not_plugin_mail_magazine_prepare:
// plugin_mail_magazine_commit
if ('/admini/plugin/mail_magazine/commit' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\MailMagazine4\\Controller\\MailMagazineController::commit', '_route' => 'plugin_mail_magazine_commit',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_plugin_mail_magazine_commit;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_mail_magazine_commit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_mail_magazine_commit', key($requiredSchemes)));
}
return $ret;
}
not_plugin_mail_magazine_commit:
// plugin_mail_magazine_test
if ('/admini/plugin/mail_magazine/test' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\MailMagazine4\\Controller\\MailMagazineController::sendTest', '_route' => 'plugin_mail_magazine_test',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_plugin_mail_magazine_test;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_mail_magazine_test;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_mail_magazine_test', key($requiredSchemes)));
}
return $ret;
}
not_plugin_mail_magazine_test:
if (0 === strpos($pathinfo, '/admini/plugin/mail_magazine/template')) {
// plugin_mail_magazine_template
if ('/admini/plugin/mail_magazine/template' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\MailMagazine4\\Controller\\MailMagazineTemplateController::index', '_route' => 'plugin_mail_magazine_template',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_mail_magazine_template;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_mail_magazine_template', key($requiredSchemes)));
}
return $ret;
}
not_plugin_mail_magazine_template:
// plugin_mail_magazine_template_preview
if (preg_match('#^/admini/plugin/mail_magazine/template/(?P<id>\\d+)/preview$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_mail_magazine_template_preview']), array ( '_controller' => 'Plugin\\MailMagazine4\\Controller\\MailMagazineTemplateController::preview',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_mail_magazine_template_preview;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_mail_magazine_template_preview', key($requiredSchemes)));
}
return $ret;
}
not_plugin_mail_magazine_template_preview:
// plugin_mail_magazine_template_delete
if (preg_match('#^/admini/plugin/mail_magazine/template/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_mail_magazine_template_delete']), array ( '_controller' => 'Plugin\\MailMagazine4\\Controller\\MailMagazineTemplateController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_plugin_mail_magazine_template_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_mail_magazine_template_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_mail_magazine_template_delete', key($requiredSchemes)));
}
return $ret;
}
not_plugin_mail_magazine_template_delete:
// plugin_mail_magazine_template_edit
if (preg_match('#^/admini/plugin/mail_magazine/template/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_mail_magazine_template_edit']), array ( '_controller' => 'Plugin\\MailMagazine4\\Controller\\MailMagazineTemplateController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_mail_magazine_template_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_mail_magazine_template_edit', key($requiredSchemes)));
}
return $ret;
}
not_plugin_mail_magazine_template_edit:
// plugin_mail_magazine_template_commit
if (0 === strpos($pathinfo, '/admini/plugin/mail_magazine/template/commit') && preg_match('#^/admini/plugin/mail_magazine/template/commit(?:/(?P<id>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_mail_magazine_template_commit']), array ( 'id' => NULL, '_controller' => 'Plugin\\MailMagazine4\\Controller\\MailMagazineTemplateController::commit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_plugin_mail_magazine_template_commit;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_mail_magazine_template_commit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_mail_magazine_template_commit', key($requiredSchemes)));
}
return $ret;
}
not_plugin_mail_magazine_template_commit:
// plugin_mail_magazine_template_regist
if ('/admini/plugin/mail_magazine/template/regist' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\MailMagazine4\\Controller\\MailMagazineTemplateController::regist', '_route' => 'plugin_mail_magazine_template_regist',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_mail_magazine_template_regist;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_mail_magazine_template_regist', key($requiredSchemes)));
}
return $ret;
}
not_plugin_mail_magazine_template_regist:
}
elseif (0 === strpos($pathinfo, '/admini/plugin/mail_magazine/history')) {
// plugin_mail_magazine_history
if ('/admini/plugin/mail_magazine/history' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\MailMagazine4\\Controller\\MailMagazineHistoryController::index', '_route' => 'plugin_mail_magazine_history',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_mail_magazine_history;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_mail_magazine_history', key($requiredSchemes)));
}
return $ret;
}
not_plugin_mail_magazine_history:
// plugin_mail_magazine_history_page
if (preg_match('#^/admini/plugin/mail_magazine/history(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_mail_magazine_history_page']), array ( 'page_no' => 1, '_controller' => 'Plugin\\MailMagazine4\\Controller\\MailMagazineHistoryController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_mail_magazine_history_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_mail_magazine_history_page', key($requiredSchemes)));
}
return $ret;
}
not_plugin_mail_magazine_history_page:
// plugin_mail_magazine_history_preview
if (preg_match('#^/admini/plugin/mail_magazine/history/(?P<id>\\d+)/preview$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_mail_magazine_history_preview']), array ( '_controller' => 'Plugin\\MailMagazine4\\Controller\\MailMagazineHistoryController::preview',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_mail_magazine_history_preview;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_mail_magazine_history_preview', key($requiredSchemes)));
}
return $ret;
}
not_plugin_mail_magazine_history_preview:
// plugin_mail_magazine_history_condition
if (preg_match('#^/admini/plugin/mail_magazine/history/(?P<id>\\d+)/condition$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_mail_magazine_history_condition']), array ( '_controller' => 'Plugin\\MailMagazine4\\Controller\\MailMagazineHistoryController::condition',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_mail_magazine_history_condition;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_mail_magazine_history_condition', key($requiredSchemes)));
}
return $ret;
}
not_plugin_mail_magazine_history_condition:
// plugin_mail_magazine_history_delete
if (preg_match('#^/admini/plugin/mail_magazine/history/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_mail_magazine_history_delete']), array ( '_controller' => 'Plugin\\MailMagazine4\\Controller\\MailMagazineHistoryController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_plugin_mail_magazine_history_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_mail_magazine_history_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_mail_magazine_history_delete', key($requiredSchemes)));
}
return $ret;
}
not_plugin_mail_magazine_history_delete:
// plugin_mail_magazine_history_retry
if (preg_match('#^/admini/plugin/mail_magazine/history/(?P<id>\\d+)/retry$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_mail_magazine_history_retry']), array ( '_controller' => 'Plugin\\MailMagazine4\\Controller\\MailMagazineHistoryController::retry',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_plugin_mail_magazine_history_retry;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_mail_magazine_history_retry;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_mail_magazine_history_retry', key($requiredSchemes)));
}
return $ret;
}
not_plugin_mail_magazine_history_retry:
if (0 === strpos($pathinfo, '/admini/plugin/mail_magazine/history/result')) {
// plugin_mail_magazine_history_result
if (preg_match('#^/admini/plugin/mail_magazine/history/result/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_mail_magazine_history_result']), array ( '_controller' => 'Plugin\\MailMagazine4\\Controller\\MailMagazineHistoryController::result',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_mail_magazine_history_result;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_mail_magazine_history_result', key($requiredSchemes)));
}
return $ret;
}
not_plugin_mail_magazine_history_result:
// plugin_mail_magazine_history_result_page
if (preg_match('#^/admini/plugin/mail_magazine/history/result/(?P<id>\\d+)(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_mail_magazine_history_result_page']), array ( 'page_no' => 1, '_controller' => 'Plugin\\MailMagazine4\\Controller\\MailMagazineHistoryController::result',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_mail_magazine_history_result_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_mail_magazine_history_result_page', key($requiredSchemes)));
}
return $ret;
}
not_plugin_mail_magazine_history_result_page:
}
}
}
elseif (0 === strpos($pathinfo, '/admini/plugin/sales_report')) {
// sales_report_admin_term
if ('/admini/plugin/sales_report/term' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\SalesReport4\\Controller\\SalesReportController::term', '_route' => 'sales_report_admin_term',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
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 ('/admini/plugin/sales_report/product' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\SalesReport4\\Controller\\SalesReportController::product', '_route' => 'sales_report_admin_product',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
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 ('/admini/plugin/sales_report/age' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\SalesReport4\\Controller\\SalesReportController::age', '_route' => 'sales_report_admin_age',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
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, '/admini/plugin/sales_report/export') && preg_match('#^/admini/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, 'http' => 1,);
$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, '/admini/plugin/coupon')) {
// plugin_coupon_list
if ('/admini/plugin/coupon' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Coupon4\\Controller\\Admin\\CouponController::index', '_route' => 'plugin_coupon_list',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_coupon_list;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_coupon_list', key($requiredSchemes)));
}
return $ret;
}
not_plugin_coupon_list:
// plugin_coupon_new
if ('/admini/plugin/coupon/new' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Coupon4\\Controller\\Admin\\CouponController::edit', '_route' => 'plugin_coupon_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_coupon_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_coupon_new', key($requiredSchemes)));
}
return $ret;
}
not_plugin_coupon_new:
// plugin_coupon_edit
if (preg_match('#^/admini/plugin/coupon/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_coupon_edit']), array ( 'id' => NULL, '_controller' => 'Plugin\\Coupon4\\Controller\\Admin\\CouponController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_coupon_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_coupon_edit', key($requiredSchemes)));
}
return $ret;
}
not_plugin_coupon_edit:
// plugin_coupon_enable
if (preg_match('#^/admini/plugin/coupon/(?P<id>\\d+)/enable$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_coupon_enable']), array ( '_controller' => 'Plugin\\Coupon4\\Controller\\Admin\\CouponController::enable',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['PUT'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT']);
}
goto not_plugin_coupon_enable;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_coupon_enable;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_coupon_enable', key($requiredSchemes)));
}
return $ret;
}
not_plugin_coupon_enable:
// plugin_coupon_delete
if (preg_match('#^/admini/plugin/coupon/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_coupon_delete']), array ( '_controller' => 'Plugin\\Coupon4\\Controller\\Admin\\CouponController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_plugin_coupon_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_coupon_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_coupon_delete', key($requiredSchemes)));
}
return $ret;
}
not_plugin_coupon_delete:
if (0 === strpos($pathinfo, '/admini/plugin/coupon/search/product')) {
// plugin_coupon_search_product
if ('/admini/plugin/coupon/search/product' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Coupon4\\Controller\\Admin\\CouponSearchModelController::searchProduct', '_route' => 'plugin_coupon_search_product',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_coupon_search_product;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_coupon_search_product', key($requiredSchemes)));
}
return $ret;
}
not_plugin_coupon_search_product:
// plugin_coupon_search_product_page
if (0 === strpos($pathinfo, '/admini/plugin/coupon/search/product/page') && preg_match('#^/admini/plugin/coupon/search/product/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plugin_coupon_search_product_page']), array ( 'page_no' => NULL, '_controller' => 'Plugin\\Coupon4\\Controller\\Admin\\CouponSearchModelController::searchProduct',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_coupon_search_product_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_coupon_search_product_page', key($requiredSchemes)));
}
return $ret;
}
not_plugin_coupon_search_product_page:
}
// plugin_coupon_search_category
if ('/admini/plugin/coupon/search/category' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Coupon4\\Controller\\Admin\\CouponSearchModelController::searchCategory', '_route' => 'plugin_coupon_search_category',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_coupon_search_category;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_coupon_search_category', key($requiredSchemes)));
}
return $ret;
}
not_plugin_coupon_search_category:
}
}
elseif (0 === strpos($pathinfo, '/admini/paypal')) {
if (0 === strpos($pathinfo, '/admini/paypal/config')) {
// pay_pal_checkout_admin_config
if ('/admini/paypal/config' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\PayPalCheckout\\Controller\\Admin\\ConfigController::index', '_route' => 'pay_pal_checkout_admin_config',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['GET']);
}
goto not_pay_pal_checkout_admin_config;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_pay_pal_checkout_admin_config;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'pay_pal_checkout_admin_config', key($requiredSchemes)));
}
return $ret;
}
not_pay_pal_checkout_admin_config:
// pay_pal_checkout_admin_config_submit
if ('/admini/paypal/config' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\PayPalCheckout\\Controller\\Admin\\ConfigController::post', '_route' => 'pay_pal_checkout_admin_config_submit',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_pay_pal_checkout_admin_config_submit;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_pay_pal_checkout_admin_config_submit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'pay_pal_checkout_admin_config_submit', key($requiredSchemes)));
}
return $ret;
}
not_pay_pal_checkout_admin_config_submit:
// pay_pal_checkout_admin_login
if ('/admini/paypal/config/login' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\PayPalCheckout\\Controller\\Admin\\ConfigController::login', '_route' => 'pay_pal_checkout_admin_login',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_pay_pal_checkout_admin_login;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_pay_pal_checkout_admin_login;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'pay_pal_checkout_admin_login', key($requiredSchemes)));
}
return $ret;
}
not_pay_pal_checkout_admin_login:
}
// admin_paypal_transaction_refound
if (0 === strpos($pathinfo, '/admini/paypal/transaction') && preg_match('#^/admini/paypal/transaction/(?P<id>\\d+)/refound$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_paypal_transaction_refound']), array ( '_controller' => 'Plugin\\PayPalCheckout\\Controller\\Admin\\PaymentStatus\\RefoundController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_admin_paypal_transaction_refound;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_admin_paypal_transaction_refound;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_paypal_transaction_refound', key($requiredSchemes)));
}
return $ret;
}
not_admin_paypal_transaction_refound:
if (0 === strpos($pathinfo, '/admini/paypal/payment_status')) {
// paypal_admin_payment_status
if ('/admini/paypal/payment_status' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\PayPalCheckout\\Controller\\Admin\\PaymentStatus\\TransactionController::index', '_route' => 'paypal_admin_payment_status',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_paypal_admin_payment_status;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'paypal_admin_payment_status', key($requiredSchemes)));
}
return $ret;
}
not_paypal_admin_payment_status:
// paypal_admin_payment_status_page
if (preg_match('#^/admini/paypal/payment_status(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'paypal_admin_payment_status_page']), array ( 'page_no' => NULL, '_controller' => 'Plugin\\PayPalCheckout\\Controller\\Admin\\PaymentStatus\\TransactionController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_paypal_admin_payment_status_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'paypal_admin_payment_status_page', key($requiredSchemes)));
}
return $ret;
}
not_paypal_admin_payment_status_page:
}
elseif (0 === strpos($pathinfo, '/admini/paypal/subscri')) {
if (0 === strpos($pathinfo, '/admini/paypal/subscription/configure')) {
// paypal_admin_subscription_configure
if (preg_match('#^/admini/paypal/subscription/configure/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'paypal_admin_subscription_configure']), array ( '_controller' => 'Plugin\\PayPalCheckout\\Controller\\Admin\\Subscription\\ConfigurationPageController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['GET']);
}
goto not_paypal_admin_subscription_configure;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_paypal_admin_subscription_configure;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'paypal_admin_subscription_configure', key($requiredSchemes)));
}
return $ret;
}
not_paypal_admin_subscription_configure:
// paypal_admin_subscription_configure_submit
if (preg_match('#^/admini/paypal/subscription/configure/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'paypal_admin_subscription_configure_submit']), array ( '_controller' => 'Plugin\\PayPalCheckout\\Controller\\Admin\\Subscription\\ConfigurationPageController::post',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_paypal_admin_subscription_configure_submit;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_paypal_admin_subscription_configure_submit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'paypal_admin_subscription_configure_submit', key($requiredSchemes)));
}
return $ret;
}
not_paypal_admin_subscription_configure_submit:
}
// admin_paypal_subscription
if (0 === strpos($pathinfo, '/admini/paypal/subscription') && preg_match('#^/admini/paypal/subscription/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_paypal_subscription']), array ( '_controller' => 'Plugin\\PayPalCheckout\\Controller\\Admin\\Subscription\\SubscriptionPaymentApiController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_paypal_subscription;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_paypal_subscription', key($requiredSchemes)));
}
return $ret;
}
not_admin_paypal_subscription:
if (0 === strpos($pathinfo, '/admini/paypal/subscribing_customer')) {
// paypal_admin_subscribing_customer
if ('/admini/paypal/subscribing_customer' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\PayPalCheckout\\Controller\\Admin\\Subscription\\SubscribingCustomerPageController::index', '_route' => 'paypal_admin_subscribing_customer',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_paypal_admin_subscribing_customer;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'paypal_admin_subscribing_customer', key($requiredSchemes)));
}
return $ret;
}
not_paypal_admin_subscribing_customer:
// paypal_admin_subscribing_customer_pageno
if (preg_match('#^/admini/paypal/subscribing_customer(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'paypal_admin_subscribing_customer_pageno']), array ( 'page_no' => NULL, '_controller' => 'Plugin\\PayPalCheckout\\Controller\\Admin\\Subscription\\SubscribingCustomerPageController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_paypal_admin_subscribing_customer_pageno;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'paypal_admin_subscribing_customer_pageno', key($requiredSchemes)));
}
return $ret;
}
not_paypal_admin_subscribing_customer_pageno:
}
}
elseif (0 === strpos($pathinfo, '/admini/paypal/shipping_address')) {
// paypal_admin_shipping_address
if (preg_match('#^/admini/paypal/shipping_address/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'paypal_admin_shipping_address']), array ( '_controller' => 'Plugin\\PayPalCheckout\\Controller\\Admin\\Subscription\\ShippingAddressPageController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['GET']);
}
goto not_paypal_admin_shipping_address;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_paypal_admin_shipping_address;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'paypal_admin_shipping_address', key($requiredSchemes)));
}
return $ret;
}
not_paypal_admin_shipping_address:
// paypal_admin_shipping_address_submit
if (preg_match('#^/admini/paypal/shipping_address/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'paypal_admin_shipping_address_submit']), array ( '_controller' => 'Plugin\\PayPalCheckout\\Controller\\Admin\\Subscription\\ShippingAddressPageController::post',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_paypal_admin_shipping_address_submit;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_paypal_admin_shipping_address_submit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'paypal_admin_shipping_address_submit', key($requiredSchemes)));
}
return $ret;
}
not_paypal_admin_shipping_address_submit:
}
}
}
// admin_logout
if ('/admini/logout' === $pathinfo) {
$ret = ['_route' => 'admin_logout'];
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_logout;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_logout', key($requiredSchemes)));
}
return $ret;
}
not_admin_logout:
if (0 === strpos($pathinfo, '/admini/login_record')) {
// plg_admin_record_config
if ('/admini/login_record/config' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\AdminSecurity4\\Controller\\Admin\\ConfigController::index', '_route' => 'plg_admin_record_config',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plg_admin_record_config;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plg_admin_record_config', key($requiredSchemes)));
}
return $ret;
}
not_plg_admin_record_config:
// plg_admin_record_login_record
if ('/admini/login_record' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\AdminSecurity4\\Controller\\Admin\\LoginRecordController::index', '_route' => 'plg_admin_record_login_record',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plg_admin_record_login_record;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plg_admin_record_login_record', key($requiredSchemes)));
}
return $ret;
}
not_plg_admin_record_login_record:
// plg_admin_record_login_record_page
if (preg_match('#^/admini/login_record(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'plg_admin_record_login_record_page']), array ( 'page_no' => NULL, '_controller' => 'Plugin\\AdminSecurity4\\Controller\\Admin\\LoginRecordController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plg_admin_record_login_record_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plg_admin_record_login_record_page', key($requiredSchemes)));
}
return $ret;
}
not_plg_admin_record_login_record_page:
}
elseif (0 === strpos($pathinfo, '/admini/apg_rich_editor/editor')) {
// plugin_ApgRichEditor_uploadImage
if ('/admini/apg_rich_editor/editor/upload-image' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ApgRichEditor\\Controller\\Admin\\ApgRichEditorController::uploadImage', '_route' => 'plugin_ApgRichEditor_uploadImage',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_ApgRichEditor_uploadImage;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_ApgRichEditor_uploadImage', key($requiredSchemes)));
}
return $ret;
}
not_plugin_ApgRichEditor_uploadImage:
// plugin_ApgRichEditor_images
if ('/admini/apg_rich_editor/editor/images' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ApgRichEditor\\Controller\\Admin\\ApgRichEditorController::images', '_route' => 'plugin_ApgRichEditor_images',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_ApgRichEditor_images;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_ApgRichEditor_images', key($requiredSchemes)));
}
return $ret;
}
not_plugin_ApgRichEditor_images:
// plugin_ApgRichEditor_connect
if ('/admini/apg_rich_editor/editor/elfinder-connector' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ApgRichEditor\\Controller\\Admin\\ApgRichEditorController::connect', '_route' => 'plugin_ApgRichEditor_connect',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_ApgRichEditor_connect;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_ApgRichEditor_connect', key($requiredSchemes)));
}
return $ret;
}
not_plugin_ApgRichEditor_connect:
}
// apg_rich_editor_admin_config
if ('/admini/apg_rich_editor/config' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ApgRichEditor\\Controller\\Admin\\ConfigController::index', '_route' => 'apg_rich_editor_admin_config',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_apg_rich_editor_admin_config;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'apg_rich_editor_admin_config', key($requiredSchemes)));
}
return $ret;
}
not_apg_rich_editor_admin_config:
if (0 === strpos($pathinfo, '/admini/xss_fixer/config')) {
// xss_fixer_admin_config
if ('/admini/xss_fixer/config' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\XssFixer\\Controller\\Admin\\ConfigController::index', '_route' => 'xss_fixer_admin_config',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
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 ('/admini/xss_fixer/config/download' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\XssFixer\\Controller\\Admin\\ConfigController::download', '_route' => 'xss_fixer_admin_config_download',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
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:
}
elseif (0 === strpos($pathinfo, '/admini/related_product/search/product')) {
// admin_related_product_search
if ('/admini/related_product/search/product' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\RelatedProduct4\\Controller\\Admin\\RelatedProductController::searchProduct', '_route' => 'admin_related_product_search',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_related_product_search;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_related_product_search', key($requiredSchemes)));
}
return $ret;
}
not_admin_related_product_search:
// admin_related_product_search_product_page
if (0 === strpos($pathinfo, '/admini/related_product/search/product/page') && preg_match('#^/admini/related_product/search/product/page(?:/(?P<page_no>\\d+))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'admin_related_product_search_product_page']), array ( 'page_no' => NULL, '_controller' => 'Plugin\\RelatedProduct4\\Controller\\Admin\\RelatedProductController::searchProduct',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_admin_related_product_search_product_page;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'admin_related_product_search_product_page', key($requiredSchemes)));
}
return $ret;
}
not_admin_related_product_search_product_page:
}
// ss_next_admin_product_export
if ('/admini/next/product/export' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\SSNext\\Controller\\Admin\\ProductController::export', '_route' => 'ss_next_admin_product_export',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_ss_next_admin_product_export;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'ss_next_admin_product_export', key($requiredSchemes)));
}
return $ret;
}
not_ss_next_admin_product_export:
if (0 === strpos($pathinfo, '/admini/maker')) {
// maker_admin_index
if ('/admini/maker' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Maker4\\Controller\\MakerController::index', '_route' => 'maker_admin_index',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
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('#^/admini/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, 'http' => 1,);
$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 ('/admini/maker/move_sort_no' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Maker4\\Controller\\MakerController::moveSortNo', '_route' => 'maker_admin_move_sort_no',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_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, '/block')) {
if (0 === strpos($pathinfo, '/block/cart')) {
// block_cart
if ('/block/cart' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Block\\CartController::index', '_route' => 'block_cart',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_block_cart;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'block_cart', key($requiredSchemes)));
}
return $ret;
}
not_block_cart:
// block_cart_sp
if ('/block/cart_sp' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Block\\CartController::index', '_route' => 'block_cart_sp',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_block_cart_sp;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'block_cart_sp', key($requiredSchemes)));
}
return $ret;
}
not_block_cart_sp:
}
// block_check_product
if ('/block/check_product' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\CheckProduct4\\Controller\\Block\\CheckProductController::index', '_route' => 'block_check_product',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_block_check_product;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'block_check_product', key($requiredSchemes)));
}
return $ret;
}
not_block_check_product:
if (0 === strpos($pathinfo, '/block/search_product')) {
// block_search_product
if ('/block/search_product' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Block\\SearchProductController::index', '_route' => 'block_search_product',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_block_search_product;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'block_search_product', key($requiredSchemes)));
}
return $ret;
}
not_block_search_product:
// block_search_product_sp
if ('/block/search_product_sp' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Block\\SearchProductController::index', '_route' => 'block_search_product_sp',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_block_search_product_sp;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'block_search_product_sp', key($requiredSchemes)));
}
return $ret;
}
not_block_search_product_sp:
}
// block_order_by_sale
if ('/block/order_by_sale' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\OrderBySale4\\Controller\\BlockController::index', '_route' => 'block_order_by_sale',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_block_order_by_sale;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'block_order_by_sale', key($requiredSchemes)));
}
return $ret;
}
not_block_order_by_sale:
}
elseif (0 === strpos($pathinfo, '/cart')) {
// cart
if ('/cart' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\CartController::index', '_route' => 'cart',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_cart;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'cart', key($requiredSchemes)));
}
return $ret;
}
not_cart:
// cart_handle_item
if (preg_match('#^/cart/(?P<operation>up|down|remove)/(?P<productClassId>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'cart_handle_item']), array ( '_controller' => 'Eccube\\Controller\\CartController::handleCartItem',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['PUT'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT']);
}
goto not_cart_handle_item;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_cart_handle_item;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'cart_handle_item', key($requiredSchemes)));
}
return $ret;
}
not_cart_handle_item:
// cart_buystep
if (0 === strpos($pathinfo, '/cart/buystep') && preg_match('#^/cart/buystep/(?P<cart_key>[a-zA-Z0-9]+[_][\\x20-\\x7E]+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'cart_buystep']), array ( '_controller' => 'Eccube\\Controller\\CartController::buystep',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_cart_buystep;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'cart_buystep', key($requiredSchemes)));
}
return $ret;
}
not_cart_buystep:
// cart_handle_item_with_product_option
if (0 === strpos($pathinfo, '/cart-with-product-option') && preg_match('#^/cart\\-with\\-product\\-option/(?P<operation>up|down|remove)/(?P<productClassId>\\d+)/(?P<productOptionGroupId>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'cart_handle_item_with_product_option']), array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\ProductOptionController::handleCartItem',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['PUT', 'GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT', 'GET']);
}
goto not_cart_handle_item_with_product_option;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_cart_handle_item_with_product_option;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'cart_handle_item_with_product_option', key($requiredSchemes)));
}
return $ret;
}
not_cart_handle_item_with_product_option:
}
elseif (0 === strpos($pathinfo, '/contact')) {
// contact
if ('/contact' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ContactController::index', '_route' => 'contact',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_contact;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'contact', key($requiredSchemes)));
}
return $ret;
}
not_contact:
// contact_complete
if ('/contact/complete' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ContactController::complete', '_route' => 'contact_complete',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_contact_complete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'contact_complete', key($requiredSchemes)));
}
return $ret;
}
not_contact_complete:
}
elseif (0 === strpos($pathinfo, '/entry')) {
// entry
if ('/entry' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\EntryController::index', '_route' => 'entry',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_entry;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'entry', key($requiredSchemes)));
}
return $ret;
}
not_entry:
// entry_complete
if ('/entry/complete' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\EntryController::complete', '_route' => 'entry_complete',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_entry_complete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'entry_complete', key($requiredSchemes)));
}
return $ret;
}
not_entry_complete:
// entry_activate
if (0 === strpos($pathinfo, '/entry/activate') && preg_match('#^/entry/activate/(?P<secret_key>[^/]++)(?:/(?P<qtyInCart>[^/]++))?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'entry_activate']), array ( 'qtyInCart' => NULL, '_controller' => 'Eccube\\Controller\\EntryController::activate',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_entry_activate;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'entry_activate', key($requiredSchemes)));
}
return $ret;
}
not_entry_activate:
if (0 === strpos($pathinfo, '/entryShop')) {
// entryShop
if ('/entryShop' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\EntryShopController::index', '_route' => 'entryShop',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_entryShop;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'entryShop', key($requiredSchemes)));
}
return $ret;
}
not_entryShop:
if (0 === strpos($pathinfo, '/entryShop/uploadFile/add')) {
// entry_shop_upload_file_add
if ('/entryShop/uploadFile/add' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\EntryShopController::uploadFileAdd', '_route' => 'entry_shop_upload_file_add',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_entry_shop_upload_file_add;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'entry_shop_upload_file_add', key($requiredSchemes)));
}
return $ret;
}
not_entry_shop_upload_file_add:
// entry_shop_upload_file_add2
if ('/entryShop/uploadFile/add2' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\EntryShopController::uploadFileAdd2', '_route' => 'entry_shop_upload_file_add2',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_entry_shop_upload_file_add2;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'entry_shop_upload_file_add2', key($requiredSchemes)));
}
return $ret;
}
not_entry_shop_upload_file_add2:
}
// entry_shop_complete
if ('/entryShop/complete' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\EntryShopController::complete', '_route' => 'entry_shop_complete',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_entry_shop_complete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'entry_shop_complete', key($requiredSchemes)));
}
return $ret;
}
not_entry_shop_complete:
}
}
elseif (0 === strpos($pathinfo, '/forgot')) {
// forgot
if ('/forgot' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ForgotController::index', '_route' => 'forgot',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_forgot;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'forgot', key($requiredSchemes)));
}
return $ret;
}
not_forgot:
// forgot_complete
if ('/forgot/complete' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ForgotController::complete', '_route' => 'forgot_complete',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_forgot_complete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'forgot_complete', key($requiredSchemes)));
}
return $ret;
}
not_forgot_complete:
// forgot_reset
if (0 === strpos($pathinfo, '/forgot/reset') && preg_match('#^/forgot/reset/(?P<reset_key>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'forgot_reset']), array ( '_controller' => 'Eccube\\Controller\\ForgotController::reset',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_forgot_reset;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'forgot_reset', key($requiredSchemes)));
}
return $ret;
}
not_forgot_reset:
}
elseif (0 === strpos($pathinfo, '/help')) {
// help_tradelaw
if ('/help/tradelaw' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\HelpController::tradelaw', '_route' => 'help_tradelaw',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_help_tradelaw;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'help_tradelaw', key($requiredSchemes)));
}
return $ret;
}
not_help_tradelaw:
// help_guide
if ('/help/guide' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\HelpController::guide', '_route' => 'help_guide',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_help_guide;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'help_guide', key($requiredSchemes)));
}
return $ret;
}
not_help_guide:
// help_about
if ('/help/about' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\HelpController::about', '_route' => 'help_about',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_help_about;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'help_about', key($requiredSchemes)));
}
return $ret;
}
not_help_about:
// help_agreement
if ('/help/agreement' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\HelpController::agreement', '_route' => 'help_agreement',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_help_agreement;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'help_agreement', key($requiredSchemes)));
}
return $ret;
}
not_help_agreement:
if (0 === strpos($pathinfo, '/help/pr')) {
// help_privacy
if ('/help/privacy' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\HelpController::privacy', '_route' => 'help_privacy',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_help_privacy;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'help_privacy', key($requiredSchemes)));
}
return $ret;
}
not_help_privacy:
// help_pro_agreement
if ('/help/pro_agreement' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\HelpController::pro_agreement', '_route' => 'help_pro_agreement',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_help_pro_agreement;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'help_pro_agreement', key($requiredSchemes)));
}
return $ret;
}
not_help_pro_agreement:
// help_pro_member
if ('/help/pro_member' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\HelpController::pro_member', '_route' => 'help_pro_member',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_help_pro_member;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'help_pro_member', key($requiredSchemes)));
}
return $ret;
}
not_help_pro_member:
}
// help_faq
if ('/help/faq' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\HelpController::faq', '_route' => 'help_faq',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_help_faq;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'help_faq', key($requiredSchemes)));
}
return $ret;
}
not_help_faq:
// help_member
if ('/help/member' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\HelpController::member', '_route' => 'help_member',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_help_member;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'help_member', key($requiredSchemes)));
}
return $ret;
}
not_help_member:
// help_shop_agreement
if ('/help/shopagreement' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\HelpController::shopagreement', '_route' => 'help_shop_agreement',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_help_shop_agreement;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'help_shop_agreement', key($requiredSchemes)));
}
return $ret;
}
not_help_shop_agreement:
}
elseif (0 === strpos($pathinfo, '/install')) {
// install
if ('/install' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Install\\InstallController::index', '_route' => 'install',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_install;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'install', key($requiredSchemes)));
}
return $ret;
}
not_install:
if (0 === strpos($pathinfo, '/install/step')) {
// install_step1
if ('/install/step1' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Install\\InstallController::step1', '_route' => 'install_step1',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_install_step1;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'install_step1', key($requiredSchemes)));
}
return $ret;
}
not_install_step1:
// install_step2
if ('/install/step2' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Install\\InstallController::step2', '_route' => 'install_step2',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_install_step2;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'install_step2', key($requiredSchemes)));
}
return $ret;
}
not_install_step2:
// install_step3
if ('/install/step3' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Install\\InstallController::step3', '_route' => 'install_step3',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_install_step3;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'install_step3', key($requiredSchemes)));
}
return $ret;
}
not_install_step3:
// install_step4
if ('/install/step4' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Install\\InstallController::step4', '_route' => 'install_step4',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_install_step4;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'install_step4', key($requiredSchemes)));
}
return $ret;
}
not_install_step4:
// install_step5
if ('/install/step5' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Install\\InstallController::step5', '_route' => 'install_step5',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_install_step5;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'install_step5', key($requiredSchemes)));
}
return $ret;
}
not_install_step5:
}
// install_complete
if ('/install/complete' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Install\\InstallController::complete', '_route' => 'install_complete',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_install_complete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'install_complete', key($requiredSchemes)));
}
return $ret;
}
not_install_complete:
}
elseif (0 === strpos($pathinfo, '/mypage')) {
if (0 === strpos($pathinfo, '/mypage/change')) {
// mypage_change
if ('/mypage/change' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Mypage\\ChangeController::index', '_route' => 'mypage_change',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_change;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_change', key($requiredSchemes)));
}
return $ret;
}
not_mypage_change:
// mypage_change_complete
if ('/mypage/change_complete' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Mypage\\ChangeController::complete', '_route' => 'mypage_change_complete',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_change_complete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_change_complete', key($requiredSchemes)));
}
return $ret;
}
not_mypage_change_complete:
}
elseif (0 === strpos($pathinfo, '/mypage/delivery')) {
// mypage_delivery
if ('/mypage/delivery' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Mypage\\DeliveryController::index', '_route' => 'mypage_delivery',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_delivery;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_delivery', key($requiredSchemes)));
}
return $ret;
}
not_mypage_delivery:
// mypage_delivery_new
if ('/mypage/delivery/new' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Mypage\\DeliveryController::edit', '_route' => 'mypage_delivery_new',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_delivery_new;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_delivery_new', key($requiredSchemes)));
}
return $ret;
}
not_mypage_delivery_new:
// mypage_delivery_edit
if (preg_match('#^/mypage/delivery/(?P<id>\\d+)/edit$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'mypage_delivery_edit']), array ( 'id' => NULL, '_controller' => 'Eccube\\Controller\\Mypage\\DeliveryController::edit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_delivery_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_delivery_edit', key($requiredSchemes)));
}
return $ret;
}
not_mypage_delivery_edit:
// mypage_delivery_delete
if (preg_match('#^/mypage/delivery/(?P<id>[^/]++)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'mypage_delivery_delete']), array ( '_controller' => 'Eccube\\Controller\\Mypage\\DeliveryController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_mypage_delivery_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_delivery_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_delivery_delete', key($requiredSchemes)));
}
return $ret;
}
not_mypage_delivery_delete:
}
// mypage_login
if ('/mypage/login' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Mypage\\MypageController::login', '_route' => 'mypage_login',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_login;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_login', key($requiredSchemes)));
}
return $ret;
}
not_mypage_login:
// mypage
if ('/mypage' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Mypage\\MypageController::index', '_route' => 'mypage',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_mypage;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'mypage'));
}
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage', key($requiredSchemes)));
}
return $ret;
}
not_mypage:
// mypage_history
if (0 === strpos($pathinfo, '/mypage/history') && preg_match('#^/mypage/history/(?P<order_no>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'mypage_history']), array ( '_controller' => 'Eccube\\Controller\\Mypage\\MypageController::history',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_history;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_history', key($requiredSchemes)));
}
return $ret;
}
not_mypage_history:
// mypage_order
if (0 === strpos($pathinfo, '/mypage/order') && preg_match('#^/mypage/order/(?P<order_no>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'mypage_order']), array ( '_controller' => 'Eccube\\Controller\\Mypage\\MypageController::order',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['PUT'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['PUT']);
}
goto not_mypage_order;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_order;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_order', key($requiredSchemes)));
}
return $ret;
}
not_mypage_order:
if (0 === strpos($pathinfo, '/mypage/favorite')) {
// mypage_favorite
if ('/mypage/favorite' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Mypage\\MypageController::favorite', '_route' => 'mypage_favorite',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_favorite;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_favorite', key($requiredSchemes)));
}
return $ret;
}
not_mypage_favorite:
// mypage_favorite_delete
if (preg_match('#^/mypage/favorite/(?P<id>\\d+)/delete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'mypage_favorite_delete']), array ( '_controller' => 'Eccube\\Controller\\Mypage\\MypageController::delete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['DELETE'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['DELETE']);
}
goto not_mypage_favorite_delete;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_favorite_delete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_favorite_delete', key($requiredSchemes)));
}
return $ret;
}
not_mypage_favorite_delete:
}
// mypage_print
if (preg_match('#^/mypage/(?P<order_no>[^/]++)/(?P<print>[^/]++)/print$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'mypage_print']), array ( '_controller' => 'Eccube\\Controller\\Mypage\\MypageController::exportPrint',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_print;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_print', key($requiredSchemes)));
}
return $ret;
}
not_mypage_print:
// mypage_point
if ('/mypage/point' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Mypage\\MypageController::point', '_route' => 'mypage_point',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_point;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_point', key($requiredSchemes)));
}
return $ret;
}
not_mypage_point:
// mypage_shop
if ('/mypage/shop' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Mypage\\ShopController::index', '_route' => 'mypage_shop',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_shop;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_shop', key($requiredSchemes)));
}
return $ret;
}
not_mypage_shop:
if (0 === strpos($pathinfo, '/mypage/withdraw')) {
// mypage_withdraw
if ('/mypage/withdraw' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Mypage\\WithdrawController::index', '_route' => 'mypage_withdraw',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_withdraw;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_withdraw', key($requiredSchemes)));
}
return $ret;
}
not_mypage_withdraw:
// mypage_withdraw_complete
if ('/mypage/withdraw_complete' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\Mypage\\WithdrawController::complete', '_route' => 'mypage_withdraw_complete',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_mypage_withdraw_complete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'mypage_withdraw_complete', key($requiredSchemes)));
}
return $ret;
}
not_mypage_withdraw_complete:
}
}
elseif (0 === strpos($pathinfo, '/shopping')) {
// shopping_nonmember
if ('/shopping/nonmember' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\NonMemberShoppingController::index', '_route' => 'shopping_nonmember',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_nonmember;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_nonmember', key($requiredSchemes)));
}
return $ret;
}
not_shopping_nonmember:
// shopping_customer
if ('/shopping/customer' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\NonMemberShoppingController::customer', '_route' => 'shopping_customer',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_customer;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_customer', key($requiredSchemes)));
}
return $ret;
}
not_shopping_customer:
if (0 === strpos($pathinfo, '/shopping/shipping_multiple')) {
// shopping_shipping_multiple
if ('/shopping/shipping_multiple' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ShippingMultipleController::index', '_route' => 'shopping_shipping_multiple',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_shipping_multiple;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_shipping_multiple', key($requiredSchemes)));
}
return $ret;
}
not_shopping_shipping_multiple:
// shopping_shipping_multiple_edit
if ('/shopping/shipping_multiple_edit' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ShippingMultipleController::shippingMultipleEdit', '_route' => 'shopping_shipping_multiple_edit',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_shipping_multiple_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_shipping_multiple_edit', key($requiredSchemes)));
}
return $ret;
}
not_shopping_shipping_multiple_edit:
}
// shopping
if ('/shopping' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ShoppingController::index', '_route' => 'shopping',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_shopping;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping', key($requiredSchemes)));
}
return $ret;
}
not_shopping:
// shopping_redirect_to
if ('/shopping/redirect_to' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ShoppingController::redirectTo', '_route' => 'shopping_redirect_to',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_shopping_redirect_to;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_redirect_to;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_redirect_to', key($requiredSchemes)));
}
return $ret;
}
not_shopping_redirect_to:
if (0 === strpos($pathinfo, '/shopping/c')) {
// shopping_confirm
if ('/shopping/confirm' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ShoppingController::confirm', '_route' => 'shopping_confirm',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_shopping_confirm;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_confirm;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_confirm', key($requiredSchemes)));
}
return $ret;
}
not_shopping_confirm:
// shopping_complete
if ('/shopping/complete' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ShoppingController::complete', '_route' => 'shopping_complete',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_complete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_complete', key($requiredSchemes)));
}
return $ret;
}
not_shopping_complete:
if (0 === strpos($pathinfo, '/shopping/checkout')) {
// shopping_checkout
if ('/shopping/checkout' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ShoppingController::checkout', '_route' => 'shopping_checkout',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_shopping_checkout;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_checkout;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_checkout', key($requiredSchemes)));
}
return $ret;
}
not_shopping_checkout:
// shopping_checkout_with_option
if ('/shopping/checkout-with-option' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductOption4\\Controller\\ProductOptionController::checkout', '_route' => 'shopping_checkout_with_option',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_shopping_checkout_with_option;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_checkout_with_option;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_checkout_with_option', key($requiredSchemes)));
}
return $ret;
}
not_shopping_checkout_with_option:
}
}
elseif (0 === strpos($pathinfo, '/shopping/shipping')) {
// shopping_shipping
if (preg_match('#^/shopping/shipping/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'shopping_shipping']), array ( '_controller' => 'Eccube\\Controller\\ShoppingController::shipping',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_shipping;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_shipping', key($requiredSchemes)));
}
return $ret;
}
not_shopping_shipping:
// shopping_shipping_edit
if (0 === strpos($pathinfo, '/shopping/shipping_edit') && preg_match('#^/shopping/shipping_edit/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'shopping_shipping_edit']), array ( '_controller' => 'Eccube\\Controller\\ShoppingController::shippingEdit',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_shipping_edit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_shipping_edit', key($requiredSchemes)));
}
return $ret;
}
not_shopping_shipping_edit:
}
// shopping_login
if ('/shopping/login' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ShoppingController::login', '_route' => 'shopping_login',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_login;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_login', key($requiredSchemes)));
}
return $ret;
}
not_shopping_login:
// shopping_error
if ('/shopping/error' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ShoppingController::error', '_route' => 'shopping_error',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_shopping_error;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopping_error', key($requiredSchemes)));
}
return $ret;
}
not_shopping_error:
}
// shopEdit
if ('/shopEdit' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ShopEditController::index', '_route' => 'shopEdit',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_shopEdit;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'shopEdit', key($requiredSchemes)));
}
return $ret;
}
not_shopEdit:
if (0 === strpos($pathinfo, '/p')) {
if (0 === strpos($pathinfo, '/products')) {
// product_list
if ('/products/list' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ProductController::index', '_route' => 'product_list',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_list;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_list', key($requiredSchemes)));
}
return $ret;
}
not_product_list:
// product_detail
if (0 === strpos($pathinfo, '/products/detail') && preg_match('#^/products/detail/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'product_detail']), array ( '_controller' => 'Eccube\\Controller\\ProductController::detail',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['GET']);
}
goto not_product_detail;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_product_detail;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_detail', key($requiredSchemes)));
}
return $ret;
}
not_product_detail:
// product_add_favorite
if (0 === strpos($pathinfo, '/products/add_favorite') && preg_match('#^/products/add_favorite/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'product_add_favorite']), array ( '_controller' => 'Eccube\\Controller\\ProductController::addFavorite',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_add_favorite;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_add_favorite', key($requiredSchemes)));
}
return $ret;
}
not_product_add_favorite:
// product_add_cart
if (0 === strpos($pathinfo, '/products/add_cart') && preg_match('#^/products/add_cart/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'product_add_cart']), array ( '_controller' => 'Eccube\\Controller\\ProductController::addCart',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_product_add_cart;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_product_add_cart;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_add_cart', key($requiredSchemes)));
}
return $ret;
}
not_product_add_cart:
// products_create_product
if ('/products/createProduct' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ProductController::createProduct', '_route' => 'products_create_product',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_products_create_product;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_products_create_product;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'products_create_product', key($requiredSchemes)));
}
return $ret;
}
not_products_create_product:
// products_create_rakuten_category
if ('/products/createRakutenCategory' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ProductController::createRakutenCategory', '_route' => 'products_create_rakuten_category',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_products_create_rakuten_category;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_products_create_rakuten_category;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'products_create_rakuten_category', key($requiredSchemes)));
}
return $ret;
}
not_products_create_rakuten_category:
// products_fav_review
if ('/products/ec4autoFavReview' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ProductController::ec4autoFavReview', '_route' => 'products_fav_review',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_products_fav_review;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_products_fav_review;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'products_fav_review', key($requiredSchemes)));
}
return $ret;
}
not_products_fav_review:
// products_udpate_giga_stock
if ('/products/udpateGigaStock' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ProductController::udpateGigaStock', '_route' => 'products_udpate_giga_stock',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_products_udpate_giga_stock;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_products_udpate_giga_stock;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'products_udpate_giga_stock', key($requiredSchemes)));
}
return $ret;
}
not_products_udpate_giga_stock:
// products_news
if ('/products/getNews' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ProductController::getNews', '_route' => 'products_news',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_products_news;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'products_news', key($requiredSchemes)));
}
return $ret;
}
not_products_news:
// products_set_news
if ('/products/setNews' === $pathinfo) {
$ret = array ( '_controller' => 'Eccube\\Controller\\ProductController::setNews', '_route' => 'products_set_news',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_products_set_news;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_products_set_news;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'products_set_news', key($requiredSchemes)));
}
return $ret;
}
not_products_set_news:
}
elseif (0 === strpos($pathinfo, '/product_review')) {
// product_review_index
if (preg_match('#^/product_review/(?P<id>\\d+)/review$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'product_review_index']), array ( '_controller' => 'Plugin\\ProductReview4\\Controller\\ProductReviewController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_review_index;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_review_index', key($requiredSchemes)));
}
return $ret;
}
not_product_review_index:
// product_review_confirm
if (preg_match('#^/product_review/(?P<id>\\d+)/review$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'product_review_confirm']), array ( '_controller' => 'Plugin\\ProductReview4\\Controller\\ProductReviewController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_review_confirm;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_review_confirm', key($requiredSchemes)));
}
return $ret;
}
not_product_review_confirm:
// product_review_complete
if (preg_match('#^/product_review/(?P<id>\\d+)/complete$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'product_review_complete']), array ( '_controller' => 'Plugin\\ProductReview4\\Controller\\ProductReviewController::complete',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_review_complete;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_review_complete', key($requiredSchemes)));
}
return $ret;
}
not_product_review_complete:
// product_review_display
if ('/product_review/display' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductReview4\\Controller\\ProductReviewController::display', '_route' => 'product_review_display',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_review_display;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_review_display', key($requiredSchemes)));
}
return $ret;
}
not_product_review_display:
// product_review_upload_file_add
if ('/product_review/uploadFile/add' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\ProductReview4\\Controller\\ProductReviewController::uploadFileAdd', '_route' => 'product_review_upload_file_add',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_product_review_upload_file_add;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'product_review_upload_file_add', key($requiredSchemes)));
}
return $ret;
}
not_product_review_upload_file_add:
}
elseif (0 === strpos($pathinfo, '/plugin')) {
// plugin_coupon_shopping
if ('/plugin/coupon/shopping/shopping_coupon' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Coupon4\\Controller\\CouponShoppingController::shoppingCoupon', '_route' => 'plugin_coupon_shopping',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_coupon_shopping;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_coupon_shopping', key($requiredSchemes)));
}
return $ret;
}
not_plugin_coupon_shopping:
// plugin_coupon_apply_ajax
if ('/plugin/coupon/apply_ajax' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\Coupon4\\Controller\\CouponShoppingController::applyCouponAjax', '_route' => 'plugin_coupon_apply_ajax',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_plugin_coupon_apply_ajax;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_coupon_apply_ajax;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_coupon_apply_ajax', key($requiredSchemes)));
}
return $ret;
}
not_plugin_coupon_apply_ajax:
if (0 === strpos($pathinfo, '/plugin/stripe_payment_gateway')) {
// plugin_stripe_credit_card
if ('/plugin/stripe_payment_gateway/credit_card' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\StripePaymentGateway\\Controller\\StripePaymentController::credit_payment', '_route' => 'plugin_stripe_credit_card',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_stripe_credit_card;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_stripe_credit_card', key($requiredSchemes)));
}
return $ret;
}
not_plugin_stripe_credit_card:
// plugin_stripe_confirm_intent
if ('/plugin/stripe_payment_gateway/confirm_intent' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\StripePaymentGateway\\Controller\\StripePrController::confirmIntent', '_route' => 'plugin_stripe_confirm_intent',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_stripe_confirm_intent;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_stripe_confirm_intent', key($requiredSchemes)));
}
return $ret;
}
not_plugin_stripe_confirm_intent:
// plugin_stripe_konbini
if ('/plugin/stripe_payment_gateway/konbini' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\StripePaymentGateway\\Controller\\StripePaymentController::konbiniPayment', '_route' => 'plugin_stripe_konbini',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_stripe_konbini;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_stripe_konbini', key($requiredSchemes)));
}
return $ret;
}
not_plugin_stripe_konbini:
// plugin_stripe_payment_method_detach
if ('/plugin/stripe_payment_gateway/method_detach' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\StripePaymentGateway\\Controller\\StripePaymentController::detachMethod', '_route' => 'plugin_stripe_payment_method_detach',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_stripe_payment_method_detach;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_stripe_payment_method_detach', key($requiredSchemes)));
}
return $ret;
}
not_plugin_stripe_payment_method_detach:
if (0 === strpos($pathinfo, '/plugin/stripe_payment_gateway/p')) {
// plugin_stripe_payment_gateway_payment
if ('/plugin/stripe_payment_gateway/payment_intent' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\StripePaymentGateway\\Controller\\StripePaymentController::paymentIntent', '_route' => 'plugin_stripe_payment_gateway_payment',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_stripe_payment_gateway_payment;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_stripe_payment_gateway_payment', key($requiredSchemes)));
}
return $ret;
}
not_plugin_stripe_payment_gateway_payment:
// plugin_stripe_pr_shipping
if ('/plugin/stripe_payment_gateway/pr_shipping' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\StripePaymentGateway\\Controller\\StripePrController::prShipping', '_route' => 'plugin_stripe_pr_shipping',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_stripe_pr_shipping;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_stripe_pr_shipping', key($requiredSchemes)));
}
return $ret;
}
not_plugin_stripe_pr_shipping:
// plugin_stripe_pr_pay
if ('/plugin/stripe_payment_gateway/pr_pay' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\StripePaymentGateway\\Controller\\StripePrController::prPay', '_route' => 'plugin_stripe_pr_pay',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_stripe_pr_pay;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_stripe_pr_pay', key($requiredSchemes)));
}
return $ret;
}
not_plugin_stripe_pr_pay:
}
// plugin_stripe_payment_gateway_webhook
if ('/plugin/stripe_payment_gateway/webhook' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\StripePaymentGateway\\Controller\\WebhookController::webhook', '_route' => 'plugin_stripe_payment_gateway_webhook',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_plugin_stripe_payment_gateway_webhook;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'plugin_stripe_payment_gateway_webhook', key($requiredSchemes)));
}
return $ret;
}
not_plugin_stripe_payment_gateway_webhook:
}
}
elseif (0 === strpos($pathinfo, '/paypal')) {
if (0 === strpos($pathinfo, '/paypal/prepare-transaction')) {
// paypal_prepare_transaction_acdc
if ('/paypal/prepare-transaction-acdc' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\PayPalCheckout\\Controller\\Acdc\\CreateAcdcOrderController', '_route' => 'paypal_prepare_transaction_acdc',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_paypal_prepare_transaction_acdc;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_paypal_prepare_transaction_acdc;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'paypal_prepare_transaction_acdc', key($requiredSchemes)));
}
return $ret;
}
not_paypal_prepare_transaction_acdc:
// paypal_prepare_transaction_inline_guest
if ('/paypal/prepare-transaction-inline-guest' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\PayPalCheckout\\Controller\\InlineGuest\\CreateInlineGuestOrderController', '_route' => 'paypal_prepare_transaction_inline_guest',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_paypal_prepare_transaction_inline_guest;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_paypal_prepare_transaction_inline_guest;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'paypal_prepare_transaction_inline_guest', key($requiredSchemes)));
}
return $ret;
}
not_paypal_prepare_transaction_inline_guest:
// paypal_prepare_transaction
if ('/paypal/prepare-transaction' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\PayPalCheckout\\Controller\\PaypalCheckout\\CreateOrderController', '_route' => 'paypal_prepare_transaction',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_paypal_prepare_transaction;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_paypal_prepare_transaction;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'paypal_prepare_transaction', key($requiredSchemes)));
}
return $ret;
}
not_paypal_prepare_transaction:
}
// paypal_prepare_subscription
if ('/paypal/prepare-subscription' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\PayPalCheckout\\Controller\\PaypalCheckout\\CreateBillingAgreementTokenController', '_route' => 'paypal_prepare_subscription',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_paypal_prepare_subscription;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_paypal_prepare_subscription;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'paypal_prepare_subscription', key($requiredSchemes)));
}
return $ret;
}
not_paypal_prepare_subscription:
// paypal_shortcut_prepare_transaction
if (0 === strpos($pathinfo, '/paypal/shortcut-prepare-transaction') && preg_match('#^/paypal/shortcut\\-prepare\\-transaction/(?P<cart_key>[a-zA-Z0-9]+[_][\\x20-\\x7E]+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'paypal_shortcut_prepare_transaction']), array ( '_controller' => 'Plugin\\PayPalCheckout\\Controller\\ShortcutPaypalCheckout\\OrderingProductController',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_paypal_shortcut_prepare_transaction;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_paypal_shortcut_prepare_transaction;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'paypal_shortcut_prepare_transaction', key($requiredSchemes)));
}
return $ret;
}
not_paypal_shortcut_prepare_transaction:
// paypal_shortcut_ordering_subscription_product
if (0 === strpos($pathinfo, '/paypal/shortcut/ordering-subscription-product') && preg_match('#^/paypal/shortcut/ordering\\-subscription\\-product/(?P<cart_key>[a-zA-Z0-9]+[_][\\x20-\\x7E]+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'paypal_shortcut_ordering_subscription_product']), array ( '_controller' => 'Plugin\\PayPalCheckout\\Controller\\ShortcutPaypalCheckout\\OrderingSubscriptionProductController',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_paypal_shortcut_ordering_subscription_product;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_paypal_shortcut_ordering_subscription_product;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'paypal_shortcut_ordering_subscription_product', key($requiredSchemes)));
}
return $ret;
}
not_paypal_shortcut_ordering_subscription_product:
// paypal_confirm
if ('/paypal_confirm' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\PayPalCheckout\\Controller\\ShortcutPaypalCheckout\\PayPalConfirmPageController::confirm', '_route' => 'paypal_confirm',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($canonicalMethod, ['GET'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['GET']);
}
goto not_paypal_confirm;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_paypal_confirm;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'paypal_confirm', key($requiredSchemes)));
}
return $ret;
}
not_paypal_confirm:
}
}
// 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, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_homepage;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'homepage', key($requiredSchemes)));
}
return $ret;
}
not_homepage:
// user_data
if (0 === strpos($pathinfo, '/user_data') && preg_match('#^/user_data/(?P<route>([0-9a-zA-Z_\\-]+\\/?)+(?<!\\/))$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'user_data']), array ( '_controller' => 'Eccube\\Controller\\UserDataController::index',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_user_data;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'user_data', key($requiredSchemes)));
}
return $ret;
}
not_user_data:
// logout
if ('/logout' === $pathinfo) {
$ret = ['_route' => 'logout'];
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_logout;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'logout', key($requiredSchemes)));
}
return $ret;
}
not_logout:
// next_stock
if ('/next/stock' === $pathinfo) {
$ret = array ( '_controller' => 'Plugin\\SSNext\\Controller\\NextController::stock', '_route' => 'next_stock',);
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
if (!isset($requiredSchemes[$context->getScheme()])) {
if ('GET' !== $canonicalMethod) {
goto not_next_stock;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'next_stock', key($requiredSchemes)));
}
return $ret;
}
not_next_stock:
// guest_paypal_shortcut_prepare_transaction
if (0 === strpos($pathinfo, '/guest/paypal/shortcut-prepare-transaction') && preg_match('#^/guest/paypal/shortcut\\-prepare\\-transaction/(?P<cart_key>[a-zA-Z0-9]+[_][\\x20-\\x7E]+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'guest_paypal_shortcut_prepare_transaction']), array ( '_controller' => 'Plugin\\PayPalCheckout\\Controller\\ShortcutPaypalCheckout\\Guest\\OrderingProductController',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_guest_paypal_shortcut_prepare_transaction;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_guest_paypal_shortcut_prepare_transaction;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'guest_paypal_shortcut_prepare_transaction', key($requiredSchemes)));
}
return $ret;
}
not_guest_paypal_shortcut_prepare_transaction:
// guest_paypal_order
if (0 === strpos($pathinfo, '/guest/paypal/order') && preg_match('#^/guest/paypal/order/(?P<cart_key>[a-zA-Z0-9]+[_][\\x20-\\x7E]+)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($matches, ['_route' => 'guest_paypal_order']), array ( '_controller' => 'Plugin\\PayPalCheckout\\Controller\\ShortcutPaypalCheckout\\Guest\\UpdateShippingOrderController',));
$requiredSchemes = array ( 'https' => 0, 'http' => 1,);
$hasRequiredScheme = isset($requiredSchemes[$context->getScheme()]);
if (!in_array($requestMethod, ['POST'])) {
if ($hasRequiredScheme) {
$allow = array_merge($allow, ['POST']);
}
goto not_guest_paypal_order;
}
if (!$hasRequiredScheme) {
if ('GET' !== $canonicalMethod) {
goto not_guest_paypal_order;
}
return array_replace($ret, $this->redirect($rawPathinfo, 'guest_paypal_order', key($requiredSchemes)));
}
return $ret;
}
not_guest_paypal_order:
if ('/' === $pathinfo && !$allow) {
throw new Symfony\Component\Routing\Exception\NoConfigurationException();
}
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}