function TraceableUrlMatcher::addTrace
1 call to TraceableUrlMatcher::addTrace()
- TraceableUrlMatcher::matchCollection in vendor/
symfony/ routing/ Matcher/ TraceableUrlMatcher.php - Tries to match a URL with a set of routes.
File
-
vendor/
symfony/ routing/ Matcher/ TraceableUrlMatcher.php, line 157
Class
- TraceableUrlMatcher
- TraceableUrlMatcher helps debug path info matching by tracing the match.
Namespace
Symfony\Component\Routing\MatcherCode
private function addTrace(string $log, int $level = self::ROUTE_DOES_NOT_MATCH, ?string $name = null, ?Route $route = null) : void {
$this->traces[] = [
'log' => $log,
'name' => $name,
'level' => $level,
'path' => $route?->getPath(),
];
}