private function TraceableUrlMatcher::addTrace

1 call to TraceableUrlMatcher::addTrace()
TraceableUrlMatcher::matchCollection in drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Matcher/TraceableUrlMatcher.php
Tries to match a URL with a set of routes.

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Matcher/TraceableUrlMatcher.php, line 112

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,
    'pattern' => null !== $route ? $route
      ->getPattern() : null,
  );
}