You are here

public function FakerService::generator 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::generator()
  2. 3.0.x modules/anonymizer/src/Service/FakerService.php \Drupal\anonymizer\Service\FakerService::generator()

Return the generator.

Return value

\Faker\Generator The generator.

Overrides FakerServiceInterface::generator

File

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

Class

FakerService
Class FakerService.

Namespace

Drupal\anonymizer\Service

Code

public function generator() {
  return $this->generator;
}