You are here

legacy_validpattern.yml in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 vendor/symfony/routing/Tests/Fixtures/legacy_validpattern.yml
vendor/symfony/routing/Tests/Fixtures/legacy_validpattern.yml

File

vendor/symfony/routing/Tests/Fixtures/legacy_validpattern.yml
View source
  1. blog_show_legacy:
  2. pattern: /blog/{slug}
  3. defaults: { _controller: "MyBundle:Blog:show" }
  4. host: "{locale}.example.com"
  5. requirements: { '_method': 'GET|POST|put|OpTiOnS', _scheme: https, 'locale': '\w+' }
  6. condition: 'context.getMethod() == "GET"'
  7. options:
  8. compiler_class: RouteCompiler