Menu

## RouteManager
in package

RouteManager.php : 11

### 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

### Properties

#### $lastMatchedRoutePart

RouteManager.php : 24
`public static string|null $lastMatchedRoutePart`

#### $loaders

RouteManager.php : 22
`private static array<string|int, mixed> $loaders = []`

#### $tree

RouteManager.php : 17
`private static RouteTree $tree`

### Methods

#### addLoader()

RouteManager.php : 79
`public static addLoader(RouteLoader $loader) : mixed`

##### Parameters

$loader : RouteLoader

##### Return values

mixed —

#### attachRouteFile()

RouteManager.php : 45
`public static attachRouteFile(string $path, callable $func) : mixed`

##### Parameters

$path : string
$func : callable

##### Return values

mixed —

#### findRoute()

RouteManager.php : 31
`public static findRoute(mixed $path) : mixed`

##### Parameters

$path : mixed

##### Return values

mixed —

#### getTree()

RouteManager.php : 87
`public static getTree() : RouteTree`

##### Return values

RouteTree —

#### init()

RouteManager.php : 58
`public static init() : mixed`

##### Return values

mixed —

#### initTree()

RouteManager.php : 53
`public static initTree() : mixed`

##### Return values

mixed —

#### register()

RouteManager.php : 26
`public static register(Route $route) : mixed`

##### Parameters

$route : Route

##### Return values

mixed —

## Search results