Skip to content

Commit 1a68fb0

Browse files
[HttpKernel] Remove ContainerAwareInterface occurrence
1 parent c598bde commit 1a68fb0

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

components/http_kernel.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -258,18 +258,6 @@ on the request's information.
258258
b) A new instance of your controller class is instantiated with no
259259
constructor arguments.
260260

261-
c) If the controller implements :class:`Symfony\\Component\\DependencyInjection\\ContainerAwareInterface`,
262-
``setContainer()`` is called on the controller object and the container
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-
273261
.. _component-http-kernel-kernel-controller:
274262

275263
3) The ``kernel.controller`` Event

0 commit comments

Comments
 (0)