public function DynamicRouter::getRouteDebugMessage

Forwards to the generator.

Overrides VersatileGeneratorInterface::getRouteDebugMessage

File

drupal/core/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/DynamicRouter.php, line 319

Class

DynamicRouter
A flexible router accepting matcher and generator through injection and using the RouteEnhancer concept to generate additional data on the routes.

Namespace

Symfony\Cmf\Component\Routing

Code

public function getRouteDebugMessage($name, array $parameters = array()) {
  if ($this->generator instanceof VersatileGeneratorInterface) {
    return $this->generator
      ->getRouteDebugMessage($name, $parameters);
  }
  return "Route '{$name}' not found";
}