4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Routing
;
14 use Symfony\Component\Routing\Generator\UrlGeneratorInterface
;
15 use Symfony\Component\Routing\Matcher\UrlMatcherInterface
;
18 * RouterInterface is the interface that all Router classes must implement.
20 * This interface is the concatenation of UrlMatcherInterface and UrlGeneratorInterface.
22 * @author Fabien Potencier <fabien@symfony.com>
24 interface RouterInterface
extends UrlMatcherInterface
, UrlGeneratorInterface
27 * Gets the RouteCollection instance associated with this Router.
29 * @return RouteCollection A RouteCollection instance
31 public function getRouteCollection();