A

BinaryUtils::applyVariant() — Method in class BinaryUtils
Applies the RFC 4122 variant field to the clock_seq_hi_and_reserved field
BinaryUtils::applyVersion() — Method in class BinaryUtils
Applies the RFC 4122 version number to the time_hi_and_version field

B

BinaryUtilsClass in namespace Ramsey\Uuid
Provides binary math utilities
DefaultUuidBuilder::build() — Method in class DefaultUuidBuilder
Builds a Uuid
DegradedUuidBuilder::build() — Method in class DegradedUuidBuilder
Builds a DegradedUuid
UuidBuilderInterface::build() — Method in class UuidBuilderInterface
Builds an instance of a UuidInterface
BigNumberConverterClass in namespace Ramsey\Uuid\Converter\Number
BigNumberConverter converts UUIDs from hexadecimal characters into moontoast/math BigNumber representations of integers and vice versa
BigNumberTimeConverterClass in namespace Ramsey\Uuid\Converter\Time
BigNumberTimeConverter uses the moontoast/math library's BigNumber to provide facilities for converting parts of time into representations that may be used in UUIDs
FeatureSet::buildCodec() — Method in class FeatureSet
Determines which UUID coder-decoder to use and returns the configured codec for this environment
FeatureSet::buildNodeProvider() — Method in class FeatureSet
Determines which system node ID provider to use and returns the configured system node ID provider for this environment
FeatureSet::buildNumberConverter() — Method in class FeatureSet
Determines which number converter to use and returns the configured number converter for this environment
FeatureSet::buildRandomGenerator() — Method in class FeatureSet
Determines which random UUID generator to use and returns the configured random UUID generator for this environment
FeatureSet::buildTimeGenerator() — Method in class FeatureSet
Determines which time-based UUID generator to use and returns the configured time-based UUID generator for this environment
FeatureSet::buildTimeConverter() — Method in class FeatureSet
Determines which time converter to use and returns the configured time converter for this environment
FeatureSet::buildUuidBuilder() — Method in class FeatureSet
Determines which UUID builder to use and returns the configured UUID builder for this environment

C

CodecInterfaceClass in namespace Ramsey\Uuid\Codec
CodecInterface represents a UUID coder-decoder
TimeConverterInterface::calculateTime() — Method in class TimeConverterInterface
Uses the provided seconds and micro-seconds to calculate the time_low, time_mid, and time_high fields used by RFC 4122 version 1 UUIDs
BigNumberTimeConverter::calculateTime() — Method in class BigNumberTimeConverter
Uses the provided seconds and micro-seconds to calculate the time_low, time_mid, and time_high fields used by RFC 4122 version 1 UUIDs
DegradedTimeConverter::calculateTime() — Method in class DegradedTimeConverter
Throws an UnsatisfiedDependencyException
PhpTimeConverter::calculateTime() — Method in class PhpTimeConverter
Uses the provided seconds and micro-seconds to calculate the time_low, time_mid, and time_high fields used by RFC 4122 version 1 UUIDs
CombGeneratorClass in namespace Ramsey\Uuid\Generator
CombGenerator provides functionality to generate COMB (combined GUID/timestamp) sequential UUIDs
TimeProviderInterface::currentTime() — Method in class TimeProviderInterface
Returns a timestamp array
FixedTimeProvider::currentTime() — Method in class FixedTimeProvider
Returns a timestamp array
SystemTimeProvider::currentTime() — Method in class SystemTimeProvider
Returns a timestamp array
$Uuid#codecProperty in class Uuid
The codec to use when encoding or decoding UUID strings.
$Uuid#converterProperty in class Uuid
The number converter to use for converting hex values to/from integers.
Uuid::compareTo() — Method in class Uuid
Compares this UUID to the specified UUID.
UuidInterface::compareTo() — Method in class UuidInterface
Compares this UUID to the specified UUID.

D

