Sets the random generator to use for this factory
RandomGeneratorInterface $generator A generator to generate binary: data, based on some random input
public function setRandomGenerator(RandomGeneratorInterface $generator) : void { $this->isDefaultFeatureSet = false; $this->randomGenerator = $generator; }