Skip to content

Commit

Permalink
[2.2] Route#getPattern is renamed to getPath
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj committed Apr 24, 2015
1 parent 35b2d0e commit 3b9aba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ProviderBasedGenerator.php
Expand Up @@ -91,7 +91,7 @@ public function getRouteDebugMessage($name, array $parameters = array())
}

if ($name instanceof SymfonyRoute) {
return 'Route with pattern ' . $name->getPattern();
return 'Route with path ' . $name->getPath();
}

return get_class($name);
Expand Down

0 comments on commit 3b9aba2

Please sign in to comment.