We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 628ac3b commit f51a03eCopy full SHA for f51a03e
Resources/doc/index.rst
@@ -297,6 +297,11 @@ Here is an example on how to inject the service container into your migrations:
297
this bundle will automatically inject the default symfony container into your migration class
298
(this because the ``MigrationFactoryDecorator`` shown in this example is the default migration factory used by this bundle).
299
300
+.. caution::
301
+
302
+ The interface ``Symfony\Component\DependencyInjection\ContainerAwareInterface`` has been deprecated in Symfony 6.4 and
303
+ removed in 7.0. If you use this version or newer, there is currently no way to inject the service container into migrations.
304
305
306
Generating Migrations Automatically
307
-----------------------------------
0 commit comments