RouteTraceRow
API reference › Debug Core › Panel › Request › Routing › RouteTraceRow
One routing rule inspected while resolving the current request.
Properties
Section titled “Properties”| Property | Type | Description | Defined by |
|---|---|---|---|
$matched readonly constructor | bool | Whether this rule matched the current request. Default: false. | RouteTraceRow |
$parent readonly constructor | string | Parent rule, if any. Default: ''. | RouteTraceRow |
$rule readonly constructor | string | Routing rule inspected. | RouteTraceRow |
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
__construct() | Creates a row for an inspected routing rule. | RouteTraceRow |
Method details
Section titled “Method details”__construct()
Section titled “__construct() ”public function __construct(string $rule, string $parent = '', bool $matched = false)Creates a row for an inspected routing rule.
Parameters
| Parameter | Type | Description |
|---|---|---|
$rule | string | Routing rule inspected. |
$parent | string | Parent rule, if any. |
$matched | bool | Whether this rule matched the current request. |