added RouterInterface::getRouteCollection()

This commit is contained in:
Fabien Potencier 2011-09-30 07:48:34 +02:00
parent 1c23ce992d
commit 1467bdb868
2 changed files with 10 additions and 0 deletions

View File

@ -68,6 +68,10 @@ To get the diff between two versions, go to https://github.com/symfony/symfony/c
* added a File-based profiler storage
* added a MongoDB-based profiler storage
### Routing
* added RouterInterface::getRouteCollection
### Translation
* added support for more than one fallback locale

View File

@ -23,4 +23,10 @@ use Symfony\Component\Routing\Matcher\UrlMatcherInterface;
*/
interface RouterInterface extends UrlMatcherInterface, UrlGeneratorInterface
{
/**
* Gets the RouteCollection instance associated with this Router.
*
* @return RouteCollection A RouteCollection instance
*/
function getRouteCollection();
}