Returns a random generator configured for this environment
private function buildRandomGenerator() : RandomGeneratorInterface { if ($this->enablePecl) { return new PeclUuidRandomGenerator(); } return (new RandomGeneratorFactory())->getGenerator(); }