You are here

protected function GdprSqlDump::getInstance in General Data Protection Regulation 3.0.x

Same name and namespace in other branches
  1. 8.2 modules/gdpr_dump/src/Service/GdprSqlDump.php \Drupal\gdpr_dump\Service\GdprSqlDump::getInstance()
  2. 8 modules/gdpr_dump/src/Service/GdprSqlDump.php \Drupal\gdpr_dump\Service\GdprSqlDump::getInstance()

Get a SqlBase instance according to dbSpecs.

Parameters

array $options: The command options, if known.

Return value

\Drush\Sql\SqlBase The Sql instance.

Throws

\Exception

2 calls to GdprSqlDump::getInstance()
GdprSanitize::sanitize in modules/gdpr_dump/src/Service/GdprSanitize.php
Go through the data and sanitize it.
GdprSqlDump::dump in modules/gdpr_dump/src/Service/GdprSqlDump.php
Dump command.

File

modules/gdpr_dump/src/Service/GdprSqlDump.php, line 136

Class

GdprSqlDump
Class GdprSqlDump.

Namespace

Drupal\gdpr_dump\Service

Code

protected function getInstance(array $options = []) {
  return GdprSqlBase::create($options);
}