xabbuh/PandaBundle — pull request #1 by stof (2014-07-08 09:48:56+00:00)
Title: Changed the router typehint to use the interface

typehinting the router implementation is a bad idea as it prevents using this bundle with bundles decorating the router. The interface should always be used in typehints.

and this class only needs the url generation part of the router, so it makes sense to typehint only the UrlGeneratorInterface rather than the full RouterInterface (which extends both UrlGeneratorInterface and UrlMatcherInterface)