Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2a29904

Browse files
committed
Minor tweak for the debug:router output
1 parent ff52d98 commit 2a29904

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

routing/debug.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,9 @@ which route is associated with the given URL:
6363
| Defaults | _controller: App\Controller\BlogController:show |
6464
| Options | compiler_class: Symfony\Component\Routing\RouteCompiler |
6565
| | utf8: true |
66+
| Condition | context.getMethod() in ['GET', 'HEAD', 'POST'] |
6667
+--------------+---------------------------------------------------------+
68+
69+
.. versionadded:: 4.3
70+
71+
The ``Condition`` was added to the router debug output in Symfony 4.3.

0 commit comments

Comments
 (0)