Skip to content

Commit 7f8c440

Browse files
Updated doc to use versionadded directive
1 parent 38a1243 commit 7f8c440

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
@@ -166,9 +166,9 @@ if ``ip``, ``port``, ``host`` or ``method`` are not specified for an entry, that
166166
:ref:`Deny access in PHP code <security-securing-controller>` if you want
167167
to disallow access based on ``$_GET`` parameter values.
168168

169-
.. notice::
169+
.. versionadded:: 6.1
170170

171-
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.
171+
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.
172172

173173
.. _security-access-control-enforcement-options:
174174

0 commit comments

Comments
 (0)