public function SqlSanitizeCommands::__construct in URLs queuer 8
Constructs a SqlSanitizeCommands object.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\purge_queuer_url\TrafficRegistryInterface $registry: The traffic registry with the stored URLs and tags.
File
- src/
Commands/ SqlSanitizeCommands.php, line 40
Class
- SqlSanitizeCommands
- Sanitize plugin for Drush sql:sanitize which clears the URL registry.
Namespace
Drupal\purge_queuer_url\CommandsCode
public function __construct(ModuleHandlerInterface $module_handler, TrafficRegistryInterface $registry) {
$this->moduleHandler = $module_handler;
$this->registry = $registry;
}