Skip to content

Commit 186ef8e

Browse files
Updated doc to use versionadded directive
1 parent 5eb1c40 commit 186ef8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

security/access_control.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ if ``ip``, ``port``, ``host`` or ``method`` are not specified for an entry, that
170170
:ref:`Deny access in PHP code <security-securing-controller>` if you want
171171
to disallow access based on ``$_GET`` parameter values.
172172

173-
.. notice::
173+
.. versionadded:: 6.1
174174

175-
If you have a custom request matcher, you can use the ``request_matcher`` option to specify the service reference to an access control item. Symfony will use this service as the request matcher for this item and won't take into account other matching options.
175+
From verison 6.1 and up, if you have a custom request matcher, you can use the ``request_matcher`` option to specify the service reference to an access control item. Symfony will use this service as the request matcher for this item and won't take into account other matching options.
176176

177177
.. _security-access-control-enforcement-options:
178178

0 commit comments

Comments
 (0)