You are here

public function AcquiaPurgeProcessorRuntime::__construct in Acquia Purge 7

Construct a new AcquiaPurgeProcessorBase instance.

Parameters

AcquiaPurgeService $service: The Acquia Purge service object.

Overrides AcquiaPurgeProcessorBase::__construct

File

lib/processor/AcquiaPurgeProcessorRuntime.php, line 30
Contains AcquiaPurgeProcessorRuntime.

Class

AcquiaPurgeProcessorRuntime
Processes the queue at the end of EVERY request.

Code

public function __construct($service) {
  parent::__construct($service);
  drupal_register_shutdown_function(array(
    $this,
    'onShutdown',
  ));
}