You are here

public function TypesCommand::__construct in Purge 8.3

Construct a TypesCommand object.

Parameters

\Drupal\purge\Plugin\Purge\Invalidation\InvalidationsServiceInterface $purge_invalidation_factory: The purge invalidation factory service.

\Drupal\purge\Plugin\Purge\Purger\PurgersServiceInterface $purge_purgers: The purge purgers service.

File

modules/purge_drush/src/Commands/TypesCommand.php, line 40

Class

TypesCommand
List all supported cache invalidation types.

Namespace

Drupal\purge_drush\Commands

Code

public function __construct(InvalidationsServiceInterface $purge_invalidation_factory, PurgersServiceInterface $purge_purgers) {
  parent::__construct();
  $this->purgeInvalidationFactory = $purge_invalidation_factory;
  $this->purgePurgers = $purge_purgers;
}