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

Breadcrumb

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

function VersionTrait::getVersion

Returns the version

1 call to VersionTrait::getVersion()
VersionTrait::isCorrectVersion in vendor/ramsey/uuid/src/Rfc4122/VersionTrait.php
Returns true if the version matches one of those defined by RFC 4122
2 methods override VersionTrait::getVersion()
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

File

vendor/ramsey/uuid/src/Rfc4122/VersionTrait.php, line 29

Class

VersionTrait
Provides common functionality for handling the version, as defined by RFC 4122

Namespace

Ramsey\Uuid\Rfc4122

Code

public abstract function getVersion() : ?int;

API Navigation

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