PHP Class Cassandra\Uuid

Inheritance: implements cassandra\UuidInterface
Afficher le fichier Open project: datastax/php-driver

Méthodes publiques

Méthode Description
__construct ( string $uuid = null ) Creates a uuid from a given uuid string or a random one.
__toString ( ) : string Returns this uuid as string.
type ( ) : cassandra\Type The type of this uuid.
uuid ( ) : string Returns this uuid as string.
version ( ) : integer Returns the version of this uuid.

Method Details

__construct() public méthode

Creates a uuid from a given uuid string or a random one.
public __construct ( string $uuid = null )
$uuid string A uuid string

__toString() public méthode

Returns this uuid as string.
public __toString ( ) : string
Résultat string uuid

type() public méthode

The type of this uuid.
public type ( ) : cassandra\Type
Résultat cassandra\Type

uuid() public méthode

Returns this uuid as string.
public uuid ( ) : string
Résultat string uuid

version() public méthode

Returns the version of this uuid.
public version ( ) : integer
Résultat integer version of this uuid