8000 Update Best Practices about service config format · weaverryan/symfony-docs@4642111 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4642111

Browse files
javiereguiluzweaverryan
authored andcommitted
Update Best Practices about service config format
1 parent c2de27c commit 4642111

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)
0