You are here

protected function AcquiaPurgeService::executors in Acquia Purge 7

Retrieve the AcquiaPurgeExecutorsService object.

Return value

AcquiaPurgeExecutorsService The executors service.

2 calls to AcquiaPurgeService::executors()
AcquiaPurgeService::executorIds in lib/AcquiaPurgeService.php
Retrieve IDs of the loaded executor plugins.
AcquiaPurgeService::process in lib/AcquiaPurgeService.php
Process as many items from the queue as the runtime capacity allows.

File

lib/AcquiaPurgeService.php, line 300
Contains AcquiaPurgeService.

Class

AcquiaPurgeService
The Acquia Purge service.

Code

protected function executors() {
  if (is_null($this->executors)) {
    $class = _acquia_purge_load('_acquia_purge_executors');
    $this->executors = new $class($this);
  }
  return $this->executors;
}