Property | Type | Description | |
---|---|---|---|
$routeParser | FastRoute\RouteParser | ||
$validateParams | boolean | Whether the regex pattern of route parameters should be validated on runtime. |
Method | Description | |
---|---|---|
__construct ( FastRoute\RouteParser $routeParser, $validateParams = false ) | ||
getRoutePath ( |
||
setValidateParams ( boolean $validateParams ) | Set whether the regex pattern of route parameters should be validated on runtime. |
public __construct ( FastRoute\RouteParser $routeParser, $validateParams = false ) | ||
$routeParser | FastRoute\RouteParser |
public getRoutePath ( |
||
$route | ||
$params | array |
public setValidateParams ( boolean $validateParams ) | ||
$validateParams | boolean |
protected RouteParser,FastRoute $routeParser | ||
return | FastRoute\RouteParser |
protected bool $validateParams | ||
return | boolean |