From c9f83a48d8db21237af543f68f8b06f648d92226 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Fri, 21 Oct 2022 17:00:25 +0200 Subject: [PATCH] [DependencyInjecion] Mention that service definitions replace previous ones --- service_container.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/service_container.rst b/service_container.rst index d12f8604bfd..1b648050e7c 100644 --- a/service_container.rst +++ b/service_container.rst @@ -178,6 +178,9 @@ each time you ask for it. - '../src/Entity/' - '../src/Kernel.php' + # order is important in this file because service definitions + # always *replace* previous ones; add your own service configuration below + # ... .. code-block:: xml @@ -197,6 +200,9 @@ each time you ask for it. + + @@ -219,6 +225,9 @@ each time you ask for it. // this creates a service per class whose id is the fully-qualified class name $services->load('App\\', '../src/') ->exclude('../src/{DependencyInjection,Entity,Kernel.php}'); + + // order is important in this file because service definitions + // always *replace* previous ones; add your own service configuration below }; .. tip:: 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