$routeString
$routeString : string
Route string
Pop router match abstract class
addRoute(string $route, mixed $controller) : \Pop\Router\Match\AbstractMatch
Add a route
string | $route | |
mixed | $controller |
addRoutes(array $routes) : \Pop\Router\Match\AbstractMatch
Add multiple controller routes
array | $routes |
name(string $routeName) : \Pop\Router\Match\AbstractMatch
Add a route name
string | $routeName |
addControllerParams(string $controller, mixed $params) : \Pop\Router\Match\AbstractMatch
Add controller params to be passed into a new controller instance
string | $controller | |
mixed | $params |
appendControllerParams(string $controller, mixed $params) : \Pop\Router\Match\AbstractMatch
Append controller params to be passed into a new controller instance
string | $controller | |
mixed | $params |
removeControllerParams(string $controller) : \Pop\Router\Match\AbstractMatch
Remove controller params
string | $controller |
prepare() : \Pop\Router\Match\AbstractMatch
Prepare the routes