Skip to content

Commit

Permalink
Update user_guide_src/source/concepts/services.rst
Browse files Browse the repository at this point in the history
Co-authored-by: kenjis <[email protected]>
  • Loading branch information
ddevsr and kenjis authored May 31, 2024
1 parent 47f1b4b commit 0072e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user_guide_src/source/concepts/services.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ always return the same instance:

.. literalinclude:: services/003.php

.. note:: Since `v4.5.0`, the global function ``service()`` is recommended due to performance improvements on without parameter
.. note:: Since v4.5.0, when you don't pass parameters to the service, the global function ``service()`` is recommended due to performance improvements.

If the creation method requires additional parameters, they can be passed after the service name:

Expand Down

0 comments on commit 0072e11

Please sign in to comment.