PHP Classes

File: vendor/symfony/symfony/src/Symfony/Component/Routing/Tests/Fixtures/legacy_validpattern.xml

Recommend this page to a friend!
  Classes of Murat Cileli   Papernic   vendor/symfony/symfony/src/Symfony/Component/Routing/Tests/Fixtures/legacy_validpattern.xml   Download  
File: vendor/symfony/symfony/src/Symfony/Component/Routing/Tests/Fixtures/legacy_validpattern.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Papernic
Manage documents colaboratively
Author: By
Last change:
Date: 7 years ago
Size: 775 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8" ?> <routes xmlns="http://symfony.com/schema/routing" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> <route id="blog_show_legacy" pattern="/blog/{slug}" host="{locale}.example.com"> <default key="_controller">MyBundle:Blog:show</default> <default key="slug" xsi:nil="true" /> <requirement key="_method">GET|POST|put|OpTiOnS</requirement> <requirement key="_scheme">hTTps</requirement> <requirement key="locale">\w+</requirement> <option key="compiler_class">RouteCompiler</option> <condition>context.getMethod() == "GET"</condition> </route> </routes>