We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 811fc4c commit d7cb2a7Copy full SHA for d7cb2a7
Invalidation/Method/BanInterface.php
@@ -21,8 +21,12 @@ interface BanInterface
21
* match in order to be invalidated (optional).
22
* This can be part of a content type or regex,
23
* for instance, "text"
24
- * @param array $hosts Host that cached responses must match in
25
- * order to be invalidated (optional)
+ * @param array $hosts Hosts that cached responses must match in
+ * order to be invalidated (optional). This can
26
+ * be:
27
+ * - a regex, e.g. "^(www\.)?(this|that)\.com$"
28
+ * - an array of hosts that will be banned
29
+ * - null: to ban the default host.
30
*
31
* @return $this
32
*/
0 commit comments