Mercurial > hg > isophonics-drupal-site
comparison core/lib/Drupal/Core/Routing/ResettableStackedRouteMatchInterface.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 namespace Drupal\Core\Routing; | |
4 | |
5 /** | |
6 * Defines an interface for a resettable stack of route matches. | |
7 * | |
8 * @todo Move this method to \Drupal\Core\Routing\StackedRouteMatchInterface in | |
9 * https://www.drupal.org/node/2659952. | |
10 */ | |
11 interface ResettableStackedRouteMatchInterface extends StackedRouteMatchInterface { | |
12 | |
13 /** | |
14 * Resets the route match static cache. | |
15 * | |
16 * The route match should only be statically cached once routing is finished. | |
17 * Any code that uses a route match during routing may be incorrectly assumed | |
18 * to be acting after routing has completed. This method gives that code the | |
19 * ability to fix the static cache. | |
20 */ | |
21 public function resetRouteMatch(); | |
22 | |
23 } |