Module DigressivePrice
This commit is contained in:
66
.well-known/cache/dev/ProjectUrlMatcherCarousel.php
vendored
Normal file
66
.well-known/cache/dev/ProjectUrlMatcherCarousel.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?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 ProjectUrlMatcherCarousel extends Symfony\Component\Routing\Matcher\UrlMatcher
|
||||
{
|
||||
public function __construct(RequestContext $context)
|
||||
{
|
||||
$this->context = $context;
|
||||
}
|
||||
|
||||
public function match($rawPathinfo)
|
||||
{
|
||||
$allow = array();
|
||||
$pathinfo = rawurldecode($rawPathinfo);
|
||||
$context = $this->context;
|
||||
$request = $this->request ?: $this->createRequest($pathinfo);
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin/module/carousel')) {
|
||||
if (0 === strpos($pathinfo, '/admin/module/carousel/up')) {
|
||||
// carousel.upload.image
|
||||
if ('/admin/module/carousel/upload' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_carouseluploadimage;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Carousel\\Controller\\ConfigurationController::uploadImage', '_route' => 'carousel.upload.image',);
|
||||
}
|
||||
not_carouseluploadimage:
|
||||
|
||||
// carousel.update
|
||||
if ('/admin/module/carousel/update' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_carouselupdate;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Carousel\\Controller\\ConfigurationController::updateAction', '_route' => 'carousel.update',);
|
||||
}
|
||||
not_carouselupdate:
|
||||
|
||||
}
|
||||
|
||||
// carousel.delete
|
||||
if ('/admin/module/carousel/delete' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_carouseldelete;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Carousel\\Controller\\ConfigurationController::deleteAction', '_route' => 'carousel.delete',);
|
||||
}
|
||||
not_carouseldelete:
|
||||
|
||||
}
|
||||
|
||||
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user