public function AcquiaSearchCommands::__construct in Acquia Search 3.x
Same name and namespace in other branches
- 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\CommandsCode
public function __construct(CacheBackendInterface $cache) {
parent::__construct();
$this->cache = $cache;
}