From 7e3106bb58748871902a660c68b8da2b96efa982 Mon Sep 17 00:00:00 2001 From: issamkhadiri1989 Date: Mon, 24 Jan 2022 23:08:10 +0100 Subject: [PATCH] Update extension.rst when using `DependencyInjection\Extension\Extension`, the `addAnnotatedClassesToCompile` is not available. so it should be mentionned that we need to use `HttpKernel\DependencyInjection\Extension` instead when the method `addAnnotatedClassesToCompile` must be used --- bundles/extension.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/extension.rst b/bundles/extension.rst index edbcb5cd270..bbbfd398018 100644 --- a/bundles/extension.rst +++ b/bundles/extension.rst @@ -34,7 +34,7 @@ This is how the extension of an AcmeHelloBundle should look like:: namespace Acme\HelloBundle\DependencyInjection; use Symfony\Component\DependencyInjection\ContainerBuilder; - use Symfony\Component\DependencyInjection\Extension\Extension; + use Symfony\Component\HttpKernel\DependencyInjection\Extension; class AcmeHelloExtension extends Extension { 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