You are here

public function AcquiaSearchCommands::__construct in Acquia Search 3.x

Same name and namespace in other branches
  1. 2.x src/Commands/AcquiaSearchCommands.php \Drupal\acquia_search\Commands\AcquiaSearchCommands::__construct()

AcquiaSearchCommands constructor.

Parameters

\Drupal\Core\Cache\CacheBackendInterface $cache: Cache backend service.

File

src/Commands/AcquiaSearchCommands.php, line 37

Class

AcquiaSearchCommands
A Drush commandfile.

Namespace

Drupal\acquia_search\Commands

Code

public function __construct(CacheBackendInterface $cache) {
  parent::__construct();
  $this->cache = $cache;
}