PeclUuidRandomGenerator
in package
implements
RandomGeneratorInterface
PeclUuidRandomGenerator generates strings of random binary data using ext-uuid
Tags
Interfaces, Classes, Traits and Enums
- RandomGeneratorInterface
- A random generator generates strings of random binary data
Table of Contents
- generate() : string
- Generates a string of randomized binary data
Methods
generate()
Generates a string of randomized binary data
public
generate(int $length) : string
Parameters
- $length : int
-
The number of bytes of random binary data to generate
Return values
string —A binary string