Skip to content

Commit 99c56e1

Browse files
committed
minor #18477 [HttpKernel] Remove ContainerAwareInterface occurrence (alexandre-daubois)
This PR was merged into the 7.0 branch. Discussion ---------- [HttpKernel] Remove `ContainerAwareInterface` occurrence Fix #18476 Commits ------- 1a68fb0 [HttpKernel] Remove `ContainerAwareInterface` occurrence
2 parents 189d0c9 + 1a68fb0 commit 99c56e1

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)