Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #35284 Simplify UriSigner when working with HttpFoundation's …
…Request (Toflar) This PR was squashed before being merged into the 5.1-dev branch (closes #35284). Discussion ---------- Simplify UriSigner when working with HttpFoundation's Request | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | | License | MIT | Doc PR | I'm using the `UriSigner` in my own projects from time to time and I've always wondered why I have to manually generate the URI from the `Request` instance in such a way that it is correctly validated. Let's add a new `checkRequest(Request $request)` method to provide better DX. Commits ------- 4887b4b Simplify UriSigner when working with HttpFoundation's Request
- Loading branch information
Showing
3 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters