File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Original file line number Diff line number Diff line change @@ -2693,13 +2693,13 @@ A signed URI is an URI that includes a hash value that depends on the contents o
2693
2693
the URI. This way, you can later check the integrity of the signed URI by
2694
2694
recomputing its hash value and comparing it with the hash included in the URI.
2695
2695
2696
- Symfony provides a utility to sign URIs via the :class: `Symfony\\ Component\\ HttpKernel \\ UriSigner `
2696
+ Symfony provides a utility to sign URIs via the :class: `Symfony\\ Component\\ HttpFoundation \\ UriSigner `
2697
2697
service, which you can inject in your services or controllers::
2698
2698
2699
2699
// src/Service/SomeService.php
2700
2700
namespace App\Service;
2701
2701
2702
- use Symfony\Component\HttpKernel \UriSigner;
2702
+ use Symfony\Component\HttpFoundation \UriSigner;
2703
2703
2704
2704
class SomeService
2705
2705
{
@@ -2729,6 +2729,12 @@ service, which you can inject in your services or controllers::
2729
2729
}
2730
2730
}
2731
2731
2732
+ .. versionadded :: 6.4
2733
+
2734
+ The namespace of the ``UriSigner `` class changed in Symfony 6.4 from
2735
+ ``Symfony\Component\HttpKernel\UriSigner `` to
2736
+ ``Symfony\Component\HttpFoundation\UriSigner ``.
2737
+
2732
2738
Troubleshooting
2733
2739
---------------
2734
2740
You can’t perform that action at this time.
0 commit comments