From 89a381ce8476a70ee09c05d43e3d9d38a86d2c6d Mon Sep 17 00:00:00 2001 From: Yanosh Date: Mon, 19 Aug 2024 15:35:02 +0000 Subject: [PATCH] [symfony/framework-bundle/7.0 & 7.2] Add imports for services.yaml with some comments for clarification --- symfony/framework-bundle/7.0/config/services.yaml | 6 ++++++ symfony/framework-bundle/7.2/config/services.yaml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/symfony/framework-bundle/7.0/config/services.yaml b/symfony/framework-bundle/7.0/config/services.yaml index 2d6a76f94..e6ed4e203 100644 --- a/symfony/framework-bundle/7.0/config/services.yaml +++ b/symfony/framework-bundle/7.0/config/services.yaml @@ -1,6 +1,12 @@ # This file is the entry point to configure your own services. # Files in the packages/ subdirectory configure your dependencies. +# There comes imported service files, if you would like to split config to multiple files. +# Symfony loads first the imported files and then it processes the parameters and services defined in this file itself. +# Duplicating services will be overridden and last config wins. +# https://symfony.com/doc/current/service_container/import.html +imports: + # Put parameters here that don't need to change on each machine where the app is deployed # https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration parameters: diff --git a/symfony/framework-bundle/7.2/config/services.yaml b/symfony/framework-bundle/7.2/config/services.yaml index 2d6a76f94..e6ed4e203 100644 --- a/symfony/framework-bundle/7.2/config/services.yaml +++ b/symfony/framework-bundle/7.2/config/services.yaml @@ -1,6 +1,12 @@ # This file is the entry point to configure your own services. # Files in the packages/ subdirectory configure your dependencies. +# There comes imported service files, if you would like to split config to multiple files. +# Symfony loads first the imported files and then it processes the parameters and services defined in this file itself. +# Duplicating services will be overridden and last config wins. +# https://symfony.com/doc/current/service_container/import.html +imports: + # Put parameters here that don't need to change on each machine where the app is deployed # https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration parameters: