Skip to content

Commit 8a2215e

Browse files
committed
minor #9937 Update Best Practices about service config format (javiereguiluz)
This PR was merged into the 4.0 branch. Discussion ---------- Update Best Practices about service config format This fixes #9915. @mickaelandrieu is this more clear now? Thanks! Commits ------- b08a9ca Update Best Practices about service config format
2 parents d712201 + b08a9ca commit 8a2215e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

best_practices/business-logic.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,13 @@ all services are private by default.
9696
Service Format: YAML
9797
--------------------
9898

99-
In the previous section, YAML was used to define the service.
99+
If you use the :ref:`default services.yaml configuration <service-container-services-load-example>`,
100+
most services will be configured automatically. However, in some edge cases
101+
you'll need to configure services (or parts of them) manually.
100102

101103
.. best-practice::
102104

103-
Use the YAML format to define your own services.
105+
Use the YAML format to configure your own services.
104106

105107
This is controversial, and in our experience, YAML and XML usage is evenly
106108
distributed among developers, with a slight preference towards YAML.

0 commit comments

Comments
 (0)