A

ApplicationClass in namespace Rhumsaa\Uuid\Console
The console application that handles CLI commands

C

DecodeCommand::configure() — Method in class DecodeCommand
{@inheritDoc}
GenerateCommand::configure() — Method in class GenerateCommand
{@inheritDoc}
GenerateCommand::createUuid() — Method in class GenerateCommand
Creates the requested UUID
UuidType::convertToPHPValue() — Method in class UuidType
{@inheritdoc}
UuidType::convertToDatabaseValue() — Method in class UuidType
{@inheritdoc}
Uuid::compareTo() — Method in class Uuid
Compares this UUID with the specified UUID.
Uuid::calculateUuidTime() — Method in class Uuid
Calculates the UUID time fields from a UNIX timestamp

D

DecodeCommandClass in namespace Rhumsaa\Uuid\Console\Command
Provides the console command to decode UUIDs and dump information about them

E

DecodeCommand::execute() — Method in class DecodeCommand
{@inheritDoc}
GenerateCommand::execute() — Method in class GenerateCommand
{@inheritDoc}
ExceptionClass in namespace Rhumsaa\Uuid\Console
Console exception
ErrorHandlerClass in namespace Rhumsaa\Uuid\Console\Util
Convert PHP errors into exceptions
Uuid::equals() — Method in class Uuid
Compares this object to the specified object.

F

$Uuid#force32BitProperty in class Uuid
For testing, 64-bit system override; if true, treat the system as 32-bit
$Uuid#forceNoBigNumberProperty in class Uuid
For testing, Moontoast\Math\BigNumber override; if true, treat as if BigNumber is not available
$Uuid#forceNoOpensslRandomPseudoBytesProperty in class Uuid
For testing, openssl_random_pseudo_bytes() override; if true, treat as if openssl_random_pseudo_bytes() is not available
$Uuid#fieldsProperty in class Uuid
The fields that make up this UUID
Uuid::fromBytes() — Method in class Uuid
Creates a UUID from a byte string.
Uuid::fromString() — Method in class Uuid
Creates a UUID from the string standard representation as described in the toString() method.
Uuid::fromInteger() — Method in class Uuid
Creates a UUID from either the UUID as a 128-bit integer string or a Moontoast\Math\BigNumber object.

G

GenerateCommandClass in namespace Rhumsaa\Uuid\Console\Command
Provides the console command to generate UUIDs
UuidType::getSQLDeclaration() — Method in class UuidType
{@inheritdoc}
UuidType::getName() — Method in class UuidType
{@inheritdoc}
Uuid::getBytes() — Method in class Uuid
Returns the UUID as a 16-byte string (containing the six integer fields in big-endian byte order)
Uuid::getClockSeqHiAndReserved() — Method in class Uuid
Returns the high field of the clock sequence multiplexed with the variant (bits 65-72 of the UUID).
Uuid::getClockSeqHiAndReservedHex() — Method in class Uuid
Returns the high field of the clock sequence multiplexed with the variant (bits 65-72 of the UUID).
Uuid::getClockSeqLow() — Method in class Uuid
Returns the low field of the clock sequence (bits 73-80 of the UUID).
Uuid::getClockSeqLowHex() — Method in class Uuid
Returns the low field of the clock sequence (bits 73-80 of the UUID).
Uuid::getClockSequence() — Method in class Uuid
Returns the clock sequence value associated with this UUID.
Uuid::getClockSequenceHex() — Method in class Uuid
Returns the clock sequence value associated with this UUID.
Uuid::getDateTime() — Method in class Uuid
Returns a PHP DateTime object representing the timestamp associated with this UUID.
Uuid::getFields() — Method in class Uuid
Returns an array of the fields of this UUID, with keys named according to the RFC 4122 names for the fields.
Uuid::getFieldsHex() — Method in class Uuid
Returns an array of the fields of this UUID, with keys named according to the RFC 4122 names for the fields.
Uuid::getHex() — Method in class Uuid
Returns the hexadecimal value of the UUID
Uuid::getInteger() — Method in class Uuid
Returns the integer value of the UUID, represented as a BigNumber
Uuid::getLeastSignificantBits() — Method in class Uuid
Returns the least significant 64 bits of this UUID's 128 bit value
Uuid::getLeastSignificantBitsHex() — Method in class Uuid
Returns the least significant 64 bits of this UUID's 128 bit value
Uuid::getMostSignificantBits() — Method in class Uuid
Returns the most significant 64 bits of this UUID's 128 bit value
Uuid::getMostSignificantBitsHex() — Method in class Uuid
Returns the most significant 64 bits of this UUID's 128 bit value
Uuid::getNode() — Method in class Uuid
Returns the node value associated with this UUID
Uuid::getNodeHex() — Method in class Uuid
Returns the node value associated with this UUID
Uuid::getTimeHiAndVersion() — Method in class Uuid
Returns the high field of the timestamp multiplexed with the version number (bits 49-64 of the UUID).
Uuid::getTimeHiAndVersionHex() — Method in class Uuid
Returns the high field of the timestamp multiplexed with the version number (bits 49-64 of the UUID).
Uuid::getTimeLow() — Method in class Uuid
Returns the low field of the timestamp (the first 32 bits of the UUID).
Uuid::getTimeLowHex() — Method in class Uuid
Returns the low field of the timestamp (the first 32 bits of the UUID).
Uuid::getTimeMid() — Method in class Uuid
Returns the middle field of the timestamp (bits 33-48 of the UUID).
Uuid::getTimeMidHex() — Method in class Uuid
Returns the middle field of the timestamp (bits 33-48 of the UUID).
Uuid::getTimestamp() — Method in class Uuid
The timestamp value associated with this UUID
Uuid::getTimestampHex() — Method in class Uuid
The timestamp value associated with this UUID
Uuid::getUrn() — Method in class Uuid
Returns the string representation of the UUID as a URN.
Uuid::getVariant() — Method in class Uuid
Returns the variant number associated with this UUID.
Uuid::getVersion() — Method in class Uuid
The version number associated with this UUID. The version number describes how this UUID was generated.
Uuid::getIfconfig() — Method in class Uuid
Returns the network interface configuration for the system
Uuid::getNodeFromSystem() — Method in class Uuid
Get the hardware address as a 48-bit positive integer. If all attempts to obtain the hardware address fail, we choose a random 48-bit number with its eighth bit set to 1 as recommended in RFC 4122. "Hardware address" means the MAC address of a network interface, and on a machine with multiple network interfaces the MAC address of any one of them may be returned.

