private function __construct($generator, $rand) { $this->generator = $generator; $this->rand = $rand; }