Skip to content

Commit c0e22b9

Browse files
committed
-
1 parent f85f301 commit c0e22b9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

routing.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2655,6 +2655,10 @@ which you can inject in your services or controllers::
26552655
// check the URL signature
26562656
$uriSignatureIsValid = $this->uriSigner->check($signedUrl);
26572657
// $uriSignatureIsValid = true
2658+
2659+
// if you have access to the current Request object, you can pass
2660+
// the Request object to this other method:
2661+
$uriSignatureIsValid = $this->uriSigner->checkRequest($request);
26582662
}
26592663
}
26602664

0 commit comments

Comments
 (0)