3 namespace Drupal\Core\PageCache;
6 * Defines the interface for compound request policies.
8 interface ChainRequestPolicyInterface extends RequestPolicyInterface {
11 * Add a policy to the list of policy rules.
13 * @param \Drupal\Core\PageCache\RequestPolicyInterface $policy
14 * The request policy rule to add.
18 public function addPolicy(RequestPolicyInterface $policy);