FileAccess Orion

DeprecatedUuidMethodsTrait

This trait encapsulates deprecated methods for ramsey/uuid; this trait and its methods will be removed in ramsey/uuid 5.0.0.

Tags
psalm-immutable

Table of Contents

$fields  : FieldsInterface
$numberConverter  : NumberConverterInterface
$timeConverter  : TimeConverterInterface
getClockSeqHiAndReserved()  : string
getClockSeqHiAndReservedHex()  : string
getClockSeqLow()  : string
getClockSeqLowHex()  : string
getClockSequence()  : string
getClockSequenceHex()  : string
getDateTime()  : DateTimeImmutable
getFieldsHex()  : array<string|int, string>
getLeastSignificantBits()  : string
getLeastSignificantBitsHex()  : string
getMostSignificantBits()  : string
getMostSignificantBitsHex()  : string
getNode()  : string
getNodeHex()  : string
getNumberConverter()  : NumberConverterInterface
getTimeHiAndVersion()  : string
getTimeHiAndVersionHex()  : string
getTimeLow()  : string
getTimeLowHex()  : string
getTimeMid()  : string
getTimeMidHex()  : string
getTimestamp()  : string
getTimestampHex()  : string
getUrn()  : string
getVariant()  : int|null
getVersion()  : int|null

Properties

Methods

getDateTime()

public getDateTime() : DateTimeImmutable
Tags
deprecated

In ramsey/uuid version 5.0.0, this will be removed. It is available at UuidV1::getDateTime().

throws
UnsupportedOperationException

if UUID is not time-based

throws
DateTimeException

if DateTime throws an exception/error

Return values
DateTimeImmutable

An immutable instance of DateTimeInterface

getLeastSignificantBits()

public getLeastSignificantBits() : string
Tags
deprecated

This method will be removed in 5.0.0. There is no direct alternative, but the same information may be obtained by splitting in half the value returned by UuidInterface::getHex().

Return values
string

getLeastSignificantBitsHex()

public getLeastSignificantBitsHex() : string
Tags
deprecated

This method will be removed in 5.0.0. There is no direct alternative, but the same information may be obtained by splitting in half the value returned by UuidInterface::getHex().

Return values
string

getMostSignificantBits()

public getMostSignificantBits() : string
Tags
deprecated

This method will be removed in 5.0.0. There is no direct alternative, but the same information may be obtained by splitting in half the value returned by UuidInterface::getHex().

Return values
string

getMostSignificantBitsHex()

public getMostSignificantBitsHex() : string
Tags
deprecated

This method will be removed in 5.0.0. There is no direct alternative, but the same information may be obtained by splitting in half the value returned by UuidInterface::getHex().

Return values
string

Search results