DefaultUuidBuilderClass in namespace Ramsey\Uuid\Builder
DefaultUuidBuilder is the default UUID builder for ramsey/uuid; it builds instances of Uuid objects
DegradedUuidBuilderClass in namespace Ramsey\Uuid\Builder
DegradedUuidBuilder builds instances of DegradedUuid
CodecInterface::decode() — Method in class CodecInterface
Decodes a string representation of a UUID into a UuidInterface object instance
CodecInterface::decodeBytes() — Method in class CodecInterface
Decodes a binary representation of a UUID into a UuidInterface object instance
GuidStringCodec::decode() — Method in class GuidStringCodec
Decodes a string representation of a GUID into a UuidInterface object instance
GuidStringCodec::decodeBytes() — Method in class GuidStringCodec
Decodes a binary representation of a GUID into a UuidInterface object instance
OrderedTimeCodec::decodeBytes() — Method in class OrderedTimeCodec
Decodes an optimized binary representation of a UUID into a UuidInterface object instance
StringCodec::decode() — Method in class StringCodec
Decodes a string representation of a UUID into a UuidInterface object instance
StringCodec::decodeBytes() — Method in class StringCodec
Decodes a binary representation of a UUID into a UuidInterface object instance
TimestampFirstCombCodec::decode() — Method in class TimestampFirstCombCodec
Decodes a string representation of timestamp first COMB UUID into a UuidInterface object instance
TimestampFirstCombCodec::decodeBytes() — Method in class TimestampFirstCombCodec
Decodes a binary representation of timestamp first COMB UUID into a UuidInterface object instance
DegradedNumberConverterClass in namespace Ramsey\Uuid\Converter\Number
DegradedNumberConverter throws UnsatisfiedDependencyException exceptions if attempting to use number conversion functionality in an environment that does not support large integers (i.e. when moontoast/math is not available)
DegradedTimeConverterClass in namespace Ramsey\Uuid\Converter\Time
DegradedTimeConverter throws UnsatisfiedDependencyException exceptions if attempting to use time conversion functionality in an environment that does not support large integers (i.e. when moontoast/math is not available)
DegradedUuidClass in namespace Ramsey\Uuid
DegradedUuid represents an RFC 4122 UUID on 32-bit systems
DefaultTimeGeneratorClass in namespace Ramsey\Uuid\Generator
DefaultTimeGenerator provides functionality to generate strings of binary data for version 1 UUIDs based on a host ID, sequence number, and the current time

E

CodecInterface::encode() — Method in class CodecInterface
Encodes a UuidInterface as a string representation of a UUID
CodecInterface::encodeBinary() — Method in class CodecInterface
Encodes a UuidInterface as a binary representation of a UUID
GuidStringCodec::encode() — Method in class GuidStringCodec
Encodes a UuidInterface as a string representation of a GUID
GuidStringCodec::encodeBinary() — Method in class GuidStringCodec
Encodes a UuidInterface as a binary representation of a GUID
OrderedTimeCodec::encodeBinary() — Method in class OrderedTimeCodec
Encodes a UuidInterface as an optimized binary representation of a UUID
StringCodec::encode() — Method in class StringCodec
Encodes a UuidInterface as a string representation of a UUID
StringCodec::encodeBinary() — Method in class StringCodec
Encodes a UuidInterface as a binary representation of a UUID
StringCodec::extractComponents() — Method in class StringCodec
Returns an array of UUID components (the UUID exploded on its dashes)
TimestampFirstCombCodec::encode() — Method in class TimestampFirstCombCodec
Encodes a UuidInterface as a string representation of a timestamp first COMB UUID
TimestampFirstCombCodec::encodeBinary() — Method in class TimestampFirstCombCodec
Encodes a UuidInterface as a binary representation of timestamp first COMB UUID
Uuid::equals() — Method in class Uuid
Compares this object to the specified object.
UuidInterface::equals() — Method in class UuidInterface
Compares this object to the specified object.

F

