Checks that a given path matches the Request.
public checkRequestPath ( |
||
$request | A Request instance | |
$path | string | A path (an absolute path (/foo), an absolute URL (http://...), or a route name (foo)) |
return | boolean | true if the path is the same as the one from the Request, false otherwise |