public matches ( DrestCommon\Request\Request $request, boolean $matchVerb = true, string $basePath = null ) : boolean | ||
$request | DrestCommon\Request\Request | |
$matchVerb | boolean | - Whether you want to match the route using the request HTTP verb - useful for OPTIONS requests to provide route info |
$basePath | string | - add a base path to the route pattern |
return | boolean | $result |