Class RoutePathGenerator
Interface for routers that the framework can utilize.
- Autarky\Routing\RoutePathGenerator implements Autarky\Routing\RoutePathGeneratorInterface
public
|
|
public
|
#
setValidateParams( boolean $validateParams )
Set whether the regex pattern of route parameters should be validated on runtime. |
public
string
|
#
getRoutePath(
Generate the path (relative URL) for a route. |
protected
FastRoute\RouteParser
|
$routeParser
|
|
protected
boolean
|
$validateParams
Whether the regex pattern of route parameters should be validated on runtime. |