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

Breadcrumb

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

function MaxTrait::isMax

Returns true if the byte string represents a max UUID

6 calls to MaxTrait::isMax()
Fields::getClockSeq in vendor/ramsey/uuid/src/Guid/Fields.php
Returns the full 16-bit clock sequence, with the variant bits (two most significant bits) masked out
Fields::getClockSeq in vendor/ramsey/uuid/src/Rfc4122/Fields.php
Returns the full 16-bit clock sequence, with the variant bits (two most significant bits) masked out
Fields::getVersion in vendor/ramsey/uuid/src/Guid/Fields.php
Returns the version
Fields::getVersion in vendor/ramsey/uuid/src/Rfc4122/Fields.php
Returns the version
Fields::isCorrectVariant in vendor/ramsey/uuid/src/Guid/Fields.php

... See full list

File

vendor/ramsey/uuid/src/Rfc4122/MaxTrait.php, line 37

Class

MaxTrait
Provides common functionality for max UUIDs

Namespace

Ramsey\Uuid\Rfc4122

Code

public function isMax() : bool {
    return $this->getBytes() === "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff";
}

API Navigation

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