Skip to content

RandomGeneratorInterface

A random generator generates strings of random binary data

  • Full name: \Ramsey\Uuid\Generator\RandomGeneratorInterface

Methods

generate

Generates a string of randomized binary data

public generate(int<1, max> $length): string

Parameters:

Parameter Type Description
$length int<1, max> The number of bytes of random binary data to generate

Return Value:

A binary string



Automatically generated on 2025-03-18