File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -377,7 +377,7 @@ gives you access to these variables:
377
377
``app.token ``
378
378
A :class: `Symfony\\ Component\\ Security\\ Core\\ Authentication\\ Token\\ TokenInterface `
379
379
object representing the security token.
380
- ``app.current_route_name ``
380
+ ``app.current_route ``
381
381
The name of the route associated to the current request or ``null `` if no
382
382
request is available (equivalent to ``app.request.attributes.get('_route') ``)
383
383
``app.current_route_parameters ``
@@ -386,7 +386,7 @@ gives you access to these variables:
386
386
387
387
.. versionadded :: 6.2
388
388
389
- The ``app.current_route_name `` and ``app.current_route_parameters `` variables
389
+ The ``app.current_route `` and ``app.current_route_parameters `` variables
390
390
were introduced in Symfony 6.2.
391
391
392
392
In addition to the global ``app `` variable injected by Symfony, you can also
You can’t perform that action at this time.
0 commit comments