UniqueId
class UniqueId (View source)
Methods
static string
generateCustom(string $prefix, int $length = 128)
Generate a custom uid starting from a prefix
static string
generate(int $length = 128)
Generate an uid
static string
getUid()
Generate an uid (128 bit / 32 char random)
Details
at line 32
static string
generateCustom(string $prefix, int $length = 128)
Generate a custom uid starting from a prefix
The result uid format will be $string-[random]
at line 50
static string
generate(int $length = 128)
Generate an uid
at line 78
static protected string
getUid()
Generate an uid (128 bit / 32 char random)