You are here

public function AcquiaPurgeDiagnostics::__construct in Acquia Purge 7

Construct a new AcquiaPurgeDiagnostics instance.

Parameters

AcquiaPurgeService $service: The Acquia Purge service object.

File

lib/AcquiaPurgeDiagnostics.php, line 61
Contains AcquiaPurgeExecutorsService.

Class

AcquiaPurgeDiagnostics
Provides access to the diagnostic tests.

Code

public function __construct(AcquiaPurgeService $service) {
  $this->loggedErrors = $service
    ->state()
    ->get('logged_errors', array());
  $this->service = $service;
}