You are here

private function TraceableUrlMatcher::addTrace in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/routing/Matcher/TraceableUrlMatcher.php \Symfony\Component\Routing\Matcher\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 122

Class

TraceableUrlMatcher
TraceableUrlMatcher helps debug path info matching by tracing the match.

Namespace

Symfony\Component\Routing\Matcher

Code

private function addTrace($log, $level = self::ROUTE_DOES_NOT_MATCH, $name = null, $route = null) {
  $this->traces[] = array(
    'log' => $log,
    'name' => $name,
    'level' => $level,
    'path' => null !== $route ? $route
      ->getPath() : null,
  );
}