You are here

public function GdprDumpCommands::__construct in General Data Protection Regulation 3.0.x

Same name and namespace in other branches
  1. 8.2 modules/gdpr_dump/src/Commands/GdprDumpCommands.php \Drupal\gdpr_dump\Commands\GdprDumpCommands::__construct()

GdprDumpCommands constructor.

Parameters

\Drupal\gdpr_dump\Service\GdprSqlDump $dump: The dump service.

\Drupal\gdpr_dump\Service\GdprSanitize $sanitize: The sanitize service.

File

modules/gdpr_dump/src/Commands/GdprDumpCommands.php, line 38

Class

GdprDumpCommands
Drush commands.

Namespace

Drupal\gdpr_dump\Commands

Code

public function __construct(GdprSqlDump $dump, GdprSanitize $sanitize) {
  parent::__construct();
  $this->dumpService = $dump;
  $this->sanitizeService = $sanitize;
}