Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony-cmf/routing/RouteReferrersInterface.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
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 exposes editable route | |
18 * referrers. | |
19 */ | |
20 interface RouteReferrersInterface extends RouteReferrersReadInterface | |
21 { | |
22 /** | |
23 * Add a route to the collection. | |
24 * | |
25 * @param Route $route | |
26 */ | |
27 public function addRoute($route); | |
28 | |
29 /** | |
30 * Remove a route from the collection. | |
31 * | |
32 * @param Route $route | |
33 */ | |
34 public function removeRoute($route); | |
35 } |