services.xml 1.1 KB

12345678910111213141516171819202122
  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. <!-- commands -->
  7. <service id="doctrine.fixtures_load_command" class="Doctrine\Bundle\FixturesBundle\Command\LoadDataFixturesDoctrineCommand">
  8. <argument type="service" id="doctrine.fixtures.loader" />
  9. <argument type="service" id="doctrine" />
  10. <tag name="console.command" command="doctrine:fixtures:load" />
  11. </service>
  12. <service id="doctrine.fixtures.loader" class="Doctrine\Bundle\FixturesBundle\Loader\SymfonyFixturesLoader" public="false">
  13. <argument type="service" id="service_container" />
  14. </service>
  15. <service id="doctrine.fixtures.purger.orm_purger_factory" class="Doctrine\Bundle\FixturesBundle\Purger\ORMPurgerFactory" public="false">
  16. <tag name="doctrine.fixtures.purger_factory" alias="default"/>
  17. </service>
  18. </services>
  19. </container>