Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
100.00% covered (success)
0 / 0
100.00% covered (success)
100.00%
0 / 0
CRAP
100.00% covered (success)
100.00%
0 / 0
<?php
/**
 * @file
 * Contains \Drupal\Core\PageCache\ChainResponsePolicyInterface.
 */
namespace Drupal\Core\PageCache;
/**
 * Defines the interface for compound request policies.
 */
interface ChainResponsePolicyInterface extends ResponsePolicyInterface {
  /**
   * Add a policy to the list of policy rules.
   *
   * @param \Drupal\Core\PageCache\ResponsePolicyInterface $policy
   *   The request policy rule to add.
   *
   * @return $this
   */
  public function addPolicy(ResponsePolicyInterface $policy);
}