You are here

public function AcquiaPurgeService::diagnostics in Acquia Purge 7

Retrieve the AcquiaPurgeDiagnostics object.

Return value

AcquiaPurgeDiagnostics The diagnostics service.

File

lib/AcquiaPurgeService.php, line 272
Contains AcquiaPurgeService.

Class

AcquiaPurgeService
The Acquia Purge service.

Code

public function diagnostics() {
  if (is_null($this->diagnostics)) {
    $class = _acquia_purge_load('_acquia_purge_diagnostics');
    $this->diagnostics = new $class($this);
  }
  return $this->diagnostics;
}