bool checkRequestPath(Request $request, string $path)
Checks that a given path matches the Request.
bool checkRequestPath(Request $request, string $path)
Checks that a given path matches the Request.
Request | $request | A Request instance |
string | $path | A path (an absolute path (/foo), an absolute URL (http://...), or a route name (foo)) |
bool | true if the path is the same as the one from the Request, false otherwise |
Designed by : w10schools
service@w10schools.com
Please login to continue.