function DeprecatedUuidMethodsTrait::getFieldsHex
Return value
string[]
Deprecated
Use { {
See also
UuidInterface::getFields()} to get a
\Ramsey\Uuid\Fields\FieldsInterface} instance.
File
-
vendor/
ramsey/ uuid/ src/ DeprecatedUuidMethodsTrait.php, line 155
Class
- DeprecatedUuidMethodsTrait
- This trait encapsulates deprecated methods for ramsey/uuid; this trait and its methods will be removed in ramsey/uuid 5.0.0.
Namespace
Ramsey\UuidCode
public function getFieldsHex() : array {
return [
'time_low' => $this->fields
->getTimeLow()
->toString(),
'time_mid' => $this->fields
->getTimeMid()
->toString(),
'time_hi_and_version' => $this->fields
->getTimeHiAndVersion()
->toString(),
'clock_seq_hi_and_reserved' => $this->fields
->getClockSeqHiAndReserved()
->toString(),
'clock_seq_low' => $this->fields
->getClockSeqLow()
->toString(),
'node' => $this->fields
->getNode()
->toString(),
];
}