ChainResponsePolicyInterface.php in Drupal 8
Same filename and directory in other branches
Namespace
Drupal\Core\PageCacheFile
core/lib/Drupal/Core/PageCache/ChainResponsePolicyInterface.phpView source
<?php
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);
}
Interfaces
Name | Description |
---|---|
ChainResponsePolicyInterface | Defines the interface for compound request policies. |