PHP Classes

File: vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/route_collection_1.xml

Recommend this page to a friend!
  Classes of Murat Cileli   Papernic   vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/route_collection_1.xml   Download  
File: vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/route_collection_1.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: 1,195 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8"?> <routes> <route name="route_1" class="Symfony\Component\Routing\Route"> <path regex="#^/hello(?:/(?P&lt;name&gt;[a-z]+))?$#s">/hello/{name}</path> <host regex="#^localhost$#si">localhost</host> <scheme>http</scheme> <scheme>https</scheme> <method>GET</method> <method>HEAD</method> <defaults> <default key="name">Joseph</default> </defaults> <requirements> <requirement key="name">[a-z]+</requirement> </requirements> <options> <option key="compiler_class">Symfony\Component\Routing\RouteCompiler</option> <option key="opt1">val1</option> <option key="opt2">val2</option> </options> </route> <route name="route_2" class="Symfony\Component\Routing\Route"> <path regex="#^/name/add$#s">/name/add</path> <host regex="#^localhost$#si">localhost</host> <scheme>http</scheme> <scheme>https</scheme> <method>PUT</method> <method>POST</method> <options> <option key="compiler_class">Symfony\Component\Routing\RouteCompiler</option> <option key="opt1">val1</option> <option key="opt2">val2</option> </options> </route> </routes>