RouteManager
Table of Contents
-
$lastMatchedRoutePart
: string|null
-
$loaders
: array<string|int, mixed>
-
$tree
: RouteTree
-
addLoader()
: mixed
-
attachRouteFile()
: mixed
-
findRoute()
: mixed
-
getTree()
: RouteTree
-
init()
: mixed
-
initTree()
: mixed
-
register()
: mixed
$lastMatchedRoutePart
public
static string|null
$lastMatchedRoutePart
$loaders
private
static array<string|int, mixed>
$loaders
= []
$tree
private
static RouteTree
$tree
addLoader()
public
static addLoader(RouteLoader $loader) : mixed
Parameters
-
$loader
: RouteLoader
-
Return values
mixed
—
attachRouteFile()
public
static attachRouteFile(string $path, callable $func) : mixed
Parameters
-
$path
: string
-
-
$func
: callable
-
Return values
mixed
—
findRoute()
public
static findRoute(mixed $path) : mixed
Parameters
-
$path
: mixed
-
Return values
mixed
—
getTree()
public
static getTree() : RouteTree
Return values
RouteTree
—
init()
public
static init() : mixed
Return values
mixed
—
initTree()
public
static initTree() : mixed
Return values
mixed
—
register()
public
static register(Route $route) : mixed
Parameters
-
$route
: Route
-
Return values
mixed
—