Uuid
final class Uuid implements Value, UuidInterface (View source)
A PHP representation of the CQL uuid
datatype
Methods
__construct(string $uuid)
Creates a uuid from a given uuid string or a random one.
string
__toString()
Returns this uuid as string.
string
uuid()
Returns this uuid as string.
int
version()
Returns the version of this uuid.
Details
__construct(string $uuid)
Creates a uuid from a given uuid string or a random one.
string
__toString()
Returns this uuid as string.
Type
type()
The type of this uuid.
string
uuid()
Returns this uuid as string.
int
version()
Returns the version of this uuid.