url_matcher5.php 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. '/a/11' => [[['_route' => 'a_first'], null, null, null, false, false, null]],
  16. '/a/22' => [[['_route' => 'a_second'], null, null, null, false, false, null]],
  17. '/a/333' => [[['_route' => 'a_third'], null, null, null, false, false, null]],
  18. '/a/44' => [[['_route' => 'a_fourth'], null, null, null, true, false, null]],
  19. '/a/55' => [[['_route' => 'a_fifth'], null, null, null, true, false, null]],
  20. '/a/66' => [[['_route' => 'a_sixth'], null, null, null, true, false, null]],
  21. '/nested/group/a' => [[['_route' => 'nested_a'], null, null, null, true, false, null]],
  22. '/nested/group/b' => [[['_route' => 'nested_b'], null, null, null, true, false, null]],
  23. '/nested/group/c' => [[['_route' => 'nested_c'], null, null, null, true, false, null]],
  24. '/slashed/group' => [[['_route' => 'slashed_a'], null, null, null, true, false, null]],
  25. '/slashed/group/b' => [[['_route' => 'slashed_b'], null, null, null, true, false, null]],
  26. '/slashed/group/c' => [[['_route' => 'slashed_c'], null, null, null, true, false, null]],
  27. ];
  28. $this->regexpList = [
  29. 0 => '{^(?'
  30. .'|/([^/]++)(*:16)'
  31. .'|/nested/([^/]++)(*:39)'
  32. .')/?$}sD',
  33. ];
  34. $this->dynamicRoutes = [
  35. 16 => [[['_route' => 'a_wildcard'], ['param'], null, null, false, true, null]],
  36. 39 => [[['_route' => 'nested_wildcard'], ['param'], null, null, false, true, null]],
  37. ];
  38. }
  39. }