$defaultController $defaultController : mixed Default controller class string name or closure function Type mixed
getController() getController() : string Get the matched controller class name or closure function Returns string
hasControllerParams() hasControllerParams() : boolean Determine if there are matched controller params Returns boolean
hasDispatchParams() hasDispatchParams() : boolean Determine if there are matched dispatch params Returns boolean
getDefaultController() getDefaultController() : mixed Get the default controller class name or closure function Returns mixed
__construct() __construct() : \Pop\Router\Match\AbstractMatch Constructor Instantiate the match object Returns \Pop\Router\Match\AbstractMatch
match() match(array $routes) : boolean Match the route to the controller class Parameters array $routes Returns boolean
getDispatchParamsFromRoute() getDispatchParamsFromRoute(string $route) : array Get parameters from the route string Parameters string $route Returns array
processDispatchParamsFromRoute() processDispatchParamsFromRoute(array $params, array $routeParams) : mixed Process parameters from the route string Parameters array $params array $routeParams Returns mixed
processMatchedParams() processMatchedParams(array $matchedParams, array $controller) : mixed Process matched parameters Parameters array $matchedParams array $controller Returns mixed