Files
boutique-fanny/cache/prod/ProjectUrlMatcherMondialRelay.php
2019-05-26 15:57:49 +02:00

87 lines
4.7 KiB
PHP

<?php
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;
/**
* ProjectUrlMatcherMondialRelay.
*
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class ProjectUrlMatcherMondialRelay extends Symfony\Component\Routing\Matcher\UrlMatcher
{
/**
* Constructor.
*/
public function __construct(RequestContext $context)
{
$this->context = $context;
}
public function match($pathinfo)
{
$allow = array();
$pathinfo = rawurldecode($pathinfo);
$context = $this->context;
$request = $this->request;
if (0 === strpos($pathinfo, '/admin/module/MondialRelay')) {
// mondial_relay.settings.save
if ($pathinfo === '/admin/module/MondialRelay/settings/save') {
return array ( '_controller' => 'MondialRelay\\Controller\\BackOffice\\ConfigurationController::saveAction', '_route' => 'mondial_relay.settings.save',);
}
// mondial_relay.area-attributes.save
if (0 === strpos($pathinfo, '/admin/module/MondialRelay/area-attributes/save') && preg_match('#^/admin/module/MondialRelay/area\\-attributes/save/(?P<areaId>\\d+)/(?P<moduleId>\\d+)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'mondial_relay.area-attributes.save')), array ( '_controller' => 'MondialRelay\\Controller\\BackOffice\\AreaAttributesController::saveAction',));
}
if (0 === strpos($pathinfo, '/admin/module/MondialRelay/prices')) {
// mondial_relay.price.save
if (0 === strpos($pathinfo, '/admin/module/MondialRelay/prices/save') && preg_match('#^/admin/module/MondialRelay/prices/save/(?P<areaId>\\d+)/(?P<moduleId>\\d+)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'mondial_relay.price.save')), array ( '_controller' => 'MondialRelay\\Controller\\BackOffice\\PriceController::saveAction',));
}
// mondial_relay.price.create
if (0 === strpos($pathinfo, '/admin/module/MondialRelay/prices/create') && preg_match('#^/admin/module/MondialRelay/prices/create/(?P<areaId>\\d+)/(?P<moduleId>\\d+)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'mondial_relay.price.create')), array ( '_controller' => 'MondialRelay\\Controller\\BackOffice\\PriceController::createAction',));
}
// mondial_relay.price.delete
if (0 === strpos($pathinfo, '/admin/module/MondialRelay/prices/delete') && preg_match('#^/admin/module/MondialRelay/prices/delete/(?P<priceId>\\d+)/(?P<moduleId>\\d+)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'mondial_relay.price.delete')), array ( '_controller' => 'MondialRelay\\Controller\\BackOffice\\PriceController::deleteAction',));
}
}
if (0 === strpos($pathinfo, '/admin/module/MondialRelay/insurances')) {
// mondial_relay.insurance.save
if ($pathinfo === '/admin/module/MondialRelay/insurances/save') {
return array ( '_controller' => 'MondialRelay\\Controller\\BackOffice\\InsuranceController::saveAction', '_route' => 'mondial_relay.insurance.save',);
}
// mondial_relay.insurance.create
if ($pathinfo === '/admin/module/MondialRelay/insurances/create') {
return array ( '_controller' => 'MondialRelay\\Controller\\BackOffice\\InsuranceController::createAction', '_route' => 'mondial_relay.insurance.create',);
}
// mondial_relay.insurance.delete
if (0 === strpos($pathinfo, '/admin/module/MondialRelay/insurances/delete') && preg_match('#^/admin/module/MondialRelay/insurances/delete/(?P<insuranceId>\\d+)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'mondial_relay.insurance.delete')), array ( '_controller' => 'MondialRelay\\Controller\\BackOffice\\InsuranceController::deleteAction',));
}
}
}
// mondial_relay.relay_map
if ($pathinfo === '/MondialRelay/relay-map') {
return array ( '_controller' => 'MondialRelay\\Controller\\FrontOffice\\MapManagement::getRelayMapAction', '_route' => 'mondial_relay.relay_map',);
}
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}