Files
aux-bieaux-legumes/.well-known/cache/prod/ProjectUrlGeneratorrouter_Front.php
2021-04-08 15:57:38 +02:00

86 lines
20 KiB
PHP

<?php
use Symfony\Component\Routing\RequestContext;
use Symfony\Component\Routing\Exception\RouteNotFoundException;
use Psr\Log\LoggerInterface;
/**
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class ProjectUrlGeneratorrouter_Front extends Symfony\Component\Routing\Generator\UrlGenerator
{
private static $declaredRoutes;
public function __construct(RequestContext $context, LoggerInterface $logger = null)
{
$this->context = $context;
$this->logger = $logger;
if (null === self::$declaredRoutes) {
self::$declaredRoutes = array(
'ajax.mini-cart' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'includes/mini-cart', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/ajax/mini-cart', ), ), 4 => array ( ), 5 => array ( ),),
'ajax.addCartMessage' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'includes/addedToCart', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/ajax/addCartMessage', ), ), 4 => array ( ), 5 => array ( ),),
'customer.create.view' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CustomerController::viewRegisterAction', ), 2 => array ( '_method' => 'GET', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/register', ), ), 4 => array ( ), 5 => array ( ),),
'customer.create.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CustomerController::createAction', '_view' => 'register', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/register', ), ), 4 => array ( ), 5 => array ( ),),
'customer.login.view' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CustomerController::viewLoginAction', ), 2 => array ( '_method' => 'GET', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/login', ), ), 4 => array ( ), 5 => array ( ),),
'customer.login.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CustomerController::loginAction', '_view' => 'login', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/login', ), ), 4 => array ( ), 5 => array ( ),),
'customer.password.retrieve.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CustomerController::newPasswordAction', '_view' => 'password', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/password', ), ), 4 => array ( ), 5 => array ( ),),
'customer.password.retrieve.sent' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CustomerController::newPasswordSentAction', '_view' => 'password', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/password-sent', ), ), 4 => array ( ), 5 => array ( ),),
'customer.logout.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CustomerController::logoutAction', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/logout', ), ), 4 => array ( ), 5 => array ( ),),
'customer.confirm.token' => array ( 0 => array ( 0 => 'token', ), 1 => array ( '_controller' => 'Front\\Controller\\CustomerController::confirmCustomerAction', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'token', ), 1 => array ( 0 => 'text', 1 => '/customer/confirm', ), ), 4 => array ( ), 5 => array ( ),),
'customer.home' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'account', ), 2 => array ( '_method' => 'GET', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/account', ), ), 4 => array ( ), 5 => array ( ),),
'customer.update.view' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CustomerController::viewAction', '_view' => 'account-update', ), 2 => array ( '_method' => 'GET', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/account/update', ), ), 4 => array ( ), 5 => array ( ),),
'customer.update.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CustomerController::updateAction', '_view' => 'account-update', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/account/update', ), ), 4 => array ( ), 5 => array ( ),),
'customer.password.change.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CustomerController::updatePasswordAction', '_view' => 'account-password', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/account/password', ), ), 4 => array ( ), 5 => array ( ),),
'customer.password.change.view' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'account-password', ), 2 => array ( '_method' => 'GET', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/account/password', ), ), 4 => array ( ), 5 => array ( ),),
'customer.order' => array ( 0 => array ( 0 => 'order_id', ), 1 => array ( '_controller' => 'Front\\Controller\\OrderController::viewAction', ), 2 => array ( 'order_id' => '\\d+', ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '\\d+', 3 => 'order_id', ), 1 => array ( 0 => 'text', 1 => '/account/order', ), ), 4 => array ( ), 5 => array ( ),),
'customer.order.pdf.delivery' => array ( 0 => array ( 0 => 'order_id', ), 1 => array ( '_controller' => 'Front\\Controller\\OrderController::generateDeliveryPdf', ), 2 => array ( 'order_id' => '\\d+', ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '\\d+', 3 => 'order_id', ), 1 => array ( 0 => 'text', 1 => '/account/order/pdf/delivery', ), ), 4 => array ( ), 5 => array ( ),),
'customer.order.pdf.invoice' => array ( 0 => array ( 0 => 'order_id', ), 1 => array ( '_controller' => 'Front\\Controller\\OrderController::generateInvoicePdf', ), 2 => array ( 'order_id' => '\\d+', ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '\\d+', 3 => 'order_id', ), 1 => array ( 0 => 'text', 1 => '/account/order/pdf/invoice', ), ), 4 => array ( ), 5 => array ( ),),
'customer.order.product.download' => array ( 0 => array ( 0 => 'order_product_id', ), 1 => array ( '_controller' => 'Front\\Controller\\OrderController::downloadVirtualProduct', ), 2 => array ( 'order_product_id' => '\\d+', ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '\\d+', 3 => 'order_product_id', ), 1 => array ( 0 => 'text', 1 => '/account/download', ), ), 4 => array ( ), 5 => array ( ),),
'address.create.view' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'address', ), 2 => array ( '_method' => 'GET', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/address/create', ), ), 4 => array ( ), 5 => array ( ),),
'address.create' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\AddressController::createAction', '_view' => 'address', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/address/create', ), ), 4 => array ( ), 5 => array ( ),),
'address.edit' => array ( 0 => array ( 0 => 'address_id', ), 1 => array ( '_controller' => 'Front\\Controller\\AddressController::updateViewAction', '_view' => 'address-update', ), 2 => array ( '_method' => 'GET', ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'address_id', ), 1 => array ( 0 => 'text', 1 => '/address/update', ), ), 4 => array ( ), 5 => array ( ),),
'address.update' => array ( 0 => array ( 0 => 'address_id', ), 1 => array ( '_controller' => 'Front\\Controller\\AddressController::processUpdateAction', '_view' => 'address-update', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'address_id', ), 1 => array ( 0 => 'text', 1 => '/address/update', ), ), 4 => array ( ), 5 => array ( ),),
'address.delete' => array ( 0 => array ( 0 => 'address_id', ), 1 => array ( '_controller' => 'Front\\Controller\\AddressController::deleteAction', '_view' => 'account', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'address_id', ), 1 => array ( 0 => 'text', 1 => '/address/delete', ), ), 4 => array ( ), 5 => array ( ),),
'address.generateModal' => array ( 0 => array ( 0 => 'address_id', ), 1 => array ( '_controller' => 'Front\\Controller\\AddressController::generateModalAction', '_view' => 'modal-address', ), 2 => array ( 'address_id' => '\\d+', '_method' => 'GET', ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '\\d+', 3 => 'address_id', ), 1 => array ( 0 => 'text', 1 => '/address/modal', ), ), 4 => array ( ), 5 => array ( ),),
'address.make.default' => array ( 0 => array ( 0 => 'addressId', ), 1 => array ( '_controller' => 'Front:Address:makeAddressDefault', ), 2 => array ( 'addressId' => '\\d+', '_method' => 'GET', ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '\\d+', 3 => 'addressId', ), 1 => array ( 0 => 'text', 1 => '/address/default', ), ), 4 => array ( ), 5 => array ( ),),
'cart.view' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'cart', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/cart', ), ), 4 => array ( ), 5 => array ( ),),
'cart.add.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CartController::addItem', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/cart/add', ), ), 4 => array ( ), 5 => array ( ),),
'cart.delete.process' => array ( 0 => array ( 0 => 'cart_item', ), 1 => array ( '_controller' => 'Front\\Controller\\CartController::deleteItem', '_view' => 'cart', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'cart_item', ), 1 => array ( 0 => 'text', 1 => '/cart/delete', ), ), 4 => array ( ), 5 => array ( ),),
'cart.update.quantity' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CartController::changeItem', '_view' => 'cart', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/cart/update', ), ), 4 => array ( ), 5 => array ( ),),
'cart.update.country' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CartController::changeCountry', '_view' => 'cart', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/cart/country', ), ), 4 => array ( ), 5 => array ( ),),
'order.delivery.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\OrderController::deliver', '_view' => 'order-delivery', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/order/delivery', ), ), 4 => array ( ), 5 => array ( ),),
'order.delivery' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\OrderController::deliverView', '_view' => 'order-delivery', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/order/delivery', ), ), 4 => array ( ), 5 => array ( ),),
'admin.delivery.ajax-module-list' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\OrderController::getDeliveryModuleListAjaxAction', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/order/deliveryModuleList', ), ), 4 => array ( ), 5 => array ( ),),
'order.invoice.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\OrderController::invoice', '_view' => 'order-invoice', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/order/invoice', ), ), 4 => array ( ), 5 => array ( ),),
'order.invoice' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'order-invoice', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/order/invoice', ), ), 4 => array ( ), 5 => array ( ),),
'order.coupon.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CouponController::consumeAction', '_view' => 'order-invoice', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/order/coupon', ), ), 4 => array ( ), 5 => array ( ),),
'order.coupon.clear' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CouponController::clearAllCouponsAction', '_view' => 'order-invoice', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/order/clear-coupons', ), ), 4 => array ( ), 5 => array ( ),),
'order.payment.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\OrderController::pay', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/order/pay', ), ), 4 => array ( ), 5 => array ( ),),
'order.placed' => array ( 0 => array ( 0 => 'order_id', ), 1 => array ( '_controller' => 'Front\\Controller\\OrderController::orderPlaced', '_view' => 'order-placed', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'order_id', ), 1 => array ( 0 => 'text', 1 => '/order/placed', ), ), 4 => array ( ), 5 => array ( ),),
'order.failed' => array ( 0 => array ( 0 => 'order_id', 1 => 'message', ), 1 => array ( '_controller' => 'Front\\Controller\\OrderController::orderFailed', '_view' => 'order-failed', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'message', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'order_id', ), 2 => array ( 0 => 'text', 1 => '/order/failed', ), ), 4 => array ( ), 5 => array ( ),),
'contact.send' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\ContactController::sendAction', '_view' => 'contact', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/contact', ), ), 4 => array ( ), 5 => array ( ),),
'contact.success' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'contact-success', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/contact/success', ), ), 4 => array ( ), 5 => array ( ),),
'newsletter.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\NewsletterController::subscribeAction', '_view' => 'newsletter', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/newsletter', ), ), 4 => array ( ), 5 => array ( ),),
'newsletter.unsubscribe' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\NewsletterController::unsubscribeAction', '_view' => 'newsletter-unsubscribe', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/newsletter-unsubscribe', ), ), 4 => array ( ), 5 => array ( ),),
'sitemap.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\SitemapController::generateAction', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/sitemap', ), ), 4 => array ( ), 5 => array ( ),),
'sitemap.process.xml' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\SitemapController::generateAction', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/sitemap.xml', ), ), 4 => array ( ), 5 => array ( ),),
'feed.process' => array ( 0 => array ( 0 => 'context', 1 => 'lang', 2 => 'id', ), 1 => array ( '_controller' => 'Front\\Controller\\FeedController::generateAction', 'context' => 'catalog', 'lang' => '', 'id' => '', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'id', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'lang', ), 2 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'context', ), 3 => array ( 0 => 'text', 1 => '/feed', ), ), 4 => array ( ), 5 => array ( ),),
'empty' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::emptyRoute', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/empty', ), ), 4 => array ( ), 5 => array ( ),),
'default' => array ( 0 => array ( 0 => '_view', ), 1 => array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'index', ), 2 => array ( '_view' => '(?!admin|api)[^/]+', ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '(?!admin|api)[^/]+', 3 => '_view', ), ), 4 => array ( ), 5 => array ( ),),
);
}
}
public function generate($name, $parameters = array(), $referenceType = self::ABSOLUTE_PATH)
{
if (!isset(self::$declaredRoutes[$name])) {
throw new RouteNotFoundException(sprintf('Unable to generate a URL for the named route "%s" as such route does not exist.', $name));
}
list($variables, $defaults, $requirements, $tokens, $hostTokens, $requiredSchemes) = self::$declaredRoutes[$name];
return $this->doGenerate($variables, $defaults, $requirements, $tokens, $parameters, $name, $referenceType, $hostTokens, $requiredSchemes);
}
}