A PHP representation of the CQL uuid datatype

Implements

Methods

__construct

( string $uuid )

Creates a uuid from a given uuid string or a random one.

Parameters:
Name Type Details
$uuid string

A uuid string

string

__toString

( )

Returns this uuid as string.

Returns:
Type Details
string

uuid

Dse\Type

type

( )

The type of this uuid.

Returns:
Type Details
Dse\Type
string

uuid

( )

Returns this uuid as string.

Returns:
Type Details
string

uuid

int

version

( )

Returns the version of this uuid.

Returns:
Type Details
int

version of this uuid