RoutingPanel
in package
implements
IBarPanel
Tracy panel that lists the registered multilingual routes and the matched one.
Table of Contents
Interfaces
- IBarPanel
Properties
- $matchedRoute : array<string, mixed>|null
-
$routes
: array<int, array{mask: string, params: array
, type: string|null}>
Methods
- __construct() : mixed
- addRoute() : void
- getPanel() : string
- getTab() : string
- setMatchedRoute() : void
Properties
$matchedRoute
private
array<string, mixed>|null
$matchedRoute
= null
$routes
private
array<int, array{mask: string, params: array, type: string|null}>
$routes
= []
Methods
__construct()
public
__construct() : mixed
addRoute()
public
addRoute(string $mask, array<string, mixed> $params[, string|null $type = null ]) : void
Parameters
- $mask : string
- $params : array<string, mixed>
- $type : string|null = null
getPanel()
public
getPanel() : string
Return values
stringgetTab()
public
getTab() : string
Return values
stringsetMatchedRoute()
public
setMatchedRoute(array<string, mixed> $params) : void
Parameters
- $params : array<string, mixed>