You are here

public function FakerService::__construct in General Data Protection Regulation 8

Same name and namespace in other branches
  1. 8.2 modules/anonymizer/src/Service/FakerService.php \Drupal\anonymizer\Service\FakerService::__construct()
  2. 3.0.x modules/anonymizer/src/Service/FakerService.php \Drupal\anonymizer\Service\FakerService::__construct()

FakerService constructor.

File

modules/anonymizer/src/Service/FakerService.php, line 24

Class

FakerService
Class FakerService.

Namespace

Drupal\anonymizer\Service

Code

public function __construct() {
  $this->generator = Factory::create();
}