Update to drupal-org-drupal 8.0.0-rc2. For more information, see https://www.drupal.org/node/2598668
This commit is contained in:
parent
f32e58e4b1
commit
8e18df8c36
3062 changed files with 15044 additions and 172506 deletions
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" ?>
|
||||
|
||||
<container xmlns="http://symfony.com/schema/dic/services"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
||||
<services>
|
||||
<service id="extension1.foo" class="FooClass1">
|
||||
<argument type="service">
|
||||
<service class="BarClass1">
|
||||
</service>
|
||||
</argument>
|
||||
</service>
|
||||
</services>
|
||||
</container>
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" ?>
|
||||
|
||||
<container xmlns="http://symfony.com/schema/dic/services"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
||||
<services>
|
||||
<service id="extension2.foo" class="FooClass2">
|
||||
<argument type="service">
|
||||
<service class="BarClass2">
|
||||
</service>
|
||||
</argument>
|
||||
</service>
|
||||
</services>
|
||||
</container>
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" ?>
|
||||
|
||||
<container xmlns="http://symfony.com/schema/dic/services"
|
||||
xmlns:project="http://www.example.com/schema/project">
|
||||
|
||||
<parameters>
|
||||
<parameter key="project.parameter.foo">BAR</parameter>
|
||||
</parameters>
|
||||
|
||||
<services>
|
||||
<service id="project.service.foo" class="BAR" />
|
||||
</services>
|
||||
|
||||
<project:bar babar="babar">
|
||||
<another />
|
||||
<another2>%project.parameter.foo%</another2>
|
||||
</project:bar>
|
||||
|
||||
</container>
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" ?>
|
||||
|
||||
<container xmlns="http://symfony.com/schema/dic/services"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:project="http://www.example.com/schema/projectwithxsd"
|
||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
|
||||
http://www.example.com/schema/projectwithxsd http://www.example.com/schema/projectwithxsd/project-1.0.xsd">
|
||||
|
||||
<parameters>
|
||||
<parameter key="project.parameter.foo">BAR</parameter>
|
||||
</parameters>
|
||||
|
||||
<services>
|
||||
<service id="project.service.foo" class="BAR" />
|
||||
</services>
|
||||
|
||||
<project:bar />
|
||||
|
||||
</container>
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" ?>
|
||||
|
||||
<container xmlns="http://symfony.com/schema/dic/services"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:project="http://www.example.com/schema/projectwithxsd"
|
||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
|
||||
http://www.example.com/schema/projectwithxsd http://www.example.com/schema/projectwithxsd/project-1.0.xsd">
|
||||
|
||||
<parameters>
|
||||
<parameter key="project.parameter.foo">BAR</parameter>
|
||||
</parameters>
|
||||
|
||||
<services>
|
||||
<service id="project.service.foo" class="BAR" />
|
||||
</services>
|
||||
|
||||
<project:bar bar="bar" />
|
||||
|
||||
</container>
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" ?>
|
||||
|
||||
<container xmlns="http://symfony.com/schema/dic/services"
|
||||
xmlns:project="http://www.example.com/schema/not_registered_extension">
|
||||
<project:bar />
|
||||
</container>
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" ?>
|
||||
|
||||
<container xmlns="http://symfony.com/schema/dic/services"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:project="http://www.example.com/schema/projectwithxsd"
|
||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
|
||||
http://www.example.com/schema/projectwithxsd http://www.example.com/schema/projectwithxsd/project-1.0.xsd">
|
||||
|
||||
<project:foobar />
|
||||
|
||||
</container>
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" ?>
|
||||
|
||||
<container xmlns="http://symfony.com/schema/dic/services"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:project="http://www.example.com/schema/projectwithxsdinphar"
|
||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
|
||||
http://www.example.com/schema/projectwithxsdinphar http://www.example.com/schema/projectwithxsdinphar/project-1.0.xsd">
|
||||
|
||||
<project:bar />
|
||||
|
||||
</container>
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" ?>
|
||||
|
||||
<container xmlns="http://symfony.com/schema/dic/services"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:project="http://www.example.com/schema/projectwithxsdinphar"
|
||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
|
||||
http://www.example.com/schema/projectwithxsdinphar http://www.example.com/schema/projectwithxsdinphar/project-1.0.xsd">
|
||||
|
||||
<project:bar bar="foo" />
|
||||
|
||||
</container>
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" ?>
|
||||
|
||||
<container xmlns="http://symfony.com/schema/dic/services"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
||||
<services>
|
||||
<service id="constructor" class="FooClass" factory-method="getInstance" />
|
||||
<service id="factory_service" factory-method="getInstance" factory-service="baz_factory" />
|
||||
<service id="request" class="Request" synthetic="true" synchronized="true" lazy="true"/>
|
||||
</services>
|
||||
</container>
|
|
@ -1,36 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
||||
<parameters>
|
||||
<parameter key="baz_class">BazClass</parameter>
|
||||
<parameter key="foo">bar</parameter>
|
||||
</parameters>
|
||||
<services>
|
||||
<service id="foo" class="Bar\FooClass" factory-method="getInstance" factory-class="Bar\FooClass">
|
||||
<tag name="foo" foo="foo"/>
|
||||
<tag name="foo" bar="bar"/>
|
||||
<argument>foo</argument>
|
||||
<argument type="service" id="foo.baz"/>
|
||||
<argument type="collection">
|
||||
<argument key="%foo%">foo is %foo%</argument>
|
||||
<argument key="foobar">%foo%</argument>
|
||||
</argument>
|
||||
<argument>true</argument>
|
||||
<argument type="service" id="service_container"/>
|
||||
<property name="foo">bar</property>
|
||||
<property name="moo" type="service" id="foo.baz"/>
|
||||
<property name="qux" type="collection">
|
||||
<property key="%foo%">foo is %foo%</property>
|
||||
<property key="foobar">%foo%</property>
|
||||
</property>
|
||||
<call method="setBar">
|
||||
<argument type="service" id="bar"/>
|
||||
</call>
|
||||
<call method="initialize"/>
|
||||
<configurator function="sc_configure"/>
|
||||
</service>
|
||||
<service id="foo.baz" class="%baz_class%" factory-method="getInstance" factory-class="%baz_class%">
|
||||
<configurator class="%baz_class%" method="configureStatic1"/>
|
||||
</service>
|
||||
<service id="factory_service" class="Bar" factory-method="getInstance" factory-service="foo.baz"/>
|
||||
</services>
|
||||
</container>
|
|
@ -1,17 +0,0 @@
|
|||
<?xml version="1.0" ?>
|
||||
|
||||
<srv:container xmlns="http://symfony.com/schema/dic/doctrine"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:srv="http://symfony.com/schema/dic/services"
|
||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
|
||||
http://symfony.com/schema/dic/doctrine http://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd">
|
||||
|
||||
<srv:services>
|
||||
<srv:service id="foo" class="FooClass">
|
||||
<srv:tag name="foo.tag" />
|
||||
<srv:call method="setBar">
|
||||
<srv:argument>foo</srv:argument>
|
||||
</srv:call>
|
||||
</srv:service>
|
||||
</srv:services>
|
||||
</srv:container>
|
|
@ -1,3 +0,0 @@
|
|||
<?xml version="1.0" ?>
|
||||
|
||||
<nonvalid />
|
|
@ -1,2 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"/>
|
|
@ -1,16 +0,0 @@
|
|||
<?xml version="1.0" ?>
|
||||
|
||||
<container xmlns="http://symfony.com/schema/dic/services"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
||||
<services>
|
||||
<service id="foo" class="BarClass">
|
||||
<tag name="foo_tag"
|
||||
some-option="cat"
|
||||
some_option="ciz"
|
||||
other-option="lorem"
|
||||
an_other-option="ipsum"
|
||||
/>
|
||||
</service>
|
||||
</services>
|
||||
</container>
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" ?>
|
||||
|
||||
<container xmlns="http://symfony.com/schema/dic/services"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
||||
<parameters>
|
||||
<parameter key="imported_from_xml">true</parameter>
|
||||
</parameters>
|
||||
</container>
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<container xmlns="http://symfony.com/schema/dic/services"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
||||
<services>
|
||||
<service id="monolog.logger" parent="monolog.logger_prototype" public="false">
|
||||
<argument index="0">app</argument>
|
||||
</service>
|
||||
|
||||
<service id="logger" alias="monolog.logger" />
|
||||
|
||||
<service id="monolog.logger" parent="monolog.logger_prototype" public="false">
|
||||
<argument index="0">app</argument>
|
||||
</service>
|
||||
<service id="monolog.logger_prototype" class="Symfony\Bridge\Monolog\Logger" abstract="true">
|
||||
<argument /><!-- Channel -->
|
||||
</service>
|
||||
</services>
|
||||
</container>
|
|
@ -1,31 +0,0 @@
|
|||
<?xml version="1.0" ?>
|
||||
|
||||
<container xmlns="http://symfony.com/schema/dic/services"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
||||
<parameters>
|
||||
<parameter>a string</parameter>
|
||||
<parameter key="FOO">bar</parameter>
|
||||
<parameter key="values" type="collection">
|
||||
<parameter>0</parameter>
|
||||
<parameter key="integer">4</parameter>
|
||||
<parameter key="100">null</parameter>
|
||||
<parameter type="string">true</parameter>
|
||||
<parameter>true</parameter>
|
||||
<parameter>false</parameter>
|
||||
<parameter>on</parameter>
|
||||
<parameter>off</parameter>
|
||||
<parameter key="float">1.3</parameter>
|
||||
<parameter>1000.3</parameter>
|
||||
<parameter>a string</parameter>
|
||||
<parameter type="collection">
|
||||
<parameter>foo</parameter>
|
||||
<parameter>bar</parameter>
|
||||
</parameter>
|
||||
</parameter>
|
||||
<parameter key="MixedCase" type="collection"> <!-- Should be lower cased -->
|
||||
<parameter key="MixedCaseKey">value</parameter> <!-- Should stay mixed case -->
|
||||
</parameter>
|
||||
<parameter key="constant" type="constant">PHP_EOL</parameter>
|
||||
</parameters>
|
||||
</container>
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
||||
<services>
|
||||
<service id="request" class="Request" synthetic="true" synchronized="true"/>
|
||||
<service id="depends_on_request" class="stdClass">
|
||||
<call method="setRequest">
|
||||
<argument type="service" id="request" on-invalid="null" strict="false"/>
|
||||
</call>
|
||||
</service>
|
||||
</services>
|
||||
</container>
|
|
@ -1,21 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
||||
<services>
|
||||
<service id="foo" class="Foo">
|
||||
<factory method="createFoo">
|
||||
<service class="FooFactory">
|
||||
<factory method="createFooFactory">
|
||||
<service class="Foobar"/>
|
||||
</factory>
|
||||
</service>
|
||||
</factory>
|
||||
<configurator method="configureFoo">
|
||||
<service class="Bar">
|
||||
<configurator method="configureBar">
|
||||
<service class="Baz"/>
|
||||
</configurator>
|
||||
</service>
|
||||
</configurator>
|
||||
</service>
|
||||
</services>
|
||||
</container>
|
|
@ -1,13 +0,0 @@
|
|||
<?xml version="1.0" ?>
|
||||
|
||||
<container xmlns="http://symfony.com/schema/dic/services"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
||||
<parameters>
|
||||
<parameter key="foo">foo</parameter>
|
||||
<parameter key="values" type="collection">
|
||||
<parameter>true</parameter>
|
||||
<parameter>false</parameter>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</container>
|
|
@ -1,13 +0,0 @@
|
|||
<?xml version="1.0" ?>
|
||||
|
||||
<container xmlns="http://symfony.com/schema/dic/services"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
||||
<imports>
|
||||
<import resource="services2.xml" />
|
||||
<import resource="services3.xml" />
|
||||
<import resource="../ini/parameters.ini" />
|
||||
<import resource="../ini/parameters2.ini" />
|
||||
<import resource="../yaml/services13.yml" />
|
||||
</imports>
|
||||
</container>
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" ?>
|
||||
|
||||
<container xmlns="http://symfony.com/schema/dic/services"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
||||
<imports>
|
||||
<import resource="foo_fake.xml" ignore-errors="true" />
|
||||
</imports>
|
||||
</container>
|
|
@ -1,21 +0,0 @@
|
|||
<?xml version="1.0" ?>
|
||||
|
||||
<container xmlns="http://symfony.com/schema/dic/services"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
||||
<services>
|
||||
<service id="foo" class="FooClass">
|
||||
<argument type="service">
|
||||
<service class="BarClass">
|
||||
<argument type="service">
|
||||
<service class="BazClass">
|
||||
</service>
|
||||
</argument>
|
||||
</service>
|
||||
</argument>
|
||||
<property name="p" type="service">
|
||||
<service class="BazClass" />
|
||||
</property>
|
||||
</service>
|
||||
</services>
|
||||
</container>
|
|
@ -1,62 +0,0 @@
|
|||
<?xml version="1.0" ?>
|
||||
|
||||
<container xmlns="http://symfony.com/schema/dic/services"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
||||
<services>
|
||||
<service id="foo" class="FooClass" />
|
||||
<service id="baz" class="BazClass" />
|
||||
<service id="scope.container" class="FooClass" scope="container" />
|
||||
<service id="scope.custom" class="FooClass" scope="custom" />
|
||||
<service id="scope.prototype" class="FooClass" scope="prototype" />
|
||||
<service id="file" class="FooClass">
|
||||
<file>%path%/foo.php</file>
|
||||
</service>
|
||||
<service id="arguments" class="FooClass">
|
||||
<argument>foo</argument>
|
||||
<argument type="service" id="foo" />
|
||||
<argument type="collection">
|
||||
<argument>true</argument>
|
||||
<argument>false</argument>
|
||||
</argument>
|
||||
</service>
|
||||
<service id="configurator1" class="FooClass">
|
||||
<configurator function="sc_configure" />
|
||||
</service>
|
||||
<service id="configurator2" class="FooClass">
|
||||
<configurator service="baz" method="configure" />
|
||||
</service>
|
||||
<service id="configurator3" class="FooClass">
|
||||
<configurator class="BazClass" method="configureStatic" />
|
||||
</service>
|
||||
<service id="method_call1" class="FooClass">
|
||||
<call method="setBar" />
|
||||
<call method="setBar">
|
||||
<argument type="expression">service("foo").foo() ~ (container.hasparameter("foo") ? parameter("foo") : "default")</argument>
|
||||
</call>
|
||||
</service>
|
||||
<service id="method_call2" class="FooClass">
|
||||
<call method="setBar">
|
||||
<argument>foo</argument>
|
||||
<argument type="service" id="foo" />
|
||||
<argument type="collection">
|
||||
<argument>true</argument>
|
||||
<argument>false</argument>
|
||||
</argument>
|
||||
</call>
|
||||
</service>
|
||||
<service id="alias_for_foo" alias="foo" />
|
||||
<service id="another_alias_for_foo" alias="foo" public="false" />
|
||||
<service id="decorator_service" decorates="decorated" />
|
||||
<service id="decorator_service_with_name" decorates="decorated" decoration-inner-name="decorated.pif-pouf"/>
|
||||
<service id="new_factory1" class="FooBarClass">
|
||||
<factory function="factory" />
|
||||
</service>
|
||||
<service id="new_factory2" class="FooBarClass">
|
||||
<factory service="baz" method="getClass" />
|
||||
</service>
|
||||
<service id="new_factory3" class="FooBarClass">
|
||||
<factory class="BazClass" method="getInstance" />
|
||||
</service>
|
||||
</services>
|
||||
</container>
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" ?>
|
||||
|
||||
<container xmlns="http://symfony.com/schema/dic/services"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
||||
<services>
|
||||
<service id="foo" class="BarClass" />
|
||||
</services>
|
||||
</container>
|
|
@ -1,22 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<container xmlns="http://symfony.com/schema/dic/services"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
||||
<parameters>
|
||||
<parameter key="foo">%baz%</parameter>
|
||||
<parameter key="baz">bar</parameter>
|
||||
<parameter key="bar">foo is %%foo bar</parameter>
|
||||
<parameter key="escape">@escapeme</parameter>
|
||||
<parameter key="values" type="collection">
|
||||
<parameter>true</parameter>
|
||||
<parameter>false</parameter>
|
||||
<parameter>null</parameter>
|
||||
<parameter>0</parameter>
|
||||
<parameter>1000.3</parameter>
|
||||
<parameter type="string">true</parameter>
|
||||
<parameter type="string">false</parameter>
|
||||
<parameter type="string">null</parameter>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</container>
|
|
@ -1,106 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
||||
<parameters>
|
||||
<parameter key="baz_class">BazClass</parameter>
|
||||
<parameter key="foo_class">Bar\FooClass</parameter>
|
||||
<parameter key="foo">bar</parameter>
|
||||
</parameters>
|
||||
<services>
|
||||
<service id="foo" class="Bar\FooClass">
|
||||
<tag name="foo" foo="foo"/>
|
||||
<tag name="foo" bar="bar" baz="baz"/>
|
||||
<argument>foo</argument>
|
||||
<argument type="service" id="foo.baz"/>
|
||||
<argument type="collection">
|
||||
<argument key="%foo%">foo is %foo%</argument>
|
||||
<argument key="foobar">%foo%</argument>
|
||||
</argument>
|
||||
<argument>true</argument>
|
||||
<argument type="service" id="service_container"/>
|
||||
<property name="foo">bar</property>
|
||||
<property name="moo" type="service" id="foo.baz"/>
|
||||
<property name="qux" type="collection">
|
||||
<property key="%foo%">foo is %foo%</property>
|
||||
<property key="foobar">%foo%</property>
|
||||
</property>
|
||||
<call method="setBar">
|
||||
<argument type="service" id="bar"/>
|
||||
</call>
|
||||
<call method="initialize"/>
|
||||
<factory class="Bar\FooClass" method="getInstance"/>
|
||||
<configurator function="sc_configure"/>
|
||||
</service>
|
||||
<service id="foo.baz" class="%baz_class%">
|
||||
<factory class="%baz_class%" method="getInstance"/>
|
||||
<configurator class="%baz_class%" method="configureStatic1"/>
|
||||
</service>
|
||||
<service id="bar" class="Bar\FooClass">
|
||||
<argument>foo</argument>
|
||||
<argument type="service" id="foo.baz"/>
|
||||
<argument>%foo_bar%</argument>
|
||||
<configurator service="foo.baz" method="configure"/>
|
||||
</service>
|
||||
<service id="foo_bar" class="%foo_class%" scope="prototype"/>
|
||||
<service id="method_call1" class="Bar\FooClass">
|
||||
<file>%path%foo.php</file>
|
||||
<call method="setBar">
|
||||
<argument type="service" id="foo"/>
|
||||
</call>
|
||||
<call method="setBar">
|
||||
<argument type="service" id="foo2" on-invalid="null"/>
|
||||
</call>
|
||||
<call method="setBar">
|
||||
<argument type="service" id="foo3" on-invalid="ignore"/>
|
||||
</call>
|
||||
<call method="setBar">
|
||||
<argument type="service" id="foobaz" on-invalid="ignore"/>
|
||||
</call>
|
||||
<call method="setBar">
|
||||
<argument type="expression">service("foo").foo() ~ (container.hasparameter("foo") ? parameter("foo") : "default")</argument>
|
||||
</call>
|
||||
</service>
|
||||
<service id="foo_with_inline" class="Foo">
|
||||
<call method="setBar">
|
||||
<argument type="service" id="inlined"/>
|
||||
</call>
|
||||
</service>
|
||||
<service id="inlined" class="Bar" public="false">
|
||||
<property name="pub">pub</property>
|
||||
<call method="setBaz">
|
||||
<argument type="service" id="baz"/>
|
||||
</call>
|
||||
</service>
|
||||
<service id="baz" class="Baz">
|
||||
<call method="setFoo">
|
||||
<argument type="service" id="foo_with_inline"/>
|
||||
</call>
|
||||
</service>
|
||||
<service id="request" class="Request" synthetic="true"/>
|
||||
<service id="configurator_service" class="ConfClass" public="false">
|
||||
<call method="setFoo">
|
||||
<argument type="service" id="baz"/>
|
||||
</call>
|
||||
</service>
|
||||
<service id="configured_service" class="stdClass">
|
||||
<configurator service="configurator_service" method="configureStdClass"/>
|
||||
</service>
|
||||
<service id="decorated" class="stdClass"/>
|
||||
<service id="decorator_service" class="stdClass" decorates="decorated"/>
|
||||
<service id="decorator_service_with_name" class="stdClass" decorates="decorated" decoration-inner-name="decorated.pif-pouf"/>
|
||||
<service id="new_factory" class="FactoryClass" public="false">
|
||||
<property name="foo">bar</property>
|
||||
</service>
|
||||
<service id="factory_service" class="Bar">
|
||||
<factory service="foo.baz" method="getInstance"/>
|
||||
</service>
|
||||
<service id="new_factory_service" class="FooBarBaz">
|
||||
<property name="foo">bar</property>
|
||||
<factory service="new_factory" method="getInstance"/>
|
||||
</service>
|
||||
<service id="service_from_static_method" class="Bar\FooClass">
|
||||
<factory class="Bar\FooClass" method="getInstance"/>
|
||||
</service>
|
||||
<service id="alias_for_foo" alias="foo"/>
|
||||
<service id="alias_for_alias" alias="foo"/>
|
||||
</services>
|
||||
</container>
|
|
@ -1,3 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE foo>
|
||||
<foo></foo>
|
Reference in a new issue