PHP Classes

File: vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/services9.xml

Recommend this page to a friend!
  Classes of Murat Cileli   Papernic   vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/services9.xml   Download  
File: vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/services9.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: 4,595 bytes
 

Contents

Class file image Download
<?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%" shared="false"/> <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="deprecated_service" class="stdClass"> <deprecated>The "%service_id%" service is deprecated. You should stop using it, as it will soon be removed.</deprecated> </service> <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>