diff options
Diffstat (limited to 'vendor/symfony/routing/Symfony/Component/Routing/RouterInterface.php')
-rw-r--r-- | vendor/symfony/routing/Symfony/Component/Routing/RouterInterface.php | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/vendor/symfony/routing/Symfony/Component/Routing/RouterInterface.php b/vendor/symfony/routing/Symfony/Component/Routing/RouterInterface.php new file mode 100644 index 00000000..a10ae34e --- /dev/null +++ b/vendor/symfony/routing/Symfony/Component/Routing/RouterInterface.php | |||
@@ -0,0 +1,32 @@ | |||
1 | <?php | ||
2 | |||
3 | /* | ||
4 | * This file is part of the Symfony package. | ||
5 | * | ||
6 | * (c) Fabien Potencier <fabien@symfony.com> | ||
7 | * | ||
8 | * For the full copyright and license information, please view the LICENSE | ||
9 | * file that was distributed with this source code. | ||
10 | */ | ||
11 | |||
12 | namespace Symfony\Component\Routing; | ||
13 | |||
14 | use Symfony\Component\Routing\Generator\UrlGeneratorInterface; | ||
15 | use Symfony\Component\Routing\Matcher\UrlMatcherInterface; | ||
16 | |||
17 | /** | ||
18 | * RouterInterface is the interface that all Router classes must implement. | ||
19 | * | ||
20 | * This interface is the concatenation of UrlMatcherInterface and UrlGeneratorInterface. | ||
21 | * | ||
22 | * @author Fabien Potencier <fabien@symfony.com> | ||
23 | */ | ||
24 | interface RouterInterface extends UrlMatcherInterface, UrlGeneratorInterface | ||
25 | { | ||
26 | /** | ||
27 | * Gets the RouteCollection instance associated with this Router. | ||
28 | * | ||
29 | * @return RouteCollection A RouteCollection instance | ||
30 | */ | ||
31 | public function getRouteCollection(); | ||
32 | } | ||