Skip to content

Commit 8929b23

Browse files
Renan de Limawouterj
Renan de Lima
andauthored
Update routing.rst
Co-authored-by: Wouter de Jong <wouterj@users.noreply.github.com>
1 parent 837e6d3 commit 8929b23

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

routing.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,8 @@ You can also use these functions:
474474

475475
.. versionadded:: 6.1
476476

477-
The ``service(string $alias)`` function was introduced in Symfony 6.1.
477+
The ``service(string $alias)`` function and ``#[AsRoutingConditionService]`` attribute
478+
was introduced in Symfony 6.1.
478479

479480
Behind the scenes, expressions are compiled down to raw PHP. Because of this,
480481
using the ``condition`` key causes no extra overhead beyond the time it takes

0 commit comments

Comments
 (0)