Skip to content

Commit 11f4532

Browse files
committed
User service() instead of ref()
1 parent 2ea40a0 commit 11f4532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ all their types (string, boolean, array, binary and PHP constant parameters).
483483
However, there is another type of parameter related to services. In YAML config,
484484
any string which starts with ``@`` is considered as the ID of a service, instead
485485
of a regular string. In XML config, use the ``type="service"`` type for the
486-
parameter and in PHP config use the ``ref`` function:
486+
parameter and in PHP config use the ``service()`` function:
487487

488488
.. configuration-block::
489489

0 commit comments

Comments
 (0)