NumberConverterInterface::fromHex() — Method in class NumberConverterInterface
Converts a hexadecimal number into an integer representation of the number
BigNumberConverter::fromHex() — Method in class BigNumberConverter
Converts a hexadecimal number into a Moontoast\Math\BigNumber representation
DegradedNumberConverter::fromHex() — Method in class DegradedNumberConverter
Throws an UnsatisfiedDependencyException
FeatureSetClass in namespace Ramsey\Uuid
FeatureSet detects and exposes available features in the current environment (32- or 64-bit, available dependencies, etc.)
FallbackNodeProviderClass in namespace Ramsey\Uuid\Provider\Node
FallbackNodeProvider attempts to gain the system host ID from an array of providers, falling back to the next in line in the event a host ID can not be obtained
FixedTimeProviderClass in namespace Ramsey\Uuid\Provider\Time
FixedTimeProvider uses an previously-generated timestamp to provide the time
$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.
Uuid::fromInteger() — Method in class Uuid
Creates a UUID from a 128-bit integer string.
UuidFactory::fromBytes() — Method in class UuidFactory
Creates a UUID from a byte string.
UuidFactory::fromString() — Method in class UuidFactory
Creates a UUID from the string standard representation
UuidFactory::fromInteger() — Method in class UuidFactory
Creates a Uuid from an integer representation
UuidFactoryInterface::fromBytes() — Method in class UuidFactoryInterface
Creates a UUID from a byte string.
UuidFactoryInterface::fromString() — Method in class UuidFactoryInterface
Creates a UUID from the string standard representation
UuidFactoryInterface::fromInteger() — Method in class UuidFactoryInterface
Creates a Uuid from an integer representation

G

