You are here

public function TraceableUrlMatcher::getTraces in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/routing/Matcher/TraceableUrlMatcher.php \Symfony\Component\Routing\Matcher\TraceableUrlMatcher::getTraces()

File

vendor/symfony/routing/Matcher/TraceableUrlMatcher.php, line 31

Class

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

Namespace

Symfony\Component\Routing\Matcher

Code

public function getTraces($pathinfo) {
  $this->traces = array();
  try {
    $this
      ->match($pathinfo);
  } catch (ExceptionInterface $e) {
  }
  return $this->traces;
}