- <?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="scope.container" class="FooClass" scope="container" />
- <service id="scope.custom" class="FooClass" scope="custom" />
- <service id="scope.prototype" class="FooClass" scope="prototype" />
- <service id="request" class="Request" synthetic="true" synchronized="true" lazy="true"/>
- </services>
- </container>
|