Mercurial > hg > cmmr2012-drupal-site
comparison vendor/symfony-cmf/routing/RouteReferrersReadInterface.php @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c75dbcec494b |
---|---|
1 <?php | |
2 | |
3 /* | |
4 * This file is part of the Symfony CMF package. | |
5 * | |
6 * (c) 2011-2015 Symfony CMF | |
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\Cmf\Component\Routing; | |
13 | |
14 use Symfony\Component\Routing\Route; | |
15 | |
16 /** | |
17 * Interface to be implemented by content that wants to be support route generation | |
18 * from content with the DynamicRouter by providing the routes that point to it. | |
19 */ | |
20 interface RouteReferrersReadInterface | |
21 { | |
22 /** | |
23 * Get the routes that point to this content. | |
24 * | |
25 * @return Route[] Route instances that point to this content | |
26 */ | |
27 public function getRoutes(); | |
28 } |