Security update for Core, with self-updated composer
[yaffs-website] / web / core / lib / Drupal / Core / PageCache / ChainRequestPolicyInterface.php
1 <?php
2
3 namespace Drupal\Core\PageCache;
4
5 /**
6  * Defines the interface for compound request policies.
7  */
8 interface ChainRequestPolicyInterface extends RequestPolicyInterface {
9
10   /**
11    * Add a policy to the list of policy rules.
12    *
13    * @param \Drupal\Core\PageCache\RequestPolicyInterface $policy
14    *   The request policy rule to add.
15    *
16    * @return $this
17    */
18   public function addPolicy(RequestPolicyInterface $policy);
19
20 }