diff options
Diffstat (limited to 'vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/validpattern.xml')
-rw-r--r-- | vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/validpattern.xml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/validpattern.xml b/vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/validpattern.xml new file mode 100644 index 00000000..b9f22347 --- /dev/null +++ b/vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/validpattern.xml | |||
@@ -0,0 +1,21 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
2 | |||
3 | <routes xmlns="http://symfony.com/schema/routing" | ||
4 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
5 | xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> | ||
6 | |||
7 | <route id="blog_show" path="/blog/{slug}" host="{locale}.example.com" methods="GET|POST put,OpTiOnS" schemes="hTTps"> | ||
8 | <default key="_controller">MyBundle:Blog:show</default> | ||
9 | <requirement key="locale">\w+</requirement> | ||
10 | <option key="compiler_class">RouteCompiler</option> | ||
11 | </route> | ||
12 | |||
13 | <route id="blog_show_legacy" pattern="/blog/{slug}" host="{locale}.example.com"> | ||
14 | <default key="_controller">MyBundle:Blog:show</default> | ||
15 | <default key="slug" xsi:nil="true" /> | ||
16 | <requirement key="_method">GET|POST|put|OpTiOnS</requirement> | ||
17 | <requirement key="_scheme">hTTps</requirement> | ||
18 | <requirement key="locale">\w+</requirement> | ||
19 | <option key="compiler_class">RouteCompiler</option> | ||
20 | </route> | ||
21 | </routes> | ||