PHP Classes

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

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

Contents

Class file image Download
<?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="not_shared" class="FooClass" shared="false" /> <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="decorator_service_with_name_and_priority" decorates="decorated" decoration-inner-name="decorated.pif-pouf" decoration-priority="5"/> <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>