Module DigressivePrice

This commit is contained in:
2021-04-08 15:57:38 +02:00
parent 99f3749535
commit f608c9332b
17041 changed files with 3164200 additions and 14 deletions

View File

@@ -0,0 +1,32 @@
<?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 ProjectUrlMatcherOrderComment 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);
// ordercomment.set.comment
if ('/ordercomment/set/comment' === $pathinfo) {
return array ( '_controller' => 'OrderComment\\Controller\\OrderCommentController::setComment', '_route' => 'ordercomment.set.comment',);
}
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}