ChainRequestPolicyInterface.php in Zircon Profile 8.0
Same filename and directory in other branches
Namespace
Drupal\Core\PageCacheFile
core/lib/Drupal/Core/PageCache/ChainRequestPolicyInterface.phpView source
<?php
/**
* @file
* Contains \Drupal\Core\PageCache\ChainRequestPolicyInterface.
*/
namespace Drupal\Core\PageCache;
/**
* Defines the interface for compound request policies.
*/
interface ChainRequestPolicyInterface extends RequestPolicyInterface {
/**
* Add a policy to the list of policy rules.
*
* @param \Drupal\Core\PageCache\RequestPolicyInterface $policy
* The request policy rule to add.
*
* @return $this
*/
public function addPolicy(RequestPolicyInterface $policy);
}
Interfaces
Name | Description |
---|---|
ChainRequestPolicyInterface | Defines the interface for compound request policies. |