Actualización

This commit is contained in:
Xes
2025-04-10 12:24:57 +02:00
parent 8969cc929d
commit 45420b6f0d
39760 changed files with 4303286 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Bundle\FrameworkBundle\Tests\Fixtures\BaseBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class BaseBundle extends Bundle
{
}

View File

@@ -0,0 +1,4 @@
{
"service": "service_1",
"public": true
}

View File

@@ -0,0 +1,2 @@
- Service: `service_1`
- Public: yes

View File

@@ -0,0 +1,3 @@
 // This service is an alias for the service service_1

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<alias service="service_1" public="true"/>

View File

@@ -0,0 +1,4 @@
{
"service": "service_2",
"public": false
}

View File

@@ -0,0 +1,2 @@
- Service: `service_2`
- Public: no

View File

@@ -0,0 +1,3 @@
 // This service is an alias for the service service_2

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<alias service="service_2" public="false"/>

View File

@@ -0,0 +1,3 @@
{
"twig.form.resources": ["bootstrap_3_horizontal_layout.html.twig", "bootstrap_3_layout.html.twig", "form_div_layout.html.twig", "form_table_layout.html.twig"]
}

View File

@@ -0,0 +1,4 @@
twig.form.resources
===================
["bootstrap_3_horizontal_layout.html.twig","bootstrap_3_layo...

View File

@@ -0,0 +1,5 @@
--------------------- -----------------------------------------------------------------
 Parameter   Value 
--------------------- -----------------------------------------------------------------
twig.form.resources ["bootstrap_3_horizontal_layout.html.twig","bootstrap_3_layo...
--------------------- -----------------------------------------------------------------

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<parameter key="twig.form.resources">["bootstrap_3_horizontal_layout.html.twig","bootstrap_3_layo...</parameter>

View File

@@ -0,0 +1,33 @@
{
"definitions": {
"definition_1": {
"class": "Full\\Qualified\\Class1",
"public": true,
"synthetic": false,
"lazy": true,
"shared": true,
"abstract": true,
"file": null,
"factory_class": "Full\\Qualified\\FactoryClass",
"factory_method": "get",
"tags": [
],
"autowire": false,
"autowiring_types": []
}
},
"aliases": {
"alias_1": {
"service": "service_1",
"public": true
},
"alias_2": {
"service": "service_2",
"public": false
}
},
"services": {
"service_container": "Symfony\\Component\\DependencyInjection\\ContainerBuilder"
}
}

View File

@@ -0,0 +1,40 @@
Public services
===============
Definitions
-----------
definition_1
~~~~~~~~~~~~
- Class: `Full\Qualified\Class1`
- Public: yes
- Synthetic: no
- Lazy: yes
- Shared: yes
- Abstract: yes
- Autowired: no
- Factory Class: `Full\Qualified\FactoryClass`
- Factory Method: `get`
Aliases
-------
alias_1
~~~~~~~
- Service: `service_1`
- Public: yes
alias_2
~~~~~~~
- Service: `service_2`
- Public: no
Services
--------
- `service_container`: `Symfony\Component\DependencyInjection\ContainerBuilder`

View File

@@ -0,0 +1,13 @@
Symfony Container Public Services
=================================
------------------- --------------------------------------------------------
 Service ID   Class name 
------------------- --------------------------------------------------------
alias_1 alias for "service_1"
alias_2 alias for "service_2"
definition_1 Full\Qualified\Class1
service_container Symfony\Component\DependencyInjection\ContainerBuilder
------------------- --------------------------------------------------------

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<container>
<alias id="alias_1" service="service_1" public="true"/>
<alias id="alias_2" service="service_2" public="false"/>
<definition id="definition_1" class="Full\Qualified\Class1" public="true" synthetic="false" lazy="true" shared="true" abstract="true" autowired="false" file="">
<factory class="Full\Qualified\FactoryClass" method="get"/>
</definition>
<service id="service_container" class="Symfony\Component\DependencyInjection\ContainerBuilder"/>
</container>

View File

@@ -0,0 +1,67 @@
{
"definitions": {
"definition_1": {
"class": "Full\\Qualified\\Class1",
"public": true,
"synthetic": false,
"lazy": true,
"shared": true,
"abstract": true,
"file": null,
"factory_class": "Full\\Qualified\\FactoryClass",
"factory_method": "get",
"tags": [
],
"autowire": false,
"autowiring_types": []
},
"definition_2": {
"class": "Full\\Qualified\\Class2",
"public": false,
"synthetic": true,
"lazy": false,
"shared": true,
"abstract": false,
"file": "\/path\/to\/file",
"factory_service": "factory.service",
"factory_method": "get",
"tags": [
{
"name": "tag1",
"parameters": {
"attr1": "val1",
"attr2": "val2"
}
},
{
"name": "tag1",
"parameters": {
"attr3": "val3"
}
},
{
"name": "tag2",
"parameters": [
]
}
],
"autowire": false,
"autowiring_types": []
}
},
"aliases": {
"alias_1": {
"service": "service_1",
"public": true
},
"alias_2": {
"service": "service_2",
"public": false
}
},
"services": {
"service_container": "Symfony\\Component\\DependencyInjection\\ContainerBuilder"
}
}

View File

@@ -0,0 +1,60 @@
Public and private services
===========================
Definitions
-----------
definition_1
~~~~~~~~~~~~
- Class: `Full\Qualified\Class1`
- Public: yes
- Synthetic: no
- Lazy: yes
- Shared: yes
- Abstract: yes
- Autowired: no
- Factory Class: `Full\Qualified\FactoryClass`
- Factory Method: `get`
definition_2
~~~~~~~~~~~~
- Class: `Full\Qualified\Class2`
- Public: no
- Synthetic: yes
- Lazy: no
- Shared: yes
- Abstract: no
- Autowired: no
- File: `/path/to/file`
- Factory Service: `factory.service`
- Factory Method: `get`
- Tag: `tag1`
- Attr1: val1
- Attr2: val2
- Tag: `tag1`
- Attr3: val3
- Tag: `tag2`
Aliases
-------
alias_1
~~~~~~~
- Service: `service_1`
- Public: yes
alias_2
~~~~~~~
- Service: `service_2`
- Public: no
Services
--------
- `service_container`: `Symfony\Component\DependencyInjection\ContainerBuilder`

View File

@@ -0,0 +1,14 @@
Symfony Container Public and Private Services
=============================================
------------------- --------------------------------------------------------
 Service ID   Class name 
------------------- --------------------------------------------------------
alias_1 alias for "service_1"
alias_2 alias for "service_2"
definition_1 Full\Qualified\Class1
definition_2 Full\Qualified\Class2
service_container Symfony\Component\DependencyInjection\ContainerBuilder
------------------- --------------------------------------------------------

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<container>
<alias id="alias_1" service="service_1" public="true"/>
<alias id="alias_2" service="service_2" public="false"/>
<definition id="definition_1" class="Full\Qualified\Class1" public="true" synthetic="false" lazy="true" shared="true" abstract="true" autowired="false" file="">
<factory class="Full\Qualified\FactoryClass" method="get"/>
</definition>
<definition id="definition_2" class="Full\Qualified\Class2" public="false" synthetic="true" lazy="false" shared="true" abstract="false" autowired="false" file="/path/to/file">
<factory service="factory.service" method="get"/>
<tags>
<tag name="tag1">
<parameter name="attr1">val1</parameter>
<parameter name="attr2">val2</parameter>
</tag>
<tag name="tag1">
<parameter name="attr3">val3</parameter>
</tag>
<tag name="tag2"/>
</tags>
</definition>
<service id="service_container" class="Symfony\Component\DependencyInjection\ContainerBuilder"/>
</container>

View File

@@ -0,0 +1,44 @@
{
"definitions": {
"definition_2": {
"class": "Full\\Qualified\\Class2",
"public": false,
"synthetic": true,
"lazy": false,
"shared": true,
"abstract": false,
"file": "\/path\/to\/file",
"factory_service": "factory.service",
"factory_method": "get",
"tags": [
{
"name": "tag1",
"parameters": {
"attr1": "val1",
"attr2": "val2"
}
},
{
"name": "tag1",
"parameters": {
"attr3": "val3"
}
},
{
"name": "tag2",
"parameters": [
]
}
],
"autowire": false,
"autowiring_types": []
}
},
"aliases": [
],
"services": [
]
}

View File

@@ -0,0 +1,25 @@
Public and private services with tag `tag1`
===========================================
Definitions
-----------
definition_2
~~~~~~~~~~~~
- Class: `Full\Qualified\Class2`
- Public: no
- Synthetic: yes
- Lazy: no
- Shared: yes
- Abstract: no
- Autowired: no
- File: `/path/to/file`
- Factory Service: `factory.service`
- Factory Method: `get`
- Tag: `tag1`
- Attr1: val1
- Attr2: val2
- Tag: `tag1`
- Attr3: val3
- Tag: `tag2`

View File

@@ -0,0 +1,11 @@
Symfony Container Public and Private Services Tagged with "tag1" Tag
====================================================================
-------------- ------- ------- ------- -----------------------
 Service ID   attr1   attr2   attr3   Class name 
-------------- ------- ------- ------- -----------------------
definition_2 val1 val2 Full\Qualified\Class2
" val3
-------------- ------- ------- ------- -----------------------

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<container>
<definition id="definition_2" class="Full\Qualified\Class2" public="false" synthetic="true" lazy="false" shared="true" abstract="false" autowired="false" file="/path/to/file">
<factory service="factory.service" method="get"/>
<tags>
<tag name="tag1">
<parameter name="attr1">val1</parameter>
<parameter name="attr2">val2</parameter>
</tag>
<tag name="tag1">
<parameter name="attr3">val3</parameter>
</tag>
<tag name="tag2"/>
</tags>
</definition>
</container>

View File

@@ -0,0 +1,32 @@
{
"tag1": [
{
"class": "Full\\Qualified\\Class2",
"public": false,
"synthetic": true,
"lazy": false,
"shared": true,
"abstract": false,
"file": "\/path\/to\/file",
"factory_service": "factory.service",
"factory_method": "get",
"autowire": false,
"autowiring_types": []
}
],
"tag2": [
{
"class": "Full\\Qualified\\Class2",
"public": false,
"synthetic": true,
"lazy": false,
"shared": true,
"abstract": false,
"file": "\/path\/to\/file",
"factory_service": "factory.service",
"factory_method": "get",
"autowire": false,
"autowiring_types": []
}
]
}

View File

@@ -0,0 +1,37 @@
Container tags
==============
tag1
----
definition_2
~~~~~~~~~~~~
- Class: `Full\Qualified\Class2`
- Public: no
- Synthetic: yes
- Lazy: no
- Shared: yes
- Abstract: no
- Autowired: no
- File: `/path/to/file`
- Factory Service: `factory.service`
- Factory Method: `get`
tag2
----
definition_2
~~~~~~~~~~~~
- Class: `Full\Qualified\Class2`
- Public: no
- Synthetic: yes
- Lazy: no
- Shared: yes
- Abstract: no
- Autowired: no
- File: `/path/to/file`
- Factory Service: `factory.service`
- Factory Method: `get`

View File

@@ -0,0 +1,14 @@
Symfony Container Public and Private Tags
=========================================
"tag1" tag
----------
* definition_2
"tag2" tag
----------
* definition_2

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<container>
<tag name="tag1">
<definition id="definition_2" class="Full\Qualified\Class2" public="false" synthetic="true" lazy="false" shared="true" abstract="false" autowired="false" file="/path/to/file">
<factory service="factory.service" method="get"/>
</definition>
</tag>
<tag name="tag2">
<definition id="definition_2" class="Full\Qualified\Class2" public="false" synthetic="true" lazy="false" shared="true" abstract="false" autowired="false" file="/path/to/file">
<factory service="factory.service" method="get"/>
</definition>
</tag>
</container>

View File

@@ -0,0 +1,4 @@
{
"type": "function",
"name": "array_key_exists"
}

View File

@@ -0,0 +1,3 @@
- Type: `function`
- Name: `array_key_exists`

View File

@@ -0,0 +1 @@
array_key_exists()

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<callable type="function" name="array_key_exists"/>

View File

@@ -0,0 +1,6 @@
{
"type": "function",
"name": "staticMethod",
"class": "Symfony\\Bundle\\FrameworkBundle\\Tests\\Console\\Descriptor\\CallableClass",
"static": true
}

View File

@@ -0,0 +1,5 @@
- Type: `function`
- Name: `staticMethod`
- Class: `Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\CallableClass`
- Static: yes

View File

@@ -0,0 +1 @@
Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\CallableClass::staticMethod()

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<callable type="function" name="staticMethod" class="Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\CallableClass" static="true"/>

View File

@@ -0,0 +1,5 @@
{
"type": "function",
"name": "method",
"class": "Symfony\\Bundle\\FrameworkBundle\\Tests\\Console\\Descriptor\\CallableClass"
}

View File

@@ -0,0 +1,4 @@
- Type: `function`
- Name: `method`
- Class: `Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\CallableClass`

View File

@@ -0,0 +1 @@
Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\CallableClass::method()

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<callable type="function" name="method" class="Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\CallableClass"/>

View File

@@ -0,0 +1,6 @@
{
"type": "function",
"name": "staticMethod",
"class": "Symfony\\Bundle\\FrameworkBundle\\Tests\\Console\\Descriptor\\CallableClass",
"static": true
}

View File

@@ -0,0 +1,5 @@
- Type: `function`
- Name: `staticMethod`
- Class: `Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\CallableClass`
- Static: yes

View File

@@ -0,0 +1 @@
Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\CallableClass::staticMethod()

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<callable type="function" name="staticMethod" class="Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\CallableClass" static="true"/>

View File

@@ -0,0 +1,7 @@
{
"type": "function",
"name": "staticMethod",
"class": "Symfony\\Bundle\\FrameworkBundle\\Tests\\Console\\Descriptor\\ExtendedCallableClass",
"static": true,
"parent": true
}

View File

@@ -0,0 +1,6 @@
- Type: `function`
- Name: `staticMethod`
- Class: `Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\ExtendedCallableClass`
- Static: yes
- Parent: yes

View File

@@ -0,0 +1 @@
Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\ExtendedCallableClass::parent::staticMethod()

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<callable type="function" name="staticMethod" class="Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\ExtendedCallableClass" static="true" parent="true"/>

View File

@@ -0,0 +1,3 @@
{
"type": "closure"
}

View File

@@ -0,0 +1,2 @@
- Type: `closure`

View File

@@ -0,0 +1 @@
\Closure()

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<callable type="closure"/>

View File

@@ -0,0 +1,4 @@
{
"type": "object",
"name": "Symfony\\Bundle\\FrameworkBundle\\Tests\\Console\\Descriptor\\CallableClass"
}

View File

@@ -0,0 +1,3 @@
- Type: `object`
- Name: `Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\CallableClass`

View File

@@ -0,0 +1 @@
Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\CallableClass::__invoke()

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<callable type="object" name="Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\CallableClass"/>

View File

@@ -0,0 +1,16 @@
{
"class": "Full\\Qualified\\Class1",
"public": true,
"synthetic": false,
"lazy": true,
"shared": true,
"abstract": true,
"file": null,
"factory_class": "Full\\Qualified\\FactoryClass",
"factory_method": "get",
"tags": [
],
"autowire": false,
"autowiring_types": []
}

View File

@@ -0,0 +1,9 @@
- Class: `Full\Qualified\Class1`
- Public: yes
- Synthetic: no
- Lazy: yes
- Shared: yes
- Abstract: yes
- Autowired: no
- Factory Class: `Full\Qualified\FactoryClass`
- Factory Method: `get`

View File

@@ -0,0 +1,17 @@
------------------ -----------------------------
 Option   Value 
------------------ -----------------------------
Service ID -
Class Full\Qualified\Class1
Tags -
Public yes
Synthetic no
Lazy yes
Shared yes
Abstract yes
Autowired no
Autowiring Types -
Factory Class Full\Qualified\FactoryClass
Factory Method get
------------------ -----------------------------

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<definition class="Full\Qualified\Class1" public="true" synthetic="false" lazy="true" shared="true" abstract="true" autowired="false" file="">
<factory class="Full\Qualified\FactoryClass" method="get"/>
</definition>

View File

@@ -0,0 +1,34 @@
{
"class": "Full\\Qualified\\Class2",
"public": false,
"synthetic": true,
"lazy": false,
"shared": true,
"abstract": false,
"file": "\/path\/to\/file",
"factory_service": "factory.service",
"factory_method": "get",
"tags": [
{
"name": "tag1",
"parameters": {
"attr1": "val1",
"attr2": "val2"
}
},
{
"name": "tag1",
"parameters": {
"attr3": "val3"
}
},
{
"name": "tag2",
"parameters": [
]
}
],
"autowire": false,
"autowiring_types": []
}

View File

@@ -0,0 +1,16 @@
- Class: `Full\Qualified\Class2`
- Public: no
- Synthetic: yes
- Lazy: no
- Shared: yes
- Abstract: no
- Autowired: no
- File: `/path/to/file`
- Factory Service: `factory.service`
- Factory Method: `get`
- Tag: `tag1`
- Attr1: val1
- Attr2: val2
- Tag: `tag1`
- Attr3: val3
- Tag: `tag2`

View File

@@ -0,0 +1,18 @@
------------------ -------------------------------------------------------
 Option   Value 
------------------ -------------------------------------------------------
Service ID -
Class Full\Qualified\Class2
Tags tag1 (attr1: val1, attr2: val2)tag1 (attr3: val3)tag2
Public no
Synthetic yes
Lazy no
Shared yes
Abstract no
Autowired no
Autowiring Types -
Required File /path/to/file
Factory Service factory.service
Factory Method get
------------------ -------------------------------------------------------

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<definition class="Full\Qualified\Class2" public="false" synthetic="true" lazy="false" shared="true" abstract="false" autowired="false" file="/path/to/file">
<factory service="factory.service" method="get"/>
<tags>
<tag name="tag1">
<parameter name="attr1">val1</parameter>
<parameter name="attr2">val2</parameter>
</tag>
<tag name="tag1">
<parameter name="attr3">val3</parameter>
</tag>
<tag name="tag2"/>
</tags>
</definition>

View File

@@ -0,0 +1,11 @@
[
{
"type": "function",
"name": "global_function",
"priority": 255
},
{
"type": "closure",
"priority": -1
}
]

View File

@@ -0,0 +1,12 @@
# Registered listeners for event `event1` ordered by descending priority
## Listener 1
- Type: `function`
- Name: `global_function`
- Priority: `255`
## Listener 2
- Type: `closure`
- Priority: `-1`

View File

@@ -0,0 +1,11 @@
Registered Listeners for "event1" Event
=======================================
------- ------------------- ----------
 Order   Callable   Priority 
------- ------------------- ----------
#1 global_function() 255
#2 \Closure() -1
------- ------------------- ----------

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<event-dispatcher>
<callable type="function" name="global_function" priority="255"/>
<callable type="closure" priority="-1"/>
</event-dispatcher>

View File

@@ -0,0 +1,20 @@
{
"event1": [
{
"type": "function",
"name": "global_function",
"priority": 255
},
{
"type": "closure",
"priority": -1
}
],
"event2": [
{
"type": "object",
"name": "Symfony\\Bundle\\FrameworkBundle\\Tests\\Console\\Descriptor\\CallableClass",
"priority": 0
}
]
}

View File

@@ -0,0 +1,22 @@
# Registered listeners
## event1
### Listener 1
- Type: `function`
- Name: `global_function`
- Priority: `255`
### Listener 2
- Type: `closure`
- Priority: `-1`
## event2
### Listener 1
- Type: `object`
- Name: `Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\CallableClass`
- Priority: `0`

View File

@@ -0,0 +1,23 @@
Registered Listeners Grouped by Event
=====================================
"event1" event
--------------
------- ------------------- ----------
 Order   Callable   Priority 
------- ------------------- ----------
#1 global_function() 255
#2 \Closure() -1
------- ------------------- ----------
"event2" event
--------------
------- ----------------------------------------------------------------------------------- ----------
 Order   Callable   Priority 
------- ----------------------------------------------------------------------------------- ----------
#1 Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\CallableClass::__invoke() 0
------- ----------------------------------------------------------------------------------- ----------

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<event-dispatcher>
<event name="event1">
<callable type="function" name="global_function" priority="255"/>
<callable type="closure" priority="-1"/>
</event>
<event name="event2">
<callable type="object" name="Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\CallableClass" priority="0"/>
</event>
</event-dispatcher>

View File

@@ -0,0 +1,3 @@
{
"database_name": "symfony"
}

View File

@@ -0,0 +1,4 @@
database_name
=============
symfony

View File

@@ -0,0 +1,6 @@
--------------- ---------
 Parameter   Value 
--------------- ---------
database_name symfony
--------------- ---------

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<parameter key="database_name">symfony</parameter>

View File

@@ -0,0 +1,10 @@
{
"array": [
12,
"Hello world!",
true
],
"boolean": true,
"integer": 12,
"string": "Hello world!"
}

View File

@@ -0,0 +1,7 @@
Container parameters
====================
- `array`: `[12,"Hello world!",true]`
- `boolean`: `true`
- `integer`: `12`
- `string`: `Hello world!`

View File

@@ -0,0 +1,13 @@
Symfony Container Parameters
============================
----------- --------------------------
 Parameter   Value 
----------- --------------------------
array [12,"Hello world!",true]
boolean true
integer 12
string Hello world!
----------- --------------------------

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<parameters>
<parameter key="array">[12,"Hello world!",true]</parameter>
<parameter key="boolean">true</parameter>
<parameter key="integer">12</parameter>
<parameter key="string">Hello world!</parameter>
</parameters>

View File

@@ -0,0 +1,20 @@
{
"path": "\/hello\/{name}",
"pathRegex": "#^\/hello(?:\/(?P<name>[a-z]+))?$#s",
"host": "localhost",
"hostRegex": "#^localhost$#si",
"scheme": "http|https",
"method": "GET|HEAD",
"class": "Symfony\\Component\\Routing\\Route",
"defaults": {
"name": "Joseph"
},
"requirements": {
"name": "[a-z]+"
},
"options": {
"compiler_class": "Symfony\\Component\\Routing\\RouteCompiler",
"opt1": "val1",
"opt2": "val2"
}
}

View File

@@ -0,0 +1,15 @@
- Path: /hello/{name}
- Path Regex: #^/hello(?:/(?P<name>[a-z]+))?$#s
- Host: localhost
- Host Regex: #^localhost$#si
- Scheme: http|https
- Method: GET|HEAD
- Class: Symfony\Component\Routing\Route
- Defaults:
- `name`: Joseph
- Requirements:
- `name`: [a-z]+
- Options:
- `compiler_class`: Symfony\Component\Routing\RouteCompiler
- `opt1`: val1
- `opt2`: val2

View File

@@ -0,0 +1,17 @@
+--------------+---------------------------------------------------------+
| Property | Value |
+--------------+---------------------------------------------------------+
| Route Name | |
| Path | /hello/{name} |
| Path Regex | #^/hello(?:/(?P<name>[a-z]+))?$#s |
| Host | localhost |
| Host Regex | #^localhost$#si |
| Scheme | http|https |
| Method | GET|HEAD |
| Requirements | name: [a-z]+ |
| Class | Symfony\Component\Routing\Route |
| Defaults | name: Joseph |
| Options | compiler_class: Symfony\Component\Routing\RouteCompiler |
| | opt1: val1 |
| | opt2: val2 |
+--------------+---------------------------------------------------------+

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<route 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>

View File

@@ -0,0 +1,18 @@
{
"path": "\/name\/add",
"pathRegex": "#^\/name\/add$#s",
"host": "localhost",
"hostRegex": "#^localhost$#si",
"scheme": "http|https",
"method": "PUT|POST",
"class": "Symfony\\Component\\Routing\\Route",
"defaults": [
],
"requirements": "NO CUSTOM",
"options": {
"compiler_class": "Symfony\\Component\\Routing\\RouteCompiler",
"opt1": "val1",
"opt2": "val2"
}
}

View File

@@ -0,0 +1,13 @@
- Path: /name/add
- Path Regex: #^/name/add$#s
- Host: localhost
- Host Regex: #^localhost$#si
- Scheme: http|https
- Method: PUT|POST
- Class: Symfony\Component\Routing\Route
- Defaults: NONE
- Requirements: NO CUSTOM
- Options:
- `compiler_class`: Symfony\Component\Routing\RouteCompiler
- `opt1`: val1
- `opt2`: val2

View File

@@ -0,0 +1,17 @@
+--------------+---------------------------------------------------------+
| Property | Value |
+--------------+---------------------------------------------------------+
| Route Name | |
| Path | /name/add |
| Path Regex | #^/name/add$#s |
| Host | localhost |
| Host Regex | #^localhost$#si |
| Scheme | http|https |
| Method | PUT|POST |
| Requirements | NO CUSTOM |
| Class | Symfony\Component\Routing\Route |
| Defaults | NONE |
| Options | compiler_class: Symfony\Component\Routing\RouteCompiler |
| | opt1: val1 |
| | opt2: val2 |
+--------------+---------------------------------------------------------+

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<route 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>

View File

@@ -0,0 +1,40 @@
{
"route_1": {
"path": "\/hello\/{name}",
"pathRegex": "#^\/hello(?:\/(?P<name>[a-z]+))?$#s",
"host": "localhost",
"hostRegex": "#^localhost$#si",
"scheme": "http|https",
"method": "GET|HEAD",
"class": "Symfony\\Component\\Routing\\Route",
"defaults": {
"name": "Joseph"
},
"requirements": {
"name": "[a-z]+"
},
"options": {
"compiler_class": "Symfony\\Component\\Routing\\RouteCompiler",
"opt1": "val1",
"opt2": "val2"
}
},
"route_2": {
"path": "\/name\/add",
"pathRegex": "#^\/name\/add$#s",
"host": "localhost",
"hostRegex": "#^localhost$#si",
"scheme": "http|https",
"method": "PUT|POST",
"class": "Symfony\\Component\\Routing\\Route",
"defaults": [
],
"requirements": "NO CUSTOM",
"options": {
"compiler_class": "Symfony\\Component\\Routing\\RouteCompiler",
"opt1": "val1",
"opt2": "val2"
}
}
}

View File

@@ -0,0 +1,37 @@
route_1
-------
- Path: /hello/{name}
- Path Regex: #^/hello(?:/(?P<name>[a-z]+))?$#s
- Host: localhost
- Host Regex: #^localhost$#si
- Scheme: http|https
- Method: GET|HEAD
- Class: Symfony\Component\Routing\Route
- Defaults:
- `name`: Joseph
- Requirements:
- `name`: [a-z]+
- Options:
- `compiler_class`: Symfony\Component\Routing\RouteCompiler
- `opt1`: val1
- `opt2`: val2
route_2
-------
- Path: /name/add
- Path Regex: #^/name/add$#s
- Host: localhost
- Host Regex: #^localhost$#si
- Scheme: http|https
- Method: PUT|POST
- Class: Symfony\Component\Routing\Route
- Defaults: NONE
- Requirements: NO CUSTOM
- Options:
- `compiler_class`: Symfony\Component\Routing\RouteCompiler
- `opt1`: val1
- `opt2`: val2

View File

@@ -0,0 +1,7 @@
--------- ---------- ------------ ----------- ---------------
 Name   Method   Scheme   Host   Path 
--------- ---------- ------------ ----------- ---------------
route_1 GET|HEAD http|https localhost /hello/{name}
route_2 PUT|POST http|https localhost /name/add
--------- ---------- ------------ ----------- ---------------

View File

@@ -0,0 +1,35 @@
<?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>

View File

@@ -0,0 +1 @@
folder: répertoire

Some files were not shown because too many files have changed in this diff Show More