symfony/symfony — pull request #5351 by dbu (2012-08-26 08:39:13+00:00)
Title: make it possible to have urlmatcher return all matching routes

instead of only first match. for use when there are further matchers to be chained (i.e. content negotiation)

this is an attempt to solve #5014. the intention is that applications like drupal need to add more steps in the matching process. the current implementation of always returning the first match means they have to copy-paste the matchCollection code.

feedback welcome.
/cc @Crell