This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Routing/RouterInterface.php

33 lines
901 B
PHP
Raw Normal View History

2010-02-17 13:53:31 +00:00
<?php
/*
* This file is part of the Symfony package.
2010-02-17 13:53:31 +00:00
*
* (c) Fabien Potencier <fabien@symfony.com>
2010-02-17 13:53:31 +00:00
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
2010-02-17 13:53:31 +00:00
*/
namespace Symfony\Component\Routing;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use Symfony\Component\Routing\Matcher\UrlMatcherInterface;
2010-02-17 13:53:31 +00:00
/**
* RouterInterface is the interface that all Router classes must implement.
2010-02-17 13:53:31 +00:00
*
* This interface is the concatenation of UrlMatcherInterface and UrlGeneratorInterface.
*
* @author Fabien Potencier <fabien@symfony.com>
2010-02-17 13:53:31 +00:00
*/
2010-07-24 18:19:54 +01:00
interface RouterInterface extends UrlMatcherInterface, UrlGeneratorInterface
2010-02-17 13:53:31 +00:00
{
/**
* Gets the RouteCollection instance associated with this Router.
*
* @return RouteCollection A RouteCollection instance
*/
2012-07-09 13:50:58 +01:00
public function getRouteCollection();
2010-02-17 13:53:31 +00:00
}