url_matcher7.php 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. use Symfony\Component\Routing\Matcher\Dumper\PhpMatcherTrait;
  3. use Symfony\Component\Routing\RequestContext;
  4. /**
  5. * This class has been auto-generated
  6. * by the Symfony Routing Component.
  7. */
  8. class ProjectUrlMatcher extends Symfony\Component\Routing\Tests\Fixtures\RedirectableUrlMatcher
  9. {
  10. use PhpMatcherTrait;
  11. public function __construct(RequestContext $context)
  12. {
  13. $this->context = $context;
  14. $this->staticRoutes = [
  15. '/trailing/simple/no-methods' => [[['_route' => 'simple_trailing_slash_no_methods'], null, null, null, true, false, null]],
  16. '/trailing/simple/get-method' => [[['_route' => 'simple_trailing_slash_GET_method'], null, ['GET' => 0], null, true, false, null]],
  17. '/trailing/simple/head-method' => [[['_route' => 'simple_trailing_slash_HEAD_method'], null, ['HEAD' => 0], null, true, false, null]],
  18. '/trailing/simple/post-method' => [[['_route' => 'simple_trailing_slash_POST_method'], null, ['POST' => 0], null, true, false, null]],
  19. '/not-trailing/simple/no-methods' => [[['_route' => 'simple_not_trailing_slash_no_methods'], null, null, null, false, false, null]],
  20. '/not-trailing/simple/get-method' => [[['_route' => 'simple_not_trailing_slash_GET_method'], null, ['GET' => 0], null, false, false, null]],
  21. '/not-trailing/simple/head-method' => [[['_route' => 'simple_not_trailing_slash_HEAD_method'], null, ['HEAD' => 0], null, false, false, null]],
  22. '/not-trailing/simple/post-method' => [[['_route' => 'simple_not_trailing_slash_POST_method'], null, ['POST' => 0], null, false, false, null]],
  23. ];
  24. $this->regexpList = [
  25. 0 => '{^(?'
  26. .'|/trailing/regex/(?'
  27. .'|no\\-methods/([^/]++)(*:46)'
  28. .'|get\\-method/([^/]++)(*:73)'
  29. .'|head\\-method/([^/]++)(*:101)'
  30. .'|post\\-method/([^/]++)(*:130)'
  31. .')'
  32. .'|/not\\-trailing/regex/(?'
  33. .'|no\\-methods/([^/]++)(*:183)'
  34. .'|get\\-method/([^/]++)(*:211)'
  35. .'|head\\-method/([^/]++)(*:240)'
  36. .'|post\\-method/([^/]++)(*:269)'
  37. .')'
  38. .')/?$}sD',
  39. ];
  40. $this->dynamicRoutes = [
  41. 46 => [[['_route' => 'regex_trailing_slash_no_methods'], ['param'], null, null, true, true, null]],
  42. 73 => [[['_route' => 'regex_trailing_slash_GET_method'], ['param'], ['GET' => 0], null, true, true, null]],
  43. 101 => [[['_route' => 'regex_trailing_slash_HEAD_method'], ['param'], ['HEAD' => 0], null, true, true, null]],
  44. 130 => [[['_route' => 'regex_trailing_slash_POST_method'], ['param'], ['POST' => 0], null, true, true, null]],
  45. 183 => [[['_route' => 'regex_not_trailing_slash_no_methods'], ['param'], null, null, false, true, null]],
  46. 211 => [[['_route' => 'regex_not_trailing_slash_GET_method'], ['param'], ['GET' => 0], null, false, true, null]],
  47. 240 => [[['_route' => 'regex_not_trailing_slash_HEAD_method'], ['param'], ['HEAD' => 0], null, false, true, null]],
  48. 269 => [[['_route' => 'regex_not_trailing_slash_POST_method'], ['param'], ['POST' => 0], null, false, true, null]],
  49. ];
  50. }
  51. }