Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions components/http_kernel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -258,18 +258,6 @@ on the request's information.
b) A new instance of your controller class is instantiated with no
constructor arguments.

c) If the controller implements :class:`Symfony\\Component\\DependencyInjection\\ContainerAwareInterface`,
``setContainer()`` is called on the controller object and the container
is passed to it. This step is also specific to the :class:`Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerResolver`
sub-class used by the Symfony Framework.

.. deprecated:: 6.4

:class:`Symfony\\Component\\DependencyInjection\\ContainerAwareInterface` and
:class:`Symfony\\Component\\DependencyInjection\\ContainerAwareTrait` are
deprecated since Symfony 6.4. Dependency injection should be used instead to
access the service container.

.. _component-http-kernel-kernel-controller:

3) The ``kernel.controller`` Event
Expand Down