GuidStringCodecClass in namespace Ramsey\Uuid\Codec
GuidStringCodec encodes and decodes globally unique identifiers (GUID)
StringCodec::getBuilder() — Method in class StringCodec
Returns the UUID builder
StringCodec::getFields() — Method in class StringCodec
Returns the fields that make up this UUID
DegradedUuid::getDateTime() — Method in class DegradedUuid
Returns a PHP DateTime object representing the timestamp associated with this UUID.
DegradedUuid::getFields() — Method in class DegradedUuid
For degraded UUIDs, throws an UnsatisfiedDependencyException when called on a 32-bit system
DegradedUuid::getNode() — Method in class DegradedUuid
For degraded UUIDs, throws an UnsatisfiedDependencyException when called on a 32-bit system
DegradedUuid::getTimeLow() — Method in class DegradedUuid
For degraded UUIDs, throws an UnsatisfiedDependencyException when called on a 32-bit system
DegradedUuid::getTimestamp() — Method in class DegradedUuid
For degraded UUIDs, throws an UnsatisfiedDependencyException when called on a 32-bit system
FeatureSet::getBuilder() — Method in class FeatureSet
Returns the builder configured for this environment
FeatureSet::getCodec() — Method in class FeatureSet
Returns the UUID UUID coder-decoder configured for this environment
FeatureSet::getNodeProvider() — Method in class FeatureSet
Returns the system node ID provider configured for this environment
FeatureSet::getNumberConverter() — Method in class FeatureSet
Returns the number converter configured for this environment
FeatureSet::getRandomGenerator() — Method in class FeatureSet
Returns the random UUID generator configured for this environment
FeatureSet::getTimeGenerator() — Method in class FeatureSet
Returns the time-based UUID generator configured for this environment
CombGenerator::generate() — Method in class CombGenerator
Generates a string of binary data of the specified length
DefaultTimeGenerator::generate() — Method in class DefaultTimeGenerator
Generate a version 1 UUID from a host ID, sequence number, and the current time
DefaultTimeGenerator::getValidNode() — Method in class DefaultTimeGenerator
Uses the node provider given when constructing this instance to get the node ID (usually a MAC address)
MtRandGenerator::generate() — Method in class MtRandGenerator
Generates a string of random binary data of the specified length
OpenSslGenerator::generate() — Method in class OpenSslGenerator
Generates a string of random binary data of the specified length
PeclUuidRandomGenerator::generate() — Method in class PeclUuidRandomGenerator
Generates a string of random binary data of the specified length
PeclUuidTimeGenerator::generate() — Method in class PeclUuidTimeGenerator
Generate a version 1 UUID using the PECL UUID extension
RandomBytesGenerator::generate() — Method in class RandomBytesGenerator
Generates a string of random binary data of the specified length
RandomGeneratorFactory::getGenerator() — Method in class RandomGeneratorFactory
Returns a default random generator, based on the current environment
RandomGeneratorInterface::generate() — Method in class RandomGeneratorInterface
Generates a string of random binary data of the specified length
RandomLibAdapter::generate() — Method in class RandomLibAdapter
Generates a string of random binary data of the specified length
SodiumRandomGenerator::generate() — Method in class SodiumRandomGenerator
Generates a string of random binary data of the specified length
TimeGeneratorFactory::getGenerator() — Method in class TimeGeneratorFactory
Returns a default time generator, based on the current environment
TimeGeneratorInterface::generate() — Method in class TimeGeneratorInterface
Generate a version 1 UUID from a host ID, sequence number, and the current time
NodeProviderInterface::getNode() — Method in class NodeProviderInterface
Returns the system node ID
FallbackNodeProvider::getNode() — Method in class FallbackNodeProvider
Returns the system node ID by iterating over an array of node providers and returning the first non-empty value found
RandomNodeProvider::getNode() — Method in class RandomNodeProvider
Returns the system node ID
SystemNodeProvider::getNode() — Method in class SystemNodeProvider
Returns the system node ID
SystemNodeProvider::getIfconfig() — Method in class SystemNodeProvider
Returns the network interface configuration for the system
SystemNodeProvider::getSysfs() — Method in class SystemNodeProvider
Returns mac address from the first system interface via the sysfs interface
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::getNumberConverter() — Method in class Uuid
Returns the number converter to use for converting hex values to/from integers.
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, converted to an appropriate number representation.
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
Returns the timestamp value associated with this UUID.
Uuid::getTimestampHex() — Method in class Uuid
Returns 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
Returns the version number associated with this UUID.
Uuid::getFactory() — Method in class Uuid
Returns the currently set factory used to create UUIDs.
UuidFactory::getCodec() — Method in class UuidFactory
Returns the UUID coder-decoder used by this factory
UuidFactory::getNodeProvider() — Method in class UuidFactory
Returns the system node ID provider used by this factory
UuidFactory::getRandomGenerator() — Method in class UuidFactory
Returns the random UUID generator used by this factory
UuidFactory::getTimeGenerator() — Method in class UuidFactory
Returns the time-based UUID generator used by this factory
UuidFactory::getNumberConverter() — Method in class UuidFactory
Returns the number converter used by this factory
UuidFactory::getUuidBuilder() — Method in class UuidFactory
Returns the UUID builder this factory uses when creating Uuid instances
UuidInterface::getBytes() — Method in class UuidInterface
Returns the UUID as a 16-byte string (containing the six integer fields in big-endian byte order).
UuidInterface::getNumberConverter() — Method in class UuidInterface
Returns the number converter to use for converting hex values to/from integers.
UuidInterface::getHex() — Method in class UuidInterface
Returns the hexadecimal value of the UUID.
UuidInterface::getFieldsHex() — Method in class UuidInterface
Returns an array of the fields of this UUID, with keys named according to the RFC 4122 names for the fields.
UuidInterface::getClockSeqHiAndReservedHex() — Method in class UuidInterface
Returns the high field of the clock sequence multiplexed with the variant (bits 65-72 of the UUID).
UuidInterface::getClockSeqLowHex() — Method in class UuidInterface
Returns the low field of the clock sequence (bits 73-80 of the UUID).
UuidInterface::getClockSequenceHex() — Method in class UuidInterface
Returns the clock sequence value associated with this UUID.
UuidInterface::getDateTime() — Method in class UuidInterface
Returns a PHP DateTime object representing the timestamp associated with this UUID.
UuidInterface::getInteger() — Method in class UuidInterface
Returns the integer value of the UUID, converted to an appropriate number representation.
UuidInterface::getLeastSignificantBitsHex() — Method in class UuidInterface
Returns the least significant 64 bits of this UUID's 128 bit value.
UuidInterface::getMostSignificantBitsHex() — Method in class UuidInterface
Returns the most significant 64 bits of this UUID's 128 bit value.
UuidInterface::getNodeHex() — Method in class UuidInterface
Returns the node value associated with this UUID
UuidInterface::getTimeHiAndVersionHex() — Method in class UuidInterface
Returns the high field of the timestamp multiplexed with the version number (bits 49-64 of the UUID).
UuidInterface::getTimeLowHex() — Method in class UuidInterface
Returns the low field of the timestamp (the first 32 bits of the UUID).
UuidInterface::getTimeMidHex() — Method in class UuidInterface
Returns the middle field of the timestamp (bits 33-48 of the UUID).
UuidInterface::getTimestampHex() — Method in class UuidInterface
Returns the timestamp value associated with this UUID.
UuidInterface::getUrn() — Method in class UuidInterface
Returns the string representation of the UUID as a URN.
UuidInterface::getVariant() — Method in class UuidInterface
Returns the variant number associated with this UUID.
UuidInterface::getVersion() — Method in class UuidInterface
Returns the version number associated with this UUID.

