Initial commit
This commit is contained in:
63
cache/prod/ProjectUrlMatcherBeds24.php
vendored
Normal file
63
cache/prod/ProjectUrlMatcherBeds24.php
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
|
||||
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
|
||||
use Symfony\Component\Routing\RequestContext;
|
||||
|
||||
/**
|
||||
* ProjectUrlMatcherBeds24.
|
||||
*
|
||||
* This class has been auto-generated
|
||||
* by the Symfony Routing Component.
|
||||
*/
|
||||
class ProjectUrlMatcherBeds24 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/beds24/c')) {
|
||||
// beds24.configure
|
||||
if ($pathinfo === '/admin/beds24/configure') {
|
||||
return array ( '_controller' => 'Beds24\\Controller\\Back\\ConfigurationController::configure', '_route' => 'beds24.configure',);
|
||||
}
|
||||
|
||||
// beds24.clear_cache
|
||||
if ($pathinfo === '/admin/beds24/clear-cache') {
|
||||
return array ( '_controller' => 'Beds24\\Controller\\Back\\ConfigurationController::clearCache', '_route' => 'beds24.clear_cache',);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// beds24.notification
|
||||
if ($pathinfo === '/beds24/notify') {
|
||||
return array ( '_controller' => 'Beds24\\Controller\\Front\\NotificationController::notify', '_route' => 'beds24.notification',);
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/search-availabilit')) {
|
||||
// beds24.search
|
||||
if ($pathinfo === '/search-availabilities') {
|
||||
return array ( '_controller' => 'Beds24\\Controller\\Front\\SearchController::searchAll', '_route' => 'beds24.search',);
|
||||
}
|
||||
|
||||
// beds24.search_product
|
||||
if (0 === strpos($pathinfo, '/search-availability') && preg_match('#^/search\\-availability/(?P<productId>\\d+)$#s', $pathinfo, $matches)) {
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'beds24.search_product')), array ( '_controller' => 'Beds24\\Controller\\Front\\SearchController::searchProduct',));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user