public function AcquiaPurgeInvalidation::__construct in Acquia Purge 7
Constructs an invalidation queue item object.
Parameters
string $scheme: The requested scheme to be invalidated: 'http' or 'https'.
string $domain: The domain name to clear the path on, e.g. "foo.com" or "bar.baz".
string $base_path: Drupal's base path (or the one Acquia Purge is told to clear).
AcquiaPurgeQueueItemInterface $queue_item: The queue item to which this invalidation is associated.
Overrides AcquiaPurgeInvalidationInterface::__construct
File
- lib/
invalidation/ AcquiaPurgeInvalidation.php, line 58
Class
- AcquiaPurgeInvalidation
- Provides an invalidation object.
Code
public function __construct($scheme, $domain, $base_path, AcquiaPurgeQueueItemInterface $queue_item) {
$this->queue_item = $queue_item;
$this->domain = $domain;
$this->scheme = $scheme;
$this->base_path = $base_path;
}