File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -2815,6 +2815,16 @@ argument of :method:`Symfony\\Component\\HttpFoundation\\UriSigner::sign`::
28152815
Starting with Symfony 7.3, signed URI hashes no longer include the ``/`` or
28162816
``+`` characters, as these may cause issues with certain clients.
28172817

2818+
.. tip::
2819+
2820+
If ``symfony/clock`` is installed, it is used for creating and verifying the
2821+
expiration. This allows you to :ref:`mock the current time in your tests
2822+
<clock_writing-tests>`.
2823+
2824+
.. versionadded:: 7.3
2825+
2826+
``symfony/clock`` support was added to ``UriSigner`` in Symfony 7.3.
2827+
28182828
Troubleshooting
28192829
---------------
28202830

0 commit comments

Comments
 (0)