A PHP representation of the CQL uuid datatype

Implements

Methods

__construct

( string $uuid = null )

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

Cassandra\Type

type

( )

The type of this uuid.

Returns:
Type Details
Cassandra\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