H

ErrorHandler::handle() — Method in class ErrorHandler
Error handler
Uuid::hasBigNumber() — Method in class Uuid
Returns true if the system has Moontoast\Math\BigNumber
Uuid::hasOpensslRandomPseudoBytes() — Method in class Uuid
Returns true if the system has openssl_random_pseudo_bytes()

I

$Uuid#ignoreSystemNodeProperty in class Uuid
For testing, system override to ignore generating node from hardware
Uuid::isValid() — Method in class Uuid
Check if a string is a valid uuid
Uuid::is64BitSystem() — Method in class Uuid
Returns true if the system is 64-bit, false otherwise

R

ErrorHandler::register() — Method in class ErrorHandler
Register error handler
UuidType::requiresSQLCommentHint() — Method in class UuidType
{@inheritdoc}

T

$Uuid#timeOfDayTestProperty in class Uuid
For testing, sets time of day to a static, known value
Uuid::toString() — Method in class Uuid
Converts this UUID into a string representation

U

UuidTypeClass in namespace Rhumsaa\Uuid\Doctrine
Field type mapping for the Doctrine Database Abstraction Layer (DBAL).
UnsatisfiedDependencyExceptionClass in namespace Rhumsaa\Uuid\Exception
Thrown to indicate that the requested operation has dependencies that have not been satisfied.
UnsupportedOperationExceptionClass in namespace Rhumsaa\Uuid\Exception
Thrown to indicate that the requested operation is not supported.
UuidClass in namespace Rhumsaa\Uuid
Represents a universally unique identifier (UUID), according to RFC 4122
Uuid::uuid1() — Method in class Uuid
Generate a version 1 UUID from a host ID, sequence number, and the current time.
Uuid::uuid3() — Method in class Uuid
Generate a version 3 UUID based on the MD5 hash of a namespace identifier (which is a UUID) and a name (which is a string).
Uuid::uuid4() — Method in class Uuid
Generate a version 4 (random) UUID.
Uuid::uuid5() — Method in class Uuid
Generate a version 5 UUID based on the SHA-1 hash of a namespace identifier (which is a UUID) and a name (which is a string).
Uuid::uuidFromHashedName() — Method in class Uuid
Returns a version 3 or 5 UUID based on the hash (md5 or sha1) of a namespace identifier (which is a UUID) and a name (which is a string)

V

GenerateCommand::validateNamespace() — Method in class GenerateCommand
Validates the namespace argument

_

Application::__construct() — Method in class Application
Constructor
Uuid::__construct() — Method in class Uuid
Creates a universally unique identifier (UUID) from an array of fields.
Uuid::__toString() — Method in class Uuid
Converts this UUID object to a string when the object is used in any string context