Mercurial > hg > isophonics-drupal-site
comparison core/lib/Drupal/Core/PageCache/ChainResponsePolicyInterface.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\PageCache; | |
4 | |
5 /** | |
6 * Defines the interface for compound request policies. | |
7 */ | |
8 interface ChainResponsePolicyInterface extends ResponsePolicyInterface { | |
9 | |
10 /** | |
11 * Add a policy to the list of policy rules. | |
12 * | |
13 * @param \Drupal\Core\PageCache\ResponsePolicyInterface $policy | |
14 * The request policy rule to add. | |
15 * | |
16 * @return $this | |
17 */ | |
18 public function addPolicy(ResponsePolicyInterface $policy); | |
19 | |
20 } |