You are here

public function AcquiaPurgeExecutorsService::current in Acquia Purge 7

File

lib/executor/AcquiaPurgeExecutorsService.php, line 69
Contains AcquiaPurgeExecutorsService.

Class

AcquiaPurgeExecutorsService
Service that loads and provides access to executor backends.

Code

public function current() {
  if ($this
    ->valid()) {
    return $this->executors[$this->position];
  }
  return FALSE;
}