H

FeatureSet::hasBigNumber() — Method in class FeatureSet
Returns true if the system has Moontoast\Math\BigNumber

I

InvalidUuidStringExceptionClass in namespace Ramsey\Uuid\Exception
Thrown to indicate that the parsed UUID string is invalid.
FeatureSet::is64BitSystem() — Method in class FeatureSet
Returns true if the system is 64-bit, false otherwise
Uuid::isValid() — Method in class Uuid
Check if a string is a valid UUID.

J

Uuid::jsonSerialize() — Method in class Uuid
Converts this UUID object to a string when the object is serialized with json_encode()

M

MtRandGeneratorClass in namespace Ramsey\Uuid\Generator
MtRandRandomGenerator provides functionality to generate strings of random binary data using the mt_rand() PHP function

N

NumberConverterInterfaceClass in namespace Ramsey\Uuid\Converter
NumberConverterInterface converts UUIDs from hexadecimal characters into representations of integers and vice versa
NodeProviderInterfaceClass in namespace Ramsey\Uuid\Provider
NodeProviderInterface provides functionality to get the node ID (or host ID in the form of the system's MAC address) from a specific type of node provider

O

OrderedTimeCodecClass in namespace Ramsey\Uuid\Codec
OrderedTimeCodec optimizes the bytes to increment UUIDs when time goes by, to improve database INSERTs.
OpenSslGeneratorClass in namespace Ramsey\Uuid\Generator
OpenSslRandomGenerator provides functionality to generate strings of random binary data using the openssl_random_pseudo_bytes() PHP function

P

PhpTimeConverterClass in namespace Ramsey\Uuid\Converter\Time
PhpTimeConverter uses built-in PHP functions and standard math operations available to the PHP programming language to provide facilities for converting parts of time into representations that may be used in UUIDs
PeclUuidRandomGeneratorClass in namespace Ramsey\Uuid\Generator
PeclUuidRandomGenerator provides functionality to generate strings of random binary data using the PECL UUID PHP extension
PeclUuidTimeGeneratorClass in namespace Ramsey\Uuid\Generator
PeclUuidTimeGenerator provides functionality to generate strings of binary data for version 1 UUIDs using the PECL UUID PHP extension

R

RandomBytesGeneratorClass in namespace Ramsey\Uuid\Generator
RandomBytesGenerator provides functionality to generate strings of random binary data using random_bytes() function in PHP 7+ or paragonie/random_compat
RandomGeneratorFactoryClass in namespace Ramsey\Uuid\Generator
A factory for retrieving a random generator, based on the environment
RandomGeneratorInterfaceClass in namespace Ramsey\Uuid\Generator
RandomGeneratorInterface provides functionality to generate strings of random binary data
RandomLibAdapterClass in namespace Ramsey\Uuid\Generator
RandomLibAdapter provides functionality to generate strings of random binary data using the ircmaxell/random-lib library
RandomNodeProviderClass in namespace Ramsey\Uuid\Provider\Node
RandomNodeProvider provides functionality to generate a random node ID, in the event that the node ID could not be obtained from the host system

S

GuidStringCodec::swapFields() — Method in class GuidStringCodec
Swaps fields to support GUID byte order
StringCodecClass in namespace Ramsey\Uuid\Codec
StringCodec encodes and decodes RFC 4122 UUIDs
TimestampFirstCombCodec::swapTimestampAndRandomBits() — Method in class TimestampFirstCombCodec
Swaps the first 48 bits with the last 48 bits
FeatureSet::setTimeProvider() — Method in class FeatureSet
Sets the time provider for use in this environment
SodiumRandomGeneratorClass in namespace Ramsey\Uuid\Generator
SodiumRandomGenerator provides functionality to generate strings of random binary data using the PECL libsodium extension
SystemNodeProviderClass in namespace Ramsey\Uuid\Provider\Node
SystemNodeProvider provides functionality to get the system node ID (MAC address) using external system calls
FixedTimeProvider::setUsec() — Method in class FixedTimeProvider
Sets the usec component of the timestamp
FixedTimeProvider::setSec() — Method in class FixedTimeProvider
Sets the sec component of the timestamp
SystemTimeProviderClass in namespace Ramsey\Uuid\Provider\Time
SystemTimeProvider uses built-in PHP functions to provide the time
Uuid::serialize() — Method in class Uuid
Converts this UUID object to a string when the object is serialized with serialize()
Uuid::setFactory() — Method in class Uuid
Sets the factory used to create UUIDs.
UuidFactory::setCodec() — Method in class UuidFactory
Sets the UUID coder-decoder used by this factory
UuidFactory::setTimeGenerator() — Method in class UuidFactory
Sets the time-based UUID generator this factory will use to generate version 1 UUIDs
UuidFactory::setRandomGenerator() — Method in class UuidFactory
Sets the random UUID generator this factory will use to generate version 4 UUIDs
UuidFactory::setNumberConverter() — Method in class UuidFactory
Sets the number converter this factory will use
UuidFactory::setUuidBuilder() — Method in class UuidFactory
Sets the UUID builder this factory will use when creating Uuid instances

T

TimestampFirstCombCodecClass in namespace Ramsey\Uuid\Codec
TimestampLastCombCodec encodes and decodes COMB UUIDs which have the timestamp as the first 48 bits.
TimestampLastCombCodecClass in namespace Ramsey\Uuid\Codec
TimestampLastCombCodec encodes and decodes COMB UUIDs which have the timestamp as the last 48 bits.
NumberConverterInterface::toHex() — Method in class NumberConverterInterface
Converts an integer representation into a hexadecimal string representation of the number
BigNumberConverter::toHex() — Method in class BigNumberConverter
Converts an integer or Moontoast\Math\BigNumber integer representation into a hexadecimal string representation
DegradedNumberConverter::toHex() — Method in class DegradedNumberConverter
Throws an UnsatisfiedDependencyException
TimeConverterInterfaceClass in namespace Ramsey\Uuid\Converter
TimeConverterInterface provides facilities for converting parts of time into representations that may be used in UUIDs
TimeGeneratorFactoryClass in namespace Ramsey\Uuid\Generator
A factory for retrieving a time generator, based on the environment
TimeGeneratorInterfaceClass in namespace Ramsey\Uuid\Generator
TimeGeneratorInterface provides functionality to generate strings of binary data for version 1 UUIDs based on a host ID, sequence number, and the current time
TimeProviderInterfaceClass in namespace Ramsey\Uuid\Provider
TimeProviderInterface provides functionality to get the time from a specific type of time provider
Uuid::toString() — Method in class Uuid
Converts this UUID into a string representation.
UuidInterface::toString() — Method in class UuidInterface
Converts this UUID into a string representation.

U

UuidBuilderInterfaceClass in namespace Ramsey\Uuid\Builder
UuidBuilderInterface builds instances UuidInterface
UnsatisfiedDependencyExceptionClass in namespace Ramsey\Uuid\Exception
Thrown to indicate that the requested operation has dependencies that have not been satisfied.
UnsupportedOperationExceptionClass in namespace Ramsey\Uuid\Exception
Thrown to indicate that the requested operation is not supported.
UuidClass in namespace Ramsey\Uuid
Represents a universally unique identifier (UUID), according to RFC 4122.
Uuid::unserialize() — Method in class Uuid
Re-constructs the object from its serialized form.
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).
UuidFactoryClass in namespace Ramsey\Uuid
UuidFactory::uuid1() — Method in class UuidFactory
Generate a version 1 UUID from a host ID, sequence number, and the current time.
UuidFactory::uuid3() — Method in class UuidFactory
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).
UuidFactory::uuid4() — Method in class UuidFactory
Generate a version 4 (random) UUID.
UuidFactory::uuid5() — Method in class UuidFactory
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).
UuidFactory::uuid() — Method in class UuidFactory
Returns a Uuid
UuidFactory::uuidFromNsAndName() — Method in class UuidFactory
Returns a version 3 or 5 namespaced Uuid
UuidFactory::uuidFromHashedName() — Method in class UuidFactory
Returns a Uuid created from $hash with the version field set to $version and the variant field set for RFC 4122
UuidFactoryInterfaceClass in namespace Ramsey\Uuid
UuidFactoryInterface defines common functionality all UuidFactory instances must implement
UuidFactoryInterface::uuid1() — Method in class UuidFactoryInterface
Generate a version 1 UUID from a host ID, sequence number, and the current time.
UuidFactoryInterface::uuid3() — Method in class UuidFactoryInterface
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).
UuidFactoryInterface::uuid4() — Method in class UuidFactoryInterface
Generate a version 4 (random) UUID.
UuidFactoryInterface::uuid5() — Method in class UuidFactoryInterface
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).
UuidInterfaceClass in namespace Ramsey\Uuid
UuidInterface defines common functionality for all universally unique identifiers (UUIDs)

