You are here

public function FastlyCommands::__construct in Fastly 8.3

Construct the FastlyCommands object.

Parameters

\Drupal\fastly\Api $api: The Fastly API service.

\Drupal\fastly\CacheTagsHash $cache_tags_hash: CacheTagsHash service.

File

src/Commands/FastlyCommands.php, line 34

Class

FastlyCommands
Provides drush commands for Fastly.

Namespace

Drupal\fastly\Commands

Code

public function __construct(Api $api, CacheTagsHash $cache_tags_hash) {
  $this->api = $api;
  $this->cacheTagsHash = $cache_tags_hash;
}