Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Symfony\Component\Routing; Chris@0: Chris@0: use Symfony\Component\Routing\Generator\UrlGeneratorInterface; Chris@0: use Symfony\Component\Routing\Matcher\UrlMatcherInterface; Chris@0: Chris@0: /** Chris@0: * RouterInterface is the interface that all Router classes must implement. Chris@0: * Chris@0: * This interface is the concatenation of UrlMatcherInterface and UrlGeneratorInterface. Chris@0: * Chris@0: * @author Fabien Potencier Chris@0: */ Chris@0: interface RouterInterface extends UrlMatcherInterface, UrlGeneratorInterface Chris@0: { Chris@0: /** Chris@0: * Gets the RouteCollection instance associated with this Router. Chris@0: * Chris@0: * @return RouteCollection A RouteCollection instance Chris@0: */ Chris@0: public function getRouteCollection(); Chris@0: }