public function AcquiaPurgeExecutorBase::__construct in Acquia Purge 7
Construct a new AcquiaPurgeExecutorBase instance.
Parameters
AcquiaPurgeService $service: The Acquia Purge service object.
Overrides AcquiaPurgeExecutorInterface::__construct
File
- lib/
executor/ AcquiaPurgeExecutorBase.php, line 48 - Contains AcquiaPurgeExecutorBase.
Class
- AcquiaPurgeExecutorBase
- Provides an executor, which is responsible for taking a set of invalidation objects and wiping these paths/URLs from an external cache.
Code
public function __construct(AcquiaPurgeService $service) {
$this->id = get_class($this);
$this->service = $service;
$this->log_successes = _acquia_purge_variable('acquia_purge_log_success');
$this->class_request = _acquia_purge_load(array(
'_acquia_purge_executor_request_interface',
'_acquia_purge_executor_request',
));
}