url_matcher4.php 1.2 KB

12345678910111213141516171819202122232425262728
  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\Matcher\UrlMatcher
  9. {
  10. use PhpMatcherTrait;
  11. public function __construct(RequestContext $context)
  12. {
  13. $this->context = $context;
  14. $this->staticRoutes = [
  15. '/just_head' => [[['_route' => 'just_head'], null, ['HEAD' => 0], null, false, false, null]],
  16. '/head_and_get' => [[['_route' => 'head_and_get'], null, ['HEAD' => 0, 'GET' => 1], null, false, false, null]],
  17. '/get_and_head' => [[['_route' => 'get_and_head'], null, ['GET' => 0, 'HEAD' => 1], null, false, false, null]],
  18. '/post_and_head' => [[['_route' => 'post_and_head'], null, ['POST' => 0, 'HEAD' => 1], null, false, false, null]],
  19. '/put_and_post' => [
  20. [['_route' => 'put_and_post'], null, ['PUT' => 0, 'POST' => 1], null, false, false, null],
  21. [['_route' => 'put_and_get_and_head'], null, ['PUT' => 0, 'GET' => 1, 'HEAD' => 2], null, false, false, null],
  22. ],
  23. ];
  24. }
  25. }