services.xml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <?xml version="1.0" encoding="UTF-8" ?>
  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="doctrine.migrations.dependency_factory" class="Doctrine\Migrations\DependencyFactory" public="false">
  7. <factory></factory>
  8. <argument type="service" id="doctrine.migrations.configuration_loader"/>
  9. <argument></argument>
  10. <argument type="service" id="logger" on-invalid="null"></argument>
  11. </service>
  12. <service id="doctrine.migrations.configuration_loader" class="Doctrine\Migrations\Configuration\Migration\ExistingConfiguration" public="false">
  13. <argument type="service" id="doctrine.migrations.configuration"/>
  14. </service>
  15. <service id="doctrine.migrations.connection_loader" class="Doctrine\Migrations\Configuration\Connection\ExistingConnection" public="false">
  16. </service>
  17. <service id="doctrine.migrations.em_loader" class="Doctrine\Migrations\Configuration\EntityManager\ExistingEntityManager" public="false">
  18. </service>
  19. <service id="doctrine.migrations.entity_manager_registry_loader" class="Doctrine\Migrations\Configuration\EntityManager\ManagerRegistryEntityManager" public="false">
  20. <factory class="Doctrine\Migrations\Configuration\EntityManager\ManagerRegistryEntityManager" method="withSimpleDefault"/>
  21. <argument type="service" id="doctrine"/>
  22. </service>
  23. <service id="doctrine.migrations.connection_registry_loader" class="Doctrine\Migrations\Configuration\Connection\ConnectionRegistryConnection" public="false">
  24. <factory class="Doctrine\Migrations\Configuration\Connection\ConnectionRegistryConnection" method="withSimpleDefault"/>
  25. <argument type="service" id="doctrine"/>
  26. </service>
  27. <service id="doctrine.migrations.configuration" class="Doctrine\Migrations\Configuration\Configuration" public="false">
  28. </service>
  29. <service id="doctrine.migrations.migrations_factory" class="Doctrine\Migrations\Version\MigrationFactory">
  30. <factory service="doctrine.migrations.dependency_factory" method="getMigrationFactory"/>
  31. </service>
  32. <service id="doctrine.migrations.container_aware_migrations_factory"
  33. class="Doctrine\Bundle\MigrationsBundle\MigrationsFactory\ContainerAwareMigrationFactory"
  34. decorates="doctrine.migrations.migrations_factory"
  35. >
  36. <argument id="doctrine.migrations.container_aware_migrations_factory.inner" type="service"/>
  37. <argument id="service_container" type="service"/>
  38. </service>
  39. <service id="doctrine_migrations.diff_command" class="Doctrine\Migrations\Tools\Console\Command\DiffCommand">
  40. <argument type="service" id="doctrine.migrations.dependency_factory"/>
  41. <argument>doctrine:migrations:diff</argument>
  42. <tag name="console.command" command="doctrine:migrations:diff" />
  43. </service>
  44. <service id="doctrine_migrations.sync_metadata_command" class="Doctrine\Migrations\Tools\Console\Command\SyncMetadataCommand">
  45. <argument type="service" id="doctrine.migrations.dependency_factory"/>
  46. <argument>doctrine:migrations:sync-metadata-storage</argument>
  47. <tag name="console.command" command="doctrine:migrations:sync-metadata-storage" />
  48. </service>
  49. <service id="doctrine_migrations.versions_command" class="Doctrine\Migrations\Tools\Console\Command\ListCommand">
  50. <argument type="service" id="doctrine.migrations.dependency_factory"/>
  51. <argument>doctrine:migrations:versions</argument>
  52. <tag name="console.command" command="doctrine:migrations:list" />
  53. </service>
  54. <service id="doctrine_migrations.current_command" class="Doctrine\Migrations\Tools\Console\Command\CurrentCommand">
  55. <argument type="service" id="doctrine.migrations.dependency_factory"/>
  56. <argument>doctrine:migrations:current</argument>
  57. <tag name="console.command" command="doctrine:migrations:current"/>
  58. </service>
  59. <service id="doctrine_migrations.dump_schema_command" class="Doctrine\Migrations\Tools\Console\Command\DumpSchemaCommand">
  60. <argument type="service" id="doctrine.migrations.dependency_factory"/>
  61. <argument>doctrine:migrations:dump-schema</argument>
  62. <tag name="console.command" command="doctrine:migrations:dump-schema"/>
  63. </service>
  64. <service id="doctrine_migrations.execute_command" class="Doctrine\Migrations\Tools\Console\Command\ExecuteCommand">
  65. <argument type="service" id="doctrine.migrations.dependency_factory"/>
  66. <argument>doctrine:migrations:execute</argument>
  67. <tag name="console.command" command="doctrine:migrations:execute"/>
  68. </service>
  69. <service id="doctrine_migrations.generate_command" class="Doctrine\Migrations\Tools\Console\Command\GenerateCommand">
  70. <argument type="service" id="doctrine.migrations.dependency_factory"/>
  71. <argument>doctrine:migrations:generate</argument>
  72. <tag name="console.command" command="doctrine:migrations:generate"/>
  73. </service>
  74. <service id="doctrine_migrations.latest_command" class="Doctrine\Migrations\Tools\Console\Command\LatestCommand">
  75. <argument type="service" id="doctrine.migrations.dependency_factory"/>
  76. <argument>doctrine:migrations:latest</argument>
  77. <tag name="console.command" command="doctrine:migrations:latest"/>
  78. </service>
  79. <service id="doctrine_migrations.migrate_command" class="Doctrine\Migrations\Tools\Console\Command\MigrateCommand">
  80. <argument type="service" id="doctrine.migrations.dependency_factory"/>
  81. <argument>doctrine:migrations:migrate</argument>
  82. <tag name="console.command" command="doctrine:migrations:migrate" />
  83. </service>
  84. <service id="doctrine_migrations.rollup_command" class="Doctrine\Migrations\Tools\Console\Command\RollupCommand">
  85. <argument type="service" id="doctrine.migrations.dependency_factory"/>
  86. <argument>doctrine:migrations:rollup</argument>
  87. <tag name="console.command" command="doctrine:migrations:rollup" />
  88. </service>
  89. <service id="doctrine_migrations.status_command" class="Doctrine\Migrations\Tools\Console\Command\StatusCommand">
  90. <argument type="service" id="doctrine.migrations.dependency_factory"/>
  91. <argument>doctrine:migrations:status</argument>
  92. <tag name="console.command" command="doctrine:migrations:status" />
  93. </service>
  94. <service id="doctrine_migrations.up_to_date_command" class="Doctrine\Migrations\Tools\Console\Command\UpToDateCommand">
  95. <argument type="service" id="doctrine.migrations.dependency_factory"/>
  96. <argument>doctrine:migrations:up-to-date</argument>
  97. <tag name="console.command" command="doctrine:migrations:up-to-date" />
  98. </service>
  99. <service id="doctrine_migrations.version_command" class="Doctrine\Migrations\Tools\Console\Command\VersionCommand">
  100. <argument type="service" id="doctrine.migrations.dependency_factory"/>
  101. <argument>doctrine:migrations:version</argument>
  102. <tag name="console.command" command="doctrine:migrations:version" />
  103. </service>
  104. </services>
  105. </container>