Skip to content
PHP Ecosystem
Explore

RouteTraceRow

API reference › Debug Core › Panel › Request › Routing › RouteTraceRow

final readonly classPHPForge\Debug\Panel\Request\Routing\RouteTraceRow
Sourcesrc/Panel/Request/Routing/RouteTraceRow.php

One routing rule inspected while resolving the current request.

PropertyTypeDescriptionDefined by
$matched readonly constructorboolWhether this rule matched the current request. Default: false.RouteTraceRow
$parent readonly constructorstringParent rule, if any. Default: ''.RouteTraceRow
$rule readonly constructorstringRouting rule inspected.RouteTraceRow
MethodDescriptionDefined by
__construct()Creates a row for an inspected routing rule.RouteTraceRow
public function __construct(string $rule, string $parent = '', bool $matched = false)

Creates a row for an inspected routing rule.

Parameters

ParameterTypeDescription
$rulestringRouting rule inspected.
$parentstringParent rule, if any.
$matchedboolWhether this rule matched the current request.