legacy-services6.xml 779 B

1234567891011121314
  1. <?xml version="1.0" ?>
  2. <container xmlns="http://symfony.com/schema/dic/services"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
  5. <services>
  6. <service id="constructor" class="FooClass" factory-method="getInstance" />
  7. <service id="factory_service" factory-method="getInstance" factory-service="baz_factory" />
  8. <service id="scope.container" class="FooClass" scope="container" />
  9. <service id="scope.custom" class="FooClass" scope="custom" />
  10. <service id="scope.prototype" class="FooClass" scope="prototype" />
  11. <service id="request" class="Request" synthetic="true" synchronized="true" lazy="true"/>
  12. </services>
  13. </container>