From abd50b7b1cc898d85fa66f8b47a357a2e802f732 Mon Sep 17 00:00:00 2001 From: Alexandre Daubois Date: Tue, 13 Jun 2023 09:18:50 +0200 Subject: [PATCH] [HttpKernel] Deprecate `ContainerAwareInterface` and `ContainerAwareTrait` --- components/http_kernel.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/components/http_kernel.rst b/components/http_kernel.rst index 067bf17a998..eb6996cbf4b 100644 --- a/components/http_kernel.rst +++ b/components/http_kernel.rst @@ -263,6 +263,13 @@ on the request's information. 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 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy