You are here

public function GdprSanitize::sanitize in General Data Protection Regulation 3.0.x

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

Go through the data and sanitize it.

Throws

\Exception

File

modules/gdpr_dump/src/Service/GdprSanitize.php, line 19

Class

GdprSanitize
Class GdprSqlDump.

Namespace

Drupal\gdpr_dump\Service

Code

public function sanitize() {
  $this->sql = $this
    ->getInstance();
  $this
    ->prepare();
  $this
    ->rename();
}