Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DeprecatedUuidMethodsTrait.php

function DeprecatedUuidMethodsTrait::getTimeLow

Deprecated

Use { { { { arbitrary-precision math library of your choice to convert it to a string integer.

See also

UuidInterface::getFields()} to get a

\Ramsey\Uuid\Fields\FieldsInterface} instance. If it is a

\Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call

\Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeLow()} and use the

File

vendor/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php, line 267

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\Uuid

Code

public function getTimeLow() : string {
    return $this->numberConverter
        ->fromHex($this->fields
        ->getTimeLow()
        ->toString());
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal