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.
ContainerAwareInterface
ContainerAwareTrait
1 parent 73f5250 commit abd50b7Copy full SHA for abd50b7
components/http_kernel.rst
@@ -263,6 +263,13 @@ on the request's information.
263
is passed to it. This step is also specific to the :class:`Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerResolver`
264
sub-class used by the Symfony Framework.
265
266
+.. deprecated:: 6.4
267
+
268
+ :class:`Symfony\\Component\\DependencyInjection\\ContainerAwareInterface` and
269
+ :class:`Symfony\\Component\\DependencyInjection\\ContainerAwareTrait` are
270
+ deprecated since Symfony 6.4. Dependency injection should be used instead to
271
+ access the service container.
272
273
.. _component-http-kernel-kernel-controller:
274
275
3) The ``kernel.controller`` Event
0 commit comments