From 8b48baf73e0e99a6b30c83445fd2f915f36f7228 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Mon, 2 Jun 2025 08:38:48 +0200 Subject: [PATCH] Fix build --- service_container/import.rst | 48 ++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/service_container/import.rst b/service_container/import.rst index 93583b5881b..91021762eae 100644 --- a/service_container/import.rst +++ b/service_container/import.rst @@ -158,23 +158,23 @@ from auto-registering classes that are defined manually elsewhere: .. configuration-block:: - .. code-block:: yaml + .. code-block:: yaml - # config/services.yaml - imports: - - { resource: services/mailer.yaml } - # ... other imports + # config/services.yaml + imports: + - { resource: services/mailer.yaml } + # ... other imports - services: - _defaults: - autowire: true - autoconfigure: true + services: + _defaults: + autowire: true + autoconfigure: true - App\: - resource: '../src/*' - exclude: - - '../src/Mailer/' - - '../src/SpecificClass.php' + App\: + resource: '../src/*' + exclude: + - '../src/Mailer/' + - '../src/SpecificClass.php' .. code-block:: xml @@ -235,19 +235,19 @@ same file. These later definitions will override the auto-registered ones: .. configuration-block:: - .. code-block:: yaml + .. code-block:: yaml - # config/services.yaml - services: - _defaults: - autowire: true - autoconfigure: true + # config/services.yaml + services: + _defaults: + autowire: true + autoconfigure: true - App\: - resource: '../src/*' + App\: + resource: '../src/*' - App\Mailer\MyMailer: - arguments: ['%env(MAILER_DSN)%'] + App\Mailer\MyMailer: + arguments: ['%env(MAILER_DSN)%'] .. code-block:: xml 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