_

DefaultUuidBuilder::__construct() — Method in class DefaultUuidBuilder
Constructs the DefaultUuidBuilder
DegradedUuidBuilder::__construct() — Method in class DegradedUuidBuilder
Constructs the DegradedUuidBuilder
StringCodec::__construct() — Method in class StringCodec
Constructs a StringCodec for use encoding and decoding UUIDs
FeatureSet::__construct() — Method in class FeatureSet
Constructs a FeatureSet for use by a UuidFactory to determine or set features available to the environment
CombGenerator::__construct() — Method in class CombGenerator
Constructs a CombGenerator using a random-number generator and a number converter
DefaultTimeGenerator::__construct() — Method in class DefaultTimeGenerator
Constructs a DefaultTimeGenerator using a node provider, time converter, and time provider
RandomLibAdapter::__construct() — Method in class RandomLibAdapter
Constructs a RandomLibAdapter using a RandomLib\Generator
TimeGeneratorFactory::__construct() — Method in class TimeGeneratorFactory
Constructs a TimeGeneratorFactory using a node provider, time converter, and time provider
FallbackNodeProvider::__construct() — Method in class FallbackNodeProvider
Constructs a FallbackNodeProvider using an array of node providers
FixedTimeProvider::__construct() — Method in class FixedTimeProvider
Constructs a FixedTimeProvider using the provided $timestamp
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.
UuidFactory::__construct() — Method in class UuidFactory
Constructs a UuidFactory for creating Ramsey\Uuid\UuidInterface instances